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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ad64
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1007c040]
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 edi, ecx
cmp dword [0x1007c158], 0xf
mov esi, 0x1007c144
mov ebx, dword [0x1007c154]
mov edx, 0x811c9dc5
cmova esi, dword [0x1007c144]
xor ecx, ecx
test ebx, ebx
je 0x1003f952
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1003f941
push edx
push 0x1007c144
lea eax, [ebp - 0x1c]
push eax
call fcn.10043d40
mov ecx, dword [0x10080504]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x10080504]
je 0x1003f99d
push 0x1007c144
call fcn.10042380
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov dword [edi], ecx
movzx eax, ax
test ecx, ecx
je 0x1003f9a9
test ax, ax
jne 0x1003fa2a
jmp 0x1003f9a9
xor eax, eax
mov dword [edi], 0
mov word [edi + 4], ax
push 0x1c
call fcn.100461a6
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0x1007c144
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10018a30
mov dword [esi + 0x18], fcn.10040330
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0
push esi
push 0x10044b50
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1003fa50
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.10044390
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1003fa48
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x1003fa48
mov eax, edi
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.10046167
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x10043250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b3ad
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.100461a6
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10041950
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x10044f10
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x100432d1
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.10046167
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x100432e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b3f5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1007c040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
jbe 0x1004331b
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10043339
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10043327
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.10043d40
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10043356
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x100434c2
cmp dword [0x10080508], 0x6666666
jne 0x1004336d
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x20], 0x10080504
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x1c], 0
call fcn.100461a6
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.10018a30
xor ecx, ecx
mov dword [edi + 0x20], 0
mov word [edi + 0x24], cx
mov dword [ebp - 4], 1
mov edx, dword [0x10080508]
lea eax, [edx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10072050]
mov eax, dword [0x1008051c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10072050]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10080500]
comiss xmm1, xmm0
jbe 0x10043471
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10047580
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x1008051c]
cmp eax, ecx
jae 0x10043453
cmp eax, 0x200
jae 0x10043451
shl eax, 3
cmp eax, ecx
jae 0x10043453
mov eax, ecx
push eax
call fcn.100437d0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10043d40
mov edx, dword [0x10080508]
mov ecx, dword [eax]
jmp 0x10043474
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
inc edx
mov dword [0x10080508], edx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ecx + 4], edi
and esi, dword [0x10080518]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1008050c]
mov edx, dword [eax + esi*8]
cmp edx, dword [0x10080504]
jne 0x100434a6
mov dword [eax + esi*8], edi
jmp 0x100434b8
cmp edx, ecx
jne 0x100434af
mov dword [eax + esi*8], edi
jmp 0x100434bc
mov ecx, dword [ebp - 0x10]
cmp dword [eax + esi*8 + 4], ecx
jne 0x100434bc
mov dword [eax + esi*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x403ae0
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov dword [esp], 0xffffffff
clc
push 0x1000
lea eax, [ebp - 0x340]
call 0x403b57
sub eax, 3
add eax, ecx
add edx, ecx
and ecx, 0
mov edx, 0x18
cmp eax, 0xffd
je 0x403bb9
mov eax, 0x57
push 0
push 0
push 0
cld
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
test ax, 0xfffa
jne 0x403b6c
dec eax
add esp, eax
mov eax, 0x403ba3
add eax, edx
push ebp
push eax
push 0x5e
push 7
push 0
call 0x403bfc
test eax, eax
jne 0x403bce
xor eax, eax
cld
push ecx
jne 0x403bba
lea edx, [esp + 0x2c]
mov dword [edx], 0xff0000
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push 0
jo 0x403bde
inc esp
add byte [edx], ch
cmp eax, 0
lea edx, [esp + 0x30]
jne 0x403bb9
movzx eax, byte [edx + 3]
or al, 0x7f
add esp, 4
mov eax, dword [eax + ebp - 0x7b]
add eax, dword [eax + 0x2c3]
not ax
cld
xor eax, esp
test ax, 0xffff
cld
jne 0x403baa
call 0xff48c8a0
xor al, 0x4d
mov byte [edx + 0x4c], cl
add ah, bh
lea ecx, [eax]
push dword [ecx*2 + 0x4c4a88]
cld
ret 4
xor edx, edx
mov eax, edx
mov ecx, edx
stc
mov eax, sym.imp.KERNEL32.dll_AddAtomA
bnd jmp dword [eax]
cmp ebx, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
inc eax
or ax, 7
lea eax, [eax + 0x18899]
lea eax, [ecx + eax - 0x1783f]
add edx, 0xffffe920
xchg edx, ecx
shr ecx, 2
ret
cdq
mov byte [ecx], al
add byte [ebp - 0x783efe7c], cl
invalid
inc dword [edi + 0x2e9c1ca]
xchg edx, ecx
lock add dword ss:[edx*4 + 0x1268], eax
and eax, 0
sub esp, 0xfffffff0
cld
jne 0x403b52
push 0
mov eax, 0x7ffc12e2
jne 0x403b9d
int1
movsd dword es:[edi], dword [esi]
nop
invalid
Function at 0x403b57
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x464
mov dword [esp], 0xffffffff
clc
push 0x1000
lea eax, [ebp - 0x340]
call 0x403b57
sub eax, 3
add eax, ecx
add edx, ecx
and ecx, 0
mov edx, 0x18
cmp eax, 0xffd
je 0x403bb9
mov eax, 0x57
push 0
push 0
push 0
cld
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
test ax, 0xfffa
jne 0x403b6c
dec eax
add esp, eax
mov eax, 0x403ba3
add eax, edx
push ebp
push eax
push 0x5e
push 7
push 0
call 0x403bfc
test eax, eax
jne 0x403bce
xor eax, eax
cld
push ecx
jne 0x403bba
lea edx, [esp + 0x2c]
mov dword [edx], 0xff0000
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push 0
jo 0x403bde
inc esp
add byte [edx], ch
cmp eax, 0
lea edx, [esp + 0x30]
jne 0x403bb9
movzx eax, byte [edx + 3]
or al, 0x7f
add esp, 4
mov eax, dword [eax + ebp - 0x7b]
add eax, dword [eax + 0x2c3]
not ax
cld
xor eax, esp
test ax, 0xffff
cld
jne 0x403baa
call 0xff48c8a0
xor al, 0x4d
mov byte [edx + 0x4c], cl
add ah, bh
lea ecx, [eax]
push dword [ecx*2 + 0x4c4a88]
cld
ret 4
xor edx, edx
mov eax, edx
mov ecx, edx
stc
mov eax, sym.imp.KERNEL32.dll_AddAtomA
bnd jmp dword [eax]
cmp ebx, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
inc eax
or ax, 7
lea eax, [eax + 0x18899]
lea eax, [ecx + eax - 0x1783f]
add edx, 0xffffe920
xchg edx, ecx
shr ecx, 2
ret
cdq
mov byte [ecx], al
add byte [ebp - 0x783efe7c], cl
invalid
inc dword [edi + 0x2e9c1ca]
xchg edx, ecx
lock add dword ss:[edx*4 + 0x1268], eax
and eax, 0
sub esp, 0xfffffff0
cld
jne 0x403b52
push 0
mov eax, 0x7ffc12e2
jne 0x403b9d
int1
movsd dword es:[edi], dword [esi]
nop
invalid
Function at 0x403560
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x49b22c]
mov ecx, dword [0x498138]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403653
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x49b22c], 0x959
jne 0x403639
push 0
push 0
call esi
push 0
lea eax, [esp + 0x43c]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0x402bf8
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x14]
push eax
call fcn.004033a0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x4035a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x403f60
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42c2a8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [0x49b22c], 0x84
jne 0x403fec
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
push ebx
mov dword [esp + 0x2c], ebx
call fcn.00405689
push ebx
push ebx
call fcn.00405717
add esp, 0xc
mov dword [esp + 0x28], 0xffffffff
cmp dword [esp + 0x1c], 0x10
jb 0x403fdc
mov eax, dword [esp + 8]
push eax
call fcn.004058fe
add esp, 4
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
cmp byte [0x4310e0], bl
jle 0x403ffc
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x430284]
mov edx, dword [0x430258]
mov dword [0x49b22c], ecx
mov dword [0x49bbcc], edx
call fcn.004036a0
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x406edc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e238]
jne 0x406ee6
repz ret
jmp fcn.0040b115
Function at 0x40bc0f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409746
and dword [ebp - 4], 0
cmp dword [0x430fd0], 0
mov ebx, eax
jne 0x40bcc0
push 0x40241c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bd71
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402410
push edi
call esi
test eax, eax
je 0x40bd71
push eax
call fcn.004096d4
mov dword [esp], 0x402400
push edi
mov dword [0x430fd0], eax
call esi
push eax
call fcn.004096d4
mov dword [esp], 0x4023ec
push edi
mov dword [0x430fd4], eax
call esi
push eax
call fcn.004096d4
mov dword [esp], 0x4023d0
push edi
mov dword [0x430fd8], eax
call esi
push eax
call fcn.004096d4
pop ecx
mov dword [0x430fe0], eax
test eax, eax
je 0x40bcc0
push 0x4023b8
push edi
call esi
push eax
call fcn.004096d4
pop ecx
mov dword [0x430fdc], eax
mov eax, dword [0x430fdc]
cmp eax, ebx
je 0x40bd18
cmp dword [0x430fe0], ebx
je 0x40bd18
push eax
call fcn.0040974f
push dword [0x430fe0]
mov esi, eax
call fcn.0040974f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bd18
test edi, edi
je 0x40bd18
call esi
test eax, eax
je 0x40bd0f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bd0f
test byte [ebp - 0xc], 1
jne 0x40bd18
or dword [ebp + 0x10], 0x200000
jmp 0x40bd51
mov eax, dword [0x430fd4]
cmp eax, ebx
je 0x40bd51
push eax
call fcn.0040974f
pop ecx
test eax, eax
je 0x40bd51
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bd51
mov eax, dword [0x430fd8]
cmp eax, ebx
je 0x40bd51
push eax
call fcn.0040974f
pop ecx
test eax, eax
je 0x40bd51
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x430fd0]
call fcn.0040974f
pop ecx
test eax, eax
je 0x40bd71
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bd73
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014060
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008541b
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.1007a443
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x100140e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10078355
mov eax, dword [eax]
push 0x100efc38
push eax
call fcn.1006b0a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1007a6ce
test bl, bl
je 0x100140e2
push 0x100efc38
lea ecx, [esp + 0xc]
call fcn.1007aa5e
push 0x100efc44
lea ecx, [esp + 0xc]
call fcn.1007aa5e
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 0x1001411e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1007a6ce
jmp 0x100141e9
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 0x100141a2
lea edx, [esp + 0x7c]
push 0x100efc40
push edx
call fcn.1006b0a4
add esp, 8
test eax, eax
je 0x100141a2
lea eax, [esp + 0x7c]
push 0x100efc3c
push eax
call fcn.1006b0a4
add esp, 8
test eax, eax
je 0x100141a2
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 0x10014132
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.1007a6ce
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 0x100149f0
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 0x10014a52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10014a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008549b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100f9604]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x10014b98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10014ac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1007a6ce
xor eax, eax
jmp 0x10014c0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1007a80b
push esi
lea ecx, [esp + 0xc]
call fcn.1007aa9a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x10014bed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.100149f0
test eax, eax
jne 0x10014bed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.100149f0
test eax, eax
jne 0x10014bed
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.1006c120
mov esi, eax
add esp, 8
test esi, esi
jne 0x10014bcc
lea ecx, [esp + 0x14]
push 0x100efc50
push ecx
call fcn.1006c0a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10014bcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10014bcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1007a7bb
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10014ade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1007a6ce
xor eax, eax
jmp 0x10014c0f
mov byte [esi], 0
push 0x100efc4c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.1007a6ce
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x10024020
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x1002408e
cmp si, 0x69
ja 0x1002408e
add esi, 0xffd0
cmp si, 0x11
je 0x1002405e
push 0x11
call edi
test ax, ax
jge 0x1002405e
or esi, 0x2000
cmp si, 0x10
je 0x10024073
push 0x10
call edi
test ax, ax
jge 0x10024073
or esi, 0x4000
cmp si, 0x12
je 0x10024088
push 0x12
call edi
test ax, ax
jge 0x10024088
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1002409b
mov esi, 0xbd
jmp 0x1002404f
cmp si, 0x6e
jne 0x100240a8
mov esi, 0xbe
jmp 0x1002404f
cmp si, 0x6f
jne 0x10024049
mov esi, 0xbf
jmp 0x1002404f

Function at 0x10025830
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10109d50]
xor edx, edx
cmp eax, edx
jne 0x10025856
xor eax, eax
mov byte [eax + 0x10109c50], al
inc eax
cmp eax, 0x100
jl 0x1002583e
mov dword [0x10109d50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10109c50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100258e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x100258ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10025888
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10025960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x100259b3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1002599a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret