Function at 0x4182e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x1b4
mov eax, dword [0x448dd0]
mov ecx, dword [0x448d48]
push ebx
push esi
push edi
push ebp
push 0x105
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
mov ecx, dword [0x448dd0]
push ecx
call fcn.0043f464
lea ecx, [esp + 0x58]
lea edx, [esp + 0xbc]
mov byte [eax + 1], 0
add esp, 8
mov eax, dword [0x448dd0]
mov dword [eax + 0x34bc], 1
push ecx
push edx
push 0x26b
push 0
push 7
push 0
call fcn.00418210
cmp eax, 1
jne 0x41835d
mov eax, dword [0x448dd0]
mov ecx, dword [esp + 0x50]
add eax, 0x34bc
push eax
push ecx
call fcn.0043d300
lea eax, [esp + 0x50]
lea ecx, [esp + 0xb4]
push eax
push ecx
push 0x26c
push 0
push 7
push 0
call fcn.00418210
cmp eax, 1
jne 0x4183cd
push 0x400
mov eax, dword [0x448dd0]
add eax, 0x77e8
mov ecx, dword [esp + 0x54]
push eax
push ecx
call fcn.0043d910
mov eax, dword [0x448dd0]
add eax, 0x77e8
push eax
call fcn.0043d960
test eax, eax
je 0x4183cd
mov eax, dword [0x448dd0]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add eax, 0x77e8
push eax
mov eax, dword [0x448dd0]
add eax, 0x34c0
push eax
call esi
jmp 0x4183d3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x448dd0]
mov ecx, dword [eax + 0x34bc]
add eax, 0x34bc
cmp ecx, 2
je 0x418410
cmp ecx, 3
je 0x418418
cmp ecx, 4
je 0x418425
push 0x105
mov dword [eax], 1
mov eax, dword [0x448dd0]
add eax, 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x418449
mov eax, dword [0x448dd0]
push eax
jmp 0x418441
mov eax, dword [0x448dd0]
add eax, 0x34c0
push eax
jmp 0x41843c
push 0x400
push 0x448f80
call fcn.00441413
add esp, 8
push 0x448f80
mov eax, dword [0x448dd0]
add eax, 0x105
push eax
call esi
mov eax, dword [0x448dd0]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x105
push eax
call ebx
mov ecx, dword [0x448dd0]
cmp byte [ecx + eax + 0x104], 0x5c
je 0x418482
push 0x44b6b0
lea eax, [ecx + 0x105]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call edi
jmp 0x418488
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x30]
push 0x20
push eax
mov ecx, dword [0x448d48]
push 5
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
push ecx
call ebp
mov ecx, dword [0x448dd0]
push ecx
lea eax, [ecx + 0x20a]
push eax
call esi
lea ecx, [esp + 0x30]
mov eax, dword [0x448dd0]
push ecx
add eax, 0x20a
push eax
call edi
lea ecx, [esp + 0x10]
push 0x20
push ecx
mov edx, dword [0x448d48]
push 3
push edx
call ebp
cmp byte [0x448e70], 0
mov ebp, eax
jne 0x418514
mov eax, dword [0x448dd0]
add eax, 0x105
push eax
mov eax, dword [0x448dd0]
add eax, 0x30f
push eax
call esi
lea ecx, [esp + 0x10]
mov eax, dword [0x448dd0]
push ecx
add eax, 0x30f
push eax
call edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1b4
ret
push 0x448e70
call ebx
add eax, ebp
cmp eax, 0x105
jb 0x418559
mov eax, dword [0x448dd0]
add eax, 0x105
push eax
mov eax, dword [0x448dd0]
add eax, 0x30f
push eax
call esi
lea ecx, [esp + 0x10]
mov eax, dword [0x448dd0]
push ecx
add eax, 0x30f
push eax
call edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1b4
ret
push 0x448e70
mov eax, dword [0x448dd0]
add eax, 0x30f
push eax
call esi
lea ecx, [esp + 0x10]
mov eax, dword [0x448dd0]
push ecx
add eax, 0x30f
push eax
call edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1b4
ret