joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100029c8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000109a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10002a57
jmp 0x10002b2c
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.100026a1
lea ecx, [0x100024f3]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x54], 0x11c800
mov edx, dword [0x10014a00]
mov dword [esp + 0x50], edx
mov edx, dword [0x10014a04]
mov dword [esp + 0x44], edx
mov edx, dword [0x10014a08]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10014a0c]
mov dword [esp + 0x68], edx
mov edx, dword [0x10014a10]
mov dword [esp + 0x5c], edx
mov dword [0x10014a14], 0xca7
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10002a84
lea eax, [esp + 0x38]
mov dword [0x10014a14], 0x142d
mov dword [esp + 0x18], eax
call fcn.10002292
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x100029ec
jmp 0x10002b24
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10002aa7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10002ac5
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x10014a18], 0xfffff8b4
mov dword [esp + 0x1c], eax
jmp 0x10002a84
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x40], esi
mov dword [0x10014a14], 0x2489
mov dword [0x10014a18], 0xae5
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1000254c
mov dword [0x10014a18], 0x74c
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10002b36
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10014a1c], 0
mov dword [0x10014a20], 0
mov dword [0x10014a2c], 0
mov ebx, dword [0x10014a18]
add ebx, 0xffffeb05
mov dword [0x10014a14], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10002cc5
jmp 0x10002bba
mov eax, dword [0x10014a1c]
mov ecx, dword [0x10014a20]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10014a14], 0x1641
mov dword [0x10014a18], 0xf08
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10014a1c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10014a20], edx
mov dword [0x10014a14], 0x160e
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10014a24], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10014a24]
mov edx, dword [0x10014a20]
mov byte [edi + edx], cl
mov edx, dword [0x10014a1c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10014a20]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10014a2c], ebx
mov dword [0x10014a14], 0x2a72
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov edx, dword [0x10014a18]
add edx, 0xfffff0cb
mov dword [0x10014a18], edx
mov dl, cl
add dl, byte [0x10014a31]
mov byte [0x10014a30], dl
mov byte [0x10014a31], ch
mov byte [0x10014a32], cl
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x10014a14], 0x138b
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
jne 0x10002ba3
mov dword [0x10014a18], 0x232
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002ed8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10014a18], 0x2446
mov dword [0x10014a20], 0
mov byte [0x10014a24], 0
mov dword [0x10014a1c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x10002f1f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10014a14]
add eax, 0xcff
mov dword [0x10014a18], eax
mov eax, dword [0x10014a1c]
add eax, 1
mov dword [0x10014a1c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10002f1f
xor eax, eax
mov dword [0x10014a14], 0x1e5b
mov dword [0x10014a1c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10014a28], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10014a18], 0x1a8e
mov edi, dword [0x10014a20]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10014a28], esi
mov dword [0x10014a14], 0x1721
mov eax, esi
cdq
idiv ecx
mov dword [0x10014a20], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10014a24], cl
mov dword [0x10014a14], 0x1c4e
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10014a24]
mov esi, dword [0x10014a20]
mov byte [ebx + esi], cl
mov dword [0x10014a18], 0x257f
mov esi, dword [0x10014a1c]
add esi, 1
mov dword [0x10014a1c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10002f6d
mov dword [0x10014a14], 0x1a3f
mov dword [0x10014a18], 0x213
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4035f8
Capabilities:
Terminate process

Disassembly:
jmp 0x461189
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x46119a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004059b1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40372e
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a49ec
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a49fd
pop esi
ret
push ebx
push edi
push esi
call fcn.004a48d3
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040402a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a4a25
push ebx
push esi
push edi
call fcn.0040579a
add esp, 0xc
push 0
call fcn.0040631b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x40585d
Capabilities:
Parse pe header

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

Function at 0x44d7aa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00403797
mov eax, dword [eax + 0x14]
test eax, eax
je 0x44d7ed
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x44d7ed
sub eax, 1
je 0x44d7e8
sub eax, 1
je 0x44d7e4
xor eax, eax
leave
ret
push 3
jmp 0x44d7ef
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x4a2ec5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4da0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a2f10
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a3387
test al, al
jne 0x4a2f0a
sub edx, 2
cmp edx, edi
jne 0x4a2ef0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a2f32
lea eax, [edi + 2]
cmp edx, eax
je 0x4a2f32
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a2abe
add esp, 0x10
jmp 0x4a302c
push esi
lea ecx, [ebp - 0x255]
call fcn.004a3387
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a2f75
push dword [ebp - 0x25c]
jmp 0x4a2f22
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a2fb2
cmp word [ebp - 0x226], 0
je 0x4a2fd3
cmp word [ebp - 0x226], ax
jne 0x4a2fb2
cmp word [ebp - 0x224], 0
je 0x4a2fd3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a2abe
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a301f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a2f8c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a3007
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a302c
push 0x4a24a6
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405605
add esp, 0x10
jmp 0x4a2ffc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403094
leave
ret
Function at 0x4b5994
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4dd8a8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b59d4
cmp byte [ebx], 0xa
jne 0x4b59d4
or byte [eax + edi + 0x28], 4
jmp 0x4b59d9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4b5ad7
mov al, byte [edx]
cmp al, 0x1a
je 0x4b5ab9
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4b5a08
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4b5a2d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4b5a37
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4b59ea
jmp 0x4b5ad7
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b5ab4
cmp dword [ebp - 0xc], 0
je 0x4b5ab4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4dd8a8]
test byte [eax + edi + 0x28], 0x48
je 0x4b5a8e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4b5a79
mov byte [esi], dl
jmp 0x4b5a8a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4dd8a8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4b5ad7
cmp byte [ebp - 1], 0xa
jne 0x4b5a9d
cmp esi, ebx
jne 0x4b5a9d
mov byte [esi], 0xa
jmp 0x4b5ad6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401901
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4b5ad7
mov byte [esi], 0xd
jmp 0x4b5ad6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4dd8a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b5ad3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b5ad7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4b5b33
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4dd8a8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b5b76
cmp word [esi], dx
jne 0x4b5b76
or byte [edi + eax + 0x28], 4
jmp 0x4b5b7b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4b5cce
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4b5cae
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4b5bbd
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4b5bf3
cmp eax, edx
jae 0x4b5bff
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4b5b95
jmp 0x4b5cce
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b5caa
cmp dword [ebp - 0x14], 0
je 0x4b5caa
mov eax, dword [ebx*4 + 0x4dd8a8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4b5c82
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4b5c4b
mov word [esi], cx
jmp 0x4b5c7e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4dd8a8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4dd8a8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4dd8a8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4b5cce
pop ebx
cmp word [ebp - 4], bx
jne 0x4b5c93
cmp esi, dword [ebp + 0xc]
jne 0x4b5c93
mov word [esi], bx
jmp 0x4b5ccb
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401901
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4b5cce
push 0xd
jmp 0x4b5cc7
mov ecx, dword [ebx*4 + 0x4dd8a8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b5cc5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b5cce
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x2163238
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0x14]
ja 0x1ee41db
call fcn.0215fed4
push esp
add al, byte [esi + 0xb]
cmp byte [ebp - 0x500a4446], bh
scasb al, byte es:[edi]
dec ebp
push ss
rcl byte [edx + 0x20], 0xfc
sub eax, 0x5fb4dddf
jecxz 0x2163297
das
sal byte [esi - 0x41], cl
mov esi, 0xc5144a39
imul ecx, dword [ebx - 0x43c52d52], 7
loop 0x21632c4
add edx, dword [edx + 0x1ed234a9]
mov dword [0xad21bd8d], eax
sti
xchg ecx, eax
enter 0x5e77, 0x31
sbb ch, cl
loope 0x2163302
idiv byte [ebp - 0x65]
jnp 0x21632bf
cmp byte [esi - 0x7a], 0xf6
cmp dl, 0x13
test al, 0xc9
cld
jno 0x21632aa
lodsd eax, dword [esi]
fcomp st(4)
invalid
pop eax
push edi
sar byte [ebp*4 + 0x4b8b78f0], cl
fiadd word [esi]
adc eax, 0xf2e1451e
mov esp, 0x8f3251ab
sahf
mov bh, dl
les ebp, [ebx + edi*4 + 0x387e7bea]
mov ebx, 0x387e7bea
xor dword [edx + ebx - 0x28], edi
salc
adc eax, 0x921c2ea4
salc
push ds
dec ecx
sub dword [eax], ebp
out 0x52, al
mov al, 0xc
mov al, dh
test al, dl
clc
and eax, dword [ebx]
and ah, byte [eax + 0x134f1cf4]
pop esp
pop ecx
fmul st(4), st(0)
out 2, eax
push edi
xchg esp, eax
mov ah, 0xc7
pop ebp
invalid
arpl word [edx - 0x63a36972], bp
xchg edi, eax
push ss
mov ah, 0x4b
invalid

Function at 0x21696ac
Capabilities:
Encode data using xor

Disassembly:
pushal
repne scasb al, byte es:[edi]
push edi
jmp 0x21633b2
call fcn.0216911f
add byte [eax], al
mov ecx, dword [eax - 0xf88fe2a]
lodsd eax, dword [esi]
add dword [eax], eax
add byte [eax], al
add byte [eax], cl
xlatb
add dword [eax], eax
add byte [eax], al
add byte [edx], bh
dec esi
salc
add dword [eax], eax
add byte [eax], al
add byte [esi], dl
inc esp
scasb al, byte es:[edi]
add dword [eax], eax
add byte [eax], al
add byte [ebx + 0x1d7e1], dl
loope 0x21633b5
add dword [eax], eax
add byte [eax], al
add byte [eax], dh
add byte [eax], al
push ebp
xor byte [esi + 1], ch
add byte [0x1adaf], ch
add byte [eax], al
add byte [eax], al
mov dl, dh
add dword [eax], eax
add byte [eax], al
add dh, ch
jl 0x21633dc
add dword [esi + eax - 0x3a91fe2a], eax
xlatb
add dword [eax], esp
push ebx
salc
add dword [edi - 0x2f], edx
xlatb
add dword [eax + 0x1d648], ebx
add byte [eax], al
add cl, ch
invalid
retf
pushfd
lea esp, [esp + 0x10]
jae 0x215f089
xchg edi, ecx
bsf bx, bp
mov bx, 0x8b0
mov ebx, eax
rol di, 0xd
sal cl, 2
mov edi, eax
not cx
and cx, 0xae1c
mov ecx, 0x104
pushfd
xor al, al
clc
pushal
jmp 0x215f7eb
Function at 0x404310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lodsd eax, dword [esi]
inc ebp
or byte [ebx + 0x40c0c80d], cl
add byte [esi - 0x75], dl
xor eax, sym.imp.MSVCRT.dll_fprintf
push eax
add ecx, 0xffffffa7
push 0x403ff8
push ecx
call [ebx + ecx*4 + 0x10]
enter 0xffffffffffffa942, 0
push 0x5c40f254
or dword [ecx], 0x40
push edx
call esi
mov eax, dword [0x40d2e5]
push str._____n_requests_____Number_of_requests_to_perform_n
push ebx
dec ebx
push eax
call esi
mov ecx, dword [0x533cc0c8]
push 0x6ef1e4
out 0xc1, al
inc eax
push ecx
call esi
mov edx, dword [0xf4c0c8]
jbe 0x404315
int1
inc eax
add byte [ebx - 0xadbf3e], al
salc
mov eax, dword [0x408ec8]
push 0x2a40ef6c
add eax, 0x45
push eax
call esi
mov ecx, dword [0xa9fcb1f5]
fsub dword [eax]
int1
arpl word [eax], ax
fcmovnb st(0), st(1)
inc eax
push ecx
jmp dword [ebx + ecx*4]

Function at 0x40b750
Capabilities:
Terminate process

Disassembly:
inc ecx
add byte [ebp + 0x78e4], bh
sub bh, byte [0x541e81f]
add byte [ebp - 0x57], dh
call 0x706ffa
call dword [0x14c038]
pop ecx
bound esi, qword [eax + 2]
add byte [eax], al
dec ebx
or al, 0xd0
inc eax
add byte [eax + 8], ch
rol byte [eax - 0x65], 1
inc eax
wait
call fcn.0040b92c
mov eax, dword [0x415890]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
jle 0x40b6ca
xor eax, 0x410b45
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
or dword [ebp - 0xaf1bbb], 0x15
inc ebx
rol byte [eax], 0x34
add al, 0xd0
inc eax
add byte [eax - 0x65], ch
cld
inc eax
add al, ch
sub byte [edx], al
add byte [eax], al
push cs
adc eax, 0x40b0ec
mov ecx, dword [ebp - 0x20]
retf
mov edx, 0xd558e3e8
jo 0x40b6a1
les esi, [eax]
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x7f]
mov ecx, dword [eax]
sub al, 9
mov dword [edx - 0x1730af30], ebp
jmp 0x40b7ab
push cs
push edi
dec ebx
mov eax, dword ds:[esp + 0x10]
or eax, eax
jge 0x40b717
inc edi
mov edx, dword [eax + 0xc]
neg eax
neg edx
sbb eax, 0
mov eax, esp
and al, 0x10
mov dword [edx + 0xc], edx
inc ebx
inc esp
and al, 0x65
or eax, eax
jge 0x40b78b
mov edx, dword [esp - 0x16]
neg eax
neg edx
sbb eax, 0
mov dword [esp + 0x18], eax
ja 0x40b7dd
and al, 0x14
or eax, eax
jne 0x40b7aa
mov ecx, dword [esp + 0x14]
ret 0x5644
pop ds
fmul dword [ebx - 0x74ebdbb4]
push esp
and al, 0x10
mov eax, dword [esp + 0xc]
shr ebx, 1
rcr ecx, 1
shr edx, 1
rcr eax, 1
push es
pop ds
dec ecx
hlt
cmp al, 0x44

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
mov ecx, 0x3af414e3
nop
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x4c432fd0
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ff8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fd8
xor eax, eax
push ebp
push 0x402fd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403014
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ca4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x461048], 0
je 0x403d05
cmp word [0x46121c], 0xd7b2
jne 0x403ccd
cmp dword [0x461224], 0
jbe 0x403ccd
mov eax, 0x461218
call dword [0x461234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45f06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45f030], 0
jne 0x403d21
push 0
push 0x45f064
push 0x45f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403e58
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x461049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e20
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc