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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x7c
mov eax, dword [0x104c5878]
mov edx, dword [esp + 0x90]
xor eax, esp
mov dword [esp + 0x78], eax
test edx, edx
je 0x10055ad8
mov eax, dword [esp + 0x94]
test eax, eax
je 0x10055ad8
mov ebx, dword [esp + 0x98]
test ebx, ebx
je 0x10055ad8
mov edi, edx
mov ebp, ebx
neg edi
neg ebp
and edi, 3
and ebp, 3
add edi, edx
mov edx, eax
neg edx
and edx, 3
cmp dword [edi], 0x4249474e
lea edx, [eax + edx]
je 0x1005518b
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
mov eax, 0xffffffef
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
cmp dword [edx], 0x4249474e
je 0x100551ad
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
mov eax, 0xffffffef
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
cmp dword [ebp + ebx], 0x4249474e
je 0x100551d1
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
mov eax, 0xffffffef
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
mov eax, dword [edi + 8]
mov ecx, dword [edx + 8]
cmp eax, ecx
mov esi, ecx
cmovge esi, eax
cmp esi, dword [ebp + ebx + 0xc]
jg 0x100558ac
mov esi, 1
cmp eax, ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], 0
cmovl ecx, eax
mov dword [ebp + ebx + 8], ecx
mov eax, dword [edi + 8]
mov dword [ebp + ebx + 4], esi
cmp eax, dword [edx + 8]
jge 0x10055212
mov esi, edx
jmp 0x10055266
jne 0x10055262
push eax
push dword [edx + 0x10]
push eax
push dword [edi + 0x10]
mov dword [esp + 0x10], edx
call fcn.100a5d10
mov edx, dword [esp + 0x10]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10055235
mov esi, edx
jmp 0x10055266
test eax, eax
jne 0x10055262
push dword [edi + 8]
push dword [edi + 0x10]
push dword [ebp + ebx + 0x10]
call fcn.100a6120
add esp, 0xc
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
xor eax, eax
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
mov esi, edi
mov edi, edx
push dword [esi + 0xc]
push 0
push dword [esi + 0x14]
call fcn.100a6040
push dword [edi + 0xc]
push 0
push dword [edi + 0x14]
call fcn.100a6040
push dword [esi + 8]
push dword [esi + 0x10]
push dword [esi + 0x14]
call fcn.100a6120
push dword [edi + 8]
push dword [edi + 0x10]
push dword [edi + 0x14]
call fcn.100a6120
mov edx, dword [ebp + ebx + 0x14]
mov eax, dword [ebp + ebx + 0x10]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
push dword [ebp + ebx + 0xc]
push 0
push edx
call fcn.100a6040
push dword [ebp + ebx + 0xc]
push 0
push dword [esp + 0x58]
call fcn.100a6040
add esp, 0x48
mov ecx, dword [esi + 8]
mov dword [esp], ecx
test ecx, ecx
jle 0x1005530b
mov eax, dword [esi + 0x14]
xor edx, edx
mov dword [esp + 0x18], esi
mov dword [esp + 4], ebp
lea eax, [eax + ecx*4]
mov ebp, edx
mov esi, ecx
mov ebx, dword [esp]
cmp dword [eax + ebp*4 - 4], 0
jne 0x100552fc
inc edx
lea ecx, [ebp + esi - 1]
dec ebp
cmp edx, ebx
jb 0x100552eb
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 4]
mov ebx, dword [esp + 0x98]
mov edx, dword [edi + 8]
mov dword [esp + 8], edx
test edx, edx
jle 0x10055364
mov dword [esp + 0xc], edi
xor eax, eax
mov edi, dword [edi + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
lea edi, [edi + edx*4]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov edi, dword [esp + 0xc]
mov ecx, eax
mov ebx, dword [esp]
mov esi, edx
mov ebp, dword [esp + 8]
cmp dword [ebx + ecx*4 - 4], 0
jne 0x10055351
inc eax
lea edx, [ecx + esi - 1]
dec ecx
cmp eax, ebp
jb 0x10055340
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 4]
mov ebx, dword [esp + 0x98]
test ecx, ecx
jne 0x10055386
test edx, edx
jne 0x10055386
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
mov eax, 0xfffffffb
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
cmp edx, ecx
jle 0x100553a4
test ecx, ecx
je 0x100558c6
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, ecx
mov dword [esp + 8], ecx
mov ecx, edx
mov edx, eax
jmp 0x100553ac
test edx, edx
je 0x10055866
cmp ecx, 2
jg 0x100553ee
jl 0x1005581e
mov dword [esp + 0xc], edi
mov edi, 2
push edi
lea eax, [esp + 0x74]
push eax
push edi
push dword [esi + 0x14]
mov dword [esp + 0x30], edx
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
call fcn.100a5d10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 0x10
test eax, eax
jl 0x1005581e
xor eax, eax
mov dword [esp + 4], ebp
mov ebp, edx
mov ebx, ecx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ebx
mov eax, dword [eax + ebx*4 - 4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], 0
cmp ebp, ebx
jl 0x100556ed
mov eax, dword [edi + 0x14]
mov edx, dword [eax + ebp*4 - 4]
xor eax, eax
mov dword [esp + 0x64], edx
or edx, eax
mov dword [esp + 0x60], eax
je 0x100556ed
mov eax, 0xffffffff
mov edx, dword [esp + 0x64]
sub edx, eax
neg eax
add eax, dword [esp + 0x60]
or edx, eax
je 0x100556ed
mov eax, 1
mov edx, eax
xor eax, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], ebx
mov ebx, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x4c]
add esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
adc ebp, dword [esp + 0x50]
add ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
adc edx, dword [esp + 0x44]
push edx
push ecx
push ebp
push esi
call fcn.103b72c0
mov ebp, eax
mov esi, edx
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x48]
adc edi, ebx
add ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
adc edx, dword [esp + 0x6c]
push edx
push ecx
push edi
push eax
call fcn.103b72c0
neg eax
neg edx
add eax, ebp
add edx, esi
or eax, edx
jne 0x10055ac1
push esi
push ebp
push dword [esp + 0x4c]
push dword [esp + 0x68]
call fcn.103b7280
mov edi, dword [esp + 0x58]
sub edi, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
sbb eax, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], eax
push esi
push ebp
push dword [esp + 0x74]
push dword [esp + 0x60]
call fcn.103b7280
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x68], ebx
sbb eax, edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x6c], eax
push esi
push ebp
push dword [esp + 0x68]
push dword [esp + 0x70]
call fcn.103b7280
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov eax, dword [esp + 0x48]
sbb eax, edx
add edi, ecx
mov edx, dword [esp + 0x38]
adc edx, eax
mov ebp, dword [esp + 0x64]
or edi, edx
mov esi, dword [esp + 0x60]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
je 0x10055ac1
add ecx, dword [esp + 0x40]
adc eax, dword [esp + 0x3c]
or ecx, eax
jne 0x10055490
mov edi, dword [esp + 0xc]
mov eax, ebx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
or edx, eax
je 0x100556ed
xor edx, edx
mov ecx, dword [esp + 0x50]
sub ecx, edx
jl 0x10055a11
mov edx, ecx
or edx, dword [esp + 0x58]
je 0x10055a11
xor edx, edx
sub eax, edx
jl 0x100559cc
or eax, dword [esp + 0x68]
je 0x100559cc
lea eax, [esp + 8]
push eax
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x44]
call fcn.100cce30
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x80]
push ebp
push dword [esp + 0x34]
push dword [edi + 0x14]
call fcn.100cce30
push ebp
push dword [esp + 0x40]
mov eax, dword [esp + 0x40]
push eax
push eax
call fcn.100cce80
add esp, 0x38
mov dword [esp + 8], eax
xor eax, eax
mov edx, dword [esp + 0x44]
sub edx, eax
jl 0x1005595f
or edx, dword [esp + 0x5c]
je 0x1005595f
xor eax, eax
mov edx, dword [esp + 0x6c]
sub edx, eax
mov dword [esp + 0x6c], edx
jl 0x1005590c
mov eax, edx
or eax, dword [esp + 0x54]
je 0x1005590c
lea eax, [esp + 8]
push eax
push dword [esp + 0x58]
push ebp
push dword [esp + 0x20]
push dword [edi + 0x14]
call fcn.100cce30
push ebp
push dword [esp + 0x2c]
push dword [edi + 0x14]
call fcn.100a6120
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x80]
push ebp
push dword [esp + 0x40]
push dword [esi + 0x14]
call fcn.100cce30
push ebp
push dword [edi + 0x14]
mov eax, dword [esp + 0x50]
push eax
push eax
call fcn.100cce80
add esp, 0x44
mov dword [esp + 8], eax
push ebp
push dword [esp + 0x18]
push dword [edi + 0x14]
call fcn.100a6120
push ebp
push dword [esp + 0x20]
push dword [esi + 0x14]
call fcn.100a6120
add esp, 0x18
jmp 0x10055763
lea eax, [esp]
push eax
xor eax, eax
push eax
push eax
push ebp
push dword [edi + 0x14]
push ebx
push dword [esp + 0x4c]
call fcn.100a62a0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xb4]
push dword [eax + edx + 0xc]
push 0
push dword [esp + 0x34]
call fcn.100a6040
push dword [esp + 0x28]
push dword [esi + 0x14]
push dword [esp + 0x40]
call fcn.100a6120
push dword [esi + 0xc]
push 0
push dword [esi + 0x14]
call fcn.100a6040
push ebp
push dword [edi + 0x14]
push dword [esi + 0x14]
call fcn.100a6120
push dword [edi + 0xc]
push 0
push dword [edi + 0x14]
call fcn.100a6040
push ebp
push dword [esp + 0x6c]
push dword [edi + 0x14]
call fcn.100a6120
add esp, 0x64
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov dword [esp + 0x20], ebp
xor edx, edx
mov dword [esp + 0x18], esi
mov ebp, dword [esp + 0x30]
lea eax, [eax + ebx*4]
mov esi, dword [esp + 0x2c]
cmp dword [eax + edx*4 - 4], 0
jne 0x1005578e
inc ecx
lea ebx, [edx + ebp - 1]
dec edx
cmp ecx, esi
jb 0x1005577d
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
test ebp, ebp
jle 0x100557cd
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov dword [esp + 0x1c], ebx
xor edx, edx
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x24]
lea eax, [eax + ebp*4]
mov esi, dword [esp + 0x28]
cmp dword [eax + edx*4 - 4], 0
jne 0x100557c5
inc ecx
lea ebp, [edx + ebx - 1]
dec edx
cmp ecx, esi
jb 0x100557b4
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp ebp, ebx
jle 0x100557e1
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, ebx
mov dword [esp + 8], ebx
mov ebx, ebp
mov ebp, eax
test ebp, ebp
je 0x10055a6e
cmp ebx, 2
jg 0x100553f8
jl 0x10055813
mov edx, 2
lea eax, [esp + 0x70]
push edx
push eax
push edx
push dword [esi + 0x14]
call fcn.100a5d10
add esp, 0x10
test eax, eax
jge 0x100553f8
mov ebp, dword [esp + 4]
mov ebx, dword [esp + 0x98]
mov edi, dword [edi + 0x14]
mov eax, dword [esi + 0x14]
push dword [edi]
push dword [eax]
call fcn.100cba30
mov esi, eax
push dword [ebp + ebx + 0xc]
push 0
push dword [ebp + ebx + 0x10]
call fcn.100a6040
add esp, 0x14
mov eax, dword [ebp + ebx + 0x10]
mov dword [eax], esi
mov dword [ebp + ebx + 8], 1
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
xor eax, eax
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
push dword [ebp + ebx + 0xc]
push 0
push dword [ebp + ebx + 0x10]
mov dword [esp + 0x28], ecx
call fcn.100a6040
mov ecx, dword [esp + 0x28]
push ecx
push dword [esi + 0x14]
push dword [ebp + ebx + 0x10]
call fcn.100a6120
mov ecx, dword [esp + 0x34]
add esp, 0x18
mov dword [ebp + ebx + 8], ecx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
xor eax, eax
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
mov eax, 0xfffffff5
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
push dword [ebp + ebx + 0xc]
push 0
push dword [ebp + ebx + 0x10]
mov dword [esp + 0x2c], edx
call fcn.100a6040
mov edx, dword [esp + 0x2c]
push edx
push dword [edi + 0x14]
push dword [ebp + ebx + 0x10]
call fcn.100a6120
mov edx, dword [esp + 0x38]
add esp, 0x18
mov dword [ebp + ebx + 8], edx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
xor eax, eax
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
mov edx, dword [esp + 0x54]
lea eax, [esp + 8]
push eax
neg edx
push edx
push ebp
push dword [esp + 0x20]
push dword [edi + 0x14]
call fcn.100cce30
push ebp
push dword [esp + 0x2c]
push dword [edi + 0x14]
call fcn.100a6120
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x80]
push ebp
push dword [esp + 0x40]
push dword [esi + 0x14]
call fcn.100cce30
push ebp
push dword [edi + 0x14]
mov eax, dword [esp + 0x50]
push eax
push eax
call fcn.100cced0
jmp 0x100556c7
xor eax, eax
mov edx, dword [esp + 0x6c]
sub edx, eax
jl 0x100559b9
mov edx, dword [esp + 0x5c]
lea eax, [esp + 8]
push eax
neg edx
push edx
push ebp
push dword [esp + 0x20]
push dword [esi + 0x14]
call fcn.100cce30
push ebp
push dword [esp + 0x2c]
push dword [esi + 0x14]
call fcn.100a6120
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x78]
push ebp
push dword [esp + 0x40]
push dword [edi + 0x14]
call fcn.100cce30
push ebp
push dword [esi + 0x14]
mov eax, dword [esp + 0x50]
push eax
push eax
call fcn.100cced0
jmp 0x100556c7
xor eax, eax
mov edx, dword [esp + 0x44]
sub edx, eax
jl 0x1005567c
jmp 0x1005590c
lea eax, [esp + 8]
push eax
push dword [esp + 0x5c]
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x44]
call fcn.100cce30
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x1c]
push eax
neg edx
push edx
push ebp
push dword [esp + 0x34]
push dword [edi + 0x14]
call fcn.100cce30
push ebp
push dword [esp + 0x40]
mov eax, dword [esp + 0x40]
push eax
push eax
call fcn.100cced0
jmp 0x1005563f
xor edx, edx
sub eax, edx
jl 0x10055a5b
lea eax, [esp + 8]
push eax
push dword [esp + 0x6c]
push ebp
push dword [esp + 0x1c]
push dword [edi + 0x14]
call fcn.100cce30
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x1c]
push eax
neg edx
push edx
push ebp
push dword [esp + 0x34]
push dword [esi + 0x14]
call fcn.100cce30
push ebp
push dword [esp + 0x40]
mov eax, dword [esp + 0x40]
push eax
push eax
call fcn.100cced0
jmp 0x1005563f
xor eax, eax
mov edx, dword [esp + 0x50]
sub edx, eax
jl 0x100555ff
jmp 0x100559cc
mov ebp, dword [esp + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x98]
push dword [ebp + ebx + 0xc]
push 0
push dword [ebp + ebx + 0x10]
mov dword [esp + 0x28], ecx
call fcn.100a6040
mov ecx, dword [esp + 0x28]
push ecx
push dword [esi + 0x14]
push dword [ebp + ebx + 0x10]
call fcn.100a6120
mov ecx, dword [esp + 0x34]
add esp, 0x18
mov dword [ebp + ebx + 8], ecx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
xor eax, eax
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc
mov edi, dword [esp + 0xc]
mov eax, ebx
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
jmp 0x100555c5
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.103b6385
mov eax, 0xfffffff8
add esp, 0x7c
pop ebp
pop ebx
pop edi
pop esi
ret 0xc