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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x17c]
cmp eax, dword [ecx + 8]
jbe 0x4a776e
sub esp, 0x1fc
mov ecx, dword [esp + 0x200]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x4a6c6b
mov dword [ecx + 8], 7
mov edx, dword [0x59fca0]
test edx, edx
jne 0x4a6c5d
lea eax, [0x4c9157]
mov dword [ecx + 4], eax
jmp 0x4a6c6b
lea edi, [ecx + 4]
lea eax, [0x4c9157]
call fcn.00460bc0
nop
mov byte [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x1f8], 0
lea eax, [esp + 0x1ec]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004958f0
mov eax, dword [esp + 0x200]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x34], ebx
cmp edx, 7
jne 0x4a6d03
cmp dword [ecx], 0x63696e75
jne 0x4a6d03
cmp word [ecx + 4], 0x646f
jne 0x4a6d03
cmp byte [ecx + 6], 0x65
jne 0x4a6d03
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x10
call fcn.004958f0
mov eax, 0x20
jmp 0x4a6d3f
cmp edx, 5
jne 0x4a76e1
cmp dword [ecx], 0x69637361
jne 0x4a76e1
cmp byte [ecx + 4], 0x69
jne 0x4a76e1
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 8
call fcn.004958f0
mov eax, 0x40
mov edx, dword [esp + 0x208]
cmp edx, eax
jge 0x4a6d4e
mov eax, edx
jmp 0x4a6d54
mov ecx, eax
mov eax, edx
mov edx, ecx
cmp eax, edx
jb 0x4a76d8
mov dword [esp + 0x20], edx
mov byte [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
mov byte [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0
lea eax, [esp + 0x1cc]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 2
call fcn.004958f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x1dc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004965b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
nop
mov byte [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
lea ecx, [esp + 0x1bc]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004958f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x204]
mov edx, dword [esp + 0x20]
xor ebx, ebx
jmp 0x4a6fd9
mov dword [esp + 0x24], ebx
movzx eax, byte [ecx + ebx]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
call fcn.004996e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1b0], eax
mov byte [esp + 0x1ac], 0
mov byte [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov byte [esp + 0x18c], 0
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
lea eax, [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004958f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x19c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004965b0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x17c], 0
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
lea ecx, [esp + 0x17c]
mov dword [esp], ecx
lea ecx, [esp + 0x1ac]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00495e20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004959a0
mov eax, dword [esp + 0x24]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x204]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x204]
mov edx, dword [esp + 0x20]
cmp ebx, edx
jge 0x4a7011
mov byte [esp + 0x1ac], 0
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
jb 0x4a6e63
jmp 0x4a76cf
mov eax, dword [esp + 0x200]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [esp + 0x44], ecx
nop
mov byte [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
lea edx, [esp + 0x16c]
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x64
call fcn.004958f0
nop
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
lea ecx, [0x4bde60]
mov dword [esp], ecx
call fcn.0040b1f0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004958f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
jmp 0x4a70f7
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004958f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004959a0
lea eax, [0x4bde60]
mov dword [esp], eax
call fcn.0040b1f0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov byte [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov byte [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
lea ecx, [esp + 0x14c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
call fcn.00495e20
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x15c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.004959a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.004961a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea ecx, [0x4bde60]
mov dword [esp], ecx
call fcn.0040b1f0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov byte [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov byte [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov byte [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea ecx, [esp + 0x10c]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 3
call fcn.004958f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x11c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004965b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov byte [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov ecx, dword [esp + 0x200]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea ebx, [esp + 0xfc]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
call fcn.00495e20
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x12c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004959a0
mov eax, dword [esp + 0x200]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
lea ebx, [esp + 0x13c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004959a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.004961a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov byte [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov byte [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov byte [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
lea ecx, [esp + 0xbc]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004958f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xcc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004959a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov byte [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 2
call fcn.004958f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xdc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004960e0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xec]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
call fcn.004965b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004963a0
mov eax, dword [esp + 8]
test eax, eax
jne 0x4a70a6
lea eax, [0x4bde60]
mov dword [esp], eax
call fcn.0040b1f0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov byte [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004958f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x8c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004959a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 4
call fcn.004958f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004960e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
call fcn.004965b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea ecx, [0x4bdc20]
mov dword [esp], ecx
call fcn.0040b1f0
mov edi, dword [esp + 4]
mov eax, dword [0x59fca0]
test eax, eax
jne 0x4a769b
mov eax, dword [esp + 0x3c]
mov dword [edi], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
jmp 0x4a76b6
mov eax, dword [esp + 0x3c]
call fcn.00460bc0
lea ecx, [edi + 4]
mov eax, dword [esp + 0x38]
mov edx, edi
mov edi, ecx
call fcn.00460bc0
mov edi, edx
mov dword [esp + 0x20c], edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x210], eax
add esp, 0x1fc
ret
mov eax, ebx
mov ecx, edx
call fcn.00460c40
mov ecx, edx
mov edx, eax
call fcn.00460c60
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00408c80
mov eax, dword [esp + 8]
lea ecx, [0x4bb060]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x4ced83]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0048d430
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408c80
mov eax, dword [esp + 8]
lea ecx, [0x4bb060]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435b30
nop
call fcn.0045f7f0
jmp fcn.004a6c10