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

Disassembly:
sub esp, 0x88
mov eax, dword [0x10083304]
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 0x10018908
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 0x100188ca
cmp dword [esi], eax
jne 0x100188ca
inc eax
jmp 0x100188ef
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 0x100188bc
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.10032d98
push dword [esp + 0x24]
mov dword [ebx + 4], eax
push 0x10
push 1
push 0
call fcn.10032d98
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 0x10018c44
lea esi, [ebp + 0x30]
jmp 0x10018950
xor edx, edx
cmp dword [esi - 0x2c], edx
jne 0x1001895e
cmp dword [esi - 0x28], edx
je 0x100189fd
cmp dword [esi - 0x20], edx
jne 0x100189fd
cmp dword [esi], edx
jne 0x100189fd
push edx
lea ebp, [esi - 0x30]
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.100181bc
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 0x100189ea
mov ecx, dword [esi - 0xb0]
cmp ecx, 0xc
jle 0x100189b0
mov eax, dword [esi - 0xa8]
cmp eax, dword [esi - 0x88]
jg 0x100189b8
cmp ecx, dword [esi - 0x90]
jle 0x100189ea
push edi
push dword [ebp]
lea eax, [esi - 4]
push eax
call fcn.10032d98
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 0x10018b97
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 0x10018a27
mov eax, dword [esi - 0x18]
xor ecx, ecx
cmp eax, dword [esi + 8]
setg cl
mov dword [esp + 0x20], ecx
jmp 0x10018a32
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.100181bc
push 1
lea eax, [esp + 0x50]
push ebp
push eax
call fcn.100181bc
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 0x10018b94
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 0x10018a96
mov ecx, dword [esi - 0x28]
jmp 0x10018a99
mov ebp, dword [esi - 0x2c]
push ecx
push eax
lea eax, [esi - 4]
push eax
call fcn.10032d98
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.10032d98
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 0x10018b04
mov ebp, dword [esi - 0x28]
jmp 0x10018b07
mov ebp, dword [esi - 0x2c]
test edi, edi
je 0x10018b44
cmp dword [esp + 0x28], 0
je 0x10018b19
and dword [esp + 0x28], 0
jmp 0x10018b38
or eax, dword [esp + 0x10]
je 0x10018b38
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 0x10018b7b
lea eax, [esp + 0x74]
jmp 0x10018b6d
or ecx, dword [esp + 0x20]
je 0x10018b60
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 0x10018b7b
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 0x10018a8b
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 0x1001894e
mov ebp, dword [esp + 0x34]
test eax, eax
je 0x10018c44
imul edi, eax, 0x90
mov ecx, dword [edi + ebp - 0x80]
cmp ecx, 0xc
jle 0x10018bd9
mov eax, dword [edi + ebp - 0x78]
cmp eax, dword [edi + ebp - 0x58]
jg 0x10018bdf
cmp ecx, dword [edi + ebp - 0x60]
jle 0x10018c44
mov esi, dword [edi + ebp]
lea eax, [ebp - 0x90]
add eax, edi
push 0
push eax
lea eax, [esp + 0x48]
push eax
call fcn.100181bc
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.10032d98
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.100319bd
add esp, 0x88
ret