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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x628ee1
sub esp, 0x68
lea eax, [0x6a7780]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
call fcn.00409a40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x628d1c
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
jmp 0x628dcf
mov dword [esp], ecx
mov dword [esp + 4], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
call fcn.00628fd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
add esp, 0x68
ret
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.00629dd0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [eax + 0x14]
mov dword [esp], ecx
call edx
movzx eax, byte [esp + 4]
test al, al
je 0x628e18
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
call fcn.00629740
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov edx, 0x3b8
jmp 0x628e7f
mov ebp, 0x7a7a7a7a
jmp 0x628db7
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa0], eax
add esp, 0x68
ret
cmp edx, ecx
jle 0x628e11
mov ebx, edx
sub edx, ecx
mov ebp, edx
shr edx, 0x1f
add edx, ebp
sar edx, 1
lea ebp, [edx + ecx]
cmp ebp, 0x3b8
jae 0x628ed4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebp
lea esi, [ebp + ebp*2]
lea edi, [0x94af20]
mov ebx, dword [edi + esi*4 + 4]
mov ebp, dword [edi + esi*4 + 8]
lea esi, [edi + esi*4]
cmp dword [esi], eax
jle 0x628ec2
mov edx, dword [esp + 0x3c]
jmp 0x628e7f
cmp ebx, eax
jge 0x628db7
lea ecx, [edx + ecx + 1]
mov edx, dword [esp + 0x44]
jmp 0x628e7f
mov eax, ebp
mov ecx, 0x3b8
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00628c80