joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov eax, dword [0x47319c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xa4ac220b
mov eax, dword [ebp - 0x10]
mov ecx, eax
sub ecx, 0x49ef3d0a
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jg 0x4069fa
jmp 0x4069b8
mov eax, dword [ebp - 0x14]
sub eax, 0xa4ac220b
mov dword [ebp - 0x1c], eax
je 0x406a15
jmp 0x4069ce
mov eax, dword [ebp - 0x14]
sub eax, 0xaa76d09a
mov dword [ebp - 0x20], eax
je 0x406a47
jmp 0x4069e4
mov eax, dword [ebp - 0x14]
sub eax, 0xffbf22e1
mov dword [ebp - 0x24], eax
je 0x406a33
jmp 0x406a10
mov eax, dword [ebp - 0x14]
sub eax, 0x49ef3d0b
mov dword [ebp - 0x28], eax
je 0x406a73
jmp 0x406a10
jmp 0x406a7b
mov eax, 0xaa76d09a
mov ecx, 0xffbf22e1
mov edx, dword [ebp - 4]
cmp edx, 0
cmovne eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x406a7b
mov eax, dword [0x47319c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x49ef3d0b
jmp 0x406a7b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x47319c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0x49ef3d0b
jmp 0x406a7b
mov eax, dword [ebp - 8]
add esp, 0x28
pop ebp
ret
jmp 0x40699c
Function at 0x44b6eb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4728e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004495b5
mov dword [ebp - 0x14], eax
cmp dword [0x474514], edi
jne 0x44b7dc
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x44b769
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44b8bc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x44b8bc
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44b8bc
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x474514], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x474518], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x47451c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x474524], eax
test eax, eax
je 0x44b7d9
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x474520], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44b801
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44b7f4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x44b816
push 4
pop eax
jmp 0x44b8be
cmp dword [ebp - 0x14], edi
je 0x44b816
push dword [0x474514]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x44b7fb
mov eax, dword [0x474520]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x44b874
cmp dword [0x474524], esi
je 0x44b874
push eax
call ebx
push dword [0x474524]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44b874
test eax, eax
je 0x44b874
call ecx
test eax, eax
je 0x44b869
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x44b869
test byte [ebp - 8], 1
jne 0x44b874
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x44b8a4
mov eax, dword [0x474518]
cmp eax, esi
je 0x44b8a1
push eax
call ebx
test eax, eax
je 0x44b8a1
call eax
mov edi, eax
test edi, edi
je 0x44b8a1
mov eax, dword [0x47451c]
cmp eax, esi
je 0x44b8a1
push eax
call ebx
test eax, eax
je 0x44b8a1
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x474514]
call ebx
test eax, eax
je 0x44b8bc
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x44b8be
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449b00
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x401270
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
cmp dword [0x8c4520], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
jne 0x4012a3
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x4a5158]
mov edx, dword [0x4a515c]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
call fcn.00401260
mov eax, dword [0x4a5160]
mov ecx, dword [0x4a5164]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x8c4520]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401348
push 0
lea edx, [ebp - 0x438]
push edx
push 0
call ebx
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8c4520]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401362
mov dword [0x8c3abc], 0xedeb2e40
jmp 0x401374
cmp ecx, 0x3eb
jne 0x401374
mov dword [0x8c3470], 0
mov ecx, dword [ebp - 8]
add ecx, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov esi, edi
shr esi, cl
mov dword [0x8c3ab8], 0xf4ea3dee
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x8c4520], 0x9e6
jne 0x4013ac
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov edx, dword [ebp - 0xc]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
nop
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x24]
cmp dword [0x8c4520], 0x121
jne 0x401412
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
sub dword [ebp - 0x1c], 1
jne 0x4012f0
cmp dword [0x8c4520], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401456
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401470
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8c4520]
mov ecx, dword [0x8c3474]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x401504
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x8c4520], 0x959
jne 0x4014ee
push 0
push 0
call esi
push str.magubidowofanelocidegezifi_wuf_kogizanubobowufefore_taroyopopusenexokuraxupamocor
push 0
push 0
call edi
push 0
push 0
push str.cimiyuvipu
push str.kofegezadojupirucosopigerasicoc
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401270
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014a3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4017b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x8c4520], 0x400
push esi
push edi
jne 0x401803
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
lea esi, [ebp - 0x24]
call fcn.00401900
mov ecx, esi
call fcn.00401920
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
nop
cmp esi, 0xa50
jge 0x401823
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x401839
cmp edi, 0x78d9a205
jne 0x401842
inc esi
cmp esi, 0x1c5d
jl 0x401810
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call ebx
cmp esi, 0x206d47
jg 0x40186f
inc esi
cmp esi, 0x4f6a4
jl 0x401850
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
cmp esi, 0x2b259d
jle 0x401894
cmp ebx, 0x785074d5
jne 0x40189d
inc esi
cmp esi, 0x11915
jl 0x401880
mov edx, dword [0x4a539c]
mov dword [0x8c4520], edx
call fcn.00401540
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, 0x3078f
pop ebx
lea ebx, [ebx]
cmp dword [0x8c4520], 0x51f
jne 0x4018dc
push 0
lea eax, [ebp - 0x824]
push eax
push 0x4a1e18
call esi
sub edi, 1
jne 0x4018c0
mov eax, dword [0x8c3474]
mov dword [0x8c3ab4], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4042cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a47a8]
jne 0x4042d5
repz ret
jmp fcn.00408dcc
Function at 0x40b15a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f76
and dword [ebp - 4], 0
cmp dword [0x4a622c], 0
mov ebx, eax
jne 0x40b20b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2bc
push eax
call fcn.00404f04
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a622c], eax
call esi
push eax
call fcn.00404f04
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a6230], eax
call esi
push eax
call fcn.00404f04
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a6234], eax
call esi
push eax
call fcn.00404f04
pop ecx
mov dword [0x4a623c], eax
test eax, eax
je 0x40b20b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f04
pop ecx
mov dword [0x4a6238], eax
mov eax, dword [0x4a6238]
cmp eax, ebx
je 0x40b263
cmp dword [0x4a623c], ebx
je 0x40b263
push eax
call fcn.00404f7f
push dword [0x4a623c]
mov esi, eax
call fcn.00404f7f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b263
test edi, edi
je 0x40b263
call esi
test eax, eax
je 0x40b25a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b25a
test byte [ebp - 0xc], 1
jne 0x40b263
or dword [ebp + 0x10], 0x200000
jmp 0x40b29c
mov eax, dword [0x4a6230]
cmp eax, ebx
je 0x40b29c
push eax
call fcn.00404f7f
pop ecx
test eax, eax
je 0x40b29c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b29c
mov eax, dword [0x4a6234]
cmp eax, ebx
je 0x40b29c
push eax
call fcn.00404f7f
pop ecx
test eax, eax
je 0x40b29c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a622c]
call fcn.00404f7f
pop ecx
test eax, eax
je 0x40b2bc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2be
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012a0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x84b678], 0x594
mov dword [ebp - 8], eax
jne 0x4012d3
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x42c298]
mov edx, dword [0x42c29c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
call fcn.00401290
mov eax, dword [0x42c2a0]
mov ecx, dword [0x42c2a4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], 0x20
nop
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x84b678]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401364
push ebx
lea edx, [ebp - 0x834]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84b678]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40137e
mov dword [0x84ac14], 0xedeb2e40
jmp 0x40138c
cmp ecx, 0x3eb
jne 0x40138c
mov dword [0x84a5c4], ebx
mov ecx, dword [ebp - 0x18]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
mov dword [0x84ac10], 0xf4ea3dee
add esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x84b678], 0x9e6
jne 0x4013c2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x28]
cmp dword [0x84b678], 0x121
jne 0x401421
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
lea eax, [ebp - 0x18]
call fcn.00401280
sub dword [ebp - 0x1c], 1
jne 0x401310
cmp dword [0x84b678], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401469
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401480
Capabilities:
Set file attributes
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x84b678]
mov ecx, dword [0x84a5c8]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x40150a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x84b678], 0x959
jne 0x4014f4
push 0
push 0
call esi
push str.ritabusorehovawefakavonamukalo
push 0
push 0
call edi
push 0
push 0
push str.cokejihe
push str.legas
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 4]
push eax
call fcn.004012a0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014b3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401600
Capabilities:
Extract resource via kernel32 functions
Get hostname

Disassembly:
push ecx
push 0x42d448
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4262b8
push eax
mov dword fs:[0], esp
sub esp, 0xd84
cmp dword [0x84b678], 0x5b1
push ebx
push esi
push edi
jne 0x4016d5
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea esi, [ebp - 0x34]
call fcn.00401c60
push 0
mov dword [ebp - 4], 0
call fcn.00403c5f
add esp, 4
push 0
push 0
call fcn.00403901
add esp, 8
jmp 0x4015f0
mov eax, dword [0x42c4b0]
mov dword [0x84b67c], eax
mov eax, dword [0x84b678]
add eax, 0x1134b
push eax
push 0
mov dword [0x84b678], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x84a5c8], eax
call fcn.00401530
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea esp, [esp]
cmp esi, 0x2710
jge 0x401723
lea ecx, [ebp - 0x590]
push ecx
push 0
call edi
inc esi
cmp esi, 0x18ea14c
jl 0x401710
xor esi, esi
cmp dword [0x84b678], esi
jbe 0x401792
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.GDI32.dll_SetColorAdjustment]
mov edx, dword [0x84b67c]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x84a5c8]
mov byte [ecx + esi], al
cmp dword [0x84b678], 0xa8
jne 0x401789
push 0
lea edx, [ebp - 0x10]
push edx
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
inc esi
cmp esi, dword [0x84b678]
jb 0x401742
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor esi, esi
mov ecx, dword [0x84b678]
add ecx, esi
cmp ecx, 0xe
jne 0x4017cc
push 0
push 0
push str.yuwazacehawi
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x39621
jl 0x4017a0
call fcn.00401480
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017ee
call fcn.00401510
inc esi
cmp esi, 0x6753f
jl 0x4017e2
mov esi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x84b678], 0x86
jne 0x40184c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xd90]
push eax
push str.fabuz
call esi
push 0
push str.siviwoginabolapofu
push str.bojomecayaviyo
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x401810
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x401870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x84b678], 0x400
push esi
push edi
jne 0x4018af
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.004019a0
mov ecx, esi
call fcn.004019c0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
jmp 0x4018c0
cmp esi, 0xa50
jge 0x4018d3
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4018e9
cmp edi, 0x78d9a205
jne 0x4018f2
inc esi
cmp esi, 0x1c5d
jl 0x4018c0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40191d
inc esi
cmp esi, 0x4f6a4
jl 0x401900
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40193c
cmp ebx, 0x785074d5
jne 0x401945
inc esi
cmp esi, 0x11915
jl 0x401928
mov edx, dword [0x42c4dc]
mov dword [0x84b678], edx
call fcn.00401600
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, 0x3078f
pop ebx
cmp dword [0x84b678], 0x51f
jne 0x40197e
push 0
lea eax, [ebp - 0x824]
push eax
push 0x428da4
call esi
sub edi, 1
jne 0x401962
mov eax, dword [0x84a5c8]
mov dword [0x84ac0c], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4045bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b7a8]
jne 0x4045c5
repz ret
jmp fcn.0040a02c
Function at 0x40cf2a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405266
and dword [ebp - 4], 0
cmp dword [0x42d374], 0
mov ebx, eax
jne 0x40cfdb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d08c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d08c
push eax
call fcn.004051f4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42d374], eax
call esi
push eax
call fcn.004051f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42d378], eax
call esi
push eax
call fcn.004051f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42d37c], eax
call esi
push eax
call fcn.004051f4
pop ecx
mov dword [0x42d384], eax
test eax, eax
je 0x40cfdb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004051f4
pop ecx
mov dword [0x42d380], eax
mov eax, dword [0x42d380]
cmp eax, ebx
je 0x40d033
cmp dword [0x42d384], ebx
je 0x40d033
push eax
call fcn.0040526f
push dword [0x42d384]
mov esi, eax
call fcn.0040526f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d033
test edi, edi
je 0x40d033
call esi
test eax, eax
je 0x40d02a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d02a
test byte [ebp - 0xc], 1
jne 0x40d033
or dword [ebp + 0x10], 0x200000
jmp 0x40d06c
mov eax, dword [0x42d378]
cmp eax, ebx
je 0x40d06c
push eax
call fcn.0040526f
pop ecx
test eax, eax
je 0x40d06c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d06c
mov eax, dword [0x42d37c]
cmp eax, ebx
je 0x40d06c
push eax
call fcn.0040526f
pop ecx
test eax, eax
je 0x40d06c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d374]
call fcn.0040526f
pop ecx
test eax, eax
je 0x40d08c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d08e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret