Function at 0x10018b2f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
mov eax, dword [0x1008f304]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x98]
and dword [esp + 8], 0
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x98]
push esi
push edi
mov dword [esp + 0x24], eax
xor edi, edi
mov eax, dword [esp + 0xa4]
and dword [esp + 0x14], edi
sub eax, 1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
je 0x10018be0
mov ecx, eax
lea esi, [ebp + 0x30]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi - 0x20]
test eax, eax
jne 0x10018ba2
cmp dword [esi], eax
jne 0x10018ba2
inc eax
jmp 0x10018bc7
mov ecx, dword [esi + 0x60]
xor edx, edx
sub ecx, dword [esi - 0x30]
test eax, eax
cmovg edx, ecx
xor eax, eax
cmp dword [esi], eax
cmovg eax, ecx
mov ecx, dword [esp + 0x1c]
add ebp, eax
xor eax, eax
add ebp, edx
cmp dword [esi - 0x20], eax
setg al
inc eax
add edi, eax
add esi, 0x90
sub ecx, 1
mov dword [esp + 0x1c], ecx
jne 0x10018b94
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
push edi
push 0xc
push 1
push 0
mov dword [ebx], eax
call fcn.1002f94a
push dword [esp + 0x24]
mov dword [ebx + 4], eax
push 0x10
push 1
push 0
call fcn.1002f94a
xor edx, edx
mov dword [ebx + 8], eax
mov edi, dword [ebp + 4]
add esp, 0x20
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x30], edx
jbe 0x10018f1c
lea esi, [ebp + 0x30]
jmp 0x10018c28
xor edx, edx
cmp dword [esi - 0x2c], edx
jne 0x10018c36
cmp dword [esi - 0x28], edx
je 0x10018cd5
cmp dword [esi - 0x20], edx
jne 0x10018cd5
cmp dword [esi], edx
jne 0x10018cd5
push edx
lea ebp, [esi - 0x30]
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.100184cc
push 1
lea eax, [esp + 0x5c]
push eax
push dword [ebx + 4]
call sym.glib_lite.dll_Ordinal_1
add esp, 0x18
cmp dword [esp + 0x1c], 0
jbe 0x10018cc2
mov ecx, dword [esi - 0xb0]
cmp ecx, 0xc
jle 0x10018c88
mov eax, dword [esi - 0xa8]
cmp eax, dword [esi - 0x88]
jg 0x10018c90
cmp ecx, dword [esi - 0x90]
jle 0x10018cc2
push edi
push dword [ebp]
lea eax, [esi - 4]
push eax
call fcn.1002f94a
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
push 1
push eax
push dword [ebx + 8]
mov dword [esp + 0x80], edx
call sym.glib_lite.dll_Ordinal_1
add esp, 0x18
mov edi, dword [esi - 0x2c]
xor eax, eax
inc eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], eax
jmp 0x10018e6f
mov ecx, dword [esi - 0x20]
lea ebp, [esi - 0x30]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], eax
cmp ecx, 0xc
jle 0x10018cff
mov eax, dword [esi - 0x18]
xor ecx, ecx
cmp eax, dword [esi + 8]
setg cl
mov dword [esp + 0x20], ecx
jmp 0x10018d0a
xor eax, eax
cmp ecx, dword [esi]
setg al
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x5c]
push ebp
push eax
call fcn.100184cc
push 1
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.100184cc
push 1
lea eax, [esp + 0x74]
push eax
push dword [ebx + 4]
call sym.glib_lite.dll_Ordinal_1
push 1
lea eax, [esp + 0x68]
push eax
push dword [ebx + 4]
call sym.glib_lite.dll_Ordinal_1
mov eax, dword [esp + 0x44]
add esp, 0x30
cmp eax, dword [esp + 0x24]
jae 0x10018e6c
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
inc ecx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, ebp
test edi, edi
jne 0x10018d6e
mov ecx, dword [esi - 0x28]
jmp 0x10018d71
mov ebp, dword [esi - 0x2c]
push ecx
push eax
lea eax, [esi - 4]
push eax
call fcn.1002f94a
mov dword [esp + 0x38], eax
lea ecx, [esi - 0x24]
mov eax, dword [esp + 0x20]
push ebp
push eax
push ecx
mov dword [esp + 0x28], edx
call fcn.1002f94a
mov ebp, edx
mov ecx, eax
mov edx, dword [esp + 0x28]
add esp, 0x18
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x84], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
test edi, edi
je 0x10018ddc
mov ebp, dword [esi - 0x28]
jmp 0x10018ddf
mov ebp, dword [esi - 0x2c]
test edi, edi
je 0x10018e1c
cmp dword [esp + 0x28], 0
je 0x10018df1
and dword [esp + 0x28], 0
jmp 0x10018e10
or eax, dword [esp + 0x10]
je 0x10018e10
push 1
lea eax, [esp + 0x88]
push eax
push dword [ebx + 8]
call sym.glib_lite.dll_Ordinal_1
mov ecx, dword [esp + 0x48]
add esp, 0xc
or ecx, dword [esp + 0x20]
je 0x10018e53
lea eax, [esp + 0x74]
jmp 0x10018e45
or ecx, dword [esp + 0x20]
je 0x10018e38
push 1
lea eax, [esp + 0x78]
push eax
push dword [ebx + 8]
call sym.glib_lite.dll_Ordinal_1
mov eax, dword [esp + 0x38]
add esp, 0xc
or eax, dword [esp + 0x10]
je 0x10018e53
lea eax, [esp + 0x84]
push 1
push eax
push dword [ebx + 8]
call sym.glib_lite.dll_Ordinal_1
add esp, 0xc
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
jb 0x10018d63
mov dword [esp + 0x10], ebp
mov edi, ebp
push 2
pop eax
add dword [esp + 0x18], eax
add esi, 0x90
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x30]
jb 0x10018c26
mov ebp, dword [esp + 0x34]
test eax, eax
je 0x10018f1c
imul edi, eax, 0x90
mov ecx, dword [edi + ebp - 0x80]
cmp ecx, 0xc
jle 0x10018eb1
mov eax, dword [edi + ebp - 0x78]
cmp eax, dword [edi + ebp - 0x58]
jg 0x10018eb7
cmp ecx, dword [edi + ebp - 0x60]
jle 0x10018f1c
mov esi, dword [edi + ebp]
lea eax, [ebp - 0x90]
add eax, edi
push 0
push eax
lea eax, [esp + 0x48]
push eax
call fcn.100184cc
push 1
lea eax, [esp + 0x50]
push eax
push dword [ebx + 4]
call sym.glib_lite.dll_Ordinal_1
push dword [esp + 0x28]
lea eax, [ebp - 0x64]
add eax, edi
push esi
push eax
call fcn.1002f94a
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
push 1
push eax
push dword [ebx + 8]
mov dword [esp + 0x98], edx
call sym.glib_lite.dll_Ordinal_1
add esp, 0x30
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003c212
add esp, 0x88
ret