joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003108
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10030f5
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1003113
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add byte [ebp + 0xf8c784], cl
add byte [eax], al
add byte [ebp + 0xf8c784], cl
add byte [eax], al
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1003171
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1003158
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1003161
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100316b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100314d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10030d7
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10031be
dec eax
je 0x10031b5
sub eax, 3
je 0x10031ac
mov dword [ebp - 4], 0x40
jmp 0x10031db
mov dword [ebp - 4], 4
jmp 0x10031c1
mov dword [ebp - 4], 0x20
jmp 0x10031c1
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100320d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100318d
invalid

Function at 0x10032a1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.01002a2e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.010029e3
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
int 0xfc
invalid
Function at 0x10052d4
Capabilities:
Create directory
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x100b2d0]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
je 0x100537f
mov edi, 0x104
push edi
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.0100342e
test eax, eax
je 0x10053e4
lea eax, [ebp - 0x108]
push eax
mov esi, 0x100bc44
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [0x100c494], 0x20
je 0x1005371
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x12c]
sub eax, ebx
je 0x1005365
dec eax
je 0x100535e
dec eax
je 0x1005357
dec eax
jne 0x1005371
push 0x1001420
jmp 0x100536a
push 0x1001418
jmp 0x100536a
push 0x1001410
jmp 0x100536a
push 0x1001408
push edi
push esi
call fcn.010066cf
push 0x1001271
push edi
push esi
call fcn.010066cf
jmp 0x100538c
push eax
mov esi, 0x100bc44
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.010044bd
xor edi, edi
inc edi
test eax, eax
jne 0x10053ab
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10053c3
mov dword [0x100c880], edi
push ebx
push dword [ebp + 0x10]
push esi
call fcn.0100456a
test eax, eax
je 0x10053cf
mov dword [0x100ba5c], ebx
mov eax, edi
jmp 0x10053e6
call fcn.01003aa1
mov dword [0x100ba5c], eax
jmp 0x10053e4
cmp dword [0x100c880], ebx
je 0x10053e4
push esi
mov dword [0x100c880], ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010064de
leave
ret 0xc
Function at 0x10053fa
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100b2d0]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov dword [0x100c4a4], eax
xor eax, eax
mov ecx, 0x23f
mov edi, 0x100bba0
rep stosd dword es:[edi], eax
push 0x41
mov ecx, 0xcb
mov edi, 0x100c880
rep stosd dword es:[edi], eax
pop ecx
mov edi, 0x100ba80
rep stosd dword es:[edi], eax
push 0x7f
mov esi, 0x100bbb4
xor edi, edi
push esi
xor ebx, ebx
inc edi
push 0x100144c
mov dword [ebp - 0x10c], ebx
mov dword [0x100be4c], edi
call fcn.01002e55
cmp eax, ebx
je 0x100564a
cmp eax, 0x80
ja 0x100564a
push ebx
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [0x100ba50], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 4
push 0x100c494
push 0x1001440
call fcn.01002e55
test eax, eax
je 0x10054d3
test byte [0x100c494], 0xc0
je 0x1005563
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x1001430
call fcn.01002e55
test eax, eax
jne 0x10054f2
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003ebe
mov dword [0x100ba5c], 0x80070714
jmp 0x100565a
lea eax, [ebp - 0x108]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [0x100ba54], eax
je 0x1005563
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1005563
test byte [0x100c494], 0x80
je 0x1005532
push ebx
push 0x10
push ebx
push esi
push 0x54b
push ebx
call fcn.01003ebe
jmp 0x1005548
push 4
push 0x20
push ebx
push esi
push 0x524
push ebx
call fcn.01003ebe
cmp eax, 6
je 0x1005563
push dword [0x100ba54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100ba5c], 0x800700b7
jmp 0x100565a
push dword [ebp - 0x114]
mov dword [0x100ba60], ebx
call fcn.0100359c
test eax, eax
jne 0x1005587
push ebx
push 0x10
push ebx
push ebx
push 0x520
jmp 0x1005654
cmp byte [0x100c89a], bl
je 0x100559e
push 0x100c89a
call 0x1002a96
jmp 0x100565a
push 0xa
push 0x1001424
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x10055c8
push eax
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10c], eax
cmp dword [0x100b2c4], ebx
je 0x10055d6
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
cmp dword [0x100c884], ebx
jne 0x1005646
push dword [ebp - 0x10c]
call fcn.0100488c
test eax, eax
je 0x100565a
mov ax, word [0x100ba64]
cmp ax, di
je 0x1005604
cmp ax, 2
je 0x1005604
cmp ax, 3
jne 0x1005646
test byte [0x100c495], 1
je 0x1005646
test byte [0x100c898], 1
jne 0x1005646
call fcn.01001760
test eax, eax
jne 0x1005646
push 0x83e
push 0x547
push 0x100189d
push ebx
push 0x7d6
push dword [0x100c4a4]
call fcn.01004819
cmp eax, 0x83d
jne 0x100565a
mov eax, edi
jmp 0x100565c
push ebx
push 0x10
push ebx
push ebx
push 0x4b1
push ebx
call fcn.01003ebe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010064de
leave
ret 0xc
Function at 0x100672a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006741
xor eax, eax
jmp 0x1006749
shr eax, 4
not eax
and eax, 1
pop ebp
ret 4

Function at 0x10069ea
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x1006a22
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1006a26
xor eax, eax
jmp 0x1006a3c
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x1007d01
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x1007d3e
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007d1b
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1007d5a
dec esi
je 0x1007d53
dec esi
jne 0x1007d5f
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x401490
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp - 0x210]
mov ebx, eax
xor eax, eax
sub esp, 0x20c
lea esi, [esi]
movzx edx, word [eax + 0x431140]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x4014a8
cmp word [ebp - 0x210], 0
mov edx, esi
je 0x4014d9
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x4014d0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4014e0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x401510
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
lea esi, [ebp - 0x210]
sub esp, 0x20c
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor eax, eax
sub esp, 4
lea esi, [esi]
movzx edx, word [eax + 0x431140]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x401538
cmp word [ebp - 0x210], 0
mov edx, esi
je 0x401569
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x401560
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401570
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x4015a0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x22c
mov dword [ebp - 0x21c], edx
cmp word [0x431140], 0
je 0x4016d0
xor eax, eax
lea edi, [ebp - 0x214]
lea esi, [esi]
movzx edx, word [eax + 0x431140]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x4015d0
cmp word [ebp - 0x214], 0
mov edx, edi
je 0x4015f9
nop
add edx, 2
cmp word [edx], 0
jne 0x4015f0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401600
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x40168f
lea eax, [ebp - 0x218]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x21c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], ebx
test eax, eax
jne 0x4016a0
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp + 8]
sub esp, 4
test eax, eax
je 0x40168f
mov ecx, dword [ebp + 8]
xor eax, eax
lea esi, [esi]
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4016b8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x431140
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
sub esp, 8
jmp 0x4015c4
Function at 0x4035e0
Capabilities:
Copy file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x430
mov dword [ebp - 0x420], edx
cmp word [0x431140], 0
je 0x403770
xor eax, eax
lea edi, [ebp - 0x41c]
lea esi, [esi]
movzx edx, word [eax + 0x431140]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x403610
cmp word [ebp - 0x41c], 0
mov edx, edi
je 0x403639
nop
add edx, 2
cmp word [edx], 0
jne 0x403630
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x403640
lea edx, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edx
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x214]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], 0
call dword [sym.imp.kernel32.dll_CopyFileW]
sub esp, 0xc
mov dword [ebp - 0x424], eax
call fcn.00415b70
mov dword [eax], 0x41a018
mov dword [eax + 4], 0x4c9
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.CopyFileW_failed__error__lu._n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x424]
mov dword [esp], edx
call fcn.00401db0
mov dword [esp], edi
mov dword [esp + 4], pe_nt_image_headers32
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 1
call dword [sym.imp.kernel32.dll_BeginUpdateResourceW]
sub esp, 8
mov edx, eax
mov dword [esp + 0x14], esi
mov eax, dword [ebp - 0x420]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xa
mov dword [ebp - 0x420], edx
call dword [sym.imp.kernel32.dll_UpdateResourceW]
sub esp, 0x18
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x420]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_EndUpdateResourceW]
sub esp, 8
mov dword [esp], edi
mov dword [esp + 8], 2
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x431140
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
sub esp, 8
jmp 0x403604
Function at 0x4172a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00417360
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1400104d
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x14047bac]
push ebx
push esi
push edi
mov edi, 0x80
mov ebx, ecx
mov dword [ebp - 0x118], eax
mov eax, dword [0x14047c94]
push edi
push ebx
mov dword [ebp - 0x114], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor esi, esi
push esi
push edi
push 3
push esi
push 2
push 0x1f01ff
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x14001194
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x114]
mov edi, 0x140398e0
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400d71d
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.1400ce70
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400d71d
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.1400ce70
push 0
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x114]
mov edi, str._06d
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400d71d
add esp, 0xc
push 0
lea eax, [ebp - 0x11c]
push eax
push 6
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400d71d
add esp, 0xc
push 0
lea eax, [ebp - 0x11c]
push eax
push 6
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.140206a2
leave
ret
Function at 0x14001bdd
Capabilities:
Capture screenshot
Enumerate gui resources

Disassembly:
sub esp, 0x224
mov eax, dword [0x14045524]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x206
mov word [esp + 0x24], ax
xor ebx, ebx
lea eax, [esp + 0x26]
push ebx
push eax
call fcn.140209d0
add esp, 0xc
push dword [0x14047c3c]
lea eax, [esp + 0x24]
push str._sazaazzaza.bmp
push eax
call fcn.1400d6f2
add esp, 0xc
push ebx
mov esi, 0x14001bcb
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
push SysReAllocString
push ebx
push ebx
call dword [sym.imp.USER32.dll_OpenInputDesktop]
push ebx
push esi
push eax
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
push 1
lea eax, [esp + 0x24]
push eax
mov edi, 0x1e0
push edi
mov esi, 0x280
push esi
call fcn.1400146f
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x1f4
mov dword [esp + 0x18], eax
call ebp
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40
push edi
push esi
push ebx
push ebx
push 0xffffffffffffffff
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x14], 0x12c
push 1
call fcn.14001e3a
pop ecx
push 0x40
push edi
push esi
push ebx
push ebx
push 0xffffffffffffffff
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xcc0020
push ebx
push ebx
push dword [esp + 0x24]
push edi
push esi
push ebx
push ebx
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
call dword [sym.imp.USER32.dll_ShowCursor]
push 0x64
call ebp
dec dword [esp + 0x14]
jne 0x14001cc6
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.140206a2
add esp, 0x224
ret
Function at 0x14001e3a
Capabilities:
Check for time delay via gettickcount
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x214], ax
xor edi, edi
lea eax, [ebp - 0x212]
push edi
push eax
call fcn.140209d0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push edi
push eax
call fcn.140209d0
mov ecx, dword [0x14047cd4]
add esp, 0xc
lea edx, [ebp - 0x214]
call fcn.1400cecd
mov edx, 0x14039988
lea ecx, [ebp - 0x214]
call fcn.1400ce87
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x650], eax
cmp eax, 0xffffffff
jne 0x14001ed0
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.140206a2
leave
ret
lea ecx, [ebp - 0x64c]
push ecx
push eax
mov dword [ebp - 0x64c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14001efd
xor esi, esi
push dword [ebp - 0x650]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x14001ec1
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.14001403
push dword [ebp - 0x644]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x654], edi
test edi, edi
je 0x1400203c
cmp dword [ebp + 8], 2
jne 0x14001f67
mov eax, str.csrss.exe
lea edx, [ebp - 0x628]
call fcn.1400cf49
test al, al
je 0x14001f5d
mov eax, str.winlogon.exe
lea edx, [ebp - 0x628]
call fcn.1400cf49
test al, al
jne 0x14002030
push 0xffffffffffffffff
push edi
call ebx
jmp 0x14002030
push dword [ebp + 8]
lea esi, [ebp - 0x628]
call fcn.14001d2c
pop ecx
test eax, eax
jne 0x14002030
lea eax, [ebp - 0x214]
push eax
mov eax, esi
push eax
call fcn.14020849
pop ecx
pop ecx
test eax, eax
je 0x14002030
push 0xffffffffffffffff
push edi
call ebx
mov eax, esi
push eax
mov esi, 0x104
push str.Application_cannot_be_executed._The_file__ws_is_infected._nPlease_activate_your_antivirus_software.
mov ecx, esi
lea edi, [ebp - 0x41c]
call section..text
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
pop ecx
call edi
cmp dword [0x14048508], eax
jae 0x14002030
call edi
add eax, 0x2710
cmp dword [0x14047c2c], 0
mov dword [0x14048508], eax
jne 0x14001fe9
mov eax, esi
call fcn.1400dcd5
mov dword [0x14047c2c], eax
cmp dword [0x14047ba8], 0
jne 0x14001ffe
mov eax, esi
call fcn.1400dcd5
mov dword [0x14047ba8], eax
mov edx, dword [0x14047c2c]
lea ecx, [ebp - 0x41c]
call fcn.1400cecd
mov edx, dword [0x14047ba8]
mov ecx, str.WARNING_
call fcn.1400cecd
mov eax, dword [0x14047c0c]
test eax, eax
je 0x14002030
push 9
push eax
call fcn.140096bf
push dword [ebp - 0x654]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x64c]
push eax
push dword [ebp - 0x650]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14001f03
xor esi, esi
inc esi
jmp 0x14001eed
Function at 0x14002100
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 2
call fcn.14001e3a
pop ecx
call fcn.1400205e
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400212f
xor eax, eax
jmp 0x1400217d
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400212b
push 0x80020000
push 0x16
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
pop esi
leave
ret

Function at 0x140022bb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x44
pop edx
lea eax, [ebp - 0x54]
push edx
push eax
call fcn.1400dc5f
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [ebp - 0x54], edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14002303
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop esi
leave
ret