Function at 0x41ac10
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x30c]
sub esp, 0x30c
push 0xffffffffffffffff
push 0x48cc48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4ada68]
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.00456ba0
push 0x207
lea ecx, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp], bl
call fcn.00456ba0
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 0x41ac94
mov ecx, dword [str.Driversetchosts]
mov edx, dword [0x49b790]
mov dword [eax], ecx
mov ecx, dword [0x49b794]
mov dword [eax + 4], edx
mov edx, dword [0x49b798]
mov dword [eax + 8], ecx
mov cx, word [0x49b79c]
mov dword [eax + 0xc], edx
mov dl, byte [0x49b79e]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [ebp]
push 0x49b7a4
push eax
call fcn.00451ade
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x41ad07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a512c
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
call fcn.00456eab
mov edi, 0xf
jmp 0x41ad13
mov esi, dword [ebp - 0x18]
push esi
call fcn.00451b48
add esp, 4
test eax, eax
jne 0x41ae56
push 0x100
lea edx, [ebp + 0x208]
push ebx
push edx
call fcn.00456ba0
push esi
lea eax, [ebp + 0x208]
push 0x100
push eax
call fcn.00451bb0
lea eax, [ebp + 0x208]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41ad54
sub eax, edx
cmp eax, 1
jb 0x41ad13
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 0x41ad80
sub eax, esi
push eax
lea edx, [ebp + 0x208]
push edx
call fcn.00416280
call fcn.0041a600
add esp, 0x1c
cmp eax, ebx
jne 0x41ad10
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 0x41adc0
sub eax, esi
push eax
mov eax, str.zj96596.com
push eax
call fcn.00416280
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 0x41adf3
sub eax, esi
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.00416280
mov byte [ebp - 4], bl
call fcn.0041a760
add esp, 0x38
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x41ae43
mov ebx, dword [ebp - 0x18]
lea eax, [ebp + 0x208]
call fcn.0041a950
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ae41
push 0x4a512c
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], eax
call fcn.00456eab
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x41ad10
cmp esi, ebx
je 0x41ae63
push esi
call fcn.00451d6f
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.0044fdb2
add ebp, 0x30c
mov esp, ebp
pop ebp
ret