joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2aab
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0049a4ac
xor ebx, ebx
cmp dword [0x4e67e8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4a2b81
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4a2c61
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c2518
push edi
call esi
cmp eax, ebx
je 0x4a2c61
push eax
call fcn.0049a43e
mov dword [esp], 0x4c2508
push edi
mov dword [0x4e67e8], eax
call esi
push eax
call fcn.0049a43e
mov dword [esp], 0x4c24f4
push edi
mov dword [0x4e67ec], eax
call esi
push eax
call fcn.0049a43e
mov dword [0x4e67f0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00494d4d
test eax, eax
pop ecx
pop ecx
je 0x4a2b4f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048ec3e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4a2b81
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0049a43e
cmp eax, ebx
pop ecx
mov dword [0x4e67f8], eax
je 0x4a2b81
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0049a43e
pop ecx
mov dword [0x4e67f4], eax
mov eax, dword [0x4e67f4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4a2c06
cmp dword [0x4e67f8], ecx
je 0x4a2c06
push eax
call fcn.0049a4b5
push dword [0x4e67f8]
mov esi, eax
call fcn.0049a4b5
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4a2c06
cmp edi, ebx
je 0x4a2c06
call esi
cmp eax, ebx
je 0x4a2bd3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a2bd3
test byte [ebp - 0x18], 1
jne 0x4a2c06
lea eax, [ebp - 0x10]
push eax
call fcn.00494d84
test eax, eax
pop ecx
je 0x4a2bee
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048ec3e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4a2bfd
or dword [ebp + 0x10], 0x200000
jmp 0x4a2c41
or dword [ebp + 0x10], 0x40000
jmp 0x4a2c41
mov eax, dword [0x4e67ec]
cmp eax, dword [ebp - 8]
je 0x4a2c41
push eax
call fcn.0049a4b5
cmp eax, ebx
pop ecx
je 0x4a2c41
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4a2c41
mov eax, dword [0x4e67f0]
cmp eax, dword [ebp - 8]
je 0x4a2c41
push eax
call fcn.0049a4b5
cmp eax, ebx
pop ecx
je 0x4a2c41
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e67e8]
call fcn.0049a4b5
cmp eax, ebx
pop ecx
je 0x4a2c61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a2c63
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a9cce
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4dfb64]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004a9c63
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0048bdc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4a9d1d
cmp dword [ebp - 0x1c], 5
jb 0x4a9d35
jmp 0x4a9d31
cmp dword [ebp - 0x10], 1
jne 0x4a9d35
cmp dword [ebp - 0x1c], 4
ja 0x4a9d31
jne 0x4a9d35
cmp dword [ebp - 0x18], 0
jbe 0x4a9d35
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4c3ea0
call fcn.004a9b37
test eax, eax
jge 0x4a9d56
mov byte [0x4e72c8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048b5ab
add ebp, 0x78
leave
ret
Function at 0x10002bf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
sub esp, 0x22c
mov ecx, dword [eax + 0xc]
push ebx
push ebp
push esi
add ecx, 0xc
push edi
mov ecx, dword [ecx]
xor eax, eax
mov dword [esp + 0x10], ecx
mov ebp, dword [ecx + 0x30]
cmp word [ebp], ax
je 0x10002c20
inc eax
cmp word [ebp + eax*2], 0
jne 0x10002c17
xor edx, edx
xor edi, edi
test eax, eax
je 0x10002c06
nop dword [eax + eax]
movzx esi, word [ebp + edi*2]
mov ebx, esi
lea ecx, [esi - 0x41]
cmp cx, 0x19
ja 0x10002c46
lea ecx, [esi + 0x20]
movzx ebx, cx
imul edx, edx, 0x1003f
inc edi
movzx ecx, bx
add edx, ecx
cmp edi, eax
jb 0x10002c30
mov ecx, dword [esp + 0x10]
cmp edx, 0x90b28dfc
jne 0x10002c06
mov eax, ecx
mov ecx, dword [eax + 0x18]
mov edi, dword [ecx + 0x8281]
lea edx, [ecx + 0x827d]
mov esi, dword [edx]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], esi
movd xmm0, edi
mov dword [esp + 0x10], edi
pshufd xmm1, xmm0, 0
test esi, esi
je 0x10002d32
cmp esi, 0x10
jb 0x10002d1c
lea eax, [edx + 4]
lea edi, [esp + 0x3c]
lea eax, [eax + esi*4]
cmp edi, eax
lea ebx, [esp + esi*4 + 0x38]
mov edi, dword [esp + 0x10]
lea ebp, [edx + 8]
ja 0x10002cba
cmp ebx, ebp
jae 0x10002d1c
mov ebp, esi
lea edi, [esp + 0x44]
lea esi, [esp + 0x54]
and ebp, 0xfffffff0
sub edi, edx
lea eax, [edx + 0x18]
sub esi, edx
nop
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
paddd xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x3c], xmm0
movups xmm0, xmmword [eax - 0x40]
paddd xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x4c], xmm0
add ecx, 0x10
mov ebx, ecx
movups xmm0, xmmword [eax - 0x30]
paddd xmm0, xmm1
movups xmmword [edi + eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x20]
paddd xmm0, xmm1
movups xmmword [esi + eax - 0x40], xmm0
cmp ecx, ebp
jb 0x10002cd0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp ebx, esi
jae 0x10002d32
lea edx, [edx + ecx*4]
add edx, 8
mov eax, dword [edx]
lea edx, [edx + 4]
add eax, edi
mov dword [esp + ecx*4 + 0x3c], eax
inc ecx
cmp ecx, esi
jb 0x10002d22
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0xcc]
add eax, ecx
mov dword [esp + 0x30], ecx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22c
ret
Function at 0x100065a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10007c75
call fcn.10005ff0
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x1c]
mov al, byte [esi]
mov byte [ebp - 0x1c], al
call dword [sym.imp.ICQRT.dll_Ordinal_174]
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_328]
lea ecx, [ebp - 0x1c]
push dword [eax]
push ebx
push esi
call dword [sym.imp.ICQRT.dll_Ordinal_191]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call fcn.1000693c
mov eax, dword [ebp - 0x18]
pop ecx
cmp eax, ebx
jne 0x100065ee
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_142]
lea ecx, [ebp + 0xc]
push ecx
push 1
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006642
mov eax, dword [ebp + 0x10]
push 4
pop esi
mov eax, dword [eax + 4]
mov dword [ebp + 8], esi
cmp eax, ebx
jne 0x10006618
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_142]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x10]
push dword [ebp + 0x14]
push ecx
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x10006639
cmp dword [ebp + 0x10], esi
jne 0x10006639
mov bl, 1
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
call dword [sym.imp.ICQRT.dll_Ordinal_174]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10006661
Capabilities:
Set registry value

Disassembly:
mov eax, 0x10007c89
call fcn.10005ff0
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x24]
mov al, byte [esi]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], al
call dword [sym.imp.ICQRT.dll_Ordinal_174]
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_328]
lea ecx, [ebp - 0x24]
push dword [eax]
push ebx
push esi
call dword [sym.imp.ICQRT.dll_Ordinal_191]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
call fcn.1000693c
mov eax, dword [ebp - 0x20]
pop ecx
cmp eax, ebx
jne 0x100066b5
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_142]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 2
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10006702
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x100066e0
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_142]
lea ecx, [ebp + 0x14]
push 4
push ecx
push 4
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
jne 0x100066f9
mov bl, 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.ICQRT.dll_Ordinal_174]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10006721
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10007c9d
call fcn.10005ff0
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
lea ecx, [ebp - 0x24]
mov al, byte [esi]
push edi
mov byte [ebp - 0x24], al
call dword [sym.imp.ICQRT.dll_Ordinal_174]
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_328]
lea ecx, [ebp - 0x24]
push dword [eax]
push edi
push esi
call dword [sym.imp.ICQRT.dll_Ordinal_191]
and byte [ebp + 0xf], 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], edi
call fcn.1000693c
mov eax, dword [ebp - 0x20]
pop ecx
cmp eax, edi
jne 0x10006774
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_142]
lea ecx, [ebp - 0x14]
push ecx
push 1
pop ebx
push ebx
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000684d
mov esi, 0x105
push esi
call sub.MFC42.DLL_operatornew
mov dword [ebp + 8], ebx
mov ebx, dword [ebp + 0x10]
mov edi, eax
pop ecx
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], esi
test eax, eax
jne 0x100067b2
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_142]
lea ecx, [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
lea ecx, [ebp + 8]
push edi
push ecx
push 0
push eax
push dword [ebp - 0x14]
call esi
cmp eax, 0xea
jne 0x10006802
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebp - 0x10]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov ebx, dword [ebx + 4]
pop ecx
test ebx, ebx
pop ecx
mov edi, eax
jne 0x100067f1
mov ebx, dword [sym.imp.ICQRT.dll_Ordinal_142]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push edi
push eax
push 0
push ebx
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x1000683d
cmp dword [ebp + 8], 1
je 0x10006818
cmp dword [ebp + 8], 7
je 0x10006818
cmp dword [ebp + 8], 2
jne 0x1000683d
mov eax, dword [ebp - 0x10]
mov byte [ebp + 0xf], 1
and byte [eax + edi], 0
test edi, edi
je 0x10006830
push edi
call sub.MSVCRT.dll_strlen
pop ecx
jmp 0x10006832
xor eax, eax
mov ecx, dword [ebp + 0x14]
push eax
push edi
call dword [sym.imp.ICQRT.dll_Ordinal_195]
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.ICQRT.dll_Ordinal_174]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000686e
Capabilities:
Set registry value

Disassembly:
mov eax, 0x10007cb1
call fcn.10005ff0
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x24]
mov al, byte [esi]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], al
call dword [sym.imp.ICQRT.dll_Ordinal_174]
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_328]
lea ecx, [ebp - 0x24]
push dword [eax]
push ebx
push esi
call dword [sym.imp.ICQRT.dll_Ordinal_191]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
call fcn.1000693c
mov eax, dword [ebp - 0x20]
pop ecx
cmp eax, ebx
jne 0x100068c2
mov eax, dword [sym.imp.ICQRT.dll_Ordinal_142]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 2
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000691d
mov eax, dword [ebp + 0x14]
mov ecx, dword [sym.imp.ICQRT.dll_Ordinal_142]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x100068f3
mov eax, ecx
mov esi, dword [ebp + 0x10]
mov esi, dword [esi + 4]
cmp esi, ebx
je 0x100068ff
mov ecx, esi
push edx
push eax
push 1
push ebx
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
jne 0x10006914
mov bl, 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.ICQRT.dll_Ordinal_174]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10006d7a
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x1c], 0
and dword [ecx + 0x18], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
ret
Function at 0x40256c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040271c
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40266a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40260d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402650
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x402624
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40263f
test al, 0x40
je 0x402636
mov ecx, dword [edi + 0x20]
jmp 0x40263d
test al, 0x80
je 0x402650
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402650
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4025dc
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40f6a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47818b
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.0046ca93
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f722
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046a550
mov eax, dword [eax]
push 0x6051f0
push eax
call fcn.0045d184
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046cd1e
test bl, bl
je 0x40f722
push 0x6051f0
lea ecx, [esp + 0xc]
call fcn.0046d0ae
push 0x608d74
lea ecx, [esp + 0xc]
call fcn.0046d0ae
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 0x40f75e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046cd1e
jmp 0x40f829
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 0x40f7e2
lea edx, [esp + 0x7c]
push 0x608d70
push edx
call fcn.0045d184
add esp, 8
test eax, eax
je 0x40f7e2
lea eax, [esp + 0x7c]
push 0x608d6c
push eax
call fcn.0045d184
add esp, 8
test eax, eax
je 0x40f7e2
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 0x40f772
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.0046cd1e
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 0x410020
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 0x410082
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 0x410090
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47820b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x610f10]
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 0x4101c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4100f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046cd1e
xor eax, eax
jmp 0x41023f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046ce5b
push esi
lea ecx, [esp + 0xc]
call fcn.0046d0ea
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x608dac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41021d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00410020
test eax, eax
jne 0x41021d
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 closesocket
mov ecx, edi
call fcn.00410020
test eax, eax
jne 0x41021d
lea eax, [esp + 0x14]
push 0x608d88
push eax
call fcn.0045e1c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4101fc
lea ecx, [esp + 0x14]
push 0x608d84
push ecx
call fcn.0045e140
mov esi, eax
add esp, 8
test esi, esi
jne 0x4101fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4101ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046ce0b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41010e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046cd1e
xor eax, eax
jmp 0x41023f
mov byte [esi], 0
push 0x608d80
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.0046cd1e
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 0x423830
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 0x42389e
cmp si, 0x69
ja 0x42389e
add esi, 0xffd0
cmp si, 0x11
je 0x42386e
push 0x11
call edi
test ax, ax
jge 0x42386e
or esi, 0x2000
cmp si, 0x10
je 0x423883
push 0x10
call edi
test ax, ax
jge 0x423883
or esi, 0x4000
cmp si, 0x12
je 0x423898
push 0x12
call edi
test ax, ax
jge 0x423898
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4238ab
mov esi, 0xbd
jmp 0x42385f
cmp si, 0x6e
jne 0x4238b8
mov esi, 0xbe
jmp 0x42385f
cmp si, 0x6f
jne 0x423859
mov esi, 0xbf
jmp 0x42385f

Function at 0x424f50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x621640]
xor edx, edx
cmp eax, edx
jne 0x424f76
xor eax, eax
mov byte [eax + 0x621540], al
inc eax
cmp eax, 0x100
jl 0x424f5e
mov dword [0x621640], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x621540
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425007
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 0x424fda
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 0x424fa8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425080
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 0x4250d3
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 0x4250ba
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