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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
sub eax, dword [esi]
push edi
mov edi, dword [esp + 0x7c]
or ebp, 0xffffffff
mov ecx, edi
xor ebx, ebx
shl ecx, 4
cmp ecx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
mov byte [esp + 0x12], bl
jbe 0x428fb8
push edi
mov ecx, esi
call fcn.005a44c0
cmp dword [esp + 0x80], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
jl 0x4292e1
jg 0x428fea
cmp edi, ebx
jbe 0x4292e1
jmp 0x428fea
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.0051dabc
add eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
adc edx, dword [esp + 0x6c]
cmp ecx, ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
je 0x42904b
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x17]
push edx
cdq
push edx
push eax
call fcn.0044bbd0
cmp edx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jl 0x4292e1
jg 0x42905d
cmp eax, ebx
jb 0x4292e1
jmp 0x42905d
cmp edx, ebx
jg 0x42905d
jl 0x429055
cmp eax, ebx
jae 0x42905d
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
or ebx, 0xffffffff
or edi, ebx
or esi, ebx
cmp byte [esp + 0x88], 0
mov byte [esp + 0x11], 0
je 0x42909a
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
xor esi, esi
test ecx, ecx
mov byte [esp + 0x11], 1
je 0x4290e3
push edi
push ebx
call fcn.004482b0
mov ebx, eax
mov edi, edx
jmp 0x4290e3
cmp byte [esp + 0x84], 0
je 0x4290e3
cmp dword [esp + 0x90], 0
je 0x4290e3
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x98]
push edx
push eax
call fcn.00447e00
test al, al
je 0x4290e3
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x20]
mov byte [esp + 0x11], 1
cmp dword [esp + 0x1c], esi
je 0x429124
test esi, esi
mov dword [esp + 0x1c], esi
jl 0x42910d
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + esi*4]
or esi, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov ebp, esi
jmp 0x429127
or esi, 0xffffffff
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov ebp, esi
jmp 0x429127
or esi, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x429201
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push edi
push ebx
mov ecx, esi
call eax
mov ebx, edx
mov edx, dword [esi]
push ebx
mov dword [esp + 0x4c], eax
push eax
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp ebp, edx
jg 0x429171
jl 0x429163
mov edi, dword [esp + 0x28]
cmp edi, eax
jae 0x429175
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ebp, edx
mov edi, eax
jmp 0x4291dd
mov edi, dword [esp + 0x28]
cmp ebp, ebx
jl 0x42919b
jg 0x429181
cmp edi, dword [esp + 0x48]
jbe 0x42918f
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ebp, edx
mov edi, eax
jmp 0x4291dd
cmp ebp, ebx
jg 0x4291dd
jl 0x42919b
cmp edi, dword [esp + 0x48]
jae 0x4291dd
add edi, 1
adc ebp, 0
cmp ebp, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
jg 0x4291dd
jl 0x4291b5
cmp edi, dword [esp + 0x48]
jae 0x4291dd
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
push ebp
push edi
mov ecx, esi
call eax
test eax, eax
jne 0x4291d5
add edi, 1
adc ebp, eax
cmp ebp, ebx
jl 0x4291b5
jg 0x4291d5
cmp edi, dword [esp + 0x48]
jb 0x4291b5
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
cmp byte [esp + 0x88], 0
jne 0x4292f9
cmp dword [esp + 0x48], edi
jne 0x4291f9
cmp ebx, ebp
je 0x4292f9
mov byte [esp + 0x11], 0
or esi, 0xffffffff
cmp byte [esp + 0x98], 0
je 0x42922d
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x42922d
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.004482b0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov cl, byte [esp + 0x11]
cmp byte [esp + 0x12], cl
je 0x429309
mov byte [esp + 0x12], cl
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
jne 0x42925e
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
push 0
push 2
push edx
push eax
call fcn.005f8550
mov ecx, dword [esp + 0x14]
mov esi, eax
movzx eax, byte [esp + 0x11]
mov edi, edx
cdq
add esi, eax
adc edi, edx
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 0xc]
jne 0x42929c
call fcn.005dff80
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
add dword [ecx + 4], 0x10
add dword [esp + 0x38], 1
mov eax, dword [esp + 0x3c]
adc eax, 0
cmp eax, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
jl 0x428fe0
jg 0x4292db
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x38], eax
jb 0x428fe0
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
pop edi
sar ecx, 4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ecx
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x38
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
or esi, 0xffffffff
jmp 0x42922d
mov edi, dword [esp + 0x44]
test edi, edi
jl 0x42923f
mov ebx, dword [esp + 0x40]
jg 0x429323
test ebx, ebx
jb 0x42923f
mov eax, dword [esp + 0x30]
cmp ebx, eax
jne 0x429344
cmp edi, dword [esp + 0x34]
jne 0x429344
test cl, cl
jne 0x42937e
cmp byte [esp + 0x8c], cl
je 0x42923f
jmp 0x42937e
cmp byte [esp + 0x8c], 0
je 0x42923f
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x42923f
mov edx, dword [esp + 0x34]
push edx
push eax
call fcn.00447e80
cmp edi, edx
jl 0x42923f
jg 0x42937e
cmp ebx, eax
jb 0x42923f
cmp byte [esp + 0x94], 0
je 0x42923f
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x11], 1
jmp 0x42925e