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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a9eed
sub esp, 0x68
mov eax, dword [esp + 0x70]
cmp eax, 0x63
jne 0x4a9ada
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004a9780
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004a8c40
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004a9050
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004a9550
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x70]
cmp ebx, 0x55
jne 0x4a9daf
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x5c63a1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004a8ef0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a9d7f
mov eax, 1
test al, al
jne 0x4a9d3d
xor eax, eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov byte [esp + 0xc], al
call fcn.004a9630
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x40
call fcn.0047b0d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4a9ea8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x74]
add edx, 0xffffffc0
neg edx
mov dword [esp + 0x50], edx
cmp edx, 0x20
sbb ebx, ebx
lea ebp, [edx - 0x20]
mov dword [esp + 0x4c], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x48], ebp
cmp ebp, 0x20
sbb edi, edi
mov dword [esp + 0x44], edi
cmp edx, 0x20
sbb edi, edi
mov dword [esp + 0x40], edi
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x3c], edi
shr edx, 5
cmp edx, 1
sbb edx, edx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
shl edx, cl
mov ecx, esi
shl eax, cl
and edx, ebx
mov ecx, ebp
mov esi, dword [esp + 0x28]
shr esi, cl
mov ebp, dword [esp + 0x44]
and esi, ebp
or esi, edx
and eax, edi
or esi, eax
mov eax, dword [esp + 0x40]
not eax
mov edx, dword [esp + 0x50]
or eax, edx
mov ecx, eax
mov eax, esi
sar esi, cl
mov edi, dword [esp + 0x2c]
cmp esi, edi
xchg esi, ebx
setne bl
xchg esi, ebx
mov ecx, edx
mov edi, dword [esp + 0x28]
shl edi, cl
and edi, ebx
shr edi, cl
and edi, ebx
mov ecx, dword [esp + 0x48]
mov edx, eax
shl eax, cl
and eax, ebp
or edi, eax
mov ecx, dword [esp + 0x3c]
not ecx
mov eax, dword [esp + 0x4c]
or ecx, eax
sar edx, cl
mov eax, dword [esp + 0x38]
xor eax, 0xffffffff
and eax, edx
or eax, edi
mov edx, dword [esp + 0x28]
cmp eax, edx
setne al
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a9cc1
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
mov dword [esp], 0
lea eax, [0x5cca32]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1a
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.0043c2f0
nop
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
nop
lea edx, [0x59e6a0]
mov dword [esp], edx
call fcn.00409bc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0x738420]
test eax, eax
jne 0x4a9d2f
mov eax, dword [esp + 0x58]
mov dword [edi], eax
jmp 0x4a9e14
mov eax, dword [esp + 0x58]
call fcn.0044cea0
jmp 0x4a9e14
nop
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x13
mov eax, dword [0x738420]
test eax, eax
jne 0x4a9d6f
lea eax, [0x5c9dac]
mov dword [edi], eax
jmp 0x4a9e5e
lea eax, [0x5c9dac]
call fcn.0044cea0
jmp 0x4a9e5e
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x5c638b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
call fcn.004a8ef0
movzx eax, byte [esp + 0x10]
xor eax, 1
jmp 0x4a9b60
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x5c63c4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov byte [esp + 0xc], 1
call fcn.004a8ef0
mov eax, dword [esp + 0x70]
cmp eax, 0x76
je 0x4a9df5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
xor edx, edx
mov ebx, dword [esp + 0x34]
mov ebp, eax
mov eax, edx
mov edx, ebp
jmp 0x4a9b76
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004a9970
mov ebx, dword [esp + 4]
movzx edx, byte [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x4a9dea
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x600de0]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
lea eax, [0x59e700]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407430
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427dc0
ud2
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x600de0]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
lea eax, [0x59e700]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407430
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427dc0
ud2
nop
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
lea eax, [0x59e700]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00407430
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00427dc0
ud2
call fcn.0044b750
jmp fcn.004a9a90