joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f058
Capabilities:
Send data
Send data on socket

Disassembly:
inc ecx
cmp ecx, 0x4a
jl 0x42e358
mov ecx, dword [ebp - 0x5c]
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x4bd178
mov dl, byte [ebp - 0x53]
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
and eax, 0x80000001
jns 0x4bd14c
dec eax
jmp dword [0x4114c2]
mov ecx, 0xbb8
cdq
idiv ecx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], bl
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
xor ecx, ecx
mov word [ebp - 0x56], dx
lea ebx, [ebx]
mov eax, ecx
and eax, 0x80000001
jns 0x42e36a
dec eax
or eax, 0xfffffffe
inc eax
je 0x42e37b
mov al, bl
not al
imul cl
jmp 0x42e385
mov al, cl
imul bl
mov dl, al
add dl, dl
add al, dl
xor byte [ebp + ecx - 0x52], al
jmp 0x411478
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
mov eax, dword [0x68553c]
push ebx
mov bl, byte [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x5c], eax
je 0x4bd178
call dword [sym.imp.msvcrt.dll_rand]
jmp 0x42e32a
je 0x4bd15d
mov al, dl
not al
imul cl
jmp 0x4bd16a
mov al, cl
imul dl
mov bl, al
add bl, bl
add al, bl
mov bl, byte [ebp + 0xc]
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x4114aa
test esi, esi
je 0x52d303
mov dl, bl
call fcn.004d99b6
jmp 0x52d2ee
mov ecx, dword [ebp - 0x5c]
push 0
push edi
push esi
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dl, bl
call fcn.004d99b6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004453cd
mov esp, ebp
pop ebp
ret

Function at 0x4a1d24
Capabilities:
Encode data using xor

Disassembly:
imul ecx, ecx, 0x7a6c
xor cx, word [eax*2 + 0x57c794]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0xe
jl 0x4a1d54
lea edx, [ebp - 0x33b4]
push edx
push 1
push 0
lea eax, [ebp - 0x318c]
push eax
push connect
jmp 0x4a00fa
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4a013f
xor ecx, ecx
lea edx, [ecx + 1]
imul edx, edx, 0x1991
xor dx, word [ecx*2 + 0x57c7b4]
inc ecx
mov word [ebp + ecx*2 - 0x318e], dx
cmp ecx, 6
jl 0x4a010a
push eax
lea eax, [ebp - 0x318c]
push eax
push edi
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x33b0], 0x3e8
mov byte [ebp - 0x5f4], 0
xor eax, eax
lea ecx, [eax + 1]
jmp dword [0x4a015e]
push ebp
mov ebp, esp
mov eax, 0x33d0
call fcn.004f1e72
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x33bc], eax
mov dword [ebp - 0x33c4], edi
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
jmp 0x426670
Function at 0x4ae26a
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x120], eax
mov eax, dword [0x6852fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x11c], 0xb8
mov dword [ebp - 0x117], 0x3e8
mov word [ebp - 0x113], 0xc200
jmp 0x5634c6
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x110]
mov dword [eax + 8], ecx
mov cx, word [ebp - 0x10c]
mov dword [eax + 0xc], edx
mov dword [0x685670], eax
mov word [eax + 0x10], cx
jmp 0x4532d8
mov edx, dword [0x685674]
push edx
mov ebx, eax
call fcn.004abfd3
mov eax, dword [0x685670]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x124]
push ebx
jmp 0x55f6d0
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp dword [0x48e468]
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x44b6b0
mov eax, 0x18
mov word [ebp - 0x111], ax
mov eax, dword [0x685670]
mov dword [ebp - 0x11b], esi
cmp eax, ebx
jne 0x4532c0
push 0x40
push 0x3000
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
jmp 0x45329c
mov ebx, dword [0x685670]
push edx
call fcn.004abfd3
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004453cd
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x544ece
mov esi, eax
jmp 0x4c1f64
cmp eax, 3
jne 0x544ede
mov esi, eax
jmp 0x4c1f64
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x61e2
xor dx, word [eax*2 + 0x57c2c0]
inc eax
mov word [ebp + eax*2 - 0x10a], dx
cmp eax, 6
jl 0x544ee2
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
jmp 0x48e458
cmp eax, 0xa
jmp dword [0x544f1c]
push ecx
mov ecx, dword [ebp - 0x120]
push edx
push ecx
push edi
call eax
mov esi, eax
cmp dword [0x685674], ebx
jne 0x55f700
mov edi, dword [sym.imp.msvcrt.dll_rand]
call edi
mov word [0x685674], ax
call edi
mov word [0x685676], ax
mov edx, dword [0x685674]
jmp 0x52e570
mov dword [ebp - 0x10f], 0x340fd48b
mov byte [ebp - 0x10b], 0xc3
cmp eax, 6
jne 0x544f13
mov eax, dword [0x685300]
cmp eax, 1
jne 0x544ebe
mov esi, 0x18f
jmp 0x4c1f64
Function at 0x4b5977
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x17b3
xor dx, word [eax*2 + 0x57c290]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 6
jl 0x438a8c
push ebx
push ebx
lea eax, [ebp - 0x10c]
push eax
jmp 0x53d3d8
cmp eax, 0xa
jne 0x51dd8e
mov eax, dword [0x685304]
cmp eax, 0x2800
jne 0x4885fd
mov esi, 0x1a3
jmp 0x4885f8
jmp 0x51dd8e
cmp eax, 0x295a
jne 0x488612
mov esi, 0x1a6
jmp 0x51dd8e
cmp eax, 0x3839
jne 0x488627
mov esi, 0x1a8
jmp 0x51dd8e
cmp eax, 0x3ad7
jne 0x53d3aa
jmp dword [0x48863b]
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x124], eax
mov eax, dword [0x6852fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x128], ecx
mov byte [ebp - 0x120], 0xb8
mov dword [ebp - 0x11b], 0x3e8
mov word [ebp - 0x117], 0xc200
jmp 0x4bd7b8
mov dword [ebp - 0x113], 0x340fd48b
mov byte [ebp - 0x10f], 0xc3
cmp eax, 6
jne 0x438abd
mov eax, dword [0x685300]
cmp eax, 1
jne 0x4bd7e8
lea esi, [ebx + 0x13]
jmp 0x51dd8e
cmp eax, 2
jne 0x4bd7fb
mov esi, 0x196
jmp 0x51dd8e
cmp eax, 3
jne 0x438a8a
mov esi, 0x19b
jmp 0x51dd8e
mov eax, 0x18
mov word [ebp - 0x115], ax
mov eax, dword [0x685660]
mov dword [ebp - 0x11f], esi
cmp eax, ebx
jne 0x51ea81
push 0x40
push 0x3000
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x118]
mov dword [eax + 4], edx
jmp 0x51ea60
mov edx, dword [ebp - 0x114]
mov dword [eax + 8], ecx
mov cx, word [ebp - 0x110]
mov dword [eax + 0xc], edx
mov dword [0x685660], eax
mov word [eax + 0x10], cx
jmp 0x51ea99
mov edx, dword [0x685664]
push edx
mov ebx, eax
call fcn.004abfd3
mov eax, dword [0x685660]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x124]
jmp dword [0x51eaac]
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x2d67
xor cx, word [eax*2 + 0x57c2a0]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 6
jl 0x53d3ac
push ebx
push ebx
lea edx, [ebp - 0x10c]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp dword [0x53d3e5]

Function at 0x4b774a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x68553c]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jmp 0x521eae
cmp esi, dword [ebp + 0xc]
jl 0x521eb5
cmp edi, 0xffffffff
pop edi
jne 0x4ce301
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jle 0x4ce301
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x100000
jle 0x521eca
mov eax, 0x100000
push 0
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jle 0x4ce2ee
mov eax, dword [0x685540]
add esi, edi
mov dword [ebp - 8], esi
test eax, eax
je 0x4ce2e5
fild dword [ebp - 4]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp - 8]
fstp dword [esp + 4]
fild dword [ebp + 0xc]
jmp dword [0x521f18]
Function at 0x4ce587
Capabilities:
Encode data using xor

Disassembly:
ret 0xc
xor esi, esi
test eax, eax
jle 0x4adff7
lea ebx, [edi + 8]
mov eax, dword [ebp - 0x110]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x4adfe5
inc esi
add ebx, 0x2048
cmp esi, dword [edi]
jl 0x4133ea
jmp 0x4adfe0
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004453cd
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 0x100], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*8 + 0x104], edx
inc dword [ecx + 0x2040]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.004453cd
mov esp, ebp
pop ebp
ret 0xc
jmp 0x4adff7
imul esi, esi, 0x2048
lea ecx, [esi + edi + 8]
test ecx, ecx
jne 0x4ae027
mov ecx, dword [edi]
mov eax, dword [ebp - 0x110]
imul ecx, ecx, 0x2048
lea ecx, [ecx + edi + 8]
mov esi, ecx
mov dword [ecx + 0x2040], 0
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x4ae017
inc dword [edi]
mov eax, dword [ecx + 0x2040]
cmp eax, 0x3e8
jl 0x4595a8
jmp 0x54098a
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [edi]
jmp 0x4e55d6
push ebx
push esi
cmp eax, 0x64
jl 0x4133dd
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x63cd
xor cx, word [eax*2 + 0x57c2f8]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 0xc
jl 0x4e55e3
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004453cd
mov esp, ebp
pop ebp
jmp 0x4133da
xor eax, eax
nop
lea edx, [eax + 1]
imul edx, edx, 0x7f0f
xor dx, word [eax*2 + 0x57c314]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 0xd
jl 0x54098d
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x459596
Function at 0x4df3c3
Capabilities:
Encode data using xor
Get hostname

Disassembly:
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
jmp 0x545b9e
inc eax
test cl, cl
jne 0x5463fa
mov edx, dword [ebp - 0x3e0]
push 1
lea eax, [ebp - 0x3dc]
push eax
push 0
push 0
mov byte [ebp + edx - 0x10c], 0
mov dword [ebp - 0x3dc], 0x1a8
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x3b8]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4382ba
lea edi, [ebp - 0x10c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
jmp dword [0x4382d8]
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
jmp 0x546a1a
call fcn.004453cd
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x3e0], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x438287
lea ecx, [eax + 1]
imul ecx, ecx, 0x7b11
xor cx, word [eax*2 + 0x57cb20]
inc eax
mov word [ebp + eax*2 - 0x236], cx
cmp eax, 5
jl 0x5463d0
xor eax, eax
jmp 0x5463fa
mov cl, byte [ebp + eax - 0x234]
mov byte [ebp + eax - 0x10c], cl
jmp 0x43827e
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], ebx
test eax, eax
je 0x428553
test ebx, ebx
je 0x428553
push 0xff
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x5463aa

Function at 0x4e1e68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x6279
xor cx, word [eax*2 + 0x57c180]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 7
jl 0x4e1e7d
jmp 0x55d9d8
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4593
xor dx, word [eax*2 + 0x57c190]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x55d9da
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x55da2e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004453cd
mov esp, ebp
pop ebp
ret
push esi
call eax
jmp dword [0x55da39]

Function at 0x4ec123
Capabilities:
Encode data using xor

Disassembly:
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
push edi
push esi
call dword [0x689a90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004453cd
jmp 0x41cf28
add eax, ecx
cmp eax, 0xa
jl 0x544603
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x2a28
xor dx, word [eax*2 + 0x57c58c]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x48ccd5
lea eax, [ebp - 0x108]
jmp dword [0x48cd09]
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
jmp 0x5445e4
mov ecx, 1
mov dword [ebp - 0x20c], eax
test byte [0x689a94], cl
jne 0x44e8ae
or dword [0x689a94], ecx
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x408d
xor dx, word [eax*2 + 0x57c574]
mov word [ebp + eax*2 - 0x108], dx
jmp 0x48ccc8
Function at 0x500f07
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
jmp 0x4eb3fc
mov ecx, 1
test byte [0x689a9c], cl
jne 0x4162c7
or dword [0x689a9c], ecx
xor eax, eax
jmp 0x417c64
lea edx, [eax + 1]
imul edx, edx, 0x3417
xor dx, word [eax*2 + 0x57c268]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x417c64
xor eax, eax
lea edx, [eax + 1]
jmp dword [0x417c96]
push edi
push edx
push esi
push eax
call dword [0x689a98]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004453cd
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
jmp 0x417c46

Function at 0x51b639
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x4fd5c7
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4fd5d5
inc edx
add eax, 0x28
cmp edx, esi
jb 0x4fd5af
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x4fd5d3
jmp 0x4fd5ac

Function at 0x51e8cf
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
jmp 0x4fe4fd
lea edx, [eax + 1]
imul edx, edx, 0x1d8b
xor dx, word [eax*2 + 0x57c240]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x4fe4fd
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4c32
xor dx, word [eax*2 + 0x57c258]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 7
jl 0x4fe523
lea eax, [ebp - 0x108]
jmp dword [0x4fe556]
push 0
push 0
push ebx
push edi
push 0
push 0
push esi
call dword [0x689aa0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004453cd
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x689aa4], cl
jne 0x500ee8
or dword [0x689aa4], ecx
jmp 0x4fe4f6

Function at 0x52d314
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov dword [ebp - 0x538], ecx
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x57c6c0]
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x442780
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push ebx
lea eax, [ebp - 0x434]
push eax
push ecx
jmp dword [0x4427bd]
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
jmp 0x442774
Function at 0x543aaa
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebp - 0x30c]
add esp, 8
neg eax
sbb eax, eax
not eax
and eax, dword [0x68567c]
xor ebx, ebx
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov dword [ebp - 0x310], ebx
cmp dword [eax], ebx
jbe 0x46be9b
lea ebx, [ebx]
movzx ecx, word [eax + ebx + 0x1e]
add ecx, ebx
lea ecx, [ecx + eax + 0x20]
lea esi, [ebp - 0x208]
sub esi, ecx
jmp 0x46eecc
mov eax, dword [ebp - 0x30c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004453cd
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004453cd
mov esp, ebp
pop ebp
ret
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x46eecc
mov edi, dword [ebp - 0x318]
mov ecx, dword [edi]
add ecx, dword [ebp - 0x30c]
mov byte [ebp - 0x1e1], dl
lea esi, [ebp - 0x208]
mov dl, byte [esi]
mov byte [ecx], dl
inc esi
inc ecx
test dl, dl
jne 0x46eef4
mov ecx, dword [ebp - 0x310]
add dword [edi], 0x28
inc ecx
add ebx, 0x11c
mov dword [ebp - 0x310], ecx
cmp ecx, dword [eax]
jb 0x41b8d0
jmp 0x46be84
test ebx, ebx
jne 0x49d698
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x77f7
xor dx, word [eax*2 + 0x57cb2c]
inc eax
mov word [ebp + eax*2 - 0x30a], dx
cmp eax, 3
jl 0x49d65e
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 8
mov eax, dword [esi]
add eax, dword [ebp - 0x30c]
lea edx, [ebp - 0x108]
jmp 0x49d6ab
mov cl, byte [edx]
jmp 0x541738
call 0x42ef55
mov edi, dword [ebp - 0x310]
add dword [esi], 8
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x30c]
xor ebx, ebx
mov dword [eax], edi
test edi, edi
jle 0x541750
mov edx, dword [ebp - 0x314]
mov eax, dword [edx + ebx*4]
push 0
push 0
push 0x100
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [eax + 0x3c]
push 0x100
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [ebp - 0xe1], 0
jmp 0x49d654
mov byte [eax], cl
inc edx
inc eax
test cl, cl
jne 0x49d6ab
add dword [esi], 0x28
inc ebx
cmp ebx, edi
jl 0x4b6b3c
mov eax, dword [0x68567c]
mov dword [ebp - 0x314], 0
test eax, eax
jne 0x54177e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x64000
mov ecx, eax
call fcn.004a3e3f
mov dword [0x68567c], eax
push 0x64000
push 0xb
lea edi, [ebp - 0x314]
mov esi, eax
call fcn.00500f07
jmp 0x41b8a0
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
push 0x32000
mov dword [ebp - 0x318], esi
mov dword [esi], 0
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
lea ebx, [ebp - 0x310]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x310], 0
jmp 0x4b6b16
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x53dd9c
push eax
push dword fs:[0]
push ebx
add byte [eax + 0x64], dl
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xe7
mov dword [0x98c0ec09], eax
mov eax, dword [0xf6a8b15c]
jecxz 0x401003
xor dword [ecx], ecx
iretd
ljmp 0x2bdb:0xc41a7522
jne 0x40109c
invalid
mov ch, byte [edx + 0x477bf67f]
jle 0x4010d4
salc
rcr cl, 1
cwde
add al, 0x60
sub byte [ecx + 0x485b75a6], bh
adc byte [eax], cl
xor eax, 0x4156615a
clc
or edi, dword [esi + 0x54]
xchg byte [ebx + 0x456a3141], bl
adc dword [edx + 0x30], ecx
jno 0x401110
sbb ebx, edi
cmp al, 0x6e
jae 0x40107e
out dx, al
aad 0x69
sub dword [edi + 0x33], ebx
retf
push ebp
mov cs, edx
mov bl, byte [edx + 0x3812e7a7]
adc eax, 0x31bdc80d
movsd dword es:[edi], dword [esi]
fild qword [eax]
add ch, al
cmpsd dword [esi], dword es:[edi]
dec eax
ret
Function at 0x41f630
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ac3fb
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.004a0b40
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41f6b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049e882
mov eax, dword [eax]
push 0x5a6cf4
push eax
call fcn.00490a24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a0dcb
test bl, bl
je 0x41f6b2
push 0x5a6cf4
lea ecx, [esp + 0xc]
call fcn.004a115b
push 0x5a6d00
lea ecx, [esp + 0xc]
call fcn.004a115b
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 0x41f6ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a0dcb
jmp 0x41f7b9
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 0x41f772
lea edx, [esp + 0x7c]
push 0x5a6cfc
push edx
call fcn.00490a24
add esp, 8
test eax, eax
je 0x41f772
lea eax, [esp + 0x7c]
push 0x5a6cf8
push eax
call fcn.00490a24
add esp, 8
test eax, eax
je 0x41f772
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 0x41f702
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.004a0dcb
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 0x41ffc0
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 0x420022
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