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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a289e
sub esp, 0x6c
mov eax, 0
mov dword [esp + 0x68], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x51e360]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a0160
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x4a2588
mov dword [esp + 0x48], ebp
mov dword [esp + 0x28], edi
test byte [esi], al
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea ecx, [0x4a28b0]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov byte [esp + 0x27], 1
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x33c]
test ebx, ebx
je 0x4a2509
cmp ebx, 1
je 0x4a247d
xor ebx, ebx
xor esi, esi
jmp 0x4a2888
mov dword [esp + 0x58], esi
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 1
call fcn.004a2900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x4a24dd
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ebp
xor ebx, ebx
jmp 0x4a27a3
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
lea eax, [0x4e9360]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00408c80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
call fcn.004a2900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test edx, edx
je 0x4a25a7
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x6c
ret
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
jmp 0x4a261d
mov eax, dword [edi + 0x14]
mov dword [esp], esi
lea ecx, [ebx + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0x300
call eax
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
inc eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4a266a
test edx, edx
jne 0x4a266a
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x64
jne 0x4a25d1
mov eax, dword [0x4cff68]
mov ecx, dword [0x4cff6c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
test edx, edx
je 0x4a26bb
mov esi, dword [0x4cff84]
cmp dword [0x4cff80], edx
je 0x4a2683
mov esi, 1
jmp 0x4a26bd
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], edx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00403cc0
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x50]
mov esi, eax
mov eax, dword [esp + 0x2c]
jmp 0x4a26bd
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a2736
test ecx, ecx
jne 0x4a26ce
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x4a2706
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x51e540]
mov dword [esp + 0x7c], eax
lea eax, [0x51df9c]
mov dword [esp + 0x80], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov eax, dword [edx + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408b80
mov eax, dword [esp + 8]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x51e540]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov edi, dword [esp + 0x38]
lea ebx, [edi + 1]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
cmp ebx, 7
jge 0x4a2870
mov dword [esp + 0x38], ebx
lea eax, [0x4e9360]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.00408c80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 0
call fcn.004a2900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
test edx, edx
jne 0x4a2844
test esi, esi
je 0x4a2788
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.004a5b20
jmp 0x4a2788
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
mov byte [esp + 0x27], 0
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
call eax
add esp, 0x6c
ret
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov ebx, eax
mov esi, edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
mov ecx, esi
mov ebp, edx
mov edx, eax
mov eax, ebx
jmp 0x4a25a7
call fcn.00451710
jmp fcn.004a2380