joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bbf0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x42400c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x38], 0x40
lea eax, [esp + 0x38]
mov dword [esp + 0x18], edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ebx, dword [esp + 0x40]
lea esi, [esp + 0x91]
mov ecx, dword [esp + 0x44]
shrd ebx, ecx, 0x14
mov dword [esp + 0x20], esi
shr ecx, 0x14
mov dword [esp + 0x10], ebx
test ecx, ecx
jne 0x40bc60
cmp ebx, 0xffffffff
jbe 0x40bd46
nop dword [eax]
mov eax, ebx
mov dword [esp + 0x14], ecx
mov edx, 0x6d694b2f
mov edi, 0x12e0be82
mul edx
mov dword [esp + 0x18], eax
mov esi, edx
mov eax, ebx
mul edi
mov edi, eax
mov dword [esp + 0x24], edx
mov eax, ecx
mov ecx, 0x6d694b2f
mul ecx
mov ebx, edx
mov ecx, eax
mov eax, dword [esp + 0x14]
mov edx, 0x12e0be82
mul edx
add ecx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x24]
mov edi, 9
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x18]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x14]
adc edx, eax
mov dword [esp + 0x18], edx
mov edx, esi
sub edx, ecx
sbb ebx, dword [esp + 0x18]
shrd edx, ebx, 1
shr ebx, 1
add edx, ecx
adc ebx, dword [esp + 0x18]
shrd edx, ebx, 0x1d
imul eax, edx, 0x3b9aca00
shr ebx, 0x1d
mov dword [esp + 0x14], ebx
sub esi, eax
mov ecx, esi
mov esi, edx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x20]
nop
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ebx, [eax + edx]
add bl, bl
sub cl, bl
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
sub edi, 1
jne 0x40bd00
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], esi
test ecx, ecx
ja 0x40bc60
jb 0x40bd42
cmp ebx, 0xffffffff
ja 0x40bc60
mov edi, dword [esp + 0x28]
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x40bd46
push ecx
lea eax, [esp + 0x95]
mov ecx, edi
push eax
push esi
call fcn.004056e0
mov ecx, dword [esp + 0x94]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041a4dc
mov esp, ebp
pop ebp
ret
Function at 0x40ca60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c59d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4240f0
call fcn.00404570
mov ecx, esi
call fcn.004082f0
add esp, 0x18
call fcn.00418b90
add esp, 0x18
test eax, eax
je 0x40cb26
sub esp, 0x18
lea esi, [ebp - 0x30]
mov ecx, esp
push 0x4240f0
call fcn.00404570
mov ecx, esi
call fcn.004082f0
mov eax, esi
mov dword [ebp - 4], 0
mov ecx, esp
push eax
call fcn.00404570
call fcn.00418b90
add esp, 0x18
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x40cb40
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x40cb26
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cb1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb76
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a4dc
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x40cb26
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cb1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40cb1c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x416040
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d17d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x42400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.00415ee0
cmp byte [ebp - 0x84], 0
jne 0x416191
xor edx, edx
lea ecx, [ebp - 0x3f]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x18], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x17], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x16], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x15], al
add edx, 4
cmp edx, 8
jb 0x4160d5
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x424028
call fcn.00415ee0
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.00415ee0
xor edx, edx
lea ecx, [ebp - 0x37]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x28], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x27], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x26], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x25], al
add edx, 4
cmp edx, 0x10
jb 0x416144
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.00415f90
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x4161d3
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4161c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4161c9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a4dc
mov esp, ebp
pop ebp
ret
Function at 0x418b90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d565
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x42400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409f80
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [ebp - 0x28]
mov ebx, eax
mov dword [ebp - 0x25c], ebx
test ebx, ebx
jne 0x418c12
mov esi, 2
jmp 0x418cf4
push 0x228
lea eax, [ebp - 0x254]
mov dword [ebp - 0x258], 0x22c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x274]
call fcn.00409810
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, edi
cmp dword [eax + 0x14], 8
jb 0x418c66
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
cmp edx, dword [ebp - 0x18]
jne 0x418c89
test edx, edx
je 0x418c85
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x418c89
add ecx, 2
sub edx, 1
jne 0x418c74
mov bl, 1
jmp 0x418c8b
xor bl, bl
mov ecx, dword [ebp - 0x260]
cmp ecx, 8
jb 0x418ccb
mov edx, dword [ebp - 0x274]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418cc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d4d
push ecx
push edx
call fcn.0041aa32
add esp, 8
test bl, bl
jne 0x418cee
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418c40
xor esi, esi
jmp 0x418cf4
mov esi, dword [ebp - 0x250]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x418d27
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x418d1d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d4d
push ecx
push edi
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x418d5d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418d53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418d53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a4dc
mov esp, ebp
pop ebp
ret
Function at 0x418d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d5b0
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x42400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x414], edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x430]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push 0x20019
push 0
push eax
push closesocket
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00409810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x42c]
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x41c]
cmovae ecx, dword [ebp - 0x42c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x42c]
cmovae ecx, dword [ebp - 0x42c]
push ecx
push eax
push ecx
mov ecx, edi
call fcn.0040a0a0
mov ecx, dword [ebp - 0x418]
cmp ecx, 8
jb 0x418eb0
mov edx, dword [ebp - 0x42c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418ea6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f43
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
cmp ecx, 8
jb 0x418f03
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418ef9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f43
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x418f53
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418f49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418f49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041aa32
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a4dc
mov esp, ebp
pop ebp
ret
Function at 0x41b0d5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41b114
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41b114
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41b114
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41b114
cmp dword [ecx + 0x74], 0xe
jbe 0x41b114
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x446b29
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, 0x33d6
xor cx, word [eax*2 + 0x58d218]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 0xc
jl 0x446b3e
jmp dword [0x446b6a]

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

Disassembly:
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x47bdc2
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x100000
jle 0x46a682
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 0x47bdaf
mov eax, dword [0x696540]
add esi, edi
mov dword [ebp - 8], esi
test eax, eax
je 0x47bda6
fild dword [ebp - 4]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp - 8]
jmp 0x47bd9a
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
call eax
cmp esi, dword [ebp + 0xc]
jl 0x46a66d
cmp edi, 0xffffffff
pop edi
jne 0x47bdc2
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
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x69653c]
jmp 0x46a660

Function at 0x49cd03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
jmp 0x570530
add eax, ecx
cmp eax, 0xa
jl 0x57055c
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x2a28
xor dx, word [eax*2 + str.rL__B]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x4b3ba9
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]
jmp 0x4cd532
mov dword [0x69aa90], eax
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
push edi
push esi
call dword [0x69aa90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004add86
mov esp, ebp
pop ebp
ret 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 1
mov dword [ebp - 0x20c], eax
test byte [0x69aa94], cl
jne 0x4cd537
or dword [0x69aa94], ecx
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x408d
xor dx, word [eax*2 + 0x58d574]
mov word [ebp + eax*2 - 0x108], dx
jmp 0x4b3b9c

Function at 0x49e9ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x696654]
push edi
test esi, esi
jne 0x4c4866
mov dword [0x696654], 0x100
xor edi, edi
jmp 0x49e9d2
mov esi, dword [sym.imp.msvcrt.dll_rand]
call esi
mov word [edi*4 + 0x696688], ax
call esi
mov esi, dword [0x696654]
mov word [edi*4 + 0x69668a], ax
inc edi
cmp edi, esi
jmp 0x4c4860
jb 0x49e9d2
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
inc ecx
mov edi, edx
xor edx, edx
div esi
mov eax, esi
sub eax, edx
mov edx, dword [eax*4 + 0x696684]
xor edx, dword [edi*4 + 0x696688]
xor edx, dword [ebx + ecx*4 - 4]
xor edx, dword [ebp + 8]
mov dword [ebx + ecx*4 - 4], edx
cmp ecx, 0x400
jb 0x4c4868
pop edi
pop esi
pop ebp
ret
Function at 0x4b5bfb
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x696678], 0
push esi
push edi
jne 0x4b2208
push 0xa000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [0x696678], eax
push 0x100000
push 5
lea edi, [ebp - 0x20c]
mov esi, 0x69aaa8
mov dword [ebp - 0x20c], 0
call fcn.00460bff
add esp, 8
jmp 0x4eef88
push ebp
mov ebp, esp
sub esp, 0x210
jmp 0x4b21dc
test eax, eax
je 0x573b2c
xor ecx, ecx
jmp 0x4eef97
lea edx, [ecx + 1]
imul edx, edx, 0x4959
xor dx, word [ecx*2 + 0x58d2e0]
inc ecx
mov word [ebp + ecx*2 - 0x20a], dx
cmp ecx, 4
jl 0x4eef97
push eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x108]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x573b1a
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004add86
mov esp, ebp
pop ebp
ret
mov eax, dword [0x696678]
mov ecx, 0x69aaa8
mov dword [eax], ecx
mov edx, dword [0x69aaa8]
mov esi, 1
test edx, edx
je 0x573b5b
add ecx, edx
mov dword [eax + esi*4], ecx
mov edx, dword [ecx]
inc esi
test edx, edx
jne 0x573b4b
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx], esi
xor ecx, ebp
pop esi
call fcn.004add86
mov esp, ebp
pop ebp
ret

Function at 0x4cd55b
Capabilities:
Encode data using xor

Disassembly:
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x69aa88], eax
push 0
push 0x18
push edi
push 0
push esi
call dword [0x69aa88]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004add86
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 [0x69aa8c], cl
jne 0x45beba
or dword [0x69aa8c], ecx
xor eax, eax
jmp 0x534532
lea edx, [eax + 1]
imul edx, edx, 0xe1e
xor dx, word [eax*2 + str.dh_y_vJHa]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x534532
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5f04
xor dx, word [eax*2 + 0x58d5b4]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x534558
lea eax, [ebp - 0x108]
jmp 0x45bea0
Function at 0x4eda02
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x436d02
mov cl, byte [ebp - 0x53]
xor eax, eax
xor byte [ebp + eax - 0x52], cl
inc eax
cmp eax, 0x4a
jl 0x436cf4
mov ecx, dword [ebp - 4]
jmp 0x50b7ca
call esi
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x50], 0xa
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x54], 1
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
mov word [ebp - 0x56], dx
call esi
and eax, 0x800000ff
jns 0x4cf4d1
dec eax
or eax, 0xffffff00
inc eax
cmp byte [ebp - 0x54], 0
mov byte [ebp - 0x53], al
je 0x436cd6
push 0x436cc4
ret
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.msvcrt.dll_rand]
push edi
mov edi, dword [0x69653c]
jmp 0x4cf494
pop edi
xor ecx, ebp
pop esi
call fcn.004add86
mov esp, ebp
pop ebp
ret
Function at 0x52dbd1
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Terminate process

Disassembly:
call edi
mov word [0x696666], ax
mov eax, dword [0x696664]
mov ebx, dword [0x696660]
push eax
call fcn.0049e9ae
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004add86
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x696664]
push edx
mov ebx, eax
call fcn.0049e9ae
mov eax, dword [0x696660]
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x124]
push 0x40
push 0x3000
push ecx
push ebx
push edx
push edi
call eax
mov esi, eax
cmp dword [0x696664], ebx
jne 0x46f20c
mov edi, dword [sym.imp.msvcrt.dll_rand]
call edi
mov word [0x696664], ax
jmp 0x46f204
mov esi, 0x19b
jmp 0x4b05d9
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x17b3
xor dx, word [eax*2 + 0x58d290]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 6
jl 0x4a27a6
push ebx
push ebx
lea eax, [ebp - 0x10c]
push eax
jmp 0x4b05c4
cmp eax, 0xa
jmp dword [0x4a27e2]
mov dword [ebp - 0x113], 0x340fd48b
mov byte [ebp - 0x10f], 0xc3
cmp eax, 6
jne 0x4a27d7
mov eax, dword [0x696300]
cmp eax, 1
jne 0x4a540c
lea esi, [ebx + 0x13]
jmp 0x4b05d9
cmp eax, 2
jne 0x4a541f
mov esi, 0x196
jmp 0x4b05d9
cmp eax, 3
jne 0x4a27a4
jmp 0x4a279a
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x18
mov word [ebp - 0x115], ax
mov eax, dword [0x696660]
mov dword [ebp - 0x11f], esi
cmp eax, ebx
jne 0x478c84
push 0x40
push 0x3000
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x120]
jmp dword [0x4b061a]
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 [0x6962fc]
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 0x4a53dc

Function at 0x545964
Capabilities:
Enumerate pe sections

Disassembly:
test esi, esi
jbe 0x50a645
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x50a639
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x50a647
inc edx
add eax, 0x28
cmp edx, esi
jb 0x50a621
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]
jmp 0x50a616
Function at 0x54c51c
Capabilities:
Create tcp socket
Create udp socket
Encode data using xor

Disassembly:
push edx
call fcn.0048f7a5
xor eax, eax
mov ecx, esi
xor ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
xor esi, dword [ebp + 8]
push 0x10
lea edx, [ebp - 0x14]
mov word [ebp - 0x12], ax
mov eax, dword [0x69653c]
push edx
push eax
mov dword [ebp - 0x10], esi
push 0x454788
ret
cmp eax, 0xffffffff
jne 0x55f085
xor eax, eax
nop
lea ecx, [eax + 1]
imul ecx, ecx, 0x3295
xor cx, word [eax*2 + 0x58daa8]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 9
jl 0x4aab9e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea edx, [ebp - 0x118]
push edx
push 0x6513c8
jmp 0x55f060
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x69653c], eax
jmp 0x4aab92
call dword [sym.imp.msvcrt.dll_sprintf]
push 0x6513c8
call fcn.0048f7a5
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004add86
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x973
xor cx, word [eax*2 + 0x58dabc]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 5
jl 0x55f08e
lea edx, [ebp - 0x118]
jmp 0x4280fe

Function at 0x552429
Capabilities:
Encode data using xor

Disassembly:
lea edx, [eax + 1]
imul edx, edx, 0x7425
xor dx, word [eax*2 + 0x58d6ec]
inc eax
mov word [ebp + eax*2 - 0x536], dx
cmp eax, 8
jl 0x4244c6
mov ecx, dword [ebp - 0x538]
jmp dword [0x4244f9]
call esi
add esp, 0xc
push 0
push 0x40000000
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x4244c6
cmp edi, 0xffffffff
je 0x4244c6
mov dword [ebp - 0x330], eax
push 0x52d48a
ret
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x58d6c0]
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x522c60
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push ebx
lea eax, [ebp - 0x434]
push eax
push ecx
call esi
add esp, 0xc
xor eax, eax
jmp 0x552da4
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
jmp 0x522c5c
lea ecx, [eax + 1]
imul ecx, ecx, 0x76b6
xor cx, word [eax*2 + 0x58d6d4]
inc eax
mov word [ebp + eax*2 - 0x436], cx
cmp eax, 0xa
jl 0x552da4
push ebx
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x30c]
push eax
jmp 0x4c53a4