Function at 0x40aad0
Capabilities:
Get common file path
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1034
call fcn.00409f60
mov eax, dword [0x430008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x271a8c4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor esi, esi
or ebx, 0xffffffff
lea ebx, [ebx]
cmp eax, 0x8cf
jne 0x40ab1c
push 0
push str.xovapexoxoyegolotobepezevi_yiwoxisocelitogogi_tawubevevunetuwibizogiporujaso_tikikodezovufiputocomovacax
lea eax, [ebp - 0x804]
push eax
call edi
mov eax, dword [0x271a8c4]
cmp esi, 0x180
jne 0x40ab33
mov eax, dword [0x431e04]
add eax, 0xa231
mov dword [0x271a8c4], eax
cmp eax, 0x141
jne 0x40ab4a
mov dword [0x4328f0], 0xec58acac
mov dword [0x4328f4], ebx
inc esi
cmp esi, 0x12376ec
jl 0x40ab00
mov edi, dword [sym.imp.KERNEL32.dll_AddAtomA]
xor esi, esi
jmp 0x40ab60
cmp esi, 0x562d05
jne 0x40ab74
mov ecx, dword [0x430fe8]
mov dword [0x271a8c8], ecx
cmp eax, 0x3c
jne 0x40ab82
push 0
call edi
mov eax, dword [0x271a8c4]
inc esi
cmp esi, 0x5f6c74
jl 0x40ab60
cmp eax, 0x7c
jne 0x40ac1c
push 0
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0
lea ecx, [ebp - 0x100c]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
lea edx, [ebp - 0x1004]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [0x271a8c4], 0x2d
jne 0x40ac0d
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
push 0
call fcn.0040110e
mov eax, dword [0x271a8c4]
add esp, 4
cmp eax, 0x110a
jne 0x40acbe
mov ecx, dword [ebp - 0x100c]
xor eax, eax
push ecx
push eax
mov dword [0x271a790], eax
mov dword [0x271a794], eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.xusehobimozacogojihogivo
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
push 0
push 0
lea edx, [ebp - 0x1004]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea eax, [ebp - 0x1020]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
call fcn.00401015
push 0
push 0
call fcn.00401015
push 0
call fcn.0040a4e4
push 0
push 0
call fcn.00401015
push 0
push 0
call fcn.00401119
push 0x42e910
push 0x432868
call fcn.004010db
add esp, 0x2c
push 0
call fcn.004015d4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x271a5e4], eax
cmp dword [0x271a8c4], esi
jbe 0x40ad30
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov ebx, 0x19b0
mov ecx, dword [0x271a8c8]
mov dword [ebp - 0x1008], ecx
mov eax, 0xa231
add dword [ebp - 0x1008], eax
mov edx, dword [ebp - 0x1008]
mov al, byte [edx + esi]
mov ecx, dword [0x271a5e4]
mov byte [ecx + esi], al
cmp dword [0x271a8c4], 0x5ab
jne 0x40ad27
lea edx, [ebp - 0x1028]
push edx
push 0
call edi
mov dword [0x271a5e8], ebx
inc esi
cmp esi, dword [0x271a8c4]
jb 0x40ace1
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0040a7b0
call fcn.0040a780
call fcn.0040aa90
call fcn.0040a770
mov ebx, dword [ebp - 0x102c]
mov edi, dword [sym.imp.KERNEL32.dll_FindAtomA]
xor esi, esi
lea ecx, [ecx]
lea eax, [ebp - 0x404]
push eax
call edi
cmp esi, 0x408e
jle 0x40ad79
cmp ebx, 0xf5bed7
jne 0x40ad82
inc esi
cmp esi, 0x687ed2
jl 0x40ad60
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
mov dword [ebp - 0x1008], 0x1e4165
mov ebx, 0x8e46a6f0
lea ecx, [ecx]
cmp dword [0x271a8c4], 0xcc1
jne 0x40adb0
push 0
call esi
cmp dword [0x271a8c4], 0x7c4
mov dword [0x271a5ec], ebx
jne 0x40adc8
push 0
push 0
call edi
sub dword [ebp - 0x1008], 1
jne 0x40ada0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401006
mov esp, ebp
pop ebp
ret