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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a86bd
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, [0x5fc220]
mov dword [esp], edx
call fcn.00409a30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x90]
mov dword [edi + 4], eax
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x4a85eb
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov edx, dword [esp + 0x98]
mov dword [edi + 0xc], edx
mov edx, dword [0x7db370]
test edx, edx
jne 0x4a85cd
mov edx, dword [esp + 0x94]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x84]
mov dword [edi + 0x10], edx
mov edx, dword [0x7db370]
test edx, edx
jne 0x4a85af
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 [0x7db370]
test edx, edx
jne 0x4a8598
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, [0x5e12a0]
mov dword [esp], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040dfa0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4a841b
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4a83e5
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
lea eax, [0x5e12a0]
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.0040e320
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x7db370]
test eax, eax
jne 0x4a83da
mov eax, dword [esp + 0x34]
mov dword [edi], eax
add esp, 0x7c
ret
mov eax, dword [esp + 0x34]
call fcn.0044b680
jmp 0x4a83d6
call fcn.0040a4b0
mov eax, dword [0x7db370]
mov ecx, dword [esp]
test eax, eax
jne 0x4a8403
mov eax, dword [esp + 0x80]
mov dword [eax + 0x14], ecx
jmp 0x4a8395
mov edx, dword [esp + 0x80]
lea edi, [edx + 0x14]
mov eax, ecx
call fcn.0044b680
mov eax, edx
jmp 0x4a8395
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4a84dc
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, [0x5dfce0]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x61ff87]
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.00498d40
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 0x4a84cb
mov ebp, edx
mov edx, ebx
mov ebx, ebp
jmp 0x4a8607
mov edx, dword [0x7c9094]
lea ebx, [0x65f650]
jmp 0x4a8607
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, [0x5dfce0]
mov dword [esp], ecx
call fcn.004072a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
lea eax, [0x5dfce0]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x621132]
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.00498d40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x4a84af
lea edx, [edi + 0x18]
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x38]
call fcn.0044b680
mov eax, ebp
jmp 0x4a8356
lea edx, [edi + 0x14]
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x88]
call fcn.0044b680
mov eax, ebp
mov edi, ebx
jmp 0x4a8336
lea edx, [edi + 8]
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x94]
call fcn.0044b680
mov eax, ebp
mov edi, ebx
jmp 0x4a8314
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.0044b680
mov eax, ecx
mov ecx, dword [esp + 0x8c]
jmp 0x4a82f2
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, [0x5dfce0]
mov dword [esp], ebp
lea esi, [esp + 0x44]
mov dword [esp + 4], esi
call fcn.004072a0
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.00499000
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
lea eax, [0x5dfce0]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00426780
ud2
call fcn.00449f20
jmp fcn.004a8280