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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xdc]
cmp eax, dword [ecx + 8]
jbe 0x4a68f2
sub esp, 0x15c
lea eax, [0x4bde60]
mov dword [esp], eax
call fcn.0040b1f0
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
lea ecx, [0x4bde60]
mov dword [esp], ecx
call fcn.0040b1f0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov byte [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx + 4]
lea ebx, [esp + 0x108]
cmp edx, ebx
je 0x4a675f
mov dword [esp + 0x44], edx
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
test ebp, ebp
jg 0x4a6289
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x3c], ebx
xor ebx, ebx
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0x108]
jmp 0x4a6345
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], esi
cmp ebp, 1
jne 0x4a62f1
lea eax, [0x4bab60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x44]
lea ebx, [esp + 0x108]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
mov edi, 1
mov dword [esp + 0x3c], eax
mov ecx, 1
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x160]
jmp 0x4a6345
lea eax, [0x4bab60]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
call fcn.00448b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x44]
lea ebx, [esp + 0x108]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
mov edi, ebp
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x160]
cmp edi, ebp
jg 0x4a634b
mov ebp, edi
mov ebx, dword [esp + 0x3c]
cmp ebx, esi
je 0x4a6381
mov dword [esp + 0x20], edi
mov dword [esp], ebx
mov dword [esp + 4], esi
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.004614a0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x110], edi
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x114], ebp
mov dword [esp + 0x10c], ebx
movzx edx, byte [edx]
mov byte [esp + 0x108], dl
jmp 0x4a675f
mov dword [esp + 0x18], ebp
mov eax, 0x3b9aca00
mul ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
and ebx, 0x3fffffff
mov dword [esp + 0x30], ebx
add eax, ebx
mov dword [esp + 0x2c], eax
add eax, 0x3d1a0000
mov dword [esp + 0x14], eax
lea edi, [0x4bffa0]
mov dword [esp], edi
call fcn.0040b1f0
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0x18]
imul edx, edx, 0x3b9aca00
mov ebx, dword [esp + 0x38]
add edx, ebx
mov ebx, dword [esp + 0x30]
mov ebp, ebx
sar ebx, 0x1f
mov esi, dword [esp + 0x34]
add esi, ebp
adc edx, ebx
mov ebx, dword [esp + 0x2c]
add ebx, 0x3d1a0000
adc edx, 0xa1b203eb
mov dword [esp + 8], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 4], edx
call fcn.00495220
lea ecx, [0x4bdec0]
mov dword [esp], ecx
lea edx, [0x4f6450]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
call fcn.00408de0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x10]
lea edi, [esp + 0x140]
xor eax, eax
call fcn.00460da9
lea ecx, [0x4f6450]
mov dword [esp + 0x140], ecx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x144], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], edx
mov byte [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea edx, [esp + 0xb8]
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004958f0
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
mov ebx, dword [esp + 0xc]
lea ebp, [esp + 0xc8]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00495be0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0xd8]
mov dword [esp], edx
lea edx, [esp + 0x140]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00498400
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea edx, [esp + 0xa8]
mov dword [esp], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004958f0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004959a0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x60], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x64], edx
mov edx, dword [ecx]
mov dword [esp], edx
lea edx, [esp + 0x60]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
call fcn.004a4690
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx]
mov ebx, dword [esp + 0xc]
mov edx, dword [edx + 0x14]
mov ebp, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004961a0
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov byte [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x108]
mov dword [esp + 8], edx
call fcn.00495e20
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x88]
mov dword [esp], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004959a0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov byte [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [esp + 0x160]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x14]
lea ebp, [esp + 0x68]
mov dword [esp], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00498550
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x98]
mov dword [esp], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00495e20
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx]
mov ebx, dword [esp + 0xc]
mov edx, dword [edx + 0x14]
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004961a0
mov byte [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
lea eax, [esp + 0xf8]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004958f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004963a0
mov eax, dword [esp + 8]
test eax, eax
je 0x4a682b
mov byte [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
lea eax, [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004958f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004963a0
mov eax, dword [esp + 8]
test eax, eax
jne 0x4a68d5
mov byte [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
call fcn.00485a30
lea edi, [esp + 0x12c]
lea esi, [esp]
call fcn.0046128e
lea edi, [esp + 0x118]
lea esi, [esp + 0x12c]
call fcn.0046128e
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
test ecx, 0x80000000
je 0x4a68c0
shl ecx, 1
mov edx, eax
shr eax, 0x1f
or ecx, eax
mov ebx, edx
shl edx, 1
mov ebp, ecx
shl ecx, 1
shr edx, 0x1f
or ecx, edx
mov edx, ecx
add ecx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
jmp 0x4a63a9
mov ecx, dword [esp + 0x120]
mov ebp, dword [esp + 0x124]
mov ebx, eax
jmp 0x4a63a9
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x16c], eax
add esp, 0x15c
ret
call fcn.0045f7f0
jmp fcn.004a61d0