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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a6d26
sub esp, 0x68
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4a68f5
nop
cmp ecx, 1
jne 0x4a6706
mov edx, dword [esp + 0x6c]
cmp byte [edx], 0x2e
je 0x4a673a
jmp 0x4a670a
mov edx, dword [esp + 0x6c]
cmp ecx, 2
jl 0x4a67a9
lea ebx, [ecx + edx - 1]
cmp byte [ebx], 0x2e
jne 0x4a67a9
lea eax, [ecx - 2]
cmp ecx, eax
jbe 0x4a6d20
movzx eax, byte [ecx + edx - 2]
cmp al, 0x5c
je 0x4a673a
cmp al, 0x2f
jne 0x4a67a9
lea eax, [0x505d20]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x512dd0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4a6775
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
jmp 0x4a6785
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.00460010
mov eax, ecx
lea ecx, [0x5494bc]
mov dword [eax + 0x10], ecx
lea ecx, [0x548d34]
mov dword [eax + 0x14], ecx
lea ecx, [0x54932c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004a5c70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x4a67f6
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
mov ecx, dword [0x5f4e40]
mov ebx, dword [0x5f4e44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.004a2a80
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a680a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004a6dc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x4a68d0
lea eax, [0x54932c]
cmp edx, eax
je 0x4a684d
mov ecx, 0
jne 0x4a68c4
mov dword [esp + 0x48], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x44], ebx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov ebx, dword [0x5f4e40]
mov ebp, dword [0x5f4e44]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004a2a80
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a68a8
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
test ecx, ecx
je 0x4a68bc
lea edx, [0x507880]
cmp dword [ecx + 4], edx
jne 0x4a68bc
cmp dword [eax], 3
jne 0x4a68bc
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x68
ret
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x4a6909
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004a4a30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x4a6a3d
mov dword [esp + 0x40], ecx
jmp 0x4a6aa2
nop
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a6976
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004a5ac0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov eax, dword [0x5f4d24]
cmp dword [0x5f4d20], edx
jne 0x4a69ad
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004034b0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a6be4
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a69bb
mov ebp, eax
mov esi, dword [esp + 0x58]
test ecx, ecx
je 0x4a6be4
cmp ecx, 0x400
jge 0x4a6909
mov dword [esp + 0x58], esi
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004a5c70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
je 0x4a6bd0
mov edx, dword [0x5f4e40]
mov ebx, dword [0x5f4e44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004a2a80
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a6bd0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a6909
jmp 0x4a6bc0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], edx
mov eax, dword [0x5f4e40]
mov ecx, dword [0x5f4e44]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a2a80
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a6a82
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], ebx
mov dword [esp], ecx
mov dword [esp + 4], 0x400
call fcn.004a1f10
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x64], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x24], edi
xor edi, edi
jmp 0x4a6b31
mov eax, dword [esp + 0x24]
cmp eax, 0x400
je 0x4a6a96
jmp 0x4a694f
mov ebx, dword [esp + 0x34]
lea edi, [ebx + 1]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
cmp edi, ecx
jge 0x4a6af6
mov dword [esp + 0x34], edi
lea ecx, [eax + edi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], 0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
lea esi, [0x511ecd]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call fcn.0044d400
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004a66d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4a6ba7
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
jmp 0x4a6ba9
mov edx, eax
test edx, edx
je 0x4a6bb7
mov edx, dword [esp + 0x24]
inc edx
jmp 0x4a6b06
mov edx, dword [esp + 0x24]
jmp 0x4a6b06
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004a5c70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x4a6c3d
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x5f4e40]
mov ebx, dword [0x5f4e44]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.004a2a80
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a6c51
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [0x5f4e48]
mov ecx, dword [0x5f4e4c]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a2a80
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4a6c8f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x4a6d14
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004a6d30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4a6cbd
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x4a6d14
mov eax, dword [ecx + 0x18]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
or eax, 0x80
mov dword [esp + 8], eax
call fcn.004a4f30
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a6cf8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x4a6d14
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004a5c70
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x68
ret
call fcn.00460090
nop
call fcn.0045ec00
jmp fcn.004a66d0