Function at 0x4c34c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e65fb
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x65d4e4]
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.0040b040
mov dword [ebp - 4], 0
push 0x611c70
lea eax, [ebp - 0xb4]
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.004094f0
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.0040be10
push eax
push 0x611c7c
push 0x10
push 0x611c98
push 1
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a0]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00409dd0
call fcn.00404970
mov dword [ebp - 0x34], eax
call fcn.0041b810
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 0x4c3642
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.0040cff0
mov esi, eax
and esi, 0xff
shl esi, 0x18
mov ecx, dword [ebp - 0x34]
call fcn.0040cff0
and eax, 0xff00
shl eax, 8
add esi, eax
mov ecx, dword [ebp - 0x34]
call fcn.0040cff0
and eax, 0xff0000
shr eax, 8
add esi, eax
mov ecx, dword [ebp - 0x34]
call fcn.0040cff0
and eax, 0xff000000
shr eax, 0x18
add esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
jmp 0x4c3677
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.0040cff0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x4b0]
cmp dword [ecx + 0x10], 0
jne 0x4c368f
mov dword [0x663eb8], 2
jmp 0x4c3699
mov dword [0x663eb8], 0
mov edx, dword [0x663eb8]
add edx, 1
mov dword [0x663eb8], edx
mov eax, dword [0x663eb8]
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x4c3c50
push 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.00510b90
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0xcc]
call fcn.00514ac0
mov dword [ebp - 0xd8], 0
lea edx, [ebp - 0x3bc]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0044edd0
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.0040be10
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.0050e050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3bc]
call fcn.0040bf30
lea edx, [ebp - 0x3c4]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00413010
mov ecx, eax
call fcn.00413030
push eax
lea ecx, [ebp - 0xd4]
call fcn.0048fd20
movzx eax, al
test eax, eax
je 0x4c37d5
lea ecx, [ebp - 0xd4]
call fcn.00413390
mov ecx, dword [eax]
add ecx, 0xa4
call fcn.004a1f10
test eax, eax
jbe 0x4c37d5
lea ecx, [ebp - 0x3cc]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00413390
mov ecx, dword [eax]
add ecx, 0xa4
call fcn.0048fcf0
mov ecx, eax
call fcn.00413390
mov edx, dword [eax]
mov dword [ebp - 0xd8], edx
cmp dword [ebp - 0xd8], 0
je 0x4c37d5
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00453a00
mov ecx, eax
call fcn.004d2db0
push 0x20
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042d420
test eax, eax
jbe 0x4c3c3e
push 1
push 2
lea ecx, [ebp - 0x2e4]
call fcn.0040b040
mov byte [ebp - 4], 4
push 0x611cac
lea edx, [ebp - 0x2e4]
push edx
call fcn.00409b60
add esp, 8
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.004094f0
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.0040be10
push eax
push 0x611cbc
push 0x39
push 0x611cd8
push 0x13
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3e8]
call fcn.0040bf30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e4]
call fcn.00409dd0
push 1
lea edx, [ebp - 0x404]
push edx
call fcn.00501110
add esp, 8
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 6
push 0x611d00
mov ecx, dword [ebp - 0x4d0]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.00404a60
add esp, 0xc
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 7
push 0x611cfc
mov ecx, dword [ebp - 0x4d8]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.00404a60
add esp, 0xc
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], eax
mov byte [ebp - 4], 8
push 0x611cf8
mov ecx, dword [ebp - 0x4e0]
push ecx
lea edx, [ebp - 0x458]
push edx
call fcn.00404a60
add esp, 0xc
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x4e8], eax
mov byte [ebp - 4], 9
push 0x611cec
mov ecx, dword [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.00404a60
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x458]
call fcn.0040bf30
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x43c]
call fcn.0040bf30
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x420]
call fcn.0040bf30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x404]
call fcn.0040bf30
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.005b5540
add esp, 0xc
push 0x60a646
lea ecx, [ebp - 0x260]
call fcn.0040be30
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x208]
push ecx
push 0x611d04
lea edx, [ebp - 0x23c]
push edx
call fcn.005b1b4c
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040bdc0
lea ecx, [ebp - 0xf8]
call fcn.0040be10
push eax
call fcn.00504080
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.0040be10
push eax
lea ecx, [ebp - 0xf8]
call fcn.0040be10
push eax
call fcn.0051ae40
add esp, 8
mov byte [ebp - 0x204], 0
push 0x103
push 0
lea ecx, [ebp - 0x203]
push ecx
call fcn.005b5540
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 0x4c3a67
mov edi, dword [ebp - 0x4ec]
mov ax, word [0x611d08]
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 0x4c3aa4
mov edi, dword [ebp - 0x4f4]
mov ecx, dword [str.smp.log]
mov dword [edi], ecx
mov edx, dword [0x611d10]
mov dword [edi + 4], edx
lea eax, [ebp - 0x474]
push eax
call fcn.00500fe0
add esp, 4
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], ecx
mov byte [ebp - 4], 0x10
push 0x611d14
mov edx, dword [ebp - 0x500]
push edx
lea eax, [ebp - 0x490]
push eax
call fcn.00404a60
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.0040bf10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x490]
call fcn.0040bf30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x474]
call fcn.0040bf30
lea ecx, [ebp - 0x260]
call fcn.0040be10
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0051aed0
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.0051c6c0
add esp, 8
cmp dword [ebp - 0x240], 0
ja 0x4c3bba
cmp dword [ebp - 0x244], 0x100000
jb 0x4c3c20
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x300]
call fcn.0040be30
mov byte [ebp - 4], 0x12
push 0x611d18
lea ecx, [ebp - 0x300]
call fcn.004024c0
lea ecx, [ebp - 0x300]
call fcn.0040be10
push eax
call fcn.00504080
add esp, 4
push 0
lea ecx, [ebp - 0x300]
call fcn.0040be10
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.004ff170
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x300]
call fcn.0040bf30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x260]
call fcn.0040bf30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.0040edd0
push 1
push 2
lea ecx, [ebp - 0x384]
call fcn.0040b040
mov dword [ebp - 4], 0x13
push 0x611d20
lea edx, [ebp - 0x384]
push edx
call fcn.00409b60
add esp, 8
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x384]
call fcn.004094f0
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.0040be10
push eax
push str.CSHeartbeat::HandleInpute
push 0x61
push 0x611d48
push 1
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4ac]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.00409dd0
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.005b1988
mov esp, ebp
pop ebp
ret