Function at 0x412e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4934db
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x4c3aa8]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x117]
push ebx
push eax
mov dword [ebp - 0x324], ebx
mov byte [ebp - 0x118], bl
call fcn.004553e0
add esp, 0xc
push 0x207
lea ecx, [ebp - 0x31f]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp - 0x320], bl
call fcn.004553e0
add esp, 0xc
push 0x208
lea edx, [ebp - 0x320]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x320]
dec eax
jmp 0x412f10
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x412f10
mov ecx, dword [str.Driversetchosts]
mov edx, dword [0x4b0dd0]
mov dword [eax], ecx
mov ecx, dword [0x4b0dd4]
mov dword [eax + 4], edx
mov edx, dword [0x4b0dd8]
mov dword [eax + 8], ecx
mov cx, word [0x4b0ddc]
mov dword [eax + 0xc], edx
mov dl, byte [0x4b0dde]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [ebp - 0x320]
push 0x4b0de0
push eax
call fcn.0044f946
mov esi, eax
add esp, 8
mov dword [ebp - 0x328], esi
cmp esi, ebx
jne 0x412f92
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4bb7fc
lea ecx, [ebp - 0x330]
push ecx
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x330], eax
call fcn.0045578e
mov edi, 0xf
jmp 0x412fa6
mov esi, dword [ebp - 0x328]
push esi
call fcn.0045036f
add esp, 4
test eax, eax
jne 0x413110
push 0x100
lea edx, [ebp - 0x118]
push ebx
push edx
call fcn.004553e0
add esp, 0xc
push esi
lea eax, [ebp - 0x118]
push 0x100
push eax
call fcn.004503d7
lea eax, [ebp - 0x118]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x412ff0
sub eax, edx
cmp eax, 1
jb 0x412fa6
sub esp, 0x1c
mov ecx, esp
lea eax, [ebp - 0x118]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x334], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
jmp 0x413020
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x413020
sub eax, esi
push eax
lea edx, [ebp - 0x118]
push edx
call fcn.00402450
call fcn.00412840
add esp, 0x1c
cmp eax, ebx
jne 0x412fa0
sub esp, 0x1c
mov ecx, esp
mov eax, str.cqrcb.com
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x334], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x413062
sub eax, esi
push eax
mov eax, str.cqrcb.com
push eax
call fcn.00402450
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
lea eax, [ebp - 0x118]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x338], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x413098
sub eax, esi
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00402450
mov byte [ebp - 4], bl
call fcn.004129a0
add esp, 0x38
mov dword [ebp - 0x324], eax
cmp eax, ebx
jne 0x4130f7
mov ebx, dword [ebp - 0x328]
lea eax, [ebp - 0x118]
call fcn.00412b90
mov dword [ebp - 0x324], eax
test eax, eax
je 0x4130f5
push 0x4bb7fc
lea ecx, [ebp - 0x32c]
push ecx
mov dword [ebp - 0x32c], eax
call fcn.0045578e
xor ebx, ebx
mov dword [ebp - 0x324], ebx
jmp 0x412fa0
cmp esi, ebx
je 0x41311d
push esi
call fcn.0044fdf3
add esp, 4
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044e1ea
mov esp, ebp
pop ebp
ret