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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a280e
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, [0x51e1bc]
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.004a00d0
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 0x4a24f8
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, [0x4a2820]
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 0x4a2479
cmp ebx, 1
je 0x4a23ed
xor ebx, ebx
xor esi, esi
jmp 0x4a27f8
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.004a2870
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 0x4a244d
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], ebp
xor ebx, ebx
jmp 0x4a2713
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, [0x4e9200]
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.004a2870
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 0x4a2517
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 + 0x3c], 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 + 0x30], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
jmp 0x4a258d
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 + 0x34]
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 + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4a25da
test edx, edx
jne 0x4a25da
mov ecx, dword [esp + 0x34]
cmp ecx, 0x64
jne 0x4a2541
mov eax, dword [0x4cff70]
mov ecx, dword [0x4cff74]
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 0x4a262b
mov esi, dword [0x4cff64]
cmp dword [0x4cff60], edx
je 0x4a25f3
mov esi, 1
jmp 0x4a262d
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], 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 + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x3c]
jmp 0x4a262d
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a26a6
test ecx, ecx
jne 0x4a263e
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x4a2676
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x51e2fc]
mov dword [esp + 0x7c], eax
lea eax, [0x51dde8]
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, [0x51e2fc]
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 + 0x2c]
lea ebx, [edi + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
cmp ebx, 7
jge 0x4a27e0
mov dword [esp + 0x2c], ebx
lea eax, [0x4e9200]
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 + 0x2c]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 0
call fcn.004a2870
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 0x4a27b4
test esi, esi
je 0x4a26f8
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 + 0x2c]
mov dword [esp + 0x14], eax
call fcn.004a5a90
jmp 0x4a26f8
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 + 0x38]
mov edx, dword [esp + 0x4c]
mov ecx, esi
mov ebp, edx
mov edx, eax
mov eax, ebx
jmp 0x4a2517
call fcn.00451710
jmp fcn.004a22f0