Function at 0x4c35f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e54eb
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x65b4e4]
xor eax, ebp
mov dword [ebp - 0xdc], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4b0], ecx
push 1
push 2
lea ecx, [ebp - 0xb4]
call fcn.0040b160
mov dword [ebp - 4], 0
push 0x610b10
lea eax, [ebp - 0xb4]
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00409610
mov dword [ebp - 0x4b4], eax
mov edx, dword [ebp - 0x4b4]
mov dword [ebp - 0x4b8], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4b8]
call fcn.0040bf30
push eax
push 0x610b1c
push 0x10
push 0x610b38
push 1
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a0]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00409ef0
call fcn.00404950
mov dword [ebp - 0x34], eax
call fcn.0041ad80
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 1
call dword [sym.imp.WS2_32.dll_htonl]
cmp eax, 1
jne 0x4c3772
mov dword [ebp - 0x30], 0x20000000
mov dword [ebp - 0x2c], 0x21436587
mov dword [ebp - 0x28], 0x1000000
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x2000000
mov ecx, dword [ebp - 0x34]
call fcn.0040d120
mov esi, eax
and esi, 0xff
shl esi, 0x18
mov ecx, dword [ebp - 0x34]
call fcn.0040d120
and eax, 0xff00
shl eax, 8
add esi, eax
mov ecx, dword [ebp - 0x34]
call fcn.0040d120
and eax, 0xff0000
shr eax, 8
add esi, eax
mov ecx, dword [ebp - 0x34]
call fcn.0040d120
and eax, 0xff000000
shr eax, 0x18
add esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
jmp 0x4c37a7
mov dword [ebp - 0x30], 0x20
mov dword [ebp - 0x2c], 0x87654321
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 2
mov ecx, dword [ebp - 0x34]
call fcn.0040d120
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x4b0]
cmp dword [ecx + 0x10], 0
jne 0x4c37bf
mov dword [0x661eb8], 2
jmp 0x4c37c9
mov dword [0x661eb8], 0
mov edx, dword [0x661eb8]
add edx, 1
mov dword [0x661eb8], edx
mov eax, dword [0x661eb8]
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x4c3d80
push 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.0050fb60
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0xcc]
call fcn.00513a90
mov dword [ebp - 0xd8], 0
lea edx, [ebp - 0x3bc]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0044de90
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x4bc]
mov dword [ebp - 0x4c0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c0]
call fcn.0040bf30
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.0050d020
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3bc]
call fcn.0040c050
lea edx, [ebp - 0x3c4]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00440c90
mov ecx, eax
call fcn.00440c60
push eax
lea ecx, [ebp - 0xd4]
call fcn.004331d0
movzx eax, al
test eax, eax
je 0x4c3905
lea ecx, [ebp - 0xd4]
call fcn.0042d0e0
mov ecx, dword [eax]
add ecx, 0xa4
call fcn.00482e10
test eax, eax
jbe 0x4c3905
lea ecx, [ebp - 0x3cc]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.0042d0e0
mov ecx, dword [eax]
add ecx, 0xa4
call fcn.00412c90
mov ecx, eax
call fcn.0042d0e0
mov edx, dword [eax]
mov dword [ebp - 0xd8], edx
cmp dword [ebp - 0xd8], 0
je 0x4c3905
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00452ac0
mov ecx, eax
call fcn.004d23b0
push 0x20
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042c180
test eax, eax
jbe 0x4c3d6e
push 1
push 2
lea ecx, [ebp - 0x2e4]
call fcn.0040b160
mov byte [ebp - 4], 4
push 0x610b4c
lea edx, [ebp - 0x2e4]
push edx
call fcn.00409c80
add esp, 8
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00409610
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x4c8], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4c8]
call fcn.0040bf30
push eax
push 0x610b5c
push 0x39
push 0x610b78
push 0x13
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3e8]
call fcn.0040c050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e4]
call fcn.00409ef0
push 1
lea edx, [ebp - 0x404]
push edx
call fcn.005000f0
add esp, 8
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 6
push 0x610ba0
mov ecx, dword [ebp - 0x4d0]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 7
push 0x610b9c
mov ecx, dword [ebp - 0x4d8]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], eax
mov byte [ebp - 4], 8
push 0x610b98
mov ecx, dword [ebp - 0x4e0]
push ecx
lea edx, [ebp - 0x458]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x4e8], eax
mov byte [ebp - 4], 9
push 0x610b8c
mov ecx, dword [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.00404a40
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x458]
call fcn.0040c050
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x43c]
call fcn.0040c050
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x420]
call fcn.0040c050
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x404]
call fcn.0040c050
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x208], eax
mov byte [ebp - 0x23c], 0
push 0x31
push 0
lea eax, [ebp - 0x23b]
push eax
call fcn.005b4520
add esp, 0xc
push 0x60962b
lea ecx, [ebp - 0x260]
call fcn.0040bf50
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x208]
push ecx
push 0x610ba4
lea edx, [ebp - 0x23c]
push edx
call fcn.005b0b2c
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040bee0
lea ecx, [ebp - 0xf8]
call fcn.0040bf30
push eax
call fcn.00503060
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.0040bf30
push eax
lea ecx, [ebp - 0xf8]
call fcn.0040bf30
push eax
call fcn.00519eb0
add esp, 8
mov byte [ebp - 0x204], 0
push 0x103
push 0
lea ecx, [ebp - 0x203]
push ecx
call fcn.005b4520
add esp, 0xc
push 0x104
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x204]
add eax, 0xffffffff
mov dword [ebp - 0x4ec], eax
mov ecx, dword [ebp - 0x4ec]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x4ed], dl
add dword [ebp - 0x4ec], 1
cmp byte [ebp - 0x4ed], 0
jne 0x4c3b97
mov edi, dword [ebp - 0x4ec]
mov ax, word [0x610ba8]
mov word [edi], ax
lea ecx, [ebp - 0x204]
add ecx, 0xffffffff
mov dword [ebp - 0x4f4], ecx
mov edx, dword [ebp - 0x4f4]
mov al, byte [edx + 1]
mov byte [ebp - 0x4f5], al
add dword [ebp - 0x4f4], 1
cmp byte [ebp - 0x4f5], 0
jne 0x4c3bd4
mov edi, dword [ebp - 0x4f4]
mov ecx, dword [str.smp.log]
mov dword [edi], ecx
mov edx, dword [0x610bb0]
mov dword [edi + 4], edx
lea eax, [ebp - 0x474]
push eax
call fcn.004fffc0
add esp, 4
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], ecx
mov byte [ebp - 4], 0x10
push 0x610bb4
mov edx, dword [ebp - 0x500]
push edx
lea eax, [ebp - 0x490]
push eax
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x504], eax
mov ecx, dword [ebp - 0x504]
mov dword [ebp - 0x508], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x508]
push edx
lea ecx, [ebp - 0x260]
call fcn.0040c030
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x490]
call fcn.0040c050
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x474]
call fcn.0040c050
lea ecx, [ebp - 0x260]
call fcn.0040bf30
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00519f40
add esp, 8
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.0051b730
add esp, 8
cmp dword [ebp - 0x240], 0
ja 0x4c3cea
cmp dword [ebp - 0x244], 0x100000
jb 0x4c3d50
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x300]
call fcn.0040bf50
mov byte [ebp - 4], 0x12
push 0x610bb8
lea ecx, [ebp - 0x300]
call fcn.004024c0
lea ecx, [ebp - 0x300]
call fcn.0040bf30
push eax
call fcn.00503060
add esp, 4
push 0
lea ecx, [ebp - 0x300]
call fcn.0040bf30
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.004fe150
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x300]
call fcn.0040c050
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x260]
call fcn.0040c050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.0040ef00
push 1
push 2
lea ecx, [ebp - 0x384]
call fcn.0040b160
mov dword [ebp - 4], 0x13
push 0x610bc0
lea edx, [ebp - 0x384]
push edx
call fcn.00409c80
add esp, 8
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x384]
call fcn.00409610
mov dword [ebp - 0x50c], eax
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x510], ecx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x510]
call fcn.0040bf30
push eax
push str.CSHeartbeat::HandleInpute
push 0x61
push 0x610be8
push 1
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4ac]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.00409ef0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0xdc]
xor ecx, ebp
call fcn.005b0968
mov esp, ebp
pop ebp
ret