Function at 0x437700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0x104
call fcn.0048c144
add esp, 4
mov ebx, eax
mov ecx, 0x41
xor eax, eax
mov edi, ebx
push 0x104
rep stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [0x4cc854]
mov dword [ebp - 0x20], eax
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0048c58c
lea ecx, [ebp - 0x28]
push 1
push ecx
lea ecx, [ebp - 0x20]
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [ebp - 0x28]
test eax, eax
setne byte [ebp - 0x11]
call fcn.0048c403
mov al, byte [ebp - 0x11]
test al, al
je 0x4377a4
push 0x4c2288
lea ecx, [ebp - 0x20]
call fcn.0048c7df
mov edx, dword [0x4cc854]
mov dword [ebp - 0x24], edx
push 0x4d0e20
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0048c58c
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0043abe0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0048c53c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0048c403
mov ecx, dword [0x4cc854]
mov dword [ebp - 0x18], ecx
push 0x4c6bdc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0048a476
or esi, 0xffffffff
cmp eax, esi
jne 0x43783a
push str.driversetchosts
lea ecx, [ebp - 0x18]
call fcn.0048c58c
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x28]
push eax
push ecx
call fcn.0048c632
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0048c53c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
jmp 0x43790a
push 0x4c6bdc
lea ecx, [ebp - 0x24]
call fcn.0048a476
cmp eax, esi
je 0x43790f
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x28]
push edx
call fcn.0048c178
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0048a85b
lea ecx, [ebp - 0x28]
call fcn.0048a80f
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0048a3dc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0048c53c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0048c403
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.0048a454
lea edx, [ebp - 0x3c]
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.0048a3dc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0048c53c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0048c403
push str.hosts
lea ecx, [ebp - 0x18]
call fcn.0048c58c
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x3c]
push ecx
push edx
call fcn.0048c632
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0048c53c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0048c403
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0048c403
lea ecx, [ebp - 0x54]
call fcn.00490080
mov eax, dword [ebp - 0x18]
push 0
push eax
mov byte [ebp - 4], 9
call fcn.00476665
add esp, 8
cmp eax, esi
je 0x437949
mov ecx, dword [ebp - 0x18]
push 6
push ecx
call fcn.00476665
add esp, 8
cmp eax, esi
je 0x437960
mov edx, dword [ebp - 0x18]
push 0
push 2
push edx
jmp 0x437954
mov eax, dword [ebp - 0x18]
push 0
push 0x1002
push eax
lea ecx, [ebp - 0x54]
call fcn.00490192
test eax, eax
jne 0x43798c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004900d5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0048c403
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0048c403
mov dword [ebp - 4], esi
jmp 0x437c7c
lea ecx, [ebp - 0x54]
call fcn.0049048c
lea edi, [eax + 1]
mov dword [ebp - 0x3c], eax
push edi
call fcn.0048c144
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [ebp - 0x40], esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
push edi
push esi
call fcn.004902af
mov byte [esi + edi], 0
mov eax, dword [0x4cc854]
mov dword [ebp - 0x1c], eax
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.0048c58c
mov ecx, dword [0x4cc854]
mov dword [ebp - 0x2c], ecx
push 0x4c6b74
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0048c471
push 0x4c6be4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0048a476
or edi, 0xffffffff
cmp eax, edi
je 0x437a24
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x1c]
push edx
call fcn.0048a476
cmp eax, edi
jne 0x437a8b
lea ecx, [ebp - 0x54]
call fcn.004903ad
push esi
call fcn.0048c16d
push ebx
call fcn.0048c16d
add esp, 8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0048c403
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0048c403
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0048c403
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004900d5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0048c403
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0048c403
mov dword [ebp - 4], edi
jmp 0x437c7c
mov eax, dword [0x4cc854]
mov dword [ebp - 0x38], eax
push 0x4c6be4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.0048a476
lea ecx, [ebp - 0x3c]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0048a3dc
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xe
call fcn.0048c53c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.0048c403
mov edx, dword [0x4cc854]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xf
mov edi, dword [eax - 8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax - 8]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x1c]
call fcn.0048a476
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
sub edi, edx
lea edx, [ebp - 0x28]
sub edi, eax
push edi
push edx
call fcn.0048a360
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.0048c53c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
call fcn.0048c403
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0048c81b
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0048c81b
push 0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x11
call fcn.00490460
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004902e9
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xf
call fcn.004903ad
push esi
call fcn.0048c16d
push ebx
call fcn.0048c16d
add esp, 8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.0048c403
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.0048c403
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x30]
call fcn.0048c403
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0048c403
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0048c403
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004900d5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0048c403
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0048c403
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0048c403
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.0048c403
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret