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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x62306b
sub esp, 0x6c
lea eax, [0x82a380]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea eax, [0x83ff58]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 6
call fcn.0040fa20
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
je 0x62302e
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x83f3a7]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.004ed260
mov eax, dword [esp + 0x10]
lea ecx, [0x7dd560]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov edx, dword [esp + 0x30]
add eax, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
call fcn.00443a00
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 0x3c]
xor ebx, ebx
jmp 0x622fcf
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
test eax, eax
jle 0x622fc2
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x83f3a7]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004efdd0
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x622fb1
mov edx, dword [esp + 0x28]
cmp ecx, edx
ja 0x623065
lea eax, [ecx + 1]
cmp eax, edx
ja 0x62305e
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, eax
mov eax, dword [esp + 0x54]
add edx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x5c], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ef620
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x622d51
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
jmp 0x622ca6
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x83f3a9]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004efdd0
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x622fa0
mov edx, dword [esp + 0x2c]
cmp ecx, edx
ja 0x623059
lea eax, [ecx + 1]
cmp eax, edx
ja 0x623052
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, eax
mov eax, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
test ecx, ecx
jne 0x622f63
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x622f52
mov ebp, dword [esp + 0x78]
test ebp, ebp
je 0x622f4b
cmp ebp, ecx
je 0x622f16
mov esi, 1
xchg esi, eax
test al, al
xchg esi, eax
je 0x622dfb
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
jmp 0x622ca6
mov dword [esp], edx
mov dword [esp + 4], ebx
mov byte [esp + 8], 1
call fcn.006236c0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
jne 0x622e2e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
jmp 0x622ca6
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], edx
lea eax, [0x820ea0]
mov dword [esp], eax
call fcn.0040ac80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x622f04
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x622eef
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
ja 0x622eb0
mov ebp, dword [esp + 0x64]
mov esi, dword [0xc83da0]
lea edi, [ebp + ecx*4]
test esi, esi
jne 0x622ea9
mov dword [ebp + ecx*4], eax
mov eax, ebx
mov ecx, ebp
jmp 0x622ca6
call fcn.00459d90
jmp 0x622ea0
mov dword [esp + 0x60], eax
lea eax, [0x7dd560]
mov dword [esp], eax
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00443b60
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
jmp 0x622e8e
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.00459d90
mov eax, ecx
jmp 0x622e7b
mov edi, eax
mov eax, dword [esp + 0x50]
call fcn.00459d90
mov eax, edi
jmp 0x622e63
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402420
movzx esi, byte [esp + 0xc]
xor esi, 1
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x78]
jmp 0x622de4
xor esi, esi
jmp 0x622de4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
jmp 0x622ca6
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x90d320]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.004ef140
mov eax, dword [esp + 0x10]
test eax, eax
xchg ebp, ebx
setl bl
xchg ebp, ebx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
jmp 0x622dc1
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
xor edx, edx
xor ebx, ebx
jmp 0x622dab
mov eax, dword [esp + 0x54]
xor ebx, ebx
xor edx, edx
mov ecx, dword [esp + 0x28]
jmp 0x622d20
mov esi, dword [esp + 0x48]
lea ecx, [esi + 1]
mov eax, ebx
mov ebx, edx
mov edx, ebp
mov ebp, dword [esp + 0x30]
cmp ecx, ebp
jge 0x623018
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
lea edx, [eax + ecx*8]
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004ef620
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
jmp 0x622cb2
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
add esp, 0x6c
ret
lea eax, [0xc83b64]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov ecx, edx
call fcn.00459e70
call fcn.00459e30
mov ecx, edx
call fcn.00459e70
call fcn.00459e30
nop
call fcn.00458550
jmp fcn.00622bf0