Function at 0x4c94e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f762b
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x66d4f4]
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.0040a750
mov dword [ebp - 4], 0
push 0x61faf4
lea eax, [ebp - 0xb4]
push eax
call fcn.00409270
add esp, 8
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.00408c00
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.0040b520
push eax
push 0x61fb00
push 0x10
push 0x61fb1c
push 1
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a0]
call fcn.0040b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004094e0
call fcn.004040c0
mov dword [ebp - 0x34], eax
call fcn.0041b570
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 0x4c9662
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.0040c8b0
mov esi, eax
and esi, 0xff
shl esi, 0x18
mov ecx, dword [ebp - 0x34]
call fcn.0040c8b0
and eax, 0xff00
shl eax, 8
add esi, eax
mov ecx, dword [ebp - 0x34]
call fcn.0040c8b0
and eax, 0xff0000
shr eax, 8
add esi, eax
mov ecx, dword [ebp - 0x34]
call fcn.0040c8b0
and eax, 0xff000000
shr eax, 0x18
add esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
jmp 0x4c9697
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.0040c8b0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x4b0]
cmp dword [ecx + 0x10], 0
jne 0x4c96af
mov dword [0x674070], 2
jmp 0x4c96b9
mov dword [0x674070], 0
mov edx, dword [0x674070]
add edx, 1
mov dword [0x674070], edx
mov eax, dword [0x674070]
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x4c9c70
push 0
push 0
lea ecx, [ebp - 0xcc]
call fcn.00528a50
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0xcc]
call fcn.0052c990
mov dword [ebp - 0xd8], 0
lea edx, [ebp - 0x3bc]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0044f990
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.0040b520
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.00525f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3bc]
call fcn.0040b640
lea edx, [ebp - 0x3c4]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00412b00
mov ecx, eax
call fcn.0044c5f0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00434710
movzx eax, al
test eax, eax
je 0x4c97f5
lea ecx, [ebp - 0xd4]
call fcn.00412dd0
mov ecx, dword [eax]
add ecx, 0xa4
call fcn.0045bcf0
test eax, eax
jbe 0x4c97f5
lea ecx, [ebp - 0x3cc]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00412dd0
mov ecx, dword [eax]
add ecx, 0xa4
call fcn.0042e380
mov ecx, eax
call fcn.00412dd0
mov edx, dword [eax]
mov dword [ebp - 0xd8], edx
cmp dword [ebp - 0xd8], 0
je 0x4c97f5
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00454630
mov ecx, eax
call fcn.004d9100
push 0x20
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042d680
test eax, eax
jbe 0x4c9c5e
push 1
push 2
lea ecx, [ebp - 0x2e4]
call fcn.0040a750
mov byte [ebp - 4], 4
push 0x61fb30
lea edx, [ebp - 0x2e4]
push edx
call fcn.00409270
add esp, 8
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00408c00
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.0040b520
push eax
push 0x61fb40
push 0x39
push 0x61fb5c
push 0x13
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3e8]
call fcn.0040b640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e4]
call fcn.004094e0
push 1
lea edx, [ebp - 0x404]
push edx
call fcn.00508a90
add esp, 8
mov dword [ebp - 0x4cc], eax
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 6
push 0x61fb84
mov ecx, dword [ebp - 0x4d0]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.004041b0
add esp, 0xc
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 7
push 0x61fb80
mov ecx, dword [ebp - 0x4d8]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.004041b0
add esp, 0xc
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], eax
mov byte [ebp - 4], 8
push 0x61fb7c
mov ecx, dword [ebp - 0x4e0]
push ecx
lea edx, [ebp - 0x458]
push edx
call fcn.004041b0
add esp, 0xc
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x4e8], eax
mov byte [ebp - 4], 9
push 0x61fb70
mov ecx, dword [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.004041b0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x458]
call fcn.0040b640
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x43c]
call fcn.0040b640
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x420]
call fcn.0040b640
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x404]
call fcn.0040b640
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.005c0cf0
add esp, 0xc
push 0x61787a
lea ecx, [ebp - 0x260]
call fcn.0040b540
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x208]
push ecx
push 0x61fb88
lea edx, [ebp - 0x23c]
push edx
call fcn.005bd49b
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b4d0
lea ecx, [ebp - 0xf8]
call fcn.0040b520
push eax
call fcn.0050ba00
add esp, 4
lea ecx, [ebp - 0x260]
call fcn.0040b520
push eax
lea ecx, [ebp - 0xf8]
call fcn.0040b520
push eax
call fcn.005141a0
add esp, 8
mov byte [ebp - 0x204], 0
push 0x103
push 0
lea ecx, [ebp - 0x203]
push ecx
call fcn.005c0cf0
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 0x4c9a87
mov edi, dword [ebp - 0x4ec]
mov ax, word [0x61fb8c]
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 0x4c9ac4
mov edi, dword [ebp - 0x4f4]
mov ecx, dword [str.smp.log]
mov dword [edi], ecx
mov edx, dword [0x61fb94]
mov dword [edi + 4], edx
lea eax, [ebp - 0x474]
push eax
call fcn.00508960
add esp, 4
mov dword [ebp - 0x4fc], eax
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x500], ecx
mov byte [ebp - 4], 0x10
push 0x61fb98
mov edx, dword [ebp - 0x500]
push edx
lea eax, [ebp - 0x490]
push eax
call fcn.004041b0
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.0040b620
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x490]
call fcn.0040b640
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x474]
call fcn.0040b640
lea ecx, [ebp - 0x260]
call fcn.0040b520
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00514230
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.00530270
add esp, 8
cmp dword [ebp - 0x240], 0
ja 0x4c9bda
cmp dword [ebp - 0x244], 0x100000
jb 0x4c9c40
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x300]
call fcn.0040b540
mov byte [ebp - 4], 0x12
push 0x61fb9c
lea ecx, [ebp - 0x300]
call fcn.004024c0
lea ecx, [ebp - 0x300]
call fcn.0040b520
push eax
call fcn.0050ba00
add esp, 4
push 0
lea ecx, [ebp - 0x300]
call fcn.0040b520
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.00506620
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x300]
call fcn.0040b640
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x260]
call fcn.0040b640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf8]
call fcn.0040b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.0040e6c0
push 1
push 2
lea ecx, [ebp - 0x384]
call fcn.0040a750
mov dword [ebp - 4], 0x13
push 0x61fba4
lea edx, [ebp - 0x384]
push edx
call fcn.00409270
add esp, 8
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x384]
call fcn.00408c00
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.0040b520
push eax
push str.CSHeartbeat::HandleInpute
push 0x61
push 0x61fbcc
push 1
call fcn.00408f70
mov ecx, eax
call fcn.00512650
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4ac]
call fcn.0040b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.004094e0
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.005bd2d7
mov esp, ebp
pop ebp
ret