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

Disassembly:
mov ecx, dword [0x78bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4aa0cf
sub esp, 0x4c
mov eax, dword [esp + 0x60]
cmp eax, 1
je 0x4a9dc6
mov ecx, dword [esp + 0x58]
mov edx, ecx
and ecx, 0x1f
nop
cmp ecx, 0x19
jne 0x4aa068
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
xor esi, esi
jmp 0x4a9e4d
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004a9a50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x4c
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
call fcn.004a9a50
mov eax, dword [esp + 0x28]
lea esi, [eax + 1]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov eax, ecx
mov ecx, dword [esp + 0x5c]
cmp eax, esi
jle 0x4aa048
mov dword [esp + 0x28], esi
mov edi, dword [ecx + esi*4]
test esi, esi
jle 0x4a9e18
mov dword [esp + 0x20], edx
and edx, 0x1f
nop
cmp edx, 0x16
jne 0x4a9f60
movzx edx, byte [ebx + 0xf]
and edx, 0x1f
cmp edx, 0x12
ja 0x4a9ea1
cmp edx, 0x11
jne 0x4a9e8f
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4a9ee5
cmp edx, 0x12
jne 0x4a9ed7
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4a9ee5
cmp edx, 0x15
jne 0x4a9eb3
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4a9ee5
cmp edx, 0x16
jne 0x4a9ec5
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4a9ee5
cmp edx, 0x17
jne 0x4a9ed7
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4a9ee5
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [ecx + 0xf]
and ecx, 0x1f
cmp ecx, 0x19
jne 0x4a9f53
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x20]
test ecx, 0x200
jne 0x4a9f22
mov dword [esp + 0x40], ebp
test ecx, 0x80
je 0x4a9f1a
mov eax, dword [ebp]
mov ebp, eax
mov eax, dword [esp + 0x60]
test ebp, ebp
je 0x4a9f69
mov ebp, dword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.004a98a0
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
jmp 0x4a9e18
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
jmp 0x4a9e18
mov edx, dword [esp + 0x20]
jmp 0x4a9e18
cmp edx, 0x12
ja 0x4a9f82
cmp edx, 0x11
jne 0x4a9f78
mov eax, dword [ebx + 0x20]
jmp 0x4a9fa2
cmp edx, 0x12
jne 0x4a9fa0
mov eax, dword [ebx + 0x20]
jmp 0x4a9fa2
cmp edx, 0x15
jne 0x4a9f8c
mov eax, dword [ebx + 0x24]
jmp 0x4a9fa2
cmp edx, 0x16
jne 0x4a9f96
mov eax, dword [ebx + 0x20]
jmp 0x4a9fa2
cmp edx, 0x17
jne 0x4a9fa0
mov eax, dword [ebx + 0x20]
jmp 0x4a9fa2
xor eax, eax
mov dword [esp], eax
call fcn.0049c510
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x5eae63]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x42
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00457ee0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [0x5b95e0]
mov dword [esp], edx
call fcn.00410f90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [0x78be40]
test ecx, ecx
jne 0x4aa011
mov ecx, dword [esp + 0x44]
jmp 0x4aa01c
call fcn.0046fee0
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x621e98]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x4c
ret
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x4c
ret
mov dword [esp + 0x38], ecx
call fcn.004a6360
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp]
mov dword [esp + 0x48], ecx
lea edx, [0x5bcd40]
mov dword [esp], edx
call fcn.00410f90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x78be40]
test ecx, ecx
jne 0x4aa0c2
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x5b6f00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0043d570
call fcn.0046fee0
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
jmp 0x4aa0a3
call fcn.0046eae0
jmp fcn.004a9d80