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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a282e
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, [0x51e310]
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.004a00f0
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 0x4a2518
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, [0x4a2840]
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 0x4a2499
cmp ebx, 1
je 0x4a240d
xor ebx, ebx
xor esi, esi
jmp 0x4a2818
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.004a2890
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 0x4a246d
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], ebp
xor ebx, ebx
jmp 0x4a2733
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, [0x4e8f60]
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.004a2890
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 0x4a2537
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 + 0x50], ecx
mov dword [esp + 0x34], 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 + 0x38], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
jmp 0x4a25ad
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 + 0x2c]
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 + 0x38], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x4a25fa
test edx, edx
jne 0x4a25fa
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x64
jne 0x4a2561
mov eax, dword [0x4cfe98]
mov ecx, dword [0x4cfe9c]
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 0x4a264b
mov esi, dword [0x4cfeac]
cmp dword [0x4cfea8], edx
je 0x4a2613
mov esi, 1
jmp 0x4a264d
mov dword [esp + 0x4c], 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 + 0x38]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x34]
jmp 0x4a264d
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a26c6
test ecx, ecx
jne 0x4a265e
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x4a2696
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x51e478]
mov dword [esp + 0x7c], eax
lea eax, [0x51e128]
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 + 0x50]
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, [0x51e478]
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 + 0x3c]
lea ebx, [edi + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
cmp ebx, 7
jge 0x4a2800
mov dword [esp + 0x3c], ebx
lea eax, [0x4e8f60]
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 + 0x3c]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 0
call fcn.004a2890
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 0x4a27d4
test esi, esi
je 0x4a2718
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call fcn.004a5af0
jmp 0x4a2718
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 + 0x4c]
mov ecx, esi
mov ebp, edx
mov edx, eax
mov eax, ebx
jmp 0x4a2537
call fcn.00451710
jmp fcn.004a2310