Function at 0x41ae40
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x30c]
sub esp, 0x30c
push 0xffffffffffffffff
push 0x48cea8
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.00456da0
push 0x207
lea ecx, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp], bl
call fcn.00456da0
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 0x41aec4
mov ecx, dword [str.Driversetchosts]
mov edx, dword [0x49b758]
mov dword [eax], ecx
mov ecx, dword [0x49b75c]
mov dword [eax + 4], edx
mov edx, dword [0x49b760]
mov dword [eax + 8], ecx
mov cx, word [0x49b764]
mov dword [eax + 0xc], edx
mov dl, byte [0x49b766]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [ebp]
push 0x49b76c
push eax
call fcn.00451cde
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x41af37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a5120
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
call fcn.004570ab
mov edi, 0xf
jmp 0x41af43
mov esi, dword [ebp - 0x18]
push esi
call fcn.00451d48
add esp, 4
test eax, eax
jne 0x41b086
push 0x100
lea edx, [ebp + 0x208]
push ebx
push edx
call fcn.00456da0
push esi
lea eax, [ebp + 0x208]
push 0x100
push eax
call fcn.00451db0
lea eax, [ebp + 0x208]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41af84
sub eax, edx
cmp eax, 1
jb 0x41af43
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 0x41afb0
sub eax, esi
push eax
lea edx, [ebp + 0x208]
push edx
call fcn.004164d0
call fcn.0041a830
add esp, 0x1c
cmp eax, ebx
jne 0x41af40
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 0x41aff0
sub eax, esi
push eax
mov eax, str.zj96596.com
push eax
call fcn.004164d0
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 0x41b023
sub eax, esi
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.004164d0
mov byte [ebp - 4], bl
call fcn.0041a990
add esp, 0x38
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x41b073
mov ebx, dword [ebp - 0x18]
lea eax, [ebp + 0x208]
call fcn.0041ab80
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b071
push 0x4a5120
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], eax
call fcn.004570ab
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x41af40
cmp esi, ebx
je 0x41b093
push esi
call fcn.00451f6f
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.0044ffb2
add ebp, 0x30c
mov esp, ebp
pop ebp
ret