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

Disassembly:
sub esp, 0x68
mov eax, dword [0x1008f304]
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]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
push esi
push edi
mov dword [esp + 0x1c], eax
xor edi, edi
and dword [esp + 0x5c], edi
xor eax, eax
push 0x1008f908
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x1c], ebx
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x38], eax
call sym.glib_lite.dll_Ordinal_208
test byte [ebp + 0xc], 0x10
mov esi, dword [ebp]
pop ecx
mov dword [esp + 0x10], esi
je 0x100370b6
push ebx
push dword [esp + 0x2c]
push esi
call fcn.100354f6
add esp, 0xc
test eax, eax
je 0x100370b6
push 0x1008f908
mov dword [eax + 0x14], 3
call sym.glib_lite.dll_Ordinal_209
pop ecx
xor eax, eax
jmp 0x100376c3
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100370f6
push 0x1008f908
call sym.glib_lite.dll_Ordinal_209
mov eax, dword [ebp + 0x14]
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x64]
push eax
call sym.glib_lite.dll_Ordinal_461
lea eax, [esp + 0x68]
push 0x1008f908
mov dword [esp + 0x3c], eax
call sym.glib_lite.dll_Ordinal_208
mov eax, dword [ebp]
add esp, 0x10
jmp 0x10037100
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, esi
and dword [esp + 0x50], edi
and dword [esp + 0x54], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [0x1008f900]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov dword [0x1008f900], eax
mov eax, dword [ebx]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], 4
push dword [eax]
push ebp
call fcn.1002f94a
pop ecx
pop ecx
test eax, eax
je 0x1003714b
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
jmp 0x10037155
and dword [esp + 0x20], edi
jmp 0x10037155
mov esi, dword [esp + 0x10]
test edi, edi
je 0x10037164
push edi
push ebx
push esi
call fcn.1002f94a
add esp, 0xc
mov eax, dword [0x1008f2e8]
push ebx
push esi
mov dword [esp + 0x44], eax
call fcn.1002f94a
pop ecx
pop ecx
test eax, eax
je 0x1003717f
mov edi, dword [eax + 4]
jmp 0x10037181
xor edi, edi
mov dword [esp + 0x24], edi
test edi, edi
je 0x1003718c
inc dword [edi + 0x14]
xor ecx, ecx
inc ecx
test byte [ebp + 0xc], 2
mov dword [esp + 0x50], ecx
je 0x1003723d
cmp dword [esp + 0x20], 0
je 0x1003723d
mov eax, dword [ebx]
mov dword [esp + 0x54], ecx
push 0x1008f908
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
call sym.glib_lite.dll_Ordinal_209
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x24]
shr eax, 0xa
movzx eax, al
inc eax
push eax
push dword [esp + 0x3c]
push dword [esp + 0x34]
call fcn.1002f3fa
push dword [esp + 0x2c]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x6c]
push eax
call fcn.1002f94a
add esp, 0x28
test eax, eax
jne 0x1003720d
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
mov dword [esp + 0x54], eax
push 0x1008f908
call sym.glib_lite.dll_Ordinal_208
pop ecx
xor ecx, ecx
mov dword [esp + 0x58], 4
inc ecx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x34], ecx
je 0x100375d0
cmp dword [esp + 0x54], 3
je 0x10037155
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x10037300
push ecx
push eax
mov dword [esp + 0x5c], 2
call fcn.1000fcc7
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
je 0x100372f1
mov edi, dword [esp + 0x38]
cmp dword [ebp + 0x20], 0
je 0x10037276
mov eax, dword [esp + 0x28]
cmp dword [ebp + 0x20], eax
jne 0x100372d1
mov ebx, dword [ebp + 0x14]
mov eax, ebx
mov esi, dword [ebp + 0x18]
or eax, 2
push 0x1008f908
mov dword [ebp + 0x14], eax
call sym.glib_lite.dll_Ordinal_209
push dword [ebp]
mov eax, dword [edi + 0xc]
push dword [esp + 0x24]
shr eax, 0xa
movzx eax, al
inc eax
push eax
lea eax, [esp + 0x58]
push eax
call esi
neg eax
push 0x1008f908
sbb esi, esi
inc esi
call sym.glib_lite.dll_Ordinal_208
add esp, 0x18
test bl, 2
jne 0x100372c2
and dword [ebp + 0x14], 0xfffffffd
test esi, esi
je 0x100372d1
push ebp
push dword [edi + 0x28]
call sym.glib_lite.dll_Ordinal_132
pop ecx
pop ecx
push 1
push ebp
push dword [edi + 0x28]
call fcn.1000fe61
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x10037267
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x54], 3
mov ebp, dword [esp + 0x38]
je 0x10037155
test edi, edi
je 0x10037406
mov dword [esp + 0x54], 1
mov ebx, edi
inc dword [edi + 0x14]
mov eax, dword [ebx + 0x18]
mov esi, ebx
mov dword [esp + 0x24], esi
test eax, 0x10000
jne 0x100374bd
movzx eax, ax
test eax, eax
jne 0x100373bb
cmp dword [ebx + 0xc], eax
je 0x10037342
mov eax, dword [esp + 0x28]
cmp dword [ebx + 0xc], eax
jne 0x100373bb
mov eax, dword [esp + 0x3c]
cmp dword [ebx], eax
jae 0x100373bb
mov esi, 0x1008f908
push esi
call sym.glib_lite.dll_Ordinal_209
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x24]
shr eax, 0xa
movzx eax, al
inc eax
push eax
push dword [esp + 0x3c]
push dword [ebx + 0x1c]
call fcn.1002f3fa
push dword [esp + 0x2c]
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x6c]
push eax
call fcn.1002f94a
add esp, 0x28
test eax, eax
jne 0x100373a3
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_208
xor eax, eax
inc eax
pop ecx
mov dword [esp + 0x34], eax
cmp dword [esp + 0x54], eax
je 0x100373bb
xor esi, esi
jmp 0x100373be
mov esi, dword [ebx + 4]
test esi, esi
je 0x100373c5
inc dword [esi + 0x14]
push edi
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.1002f94a
add esp, 0xc
mov edi, ebx
mov ebx, esi
test esi, esi
jne 0x10037315
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x54], 0
mov edi, esi
je 0x100375d0
cmp dword [esp + 0x54], 3
mov dword [esp + 0x24], edi
je 0x10037151
test byte [ebp + 0xc], 4
mov dword [esp + 0x50], 2
je 0x100374d4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100374d4
mov eax, dword [ebx]
mov dword [esp + 0x54], 1
push 0x1008f908
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
call sym.glib_lite.dll_Ordinal_209
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x24]
shr eax, 0xa
movzx eax, al
inc eax
push eax
push dword [esp + 0x3c]
push esi
call fcn.1002f3fa
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x74]
push esi
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x6c]
push eax
call fcn.1002f94a
add esp, 0x28
test eax, eax
jne 0x1003748b
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
mov dword [esp + 0x54], eax
push 0x1008f908
call sym.glib_lite.dll_Ordinal_208
pop ecx
xor ecx, ecx
mov dword [esp + 0x58], 4
inc ecx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x34], ecx
je 0x100375d0
cmp dword [esp + 0x54], 3
je 0x10037151
jmp 0x100374db
mov ebx, dword [esp + 0x18]
push edi
push ebx
push dword [esp + 0x18]
call fcn.1002f94a
add esp, 0xc
jmp 0x100373ea
mov esi, dword [esp + 0x14]
xor ecx, ecx
inc ecx
test edi, edi
je 0x100375d0
mov dword [esp + 0x54], ecx
mov ebx, edi
inc dword [edi + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x18]
test eax, 0x10000
je 0x10037590
movzx eax, ax
test eax, eax
jne 0x10037590
cmp dword [ebx + 0xc], eax
je 0x10037517
mov eax, dword [esp + 0x28]
cmp dword [ebx + 0xc], eax
jne 0x10037590
mov eax, dword [esp + 0x3c]
cmp dword [ebx], eax
jae 0x10037590
push 0x1008f908
call sym.glib_lite.dll_Ordinal_209
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebp + 0xc]
push dword [esp + 0x24]
shr eax, 0xa
movzx eax, al
inc eax
push eax
push dword [esp + 0x3c]
push dword [ebx + 0x1c]
call fcn.1002f3fa
push esi
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x6c]
push eax
call fcn.1002f94a
add esp, 0x28
test eax, eax
jne 0x10037574
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp eax, 1
cmove eax, ecx
mov dword [esp + 0x54], eax
push 0x1008f908
call sym.glib_lite.dll_Ordinal_208
pop ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x54], ecx
je 0x10037590
xor esi, esi
jmp 0x10037593
mov esi, dword [ebx + 4]
test esi, esi
je 0x1003759a
inc dword [esi + 0x14]
push ebx
push edi
push dword [esp + 0x18]
call fcn.1002f94a
add esp, 0xc
mov ebx, esi
test esi, esi
mov esi, dword [esp + 0x14]
jne 0x100374f0
cmp dword [esp + 0x54], 0
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
je 0x100375d0
cmp dword [esp + 0x54], 3
je 0x10037151
test byte [ebp + 0xc], 8
mov dword [esp + 0x50], 4
je 0x10037684
cmp dword [esp + 0x20], 0
je 0x10037684
mov eax, dword [ebx]
xor esi, esi
and dword [esp + 0x54], esi
push 0x1008f908
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
call sym.glib_lite.dll_Ordinal_209
mov eax, dword [ebp + 0x14]
pop ecx
mov ecx, eax
cmp eax, 4
je 0x1003762a
cmp dword [esp + 0x14], esi
jne 0x1003762a
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x60]
push eax
call sym.glib_lite.dll_Ordinal_461
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 + 0x20]
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 + 0x30]
call fcn.1002f3fa
add esp, 0x14
test esi, esi
je 0x10037666
lea eax, [esp + 0x5c]
push eax
call sym.glib_lite.dll_Ordinal_489
pop ecx
push 0x1008f908
call sym.glib_lite.dll_Ordinal_208
cmp dword [esp + 0x58], 3
pop ecx
mov dword [esp + 0x58], 4
je 0x10037151
test edi, edi
je 0x10037696
push edi
push ebx
push dword [esp + 0x18]
call fcn.1002f94a
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.10035525
mov dword [esp], 0x1008f908
call sym.glib_lite.dll_Ordinal_209
cmp dword [esp + 0x18], 0
pop ecx
je 0x100376bf
lea eax, [esp + 0x5c]
push eax
call sym.glib_lite.dll_Ordinal_489
pop ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003c212
add esp, 0x68
ret