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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a999d
sub esp, 0x7c
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x88]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
lea edx, [0x5fd520]
mov dword [esp], edx
call fcn.00409a10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x7d95f0]
test ecx, ecx
jne 0x4a98cb
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov edx, dword [esp + 0x98]
mov dword [edi + 0xc], edx
mov edx, dword [0x7d95f0]
test edx, edx
jne 0x4a98ad
mov edx, dword [esp + 0x94]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x84]
mov dword [edi + 0x10], edx
mov edx, dword [0x7d95f0]
test edx, edx
jne 0x4a988f
mov edx, dword [esp + 0x88]
mov dword [edi + 0x14], edx
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x28]
mov dword [edi + 0x1c], edx
mov edx, dword [0x7d95f0]
test edx, edx
jne 0x4a9878
mov edx, dword [esp + 0x38]
mov dword [edi + 0x18], edx
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 0x14]
mov dword [esp + 4], ebx
lea ebx, [0x5e2ae0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040df80
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4a96fb
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4a96c5
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
lea eax, [0x5e2ae0]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
call fcn.0040e300
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x7d95f0]
test eax, eax
jne 0x4a96ba
mov eax, dword [esp + 0x34]
mov dword [edi], eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x34]
call fcn.0044b6a0
jmp 0x4a96b6
call fcn.0040a490
mov eax, dword [0x7d95f0]
mov ecx, dword [esp]
test eax, eax
jne 0x4a96e3
mov eax, dword [esp + 0x80]
mov dword [eax + 0x14], ecx
jmp 0x4a9675
mov edx, dword [esp + 0x80]
lea edi, [edx + 0x14]
mov eax, ecx
call fcn.0044b6a0
mov eax, edx
jmp 0x4a9675
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4a97bc
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [0x5e1600]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00407280
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x620ddd]
mov dword [esp], eax
mov dword [esp + 4], 0x12
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 0x2c]
mov edx, dword [edx + 0x28]
test edx, edx
je 0x4a97ab
mov ebp, edx
mov edx, ebx
mov ebx, ebp
jmp 0x4a98e7
mov edx, dword [0x7c73cc]
lea ebx, [0x65eb00]
jmp 0x4a98e7
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [eax + 4]
mov dword [esp + 4], ecx
lea ecx, [0x5e1600]
mov dword [esp], ecx
call fcn.00407280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
lea eax, [0x5e1600]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.00407280
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x621ea1]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00498230
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x4a978f
lea edx, [edi + 0x18]
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x38]
call fcn.0044b6a0
mov eax, ebp
jmp 0x4a9636
lea edx, [edi + 0x14]
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x88]
call fcn.0044b6a0
mov eax, ebp
mov edi, ebx
jmp 0x4a9616
lea edx, [edi + 8]
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x94]
call fcn.0044b6a0
mov eax, ebp
mov edi, ebx
jmp 0x4a95f4
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.0044b6a0
mov eax, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x4a95d2
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ebp, [0x5e1600]
mov dword [esp], ebp
lea esi, [esp + 0x44]
mov dword [esp + 4], esi
call fcn.00407280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004984f0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
lea eax, [0x5e1600]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00407280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00426760
ud2
call fcn.00449f40
jmp fcn.004a9560