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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x762f12
sub esp, 0x58
mov edx, dword [esp + 0x60]
cmp edx, 1
jne 0x762e88
mov edx, dword [0xa45020]
mov ebx, dword [0xa45024]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x44]
mov ecx, 2
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
xor ebp, ebp
jmp 0x762e56
mov eax, dword [esp + 0x28]
lea edi, [eax + 1]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x24]
cmp edi, ebx
jge 0x762e55
jae 0x762f08
mov dword [esp + 0x28], edi
mov eax, dword [edx + edi*4]
mov dword [esp + 0x4c], eax
test byte [eax], al
mov dword [esp], eax
call fcn.0045d900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x762e48
lea edx, [0x8eba40]
cmp edx, ecx
jne 0x762ef2
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x762e39
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
cmp dword [ebp + 0x30], ebx
je 0x762dfc
xor eax, eax
test al, al
je 0x762c7a
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x68]
sub ebx, edx
lea ecx, [eax + ebx]
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x6c]
mov edi, esi
sub esi, edx
mov dword [esp + 0x30], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl edx, 2
sar esi, 0x1f
and edx, esi
mov esi, dword [esp + 0x64]
add edx, esi
cmp ecx, edi
ja 0x762db5
cmp eax, ecx
ja 0x762ed7
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], edi
lea ecx, [0x96a120]
mov dword [esp], ecx
mov ecx, eax
shl eax, 2
sub edi, ecx
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, eax
lea eax, [esi + edi]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
call fcn.00411140
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], edx
lea edx, [0x96a120]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.00440660
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x4c]
jmp 0x762d40
lea eax, [ebp + 0x18]
mov dword [esp], eax
call fcn.0045d900
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x90d0c0]
cmp edx, ecx
jne 0x762edc
mov esi, dword [esp + 0x24]
cmp dword [eax], esi
sete al
lea edx, [0x8eba40]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
jmp 0x762d00
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
xor eax, eax
jmp 0x762d00
lea edx, [0x8eba40]
xor ebx, ebx
jmp 0x762ce5
inc ebp
cmp ebp, ecx
jge 0x762e6c
mov dword [esp + 0x34], ebp
mov esi, dword [eax + ebp*4]
mov dword [esp + 0x24], esi
xor edi, edi
jmp 0x762ca1
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
cmp edx, 2
jne 0x762ea5
mov edx, dword [0xa440bc]
mov dword [esp + 0x38], edx
lea eax, [esp + 0x38]
mov ecx, 1
jmp 0x762c63
cmp edx, 3
jne 0x762ecc
mov edx, dword [0xa45028]
mov ebx, dword [0xa4502c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x3c]
mov ecx, 2
jmp 0x762c63
lea eax, [esp + 0x20]
xor ecx, ecx
jmp 0x762c63
call fcn.004570c0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x8eae40]
mov dword [esp + 8], eax
call fcn.00408360
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x8eae40]
mov dword [esp + 8], eax
call fcn.00408360
mov eax, edi
mov ecx, ebx
call fcn.00457060
nop
call fcn.004557a0
jmp fcn.00762c20