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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x80]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x88]
mov eax, ecx
push esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
push edi
mov eax, dword [esi + 0x2cc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x10055c3f
cmp ebp, dword [eax + 0xc]
jb 0x10056205
ja 0x10055c3f
cmp ebx, dword [eax + 8]
jb 0x10056205
cmp dword [esi + 0x18], 0x6e756f73
jne 0x10055c4f
mov dword [esi + 0x50], 1
mov edi, dword [esp + 0x78]
lea eax, [esp + 0x13]
push eax
push edi
call fcn.10045fd9
pop ecx
pop ecx
test eax, eax
je 0x1005620a
lea eax, [esp + 0x30]
push eax
push edi
call fcn.10045f5f
pop ecx
pop ecx
test eax, eax
je 0x1005620a
lea eax, [esp + 0x20]
push eax
push edi
call fcn.10045f2b
pop ecx
pop ecx
test eax, eax
je 0x1005620a
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
test al, 1
je 0x10055cec
lea eax, [esp + 0x28]
push eax
push edi
call fcn.10045f2b
pop ecx
pop ecx
test eax, eax
je 0x1005620a
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x38], eax
and eax, edx
cmp eax, 0xffffffff
jne 0x10055cd1
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
jmp 0x10055cd7
mov ebx, dword [esp + 0x38]
mov ebp, edx
mov eax, dword [esp + 0x28]
cdq
add eax, ebx
adc edx, ebp
mov ebp, dword [esp + 0xa0]
mov dword [ebp], eax
jmp 0x10055d42
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
jne 0x10055d2d
mov eax, dword [esp + 0x9c]
mov ecx, ebx
add ecx, dword [esp + 0x94]
mov edx, ebp
mov dword [esp + 0x3c], 1
adc edx, dword [esp + 0x98]
add ecx, 8
mov dword [eax], ecx
adc edx, 0
mov dword [eax + 4], edx
mov ebp, dword [esp + 0xa0]
mov eax, dword [ebp]
and eax, dword [ebp + 4]
cmp eax, 0xffffffff
jne 0x10055d45
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov ebx, dword [esp + 0x18]
test bl, 4
je 0x10055d7c
test ebx, 0x400
je 0x10055d5f
xor ebx, 4
mov dword [esp + 0x18], ebx
jmp 0x10055d7c
lea eax, [esp + 0x24]
push eax
push edi
call fcn.10045f2b
pop ecx
pop ecx
test eax, eax
je 0x1005620a
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, ebx
mov edx, ebx
and eax, 0x100
mov dword [esp + 0x40], eax
neg eax
push 0
sbb ecx, ecx
and ecx, 4
and edx, 0x200
pop eax
cmovne eax, ecx
mov dword [esp + 0x44], edx
test edx, edx
mov dword [esp + 0x48], eax
lea eax, [ecx + 4]
mov edx, ebx
cmove eax, ecx
and edx, 0x400
push 0
pop ecx
cmovne ecx, eax
mov dword [esp + 0x4c], edx
test edx, edx
mov dword [esp + 0x50], ecx
lea ecx, [eax + 4]
cmove ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x20]
and eax, 0x800
push 0
pop edx
cmovne edx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
test eax, eax
lea edx, [ecx + 4]
mov dword [esp + 0x30], ebx
cmove edx, ecx
push edx
push ebx
push edi
mov dword [esp + 0x68], edx
call fcn.1004eaad
add esp, 0xc
test eax, eax
je 0x1005620a
mov eax, dword [edi + 8]
add eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x48]
lea ecx, [eax + ebx]
cmp ecx, 0xfa0000
jae 0x1005620a
push 0x20
test eax, eax
jne 0x10055e31
push ebx
call sub.glib_lite.dll_Ordinal_419
pop ecx
pop ecx
jmp 0x10055e3d
push ecx
push dword [esi + 0x4c]
call sub.glib_lite.dll_Ordinal_422
add esp, 0xc
mov ecx, eax
mov dword [esi + 0x4c], ecx
test ecx, ecx
je 0x1005620a
mov edx, dword [esp + 0x74]
mov edi, dword [edx + 0x260]
mov eax, edi
mov ebx, dword [edx + 0x264]
and eax, ebx
cmp eax, 0xffffffff
je 0x10055e94
push 0
push 0x3b9aca00
push 0
push dword [esi + 0x40]
push ebx
push edi
call fcn.1006185a
mov edi, eax
add esp, 0x18
mov eax, dword [esp + 0x74]
mov ebx, edx
or dword [eax + 0x260], 0xffffffff
or dword [eax + 0x264], 0xffffffff
jmp 0x10055ffd
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x10055efd
mov ebx, dword [esp + 0xa8]
test ebx, ebx
jl 0x10055ebb
mov edi, dword [esp + 0xa4]
jg 0x10055fe7
test edi, edi
jne 0x10055fe7
mov eax, dword [esi + 0x2cc]
test eax, eax
je 0x10055ee7
push 0
push 0x3b9aca00
push 0
push dword [esi + 0x40]
push dword [eax + 4]
push dword [eax]
call fcn.1006185a
add esp, 0x18
mov edi, eax
mov ebx, edx
jmp 0x10055fe7
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
jmp 0x10055fe7
shl eax, 5
xor ebx, ebx
mov edi, dword [eax + ecx - 8]
add edi, dword [eax + ecx - 0x10]
adc ebx, dword [eax + ecx - 0xc]
cmp dword [esp + 0xac], 0
je 0x10055fe7
cmp dword [edx + 0x230], 0
jne 0x10055fe7
cmp dword [esp + 0xa8], ebx
jb 0x10055f55
ja 0x10055f3d
cmp dword [esp + 0xa4], edi
jbe 0x10055f55
mov eax, dword [esp + 0xa4]
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
sbb eax, ebx
jmp 0x10055f6b
mov eax, edi
sub eax, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
mov eax, ebx
sbb eax, dword [esp + 0xa8]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x64]
shrd ecx, eax, 1
shr eax, 1
mov dword [esp + 0x28], ecx
xor ecx, ecx
push ecx
mov dword [esp + 0x3c], eax
mov eax, 0x3b9aca00
push eax
push ecx
push dword [esi + 0x40]
push ecx
push eax
call fcn.1006185a
mov ecx, dword [esp + 0x50]
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp ecx, edx
jb 0x10055fb2
mov eax, dword [esp + 0x28]
ja 0x10055fcb
cmp eax, dword [esp + 0x1c]
ja 0x10055fcb
xor ecx, ecx
mov eax, 0x3b9aca00
push ecx
push eax
push ecx
push dword [esi + 0x40]
push ecx
push eax
call fcn.1006185a
add esp, 0x18
mov ecx, edx
cmp dword [esp + 0x24], ecx
jb 0x10055fe7
ja 0x10055fd9
cmp dword [esp + 0x20], eax
jbe 0x10055fe7
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
push 0
push dword [esi + 0x40]
push 0
push 0x3b9aca00
push ebx
push edi
call fcn.1006185a
add esp, 0x18
mov eax, dword [ebp]
and dword [esp + 0x28], 0
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x48]
shl eax, 5
add eax, dword [esi + 0x4c]
cmp dword [esp + 0x30], 0
mov dword [esp + 0x1c], eax
jbe 0x10056166
and dword [esp + 0x18], 4
cmp dword [esp + 0x40], 0
je 0x10056040
push dword [esp + 0x14]
call fcn.100362b3
pop ecx
jmp 0x10056047
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x24], eax
je 0x10056063
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x48]
push eax
call fcn.100362b3
pop ecx
jmp 0x1005606a
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x18], 0
mov dword [esp + 0x38], eax
je 0x10056088
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x88]
cmove eax, dword [esp + 0x34]
jmp 0x100560a7
cmp dword [esp + 0x4c], 0
je 0x100560a0
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x50]
push eax
call fcn.100362b3
pop ecx
jmp 0x100560a7
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x54], 0
mov dword [esp + 0x20], eax
je 0x100560cb
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x58]
push eax
call fcn.100362b3
mov edx, eax
pop ecx
cmp edx, 0x80000000
jne 0x100560cd
xor edx, edx
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
add dword [esp + 0x14], eax
mov eax, dword [ebp]
mov dword [esi + 8], eax
mov eax, esi
mov esi, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov dword [eax], esi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ebx
xor eax, eax
cmp cl, 0x40
sete al
shr ecx, 0x10
not ecx
and ecx, 1
cmp dword [esp + 0x3c], 0
cmovne ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x1c], ecx
add dword [ebp], esi
mov ecx, dword [esp + 0x24]
adc dword [ebp + 4], 0
add edi, ecx
mov esi, dword [esp + 0x7c]
adc ebx, 0
add dword [esi + 0x58], ecx
mov ecx, dword [esp + 0x28]
adc dword [esi + 0x5c], 0
add eax, 0x20
cmp edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
cmovge edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
cmp ecx, dword [esp + 0x30]
jb 0x1005602d
jmp 0x1005616a
mov eax, dword [esp + 0x2c]
test eax, eax
jns 0x10056173
neg eax
cdq
jmp 0x10056184
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push 0
mov dword [esi + 0x2e8], eax
mov dword [esi + 0x2ec], edx
push dword [esi + 0x40]
push 0
push 0x3b9aca00
push ebx
push edi
call fcn.1006185a
mov ebx, dword [esp + 0x8c]
push edx
push eax
push ebx
call fcn.100460e9
mov ecx, dword [ebp]
add esp, 0x24
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x64]
sub ecx, edx
mov edi, dword [esp + 0x68]
sbb eax, edi
mov dword [ebx + 0x1f0], ecx
mov dword [ebx + 0x1f4], eax
mov dword [ebx + 0x1fc], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x218], edx
mov dword [ebx + 0x21c], edi
mov dword [ebx + 0x1f8], ecx
add dword [esi + 0x48], eax
add dword [esi + 0x54], eax
cmp dword [esi + 0x2cc], 0
je 0x10056205
and dword [esi + 0x2cc], 0
xor eax, eax
inc eax
jmp 0x1005620c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret