Function at 0x436e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
push esi
push edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x10], esp
lea eax, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 4], 1
call fcn.0048c178
mov ecx, dword [0x4cc854]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x18]
push 0x4d0e20
push edx
mov byte [ebp - 4], 3
call fcn.0047514f
add esp, 8
test eax, eax
je 0x436fcc
mov bl, 4
mov eax, dword [0x4cc854]
mov dword [ebp - 0x14], eax
push 0x4c3018
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0048a476
test eax, eax
jl 0x436f0e
push 0x4c3018
lea ecx, [ebp - 0x18]
call fcn.0048a476
inc eax
lea ecx, [ebp - 0x20]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0048a3dc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0048c53c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0048c403
mov edx, dword [ebp - 0x18]
push 0x4c3018
lea ecx, [ebp - 0x18]
mov esi, dword [edx - 8]
call fcn.0048a476
sub esi, eax
lea eax, [ebp - 0x4c]
dec esi
lea ecx, [ebp - 0x18]
push esi
push eax
call fcn.0048a360
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0048c53c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0048c403
jmp 0x436f27
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0048c53c
push 0x4d0e20
lea ecx, [ebp - 0x18]
call fcn.0048c58c
lea ecx, [ebp - 0x14]
call fcn.0048a85b
lea ecx, [ebp - 0x14]
call fcn.0048a80f
lea ecx, [ebp - 0x18]
call fcn.0048a85b
lea ecx, [ebp - 0x18]
call fcn.0048a80f
push 0x4c6be0
lea ecx, [ebp - 0x14]
call fcn.0048a476
test eax, eax
jl 0x436fa7
mov edx, dword [0x4cc854]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 7
call fcn.0048c53c
push 0x4c2af8
push 0x4c6be0
lea ecx, [ebp - 0x34]
call fcn.0048a144
push 0x4c2db0
lea ecx, [ebp - 0x34]
call fcn.0048c7df
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0048c81b
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.0048c403
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0048c403
mov edx, dword [ebp - 0x18]
push 0x4d0e20
push edx
call fcn.0047514f
add esp, 8
test eax, eax
jne 0x436e82
push 0x104
call fcn.0048c144
add esp, 4
mov esi, eax
mov ecx, 0x41
xor eax, eax
mov edi, esi
push 0x104
rep stosd dword es:[edi], eax
push esi
mov dword [ebp - 0x60], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [0x4cc854]
mov dword [ebp - 0x28], eax
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0048c58c
lea ecx, [ebp - 0x20]
push 1
push ecx
lea ecx, [ebp - 0x28]
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [ebp - 0x20]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x437046
push 0x4c2288
lea ecx, [ebp - 0x28]
call fcn.0048c7df
mov edx, dword [0x4cc854]
mov dword [ebp - 0x30], edx
push 0x4d0e20
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.0048c58c
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x20]
push eax
call fcn.0043abe0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0048c53c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.0048c403
mov ecx, dword [0x4cc854]
mov dword [ebp - 0x1c], ecx
push 0x4c6bdc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.0048a476
or esi, 0xffffffff
cmp eax, esi
jne 0x4370dd
push str.driversetchosts
lea ecx, [ebp - 0x1c]
call fcn.0048c58c
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x20]
push eax
push ecx
call fcn.0048c632
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0048c53c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20]
jmp 0x4371ab
push 0x4c6bdc
lea ecx, [ebp - 0x30]
call fcn.0048a476
cmp eax, esi
je 0x4371b0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x14]
push edx
call fcn.0048c178
mov bl, 0xd
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0048a85b
lea ecx, [ebp - 0x14]
call fcn.0048a80f
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
mov eax, dword [eax - 8]
dec eax
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.0048a3dc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.0048c53c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0048c403
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0048a454
lea edx, [ebp - 0x20]
push eax
push edx
lea ecx, [ebp - 0x14]
call fcn.0048a3dc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0048c53c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0048c403
push str.hosts
lea ecx, [ebp - 0x1c]
call fcn.0048c58c
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.0048c632
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.0048c53c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0048c403
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.0048c403
lea ecx, [ebp - 0x5c]
call fcn.00490080
mov eax, dword [ebp - 0x1c]
push 0
push eax
mov byte [ebp - 4], 0x11
call fcn.00476665
add esp, 8
cmp eax, esi
je 0x437388
mov ecx, dword [0x4cc854]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x178]
push edx
push eax
mov byte [ebp - 4], 0x12
call fcn.0049147c
mov bl, byte [ebp - 0x168]
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x178]
and bl, 0x3e
push ecx
push edx
mov byte [ebp - 0x168], bl
call fcn.004915e1
mov eax, dword [ebp - 0x1c]
push 6
push eax
call fcn.00476665
add esp, 8
cmp eax, esi
jne 0x437231
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.0048c403
jmp 0x4373a3
mov ecx, dword [ebp - 0x1c]
push 0
push 2
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00490192
test eax, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x4c]
jne 0x437256
call fcn.0048c403
jmp 0x4373a3
call fcn.0048c403
lea ecx, [ebp - 0x5c]
call fcn.0049048c
mov ebx, eax
lea edi, [ebx + 1]
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
push ebx
and ecx, 3
push esi
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x5c]
call fcn.004902af
mov byte [esi + ebx], 0
mov eax, dword [0x4cc854]
mov dword [ebp - 0x2c], eax
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.0048c58c
mov ecx, dword [0x4cc854]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 0x14
call fcn.0048c53c
push 0x4c2db0
lea ecx, [ebp - 0x2c]
call fcn.0048c7df
mov eax, dword [0x4cc854]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x40]
push ecx
push 0x4c6b94
push edx
mov byte [ebp - 4], 0x15
call fcn.0048a7fc
mov eax, dword [0x4cc854]
add esp, 0xc
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x38]
mov bl, 0x16
push ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0048c53c
mov edx, dword [0x4cc854]
mov dword [ebp - 0x3c], edx
push 0x4c6b74
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x17
call fcn.0048c58c
push 0x4c6b64
lea ecx, [ebp - 0x24]
call fcn.0048a476
cmp eax, 0xffffffff
jne 0x43740a
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0048c81b
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0048c81b
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push edx
call fcn.0048c81b
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
call fcn.00490460
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004902e9
mov dword [ebp - 4], 0x17
jmp 0x437542
mov edx, dword [ebp - 0x1c]
push 0
push 0x1002
push edx
lea ecx, [ebp - 0x5c]
call fcn.00490192
test eax, eax
jne 0x43725b
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.004900d5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0048c403
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.0048c403
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0048c403
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0048c403
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0048c403
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0048c403
mov dword [ebp - 4], esi
jmp 0x4376dc
lea ecx, [ebp + 0xc]
call fcn.0048a85b
lea ecx, [ebp + 0xc]
call fcn.0048a80f
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push eax
call fcn.0048a476
cmp eax, 0xffffffff
je 0x437465
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1a
call fcn.00490460
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0048a476
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x24]
push edx
push eax
call fcn.0048a08f
mov eax, dword [ebp - 0x24]
jmp 0x43736f
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x24]
mov edi, dword [eax - 8]
call fcn.0048a476
sub edi, eax
lea edx, [ebp - 0x48]
push edi
push edx
lea ecx, [ebp - 0x24]
call fcn.0048a360
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0048a476
lea ecx, [ebp - 0x20]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.0048a3dc
mov edx, dword [0x4cc854]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0048c53c
mov ecx, dword [0x4cc854]
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x1f
call fcn.0048c81b
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x34]
push eax
call fcn.0048c81b
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0048a144
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x20
call fcn.00490460
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004902e9
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0x1e
call fcn.0048c403
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call fcn.0048c403
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1c
call fcn.0048c403
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.0048c403
lea ecx, [ebp - 0x5c]
call fcn.004903ad
push esi
call fcn.0048c16d
mov eax, dword [ebp - 0x60]
push eax
call fcn.0048c16d
add esp, 8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.0048c403
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.0048c403
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x14
call fcn.0048c403
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.0048c403
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
call fcn.0048c403
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.004900d5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0048c403
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.0048c403
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0048c403
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0048c403
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0048c403
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0048c403
lea ecx, [ebp + 0xc]
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 8
lea ecx, [ebp + 0xc]
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 8