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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6291aa
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test byte [eax], al
mov dword [esp], eax
call fcn.00459950
mov eax, dword [esp + 0x80]
movzx ecx, byte [eax + 0x14]
test cl, cl
jne 0x62918e
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
cmp eax, edx
jge 0x628ccf
jae 0x629187
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x60], ecx
shl eax, 2
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
cmp esi, edx
sete dl
cmp edi, eax
sete al
and edx, eax
test dl, dl
je 0x628caf
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
cmp ebp, edx
sete dl
cmp ebx, eax
sete al
and edx, eax
test dl, dl
jne 0x628f94
mov eax, dword [esp + 0x28]
inc eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
cmp eax, edx
jl 0x628c6b
mov ecx, dword [esp + 0x80]
xor edx, edx
mov ebx, dword [esp + 0x60]
xor eax, eax
mov byte [esp + 0x23], dl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], eax
mov dword [esp], ecx
call fcn.00459af0
movzx eax, byte [esp + 0x23]
test al, al
je 0x628f8d
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + 0x34]
mov dword [esp + 0x48], ebx
mov ebp, dword [ecx + 0x30]
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x68], ebp
cmp edx, ebx
jge 0x628d4b
mov esi, dword [ebp]
mov edi, dword [esi]
mov edx, esi
call edi
mov eax, dword [esp + 0x68]
lea ebp, [eax + 4]
mov eax, dword [esp + 0x44]
lea edx, [eax + 1]
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x44], edx
mov dword [esp + 0x68], ebp
cmp edx, ebx
jl 0x628d1b
mov edx, dword [esp + 0x84]
test byte [edx], al
mov ecx, dword [ecx + 0x20]
lea ebx, [edx + 0x20]
mov dword [esp], ebx
neg ecx
mov dword [esp + 4], ecx
call fcn.004012d0
mov eax, dword [esp + 0x84]
test byte [eax], al
lea ecx, [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.004012d0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x2c]
cmp ebx, 0x20
jge 0x628f66
cmp eax, edx
jge 0x628db3
mov eax, dword [ecx + 4]
cmp eax, 0x10
jg 0x628dcb
movzx eax, byte [esp + 0x23]
mov byte [esp + 0xa0], 1
mov byte [esp + 0xa1], al
add esp, 0x7c
ret
lea eax, [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00401250
movzx eax, byte [esp + 0xc]
test al, al
jne 0x628df1
jmp 0x628db3
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 4]
mov dword [esp + 0x48], ecx
lea edx, [0x6b4be0]
mov dword [esp], edx
sar ecx, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00437440
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], edx
lea ebx, [0x6e4360]
mov dword [esp], ebx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x628f4d
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
lea edx, [ecx - 1]
mov dword [eax + 0xc], edx
test byte [eax], al
mov edx, dword [0x884700]
lea ebx, [eax + 0x10]
test edx, edx
jne 0x628f26
mov edx, dword [esp + 0x88]
mov dword [eax + 0x10], edx
shl ecx, 5
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x48]
sar ecx, 2
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x84]
add ecx, 0x18
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00402620
movzx eax, byte [esp + 0xc]
test al, al
je 0x628ee8
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x71976c]
mov dword [esp + 4], eax
call fcn.0042d4b0
jmp 0x628db3
lea eax, [0x70cb85]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x19
lea eax, [0x6b4960]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004254e0
ud2
mov dword [esp], ebx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
call fcn.0040d5a0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x88]
jmp 0x628e92
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x5c]
jmp 0x628e6b
lea ebx, [ecx + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffff
call fcn.004012d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x30]
jmp 0x628da7
xor eax, eax
jmp 0x628db8
lea eax, [ecx + 0x2c]
mov dword [esp], eax
call fcn.00401350
mov eax, dword [esp + 4]
test eax, eax
jne 0x629177
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
test edx, edx
jne 0x629109
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0x10]
mov dword [esp + 0x48], ebx
mov ebp, dword [ecx + 0xc]
mov esi, dword [esp + 0x28]
cmp esi, ebx
ja 0x6290c3
lea edi, [esi + 1]
cmp edi, ebp
ja 0x6290c3
sub ebp, edi
mov dword [esp + 0x40], ebp
sub ebx, edi
mov dword [esp + 0x3c], ebx
lea edi, [ebx - 1]
sar edi, 0x1f
mov eax, dword [esp + 0x44]
lea ecx, [eax + 4]
xor edi, 0xffffffff
and ecx, edi
add ecx, edx
mov dword [esp + 0x70], ecx
lea edi, [esi + ebp]
mov dword [esp + 0x38], edi
mov ebx, dword [esp + 0x48]
cmp edi, ebx
ja 0x6290ca
mov dword [esp + 0x6c], edx
mov dword [esp + 0x48], ebx
cmp edi, ebx
ja 0x6290c3
cmp esi, edi
ja 0x6290c3
sub ebx, esi
lea esi, [ebx - 1]
sar esi, 0x1f
xor esi, 0xffffffff
and eax, esi
add eax, edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
lea eax, [0x6ea9c0]
mov dword [esp], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
call fcn.0040d910
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x10], eax
mov eax, dword [0x884700]
lea edx, [ecx + 8]
test eax, eax
jne 0x6290aa
mov eax, dword [esp + 0x6c]
mov dword [ecx + 8], eax
mov eax, dword [ecx + 0xc]
mov edx, 1
mov ebx, dword [esp + 0x60]
jmp 0x628cde
mov dword [esp], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040d5a0
mov ecx, dword [esp + 0x80]
jmp 0x629099
call fcn.004246e0
ud2
lea ecx, [0x6ea9c0]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.00437660
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
jmp 0x62901f
lea ebx, [0x6beae0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0040ada0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
jne 0x62916d
mov eax, dword [esp + 0x60]
mov dword [eax + 0x24], 0
mov ecx, dword [0x884700]
lea edx, [eax + 0x28]
test ecx, ecx
jne 0x629154
mov dword [eax + 0x28], 0
jmp 0x628fbd
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.0040d5a0
mov eax, dword [esp + 0x60]
jmp 0x628fbd
mov eax, dword [edx + 0x14]
mov dword [esp], ecx
call eax
jmp 0x629130
mov ecx, dword [esp + 0x80]
xor edx, edx
xor eax, eax
jmp 0x6290a1
call fcn.00424680
ud2
mov dword [esp], eax
call fcn.00459af0
mov byte [esp + 0xa0], 0
mov byte [esp + 0xa1], 0
add esp, 0x7c
ret
call fcn.004486b0
jmp fcn.00628be0