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

Disassembly:
sub esp, 0x68
mov eax, dword [0x10083304]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov dword [esp + 0x28], eax
xor esi, esi
mov eax, dword [esp + 0x84]
push edi
mov dword [esp + 0x24], eax
xor edi, edi
mov eax, dword [esp + 0x8c]
and dword [esp + 0x5c], edi
push 0x10083904
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x14], esi
call sym.glib_lite.dll_Ordinal_212
test byte [ebp + 0xc], 0x10
mov esi, dword [ebp]
pop ecx
mov dword [esp + 0x14], esi
je 0x1002c82f
push ebx
push dword [esp + 0x30]
push esi
call fcn.1002ac6f
add esp, 0xc
test eax, eax
je 0x1002c82f
push 0x10083904
mov dword [eax + 0x14], 3
call sym.glib_lite.dll_Ordinal_213
pop ecx
xor eax, eax
jmp 0x1002ce73
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1002c86f
push 0x10083904
call sym.glib_lite.dll_Ordinal_213
mov eax, dword [ebp + 0x14]
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10020d3e
lea eax, [esp + 0x68]
push 0x10083904
mov dword [esp + 0x40], eax
call sym.glib_lite.dll_Ordinal_212
mov eax, dword [ebp]
add esp, 0x10
jmp 0x1002c879
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, esi
and dword [esp + 0x50], edi
and dword [esp + 0x54], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [0x100838fc]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov dword [0x100838fc], eax
mov eax, dword [ebx]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], 4
push dword [eax]
push ebp
call fcn.10020d3e
pop ecx
pop ecx
test eax, eax
je 0x1002c8c4
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
jmp 0x1002c8ce
and dword [esp + 0x34], edi
jmp 0x1002c8ce
mov esi, dword [esp + 0x14]
test edi, edi
je 0x1002c8dd
push edi
push ebx
push esi
call fcn.10020d3e
add esp, 0xc
mov eax, dword [0x100832e8]
push ebx
push esi
mov dword [esp + 0x44], eax
call fcn.10020d3e
pop ecx
pop ecx
test eax, eax
je 0x1002c8f8
mov edi, dword [eax + 4]
jmp 0x1002c8fa
xor edi, edi
mov dword [esp + 0x28], edi
test edi, edi
je 0x1002c905
inc dword [edi + 0x14]
test byte [ebp + 0xc], 2
mov dword [esp + 0x50], 1
je 0x1002c9bd
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1002c9bd
mov eax, dword [ebx]
mov dword [esp + 0x54], 1
push 0x10083904
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
call sym.glib_lite.dll_Ordinal_213
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x28]
shr eax, 0xa
movzx eax, al
inc eax
push eax
push dword [esp + 0x40]
push esi
call fcn.10024b84
push dword [esp + 0x34]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x6c]
push eax
call fcn.10020d3e
add esp, 0x28
test eax, eax
jne 0x1002c989
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
mov dword [esp + 0x54], eax
push 0x10083904
call sym.glib_lite.dll_Ordinal_212
xor esi, esi
mov dword [esp + 0x5c], 4
inc esi
cmp dword [esp + 0x58], 0
pop ecx
mov dword [esp + 0x10], esi
je 0x1002cd50
cmp dword [esp + 0x54], 3
mov esi, dword [esp + 0x14]
je 0x1002c8ce
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x1002ca81
push 1
push eax
mov dword [esp + 0x5c], 2
call fcn.1001015b
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
je 0x1002ca6e
mov edi, dword [esp + 0x38]
cmp dword [ebp + 0x20], 0
je 0x1002c9f7
mov eax, dword [esp + 0x2c]
cmp dword [ebp + 0x20], eax
jne 0x1002ca52
mov ebx, dword [ebp + 0x14]
mov eax, ebx
mov esi, dword [ebp + 0x18]
or eax, 2
push 0x10083904
mov dword [ebp + 0x14], eax
call sym.glib_lite.dll_Ordinal_213
push dword [ebp]
mov eax, dword [edi + 0xc]
push dword [esp + 0x28]
shr eax, 0xa
movzx eax, al
inc eax
push eax
lea eax, [esp + 0x58]
push eax
call esi
neg eax
push 0x10083904
sbb esi, esi
inc esi
call sym.glib_lite.dll_Ordinal_212
add esp, 0x18
test bl, 2
jne 0x1002ca43
and dword [ebp + 0x14], 0xfffffffd
test esi, esi
je 0x1002ca52
push ebp
push dword [edi + 0x28]
call sym.glib_lite.dll_Ordinal_136
pop ecx
pop ecx
push 1
push ebp
push dword [edi + 0x28]
call fcn.100102f5
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x1002c9e8
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x54], 3
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
je 0x1002c8ce
test edi, edi
je 0x1002cb87
mov dword [esp + 0x54], 1
mov ebx, edi
inc dword [edi + 0x14]
mov eax, dword [ebx + 0x18]
mov esi, ebx
mov dword [esp + 0x28], esi
test eax, 0x10000
jne 0x1002cc3d
movzx eax, ax
test eax, eax
jne 0x1002cb3c
cmp dword [ebx + 0xc], eax
je 0x1002cac3
mov eax, dword [esp + 0x2c]
cmp dword [ebx + 0xc], eax
jne 0x1002cb3c
mov eax, dword [esp + 0x3c]
cmp dword [ebx], eax
jae 0x1002cb3c
mov esi, 0x10083904
push esi
call sym.glib_lite.dll_Ordinal_213
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x28]
shr eax, 0xa
movzx eax, al
inc eax
push eax
push dword [esp + 0x40]
push dword [ebx + 0x1c]
call fcn.10024b84
push dword [esp + 0x34]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x6c]
push eax
call fcn.10020d3e
add esp, 0x28
test eax, eax
jne 0x1002cb24
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
mov dword [esp + 0x54], eax
push esi
call sym.glib_lite.dll_Ordinal_212
xor eax, eax
inc eax
pop ecx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x54], eax
je 0x1002cb3c
xor esi, esi
jmp 0x1002cb3f
mov esi, dword [ebx + 4]
test esi, esi
je 0x1002cb46
inc dword [esi + 0x14]
push edi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.10020d3e
add esp, 0xc
mov edi, ebx
mov ebx, esi
test esi, esi
jne 0x1002ca96
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x54], 0
mov edi, esi
je 0x1002cd4c
cmp dword [esp + 0x54], 3
mov dword [esp + 0x28], edi
je 0x1002c8ca
test byte [ebp + 0xc], 4
mov dword [esp + 0x50], 2
je 0x1002cc54
mov esi, dword [esp + 0x34]
test esi, esi
je 0x1002cc54
mov eax, dword [ebx]
mov dword [esp + 0x54], 1
push 0x10083904
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
call sym.glib_lite.dll_Ordinal_213
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x28]
shr eax, 0xa
movzx eax, al
inc eax
push eax
push dword [esp + 0x40]
push esi
call fcn.10024b84
push dword [esp + 0x34]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x6c]
push eax
call fcn.10020d3e
add esp, 0x28
test eax, eax
jne 0x1002cc0b
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
mov dword [esp + 0x54], eax
push 0x10083904
call sym.glib_lite.dll_Ordinal_212
xor esi, esi
mov dword [esp + 0x5c], 4
inc esi
cmp dword [esp + 0x58], 0
pop ecx
mov dword [esp + 0x10], esi
je 0x1002cd50
cmp dword [esp + 0x54], 3
je 0x1002c8ca
jmp 0x1002cc58
mov ebx, dword [esp + 0x18]
push edi
push ebx
push dword [esp + 0x1c]
call fcn.10020d3e
add esp, 0xc
jmp 0x1002cb6b
mov esi, dword [esp + 0x10]
test edi, edi
je 0x1002cd50
mov dword [esp + 0x54], 1
mov ebx, edi
inc dword [edi + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x18]
test eax, 0x10000
je 0x1002cd11
movzx eax, ax
test eax, eax
jne 0x1002cd11
cmp dword [ebx + 0xc], eax
je 0x1002cc98
mov eax, dword [esp + 0x2c]
cmp dword [ebx + 0xc], eax
jne 0x1002cd11
mov eax, dword [esp + 0x3c]
cmp dword [ebx], eax
jae 0x1002cd11
mov esi, 0x10083904
push esi
call sym.glib_lite.dll_Ordinal_213
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x28]
shr eax, 0xa
movzx eax, al
inc eax
push eax
push dword [esp + 0x40]
push dword [ebx + 0x1c]
call fcn.10024b84
push dword [esp + 0x34]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x6c]
push eax
call fcn.10020d3e
add esp, 0x28
test eax, eax
jne 0x1002ccf9
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
mov dword [esp + 0x54], eax
push esi
call sym.glib_lite.dll_Ordinal_212
xor eax, eax
inc eax
pop ecx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x54], eax
je 0x1002cd11
xor esi, esi
jmp 0x1002cd14
mov esi, dword [ebx + 4]
test esi, esi
je 0x1002cd1b
inc dword [esi + 0x14]
push ebx
push edi
push dword [esp + 0x1c]
call fcn.10020d3e
add esp, 0xc
mov ebx, esi
test esi, esi
jne 0x1002cc71
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x54], esi
je 0x1002cd4c
cmp dword [esp + 0x54], 3
je 0x1002c8ca
mov esi, dword [esp + 0x10]
test byte [ebp + 0xc], 8
mov dword [esp + 0x50], 4
je 0x1002ce36
cmp dword [esp + 0x34], 0
je 0x1002ce36
mov eax, dword [ebx]
xor esi, esi
and dword [esp + 0x54], esi
push 0x10083904
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
call sym.glib_lite.dll_Ordinal_213
mov eax, dword [ebp + 0x14]
pop ecx
mov ecx, eax
cmp eax, 4
je 0x1002cdaa
cmp dword [esp + 0x1c], esi
jne 0x1002cdaa
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10020d3e
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
inc esi
lea eax, [esp + 0x48]
xor edx, edx
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x24]
shr eax, 0xa
movzx eax, al
inc eax
cmp ecx, 4
push eax
lea eax, [esp + 0x68]
cmove eax, edx
push eax
push dword [esp + 0x44]
call fcn.10024b84
push dword [esp + 0x30]
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x68]
push eax
call fcn.10020d3e
add esp, 0x24
test eax, eax
jne 0x1002ce02
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
mov dword [esp + 0x54], eax
test esi, esi
je 0x1002ce11
lea eax, [esp + 0x5c]
push eax
call sym.glib_lite.dll_Ordinal_502
pop ecx
push 0x10083904
call sym.glib_lite.dll_Ordinal_212
xor esi, esi
mov dword [esp + 0x5c], 4
inc esi
cmp dword [esp + 0x58], 3
pop ecx
mov dword [esp + 0x10], esi
je 0x1002c8ca
test edi, edi
je 0x1002ce48
push edi
push ebx
push dword [esp + 0x1c]
call fcn.10020d3e
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.1002ac9e
mov dword [esp], 0x10083904
call sym.glib_lite.dll_Ordinal_213
cmp dword [esp + 0x20], 0
pop ecx
je 0x1002ce71
lea eax, [esp + 0x5c]
push eax
call sym.glib_lite.dll_Ordinal_502
pop ecx
mov eax, esi
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100319bd
add esp, 0x68
ret