joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10109380
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x101093a7
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x101093f2
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x101093f6
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10109456
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x10109415
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x10109487
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x1012541c
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x1012541d
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10109460
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10109490
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x20]
call fcn.100d54d0
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov edi, eax
add esp, 8
test edi, edi
je 0x101095f8
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x1010950c
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push ebp
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10109571
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x10109530
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esi + 0x10]
jae 0x1010959d
mov eax, dword [esi + 4]
push 1
push 0x1012541c
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x1012541d
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10109576
push dword [esp + 0x28]
call fcn.100d54d0
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
push dword [edi + 4]
mov eax, dword [ecx + 4]
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [edi]
test esi, esi
jne 0x101095c8
mov esi, dword [ebx + 0xc]
add esi, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ebx + 8]
push esi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push esi
push dword [edi + 8]
call eax
push dword [edi + 8]
mov eax, dword [ebx + 8]
push esi
call eax
push edi
call dword [0x10139004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret
Function at 0x401c00
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
fldz
xor eax, eax
fst dword [esp]
mov dword [esp + 0x20], eax
fstp dword [esp]
mov dword [esp + 0x24], eax
fldz
mov dword [esp + 0x28], eax
fstp qword [esp + 4]
mov dword [esp + 0x1c], 0x44
fld dword [esp]
mov dword [esp + 0x48], 1
fadd qword [0x41f358]
xor ecx, ecx
mov edx, 1
fstp dword [esp]
fld qword [0x425e68]
fld dword [esp]
fsub qword [0x41f3e0]
fadd dword [esp]
mov word [esp + 0x4e], cx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x68]
fsubp st(1)
mov word [esp + 0x50], dx
lea edx, [esp + 0x20]
push edx
fstp qword [0x425e68]
push eax
push eax
push 8
push eax
push eax
push eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x88]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x60
ret

Function at 0x402750
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
fldz
push ebx
push ebp
fst dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x10], 0
fstp dword [esp + 0x14]
push esi
call fcn.0040b068
mov ebx, eax
mov eax, dword [esp + 0x20]
push esi
push eax
push ebx
call fcn.0040b270
mov edi, dword [0x4277a4]
or eax, 0xffffffff
add dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x20]
sub edi, 0x423004
add edi, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
lea ebp, [ebx + esi]
add esp, 0x10
mov esi, ebx
fsub dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
add dword [esp + 0x10], eax
cmp ebx, ebp
je 0x40281d
mov edx, dword [esp + 0x10]
sub edx, 0xdfb86cb
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fadd dword [0x425e2c]
mov eax, dword [0x424744]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
faddp st(1)
call fcn.0040b1c0
mov dword [0x424744], eax
fld dword [0x425e2c]
fsub st(1)
inc esi
inc edi
fstp dword [0x425e2c]
dec dword [esp + 0x10]
mov cl, byte [edi - 1]
xor byte [esi - 1], cl
cmp esi, ebp
jne 0x4027ce
pop edi
fstp st(0)
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret
Function at 0x404010
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
fldz
push ebx
fst dword [esp + 8]
xor eax, eax
push 0x2e
fstp dword [esp + 8]
mov word [esp + 0xc], ax
push 0x4247d4
call fcn.00402750
fld dword [0x424690]
fsub qword [0x41f580]
add esp, 8
lea ecx, [esp + 0xc]
push ecx
fmul dword [esp + 8]
mov ebx, eax
push ebx
push connect
fstp dword [esp + 0x10]
fld dword [0x424690]
fadd qword [0x41f358]
fstp dword [0x424690]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4040de
push esi
push edi
push 0x34
push 0x425df4
call fcn.00402750
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404090
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x1c]
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
push 0x34
xor eax, eax
push ecx
mov word [esp + 0x14], ax
mov word [esp + 0x18], cx
push esi
call fcn.0040b5e0
movzx edx, word [esp + 0x1c]
movzx eax, word [esp + 0x18]
add edx, eax
push esi
mov word [esp + 0x1c], dx
call fcn.0040af8b
add esp, 0x10
pop edi
pop esi
xor edx, edx
push 0x2e
xor ecx, ecx
push edx
mov word [esp + 0xc], cx
mov word [esp + 0x10], dx
push ebx
call fcn.0040b5e0
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x10]
add eax, ecx
push ebx
mov word [esp + 0x14], ax
call fcn.0040af8b
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
add esp, 0xc
ret

Function at 0x404220
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
fstp qword [esp + 0xc]
push edi
push 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
push 0x425d30
call fcn.00402750
mov ebx, dword [esp + 0x24]
mov edi, eax
push edi
push ebx
call fcn.0040be5d
mov esi, eax
add esp, 0x10
mov dword [esp + 0xc], 0xb28852fb
test esi, esi
jne 0x4042da
add dword [esp + 0x10], 0xfa5a6df2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [0x425e8c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fadd dword [0x4230e8]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x425e8c]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
faddp st(2)
fsubrp st(1)
call fcn.0040b1c0
mov dword [esp + 0xc], eax
fld dword [0x4230e8]
fadd qword [0x41f358]
push edi
push ebx
fstp dword [0x4230e8]
call fcn.0040be5d
mov esi, eax
add esp, 8
test esi, esi
je 0x40431b
push esi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0040bfd6
push esi
call fcn.0040ba03
fld dword [0x423690]
fsub qword [0x41f598]
add esp, 0x14
call fcn.0040b1c0
mov word [0x4255dc], ax
fld dword [0x423690]
fadd qword [0x41f358]
fstp dword [0x423690]
xor eax, eax
xor ecx, ecx
mov word [esp + 0xc], cx
mov word [edi], ax
xor edx, edx
mov word [esp + 0x10], dx
mov byte [edi + 2], al
movzx eax, word [esp + 0x10]
movzx ecx, word [esp + 0xc]
add eax, ecx
push edi
mov word [esp + 0x10], ax
call fcn.0040af8b
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x40a650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
fldz
push ebx
fst qword [esp + 0x20]
xor eax, eax
mov word [esp + 0xc], ax
fst qword [esp + 0x18]
push esi
xor esi, esi
mov dword [esp + 0x18], esi
fstp qword [esp + 0x24]
xor ecx, ecx
push edi
mov word [esp + 0x10], cx
mov dword [0x4277ac], esi
cmp dword [0x423680], esi
je 0x40a746
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea ebx, [eax + 1]
movzx edx, word [esp + 0x14]
movsx eax, dx
sub eax, 0x4bbaad9e
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fsub qword [esp + 0x20]
mov cx, word [0x4255d8]
movsx edx, cx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmulp st(1)
call fcn.0040b1c0
mov word [0x4255d8], ax
fld qword [esp + 0x20]
fsub qword [0x41f358]
push 0
push 0
push esi
fstp qword [esp + 0x2c]
add dword [esp + 0x20], ebx
fld qword [esp + 0x2c]
mov ax, word [esp + 0x20]
movsx ecx, ax
sub ecx, 0x3a1b7090
mov dword [esp + 0x24], ecx
push 0x4016b0
mov dword [esi*4 + 0x4272e8], 0
fild dword [esp + 0x28]
push 0
push 0
fsubp st(1)
fstp qword [esp + 0x38]
dec dword [esp + 0x2c]
call edi
movzx edx, word [esp + 0x10]
mov eax, dword [esp + 0x1c]
sub edx, eax
add esi, ebx
sub edx, 0x832bee5
mov word [esp + 0x10], dx
cmp esi, dword [0x423680]
jne 0x40a699
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xffffae58
mov word [esp + 0x10], cx
push 0xa
call edi
fld qword [esp + 0x28]
fsub qword [0x41f970]
fadd dword [0x425db0]
fcomp qword [0x41f968]
fnstsw ax
test ah, 0x41
jne 0x40a7a1
fld qword [esp + 0x20]
fsub qword [0x41f358]
fstp qword [esp + 0x20]
mov edx, dword [0x425bf4]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fsub qword [esp + 0x20]
call fcn.0040b1c0
mov dword [0x425bf4], eax
fld qword [0x41f960]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
fstp qword [esp + 0x28]
dec dword [esp + 0x14]
mov ax, word [esp + 0x14]
movsx ecx, ax
sub ecx, 0x9009dca
mov dword [esp + 0x1c], ecx
mov esi, 0x423684
fild dword [esp + 0x1c]
fstp qword [esp + 0x28]
movzx edx, word [esi]
mov eax, dword [edx*4 + 0x4272e8]
push eax
call ebx
movzx ecx, word [esi]
cmp dword [ecx*4 + 0x4272e8], 0
je 0x40a801
mov edi, edi
push 0xa
call edi
movzx edx, word [esi]
cmp dword [edx*4 + 0x4272e8], 0
jne 0x40a7f0
fld qword [esp + 0x20]
add esi, 2
fadd qword [0x41f958]
fadd qword [0x41f950]
fadd dword [0x424694]
fstp dword [0x424694]
fld qword [esp + 0x20]
fsub qword [0x41f358]
fstp qword [esp + 0x20]
cmp esi, 0x42368c
jne 0x40a7d4
call dword [0x4277ac]
inc ecx
stc
invalid

Function at 0x40b65a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425fa0]
jne 0x40b664
repz ret
jmp fcn.0040f88b
Function at 0x4154e0
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.0040fa0b
and dword [ebp - 4], 0
cmp dword [0x4281d0], 0
mov ebx, eax
jne 0x415591
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x415642
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420998
push edi
call esi
test eax, eax
je 0x415642
push eax
call fcn.0040f999
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4281d0], eax
call esi
push eax
call fcn.0040f999
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4281d4], eax
call esi
push eax
call fcn.0040f999
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4281d8], eax
call esi
push eax
call fcn.0040f999
pop ecx
mov dword [0x4281e0], eax
test eax, eax
je 0x415591
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040f999
pop ecx
mov dword [0x4281dc], eax
mov eax, dword [0x4281dc]
cmp eax, ebx
je 0x4155e9
cmp dword [0x4281e0], ebx
je 0x4155e9
push eax
call fcn.0040fa14
push dword [0x4281e0]
mov esi, eax
call fcn.0040fa14
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4155e9
test edi, edi
je 0x4155e9
call esi
test eax, eax
je 0x4155e0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4155e0
test byte [ebp - 0xc], 1
jne 0x4155e9
or dword [ebp + 0x10], 0x200000
jmp 0x415622
mov eax, dword [0x4281d4]
cmp eax, ebx
je 0x415622
push eax
call fcn.0040fa14
pop ecx
test eax, eax
je 0x415622
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x415622
mov eax, dword [0x4281d8]
cmp eax, ebx
je 0x415622
push eax
call fcn.0040fa14
pop ecx
test eax, eax
je 0x415622
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4281d0]
call fcn.0040fa14
pop ecx
test eax, eax
je 0x415642
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415644
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d4a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ae89b
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.004a32ac
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41d522
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a0b60
mov eax, dword [eax]
push 0x4d4cdc
push eax
call fcn.00490f14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a3537
test bl, bl
je 0x41d522
push 0x4d4cdc
lea ecx, [esp + 0xc]
call fcn.004a38c7
push 0x4d4ce8
lea ecx, [esp + 0xc]
call fcn.004a38c7
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 0x41d55e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a3537
jmp 0x41d629
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 0x41d5e2
lea edx, [esp + 0x7c]
push 0x4d4ce4
push edx
call fcn.00490f14
add esp, 8
test eax, eax
je 0x41d5e2
lea eax, [esp + 0x7c]
push 0x4d4ce0
push eax
call fcn.00490f14
add esp, 8
test eax, eax
je 0x41d5e2
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 0x41d572
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.004a3537
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 0x41de20
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 0x41de82
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 0x41de90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ae91b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e4120]
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 0x41dfc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41def6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a3537
xor eax, eax
jmp 0x41e03f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a3674
push esi
lea ecx, [esp + 0xc]
call fcn.004a3903
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 0x41e01d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041de20
test eax, eax
jne 0x41e01d
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 SysReAllocString
mov ecx, edi
call fcn.0041de20
test eax, eax
jne 0x41e01d
lea eax, [esp + 0x14]
push 0x4d4cf8
push eax
call fcn.00491e76
mov esi, eax
add esp, 8
test esi, esi
jne 0x41dffc
lea ecx, [esp + 0x14]
push 0x4d4cf4
push ecx
call fcn.00491df0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41dffc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41dfff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a3624
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41df0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a3537
xor eax, eax
jmp 0x41e03f
mov byte [esi], 0
push 0x4d4cf0
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.004a3537
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 0x42e9f0
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 0x42ea5e
cmp si, 0x69
ja 0x42ea5e
add esi, 0xffd0
cmp si, 0x11
je 0x42ea2e
push 0x11
call edi
test ax, ax
jge 0x42ea2e
or esi, 0x2000
cmp si, 0x10
je 0x42ea43
push 0x10
call edi
test ax, ax
jge 0x42ea43
or esi, 0x4000
cmp si, 0x12
je 0x42ea58
push 0x12
call edi
test ax, ax
jge 0x42ea58
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42ea6b
mov esi, 0xbd
jmp 0x42ea1f
cmp si, 0x6e
jne 0x42ea78
mov esi, 0xbe
jmp 0x42ea1f
cmp si, 0x6f
jne 0x42ea19
mov esi, 0xbf
jmp 0x42ea1f

Function at 0x4303d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f2518]
xor edx, edx
cmp eax, edx
jne 0x4303f6
xor eax, eax
mov byte [eax + 0x4f2418], al
inc eax
cmp eax, 0x100
jl 0x4303de
mov dword [0x4f2518], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f2418
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x430487
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 0x43045a
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 0x430428
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x430490
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 0x4304e3
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 0x4304ca
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