Function at 0x41c170
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x30c]
sub esp, 0x30c
push 0xffffffffffffffff
push 0x48ef58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4afa68]
xor eax, ebp
mov dword [ebp + 0x308], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0xff
lea eax, [ebp + 0x209]
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp + 0x208], bl
call fcn.00457ee0
push 0x207
lea ecx, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp], bl
call fcn.00457ee0
add esp, 0x18
push 0x208
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41c1f4
mov ecx, dword [str.Driversetchosts]
mov edx, dword [0x49d880]
mov dword [eax], ecx
mov ecx, dword [0x49d884]
mov dword [eax + 4], edx
mov edx, dword [0x49d888]
mov dword [eax + 8], ecx
mov cx, word [0x49d88c]
mov dword [eax + 0xc], edx
mov dl, byte [0x49d88e]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [ebp]
push 0x49d894
push eax
call fcn.0045300e
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x41c267
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a74e4
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
call fcn.004581eb
mov edi, 0xf
jmp 0x41c273
mov esi, dword [ebp - 0x18]
push esi
call fcn.00453078
add esp, 4
test eax, eax
jne 0x41c3b6
push 0x100
lea edx, [ebp + 0x208]
push ebx
push edx
call fcn.00457ee0
push esi
lea eax, [ebp + 0x208]
push 0x100
push eax
call fcn.004530e0
lea eax, [ebp + 0x208]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41c2b4
sub eax, edx
cmp eax, 1
jb 0x41c273
sub esp, 0x1c
mov ecx, esp
lea eax, [ebp + 0x208]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x24], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41c2e0
sub eax, esi
push eax
lea edx, [ebp + 0x208]
push edx
call fcn.00416f50
call fcn.0041bb60
add esp, 0x1c
cmp eax, ebx
jne 0x41c270
sub esp, 0x1c
mov ecx, esp
mov eax, str.zj96596.com
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x24], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41c320
sub eax, esi
push eax
mov eax, str.zj96596.com
push eax
call fcn.00416f50
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
lea eax, [ebp + 0x208]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x28], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41c353
sub eax, esi
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.00416f50
mov byte [ebp - 4], bl
call fcn.0041bcc0
add esp, 0x38
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x41c3a3
mov ebx, dword [ebp - 0x18]
lea eax, [ebp + 0x208]
call fcn.0041beb0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41c3a1
push 0x4a74e4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], eax
call fcn.004581eb
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x41c270
cmp esi, ebx
je 0x41c3c3
push esi
call fcn.0045329f
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x308]
xor ecx, ebp
call fcn.004512da
add ebp, 0x30c
mov esp, ebp
pop ebp
ret