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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x496016
sub esp, 0x68
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x495be5
nop
cmp ecx, 1
jne 0x4959f6
mov edx, dword [esp + 0x6c]
cmp byte [edx], 0x2e
je 0x495a2a
jmp 0x4959fa
mov edx, dword [esp + 0x6c]
cmp ecx, 2
jl 0x495a99
lea ebx, [ecx + edx - 1]
cmp byte [ebx], 0x2e
jne 0x495a99
lea eax, [ecx - 2]
cmp ecx, eax
jbe 0x496010
movzx eax, byte [ecx + edx - 2]
cmp al, 0x5c
je 0x495a2a
cmp al, 0x2f
jne 0x495a99
lea eax, [0x616400]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x62f117]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x495a65
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
jmp 0x495a75
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.0045e950
mov eax, ecx
lea ecx, [0x68bcd0]
mov dword [eax + 0x10], ecx
lea ecx, [0x68b010]
mov dword [eax + 0x14], ecx
lea ecx, [0x68b960]
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.00494b60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x495ae6
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
mov ecx, dword [0x7c0220]
mov ebx, dword [0x7c0224]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.00491850
movzx eax, byte [esp + 0x10]
test al, al
je 0x495afa
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.004960b0
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 0x495bc0
lea eax, [0x68b960]
cmp edx, eax
je 0x495b3d
mov ecx, 0
jne 0x495bb4
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 [0x7c0220]
mov ebp, dword [0x7c0224]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00491850
movzx eax, byte [esp + 0x10]
test al, al
jne 0x495b98
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
test ecx, ecx
je 0x495bac
lea edx, [0x6192c0]
cmp dword [ecx + 4], edx
jne 0x495bac
cmp dword [eax], 3
jne 0x495bac
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 0x495bf9
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.00493920
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
jne 0x495d2d
mov dword [esp + 0x40], ecx
jmp 0x495d92
nop
mov eax, dword [esp + 0x40]
test eax, eax
je 0x495c66
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004949b0
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 [0x7bfee4]
cmp dword [0x7bfee0], edx
jne 0x495c9d
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004033d0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x495ed4
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x495cab
mov ebp, eax
mov esi, dword [esp + 0x58]
test ecx, ecx
je 0x495ed4
cmp ecx, 0x400
jge 0x495bf9
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.00494b60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
je 0x495ec0
mov edx, dword [0x7c0220]
mov ebx, dword [0x7c0224]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00491850
movzx eax, byte [esp + 0x10]
test al, al
jne 0x495ec0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x495bf9
jmp 0x495eb0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], edx
mov eax, dword [0x7c0220]
mov ecx, dword [0x7c0224]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00491850
movzx eax, byte [esp + 0x10]
test al, al
je 0x495d72
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.00490ba0
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 0x495e21
mov eax, dword [esp + 0x24]
cmp eax, 0x400
je 0x495d86
jmp 0x495c3f
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 0x495de6
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, [0x62dc7a]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call fcn.0044acd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004959c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x495e97
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
jmp 0x495e99
mov edx, eax
test edx, edx
je 0x495ea7
mov edx, dword [esp + 0x24]
inc edx
jmp 0x495df6
mov edx, dword [esp + 0x24]
jmp 0x495df6
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.00494b60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x495f2d
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x7c0220]
mov ebx, dword [0x7c0224]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.00491850
movzx eax, byte [esp + 0x10]
test al, al
je 0x495f41
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [0x7c0228]
mov ecx, dword [0x7c022c]
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.00491850
movzx eax, byte [esp + 0x10]
test al, al
jne 0x495f7f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x496004
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.00496020
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x495fad
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x496004
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.00493e20
mov eax, dword [esp + 0xc]
test eax, eax
je 0x495fe8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x496004
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00494b60
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.0045e9d0
nop
call fcn.0045d540
jmp fcn.004959c0