joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3b3588
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.003b3520
test al, al
je 0x3b3671
mov eax, dword [ebp - 4]
call fcn.003b34b8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x3b3671
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov edx, dword [ebp - 0x20]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [ebp - 0x24], eax
push 0x40
push 0x3000
mov eax, dword [ebp - 0xc]
push eax
push 0
call fcn.003b3ba4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x3b3671
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.003b3974
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 6]
dec eax
test eax, eax
jb 0x3b366b
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*8 + 0xc]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*8 + 0x14]
add eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*8 + 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.003b3974
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x3b3622
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x3b3a2c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
ret
Function at 0x3b3a44
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
call fcn.003b3a2c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
shl edx, 2
add eax, edx
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.003b398c
test eax, eax
jne 0x3b3ace
mov eax, dword [ebp - 0x14]
add eax, eax
mov edx, dword [ebp - 0x20]
add eax, dword [edx + 0x24]
add eax, dword [ebp - 0x10]
mov ax, word [eax]
and ax, 0xffff
movzx eax, ax
shl eax, 2
mov edx, dword [ebp - 0x20]
add eax, dword [edx + 0x1c]
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0xc], 0
jne 0x3b3ae2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x3b3a7a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x569750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x93000]
push edi
jmp 0x56976a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x569771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x569760
mov eax, 1
add ebx, ebx
jne 0x569783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x569794
jne 0x5697b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5697b3
dec eax
add ebx, ebx
jne 0x5697a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x569778
add ebx, ebx
jne 0x5697af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x569805
xor ecx, ecx
sub eax, 3
jb 0x5697cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56983a
sar eax, 1
mov ebp, eax
jmp 0x5697d6
add ebx, ebx
jne 0x5697d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5697a4
inc ecx
add ebx, ebx
jne 0x5697e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5697a4
add ebx, ebx
jne 0x5697f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5697e6
jne 0x569802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5697e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x569824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x569816
jmp 0x569766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x569824
add edi, ecx
jmp 0x569766
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x569842
cmp byte [edi], 0x11
jne 0x569842
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x569847
lea edi, [esi + 0x162000]
mov eax, dword [edi]
or eax, eax
je 0x5698bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x188f70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x189114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x569874
mov ecx, edi
jns 0x5698a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18911c]
or eax, eax
je 0x5698b9
mov dword [ebx], eax
add ebx, 4
jmp 0x569891
call dword [esi + 0x189118]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5698f0
cmp al, 0xef
ja 0x5698e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5698c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5698d2
mov ebp, dword [esi + 0x189120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x569924
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0xf2d73c7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..reloc
nop
mov ebx, 0x4304d8
mov ecx, 0x5f325b7d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40ec28
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
jmp 0x40ece7
cmp dword [esi + 0x10], 0x1000
jne 0x40ecd3
test byte [esi + 0x15], 1
jne 0x40ecd3
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec84
cmp ebp, 2
je 0x40ec84
cmp ebp, 0x10
je 0x40ec84
cmp ebp, 0x20
jne 0x40eca0
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40eca0
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecb1
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec20
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40eca4
cmp byte [esp + 4], 0
je 0x40ecd3
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ecf3
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec59
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x415fdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4203dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040dd8b
and dword [ebp - 0x14], 0
cmp dword [0x4b6b50], 0
mov dword [ebp - 0x18], eax
jne 0x41608e
push 0x403f10
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416136
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f04
push ebx
call edi
test eax, eax
je 0x416136
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403ef4
push ebx
mov dword [0x4b6b50], eax
call edi
push eax
call esi
push 0x403ee0
push ebx
mov dword [0x4b6b54], eax
call edi
push eax
call esi
push 0x403ec4
push ebx
mov dword [0x4b6b58], eax
call edi
push eax
call esi
mov dword [0x4b6b60], eax
test eax, eax
je 0x41608e
push 0x403eac
push ebx
call edi
push eax
call esi
mov dword [0x4b6b5c], eax
mov eax, dword [0x4b6b5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4160e7
cmp dword [0x4b6b60], ecx
je 0x4160e7
push eax
call esi
push dword [0x4b6b60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4160e7
test ebx, ebx
je 0x4160e7
call edi
test eax, eax
je 0x4160de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4160de
test byte [ebp - 8], 1
jne 0x4160e7
or dword [ebp + 0x10], 0x200000
jmp 0x41611a
mov eax, dword [0x4b6b54]
cmp eax, dword [ebp - 0x18]
je 0x41611a
push eax
call esi
test eax, eax
je 0x41611a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41611a
mov eax, dword [0x4b6b58]
cmp eax, dword [ebp - 0x18]
je 0x41611a
push eax
call esi
test eax, eax
je 0x41611a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b6b50]
call esi
test eax, eax
je 0x416136
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416138
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b0ae
leave
ret
Function at 0x402bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edi, dword [ebp + 8]
push 0xa0000301
push 0
push 0x4b5d0a
push 1
mov ebx, 0x4179f0
call fcn.004165e3
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00401815
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402c0c
push ebx
call fcn.004165dd
add esp, 4
cmp dword [ebp - 8], 0
je 0x402c18
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x402c57
cmp ebx, 0x20
je 0x402c57
cmp ebx, 0xffffffe0
je 0x402c57
jne 0x402c60
add eax, 1
cmp esi, eax
je 0x402c6d
jne 0x402c3c
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x402c71
jne 0x402c38
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x402dd2
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x402e00
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x402df7
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x402def
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x402e21
mov esp, ebp
pop ebp
ret

Function at 0x402e25
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x402e6a
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x402e70
add eax, 4
pop esi
dec esi
push esi
jne 0x402e52
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x41c8a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48eb6b
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.00483b58
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c922
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00481a6a
mov eax, dword [eax]
push 0x4cccc0
push eax
call fcn.00474444
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00483de3
test bl, bl
je 0x41c922
push 0x4cccc0
lea ecx, [esp + 0xc]
call fcn.00484173
push 0x4ccccc
lea ecx, [esp + 0xc]
call fcn.00484173
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 0x41c95e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00483de3
jmp 0x41ca29
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 0x41c9e2
lea edx, [esp + 0x7c]
push 0x4cccc8
push edx
call fcn.00474444
add esp, 8
test eax, eax
je 0x41c9e2
lea eax, [esp + 0x7c]
push 0x4cccc4
push eax
call fcn.00474444
add esp, 8
test eax, eax
je 0x41c9e2
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 0x41c972
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.00483de3
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 0x41d220
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 0x41d282
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 0x41d290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ebeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d66dc]
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 0x41d3c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41d2f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00483de3
xor eax, eax
jmp 0x41d43f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00483f20
push esi
lea ecx, [esp + 0xc]
call fcn.004841af
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 0x41d41d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041d220
test eax, eax
jne 0x41d41d
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.0041d220
test eax, eax
jne 0x41d41d
lea eax, [esp + 0x14]
push 0x4cccdc
push eax
call fcn.004754c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d3fc
lea ecx, [esp + 0x14]
push 0x4cccd8
push ecx
call fcn.00475440
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d3fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41d3ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00483ed0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41d30e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00483de3
xor eax, eax
jmp 0x41d43f
mov byte [esi], 0
push 0x4cccd4
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.00483de3
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 0x42c720
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 0x42c78e
cmp si, 0x69
ja 0x42c78e
add esi, 0xffd0
cmp si, 0x11
je 0x42c75e
push 0x11
call edi
test ax, ax
jge 0x42c75e
or esi, 0x2000
cmp si, 0x10
je 0x42c773
push 0x10
call edi
test ax, ax
jge 0x42c773
or esi, 0x4000
cmp si, 0x12
je 0x42c788
push 0x12
call edi
test ax, ax
jge 0x42c788
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42c79b
mov esi, 0xbd
jmp 0x42c74f
cmp si, 0x6e
jne 0x42c7a8
mov esi, 0xbe
jmp 0x42c74f
cmp si, 0x6f
jne 0x42c749
mov esi, 0xbf
jmp 0x42c74f

Function at 0x42e010
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e6ed0]
xor edx, edx
cmp eax, edx
jne 0x42e036
xor eax, eax
mov byte [eax + 0x4e6dd0], al
inc eax
cmp eax, 0x100
jl 0x42e01e
mov dword [0x4e6ed0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e6dd0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42e0c7
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 0x42e09a
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 0x42e068
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42e140
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 0x42e193
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 0x42e17a
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