joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453af7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x470be4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00453a8c
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.00438ee0
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 0x453b46
cmp dword [ebp - 0x1c], 5
jb 0x453b5e
jmp 0x453b5a
cmp dword [ebp - 0x10], 1
jne 0x453b5e
cmp dword [ebp - 0x1c], 4
ja 0x453b5a
jne 0x453b5e
cmp dword [ebp - 0x18], 0
jbe 0x453b5e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x463dd8
call fcn.00453960
test eax, eax
jge 0x453b7f
mov byte [0x4721a0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00438282
add ebp, 0x78
leave
ret
Function at 0x1f86a32
Capabilities:
Encode data using xor

Disassembly:
xor al, al
cmc
call fcn.0114ed98
lea esp, [esp + 0xc]
call fcn.01fa37a5
jmp 0x1fa38e6
push dword [esp + 4]
lea esp, [esp + 0xc]
jae 0x1d1df53
add edi, 0xeb115248
sal di, 0xa
movzx ebx, al
and cl, cl
mov ebx, eax
bsf cx, bp
xor ch, dh
xor di, 0x2e62
xadd edi, ecx
mov edi, eax
sub cx, 0x73df
btr ecx, edi
test di, dx
mov ecx, 0x104
cmc
push 0xdbd418c9
jmp 0x1f86a2a
mov al, byte [0x1096ffbc]
mov esp, 0x76dc52f8
xchg esi, eax
adc byte [eax + edi*8 - 0x288923ae], bh
xlatb
push 0x44
sahf
sub byte [edx], dh
leave
xor al, 0xdf
out dx, eax
pop ds
cwde
and al, 0xd8
inc ebx
leave
xor al, 0xbf
shr dword [edi + eax + 3], 1
inc esi
dec ebx
and al, 0x7f
sub eax, 0x50676cec
insb byte es:[edi], dx
push eax
jnp 0x1fa3884
loopne 0x1fa3921
sbb al, 0x7d
adc al, 0xe7
std
sbb byte [esi + 0x42], al
dec ebp
loope 0x1fa388e
fcomp qword [esi - 0x71]
pushal
test dword [edx + 0x2a6d2447], eax
jae 0x1fa38bd
invalid
jge 0x1fa38d8
cmpsd dword [esi], dword es:[edi]
mov ebp, esp
dec edi
sub ebp, edi
cmp edi, esp
jae 0x1fa38e7
popfd
js 0x1fa38ab
int1
scasd eax, dword es:[edi]
outsd dx, dword [esi]
mov byte [ecx], ah
mov esp, 0x4bdf1648
or al, 0x1f
jecxz 0x1fa38d3
call fcn.01f85fea
stosd dword es:[edi], eax
jl 0x1fa3887
jmp dword [esi]
test byte [edx + 0x6b], ah
add eax, 0xca366b13
inc edx
fild qword [esp + eax*8 - 0x61]
sub eax, 0x8c7add38
jmp 0x57c8f9d6
fcom qword [ecx + 0x5932d47a]
not dword [esi - 0x7c5873bc]
outsb dx, byte [esi]
out 2, al
xchg edx, eax
lodsd eax, dword [esi]
or bl, dl
ja 0x1fa38bf
or byte fs:[edi - 0x77], 0x3b
ja 0x1fa3959
pop ss
add dword ss:[0x99cbf470], esp
add dh, dl
sub al, 0xd8
sbb esi, dword [edx - 0x6a3369c5]
mov edi, fs
pop ebp
invalid
and edi, ebp
xchg dh, bh
jge 0x1fa397b
lodsb al, byte [esi]
xchg ebp, eax
and byte [ebx + 0x99eea5e], al
test eax, 0x95194c70
sti
xchg byte [eax + 0x604438dc], bl
sbb ah, bl
pop ds
cmpsb byte [esi], byte es:[edi]
inc ecx
idiv byte [edi]
xor dword gs:[edx - 0x75], 0x793db59a
or al, 0x56
wait
adc bl, byte fs:[esi + 0xaafd488]
test dword [esi], ecx
and eax, 0xdf16bc40
dec edx
invalid

Function at 0x1fa4301
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
jae 0x1fa1855
cmp bh, 0x41
xor ecx, ecx
jmp 0x1f839e5

Function at 0x1fa9f0a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1fab3a0
mov byte [esp + 4], 0x7b
push dword [esp + 8]
pop dword [ebp]
push ebx
push esi
pushal
push dword [esp + 4]
lea esp, [esp + 0x38]
jmp fcn.01fa9ab1
Function at 0x1000895b
Capabilities:
Encode data using xor

Disassembly:
push 0
mov eax, 0x100be2ed
call fcn.100a1841
push dword [ebp + 0x24]
xor esi, esi
mov dword [ebp - 4], esi
call fcn.100642c2
cmp dword [ebp + 0x24], esi
pop ecx
mov ebx, eax
jle 0x100089a3
mov edi, dword [ebp + 0x28]
sub edi, ebx
xor edx, edx
mov eax, esi
div dword [ebp + 0x1c]
lea ecx, [ebp + 8]
push edx
call fcn.10007b72
mov cl, byte [eax]
lea eax, [esi + ebx]
mov dl, byte [edi + eax]
xor dl, cl
inc esi
cmp esi, dword [ebp + 0x24]
mov byte [eax], dl
jl 0x10008981
push 0
push 1
lea ecx, [ebp + 8]
call fcn.1000819d
mov eax, ebx
call fcn.100a1919
ret
Function at 0x10069f50
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x100bff4d
call fcn.100a1841
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x10069f75
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10069fbb
lea ecx, [ebp - 0x10]
call fcn.10001601
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10064483
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100010b0
mov eax, esi
call fcn.100a1919
ret 8

Function at 0x100704cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x10070512
call fcn.100748d1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10070512
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1007052e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.10070045
mov esi, eax
test edi, edi
je 0x1007052c
test ebx, ebx
je 0x1007052c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100711b7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.100748d1
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100711f0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.10070e08
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1007124e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x10071272
cmp dword [edi + 0x54], 0
jne 0x10071272
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.100748d1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1007120f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x100777cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x10077814
call fcn.100748d1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10077814
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x10077857
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x10077840
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x10077840
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x10077854
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1007842f
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
mov ecx, esi
test al, 1
je 0x10078453
mov eax, dword [esi]
push 0
call dword [eax + 0x98]
test eax, eax
jne 0x10078461
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0x98]
jmp 0x1007844d
xor eax, eax
inc eax
pop esi
ret

Function at 0x100845fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.100748d1
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x10084628
xor eax, eax
jmp 0x100846ce
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x10084621
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10084621
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10064293
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x1008467f
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x1008466e
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.1008337e
push edi
mov ebx, eax
call fcn.100642cd
pop ecx
test ebx, ebx
je 0x100846c1
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.10083a10
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.10083ac4
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x1008682c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x100c092f
call fcn.100a1841
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.10002889
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x1008688e
call fcn.10074182
cmp eax, 1
jne 0x1008688e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.1000191e
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.10001848
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.100010b0
mov dword [ebp + 8], reloc.ODBC32.dll_SQLAllocConnect
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100010b0
mov eax, esi
call fcn.100a1919
ret 0x10

Function at 0x100868b7
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x100c092f
call fcn.100a1841
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.10002889
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x10086919
call fcn.10074182
cmp eax, 1
jne 0x10086919
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.1000191e
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.10001848
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.100010b0
mov dword [ebp + 8], reloc.ODBC32.dll_SQLAllocConnect
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100010b0
mov eax, esi
call fcn.100a1919
ret 0x14

Function at 0x100a1832
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100ee20c]
jne 0x100a183c
repz ret
jmp fcn.100aac4c
Function at 0x100b70ad
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.100aa5c3
and dword [ebp - 4], 0
cmp dword [0x10100150], 0
mov ebx, eax
jne 0x100b715e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b720f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100cf834
push edi
call esi
test eax, eax
je 0x100b720f
push eax
call fcn.100aa551
mov dword [esp], 0x100cf824
push edi
mov dword [0x10100150], eax
call esi
push eax
call fcn.100aa551
mov dword [esp], 0x100cf810
push edi
mov dword [0x10100154], eax
call esi
push eax
call fcn.100aa551
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10100158], eax
call esi
push eax
call fcn.100aa551
pop ecx
mov dword [0x10100160], eax
test eax, eax
je 0x100b715e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100aa551
pop ecx
mov dword [0x1010015c], eax
mov eax, dword [0x1010015c]
cmp eax, ebx
je 0x100b71b6
cmp dword [0x10100160], ebx
je 0x100b71b6
push eax
call fcn.100aa5cc
push dword [0x10100160]
mov esi, eax
call fcn.100aa5cc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b71b6
test edi, edi
je 0x100b71b6
call esi
test eax, eax
je 0x100b71ad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b71ad
test byte [ebp - 0xc], 1
jne 0x100b71b6
or dword [ebp + 0x10], 0x200000
jmp 0x100b71ef
mov eax, dword [0x10100154]
cmp eax, ebx
je 0x100b71ef
push eax
call fcn.100aa5cc
pop ecx
test eax, eax
je 0x100b71ef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b71ef
mov eax, dword [0x10100158]
cmp eax, ebx
je 0x100b71ef
push eax
call fcn.100aa5cc
pop ecx
test eax, eax
je 0x100b71ef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10100150]
call fcn.100aa5cc
pop ecx
test eax, eax
je 0x100b720f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b7211
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404112
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp]
sub eax, 0x22
cmp byte [eax], 0xe8
jne 0x4041f1
add eax, dword [eax + 1]
add eax, 5
cmp word [eax], 0x25ff
jne 0x4041f1
mov eax, dword [eax + 2]
push eax
mov eax, dword [eax + 4]
cmp word [eax], 0xe850
jne 0x4041f1
add eax, dword [eax + 2]
add eax, 6
cmp dword [eax], 0x8bec8b55
jne 0x4041f1
push eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x4041a0
lea esi, [ebx + eax]
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
add ebp, ebx
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x404162
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x404153
cmp edx, 0x7946c61b
je 0x404171
dec ecx
jne 0x404149
xor eax, eax
jmp 0x4041a0
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x4041a0
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x4041a0
xor eax, eax
mov dword [esp + 0x1c], eax
popal
test eax, eax
je 0x4041f1
mov dword [ebp - 4], eax
push 0
push esp
push 0x40
push 0x40
push dword [esp + 0x18]
call dword [ebp - 4]
test eax, eax
je 0x4041f1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
sub ecx, eax
sub ecx, 6
mov dword [eax + 2], ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
sub ecx, 0x27
mov dword [eax + 0x23], ecx
push esp
push 0x40
push 0x40
push dword [esp + 0x14]
call dword [ebp - 4]
test eax, eax
je 0x4041f1
pop eax
pop ecx
pop eax
pop dword [eax + 4]
leave
ret
mov eax, 0
jmp 0x4041fb
mov esp, ebp
pop ebp
ret
Function at 0x44b0a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4de62b
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.004d2a09
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44b122
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d05ec
mov eax, dword [eax]
push 0x11b2ce4
push eax
call fcn.004c1e44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d2c94
test bl, bl
je 0x44b122
push 0x11b2ce4
lea ecx, [esp + 0xc]
call fcn.004d3024
push 0x11b2cf0
lea ecx, [esp + 0xc]
call fcn.004d3024
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 0x44b15e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d2c94
jmp 0x44b229
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 0x44b1e2
lea edx, [esp + 0x7c]
push 0x11b2cec
push edx
call fcn.004c1e44
add esp, 8
test eax, eax
je 0x44b1e2
lea eax, [esp + 0x7c]
push 0x11b2ce8
push eax
call fcn.004c1e44
add esp, 8
test eax, eax
je 0x44b1e2
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 0x44b172
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.004d2c94
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 0x44ba40
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 0x44baa2
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 0x44bab0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4de6ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x11c25a0]
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 0x44bbe8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44bb16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d2c94
xor eax, eax
jmp 0x44bc5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d2dd1
push esi
lea ecx, [esp + 0xc]
call fcn.004d3060
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 0x44bc3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0044ba40
test eax, eax
jne 0x44bc3d
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.0044ba40
test eax, eax
jne 0x44bc3d
lea eax, [esp + 0x14]
push 0x11b2d00
push eax
call fcn.004c2f90
mov esi, eax
add esp, 8
test esi, esi
jne 0x44bc1c
lea ecx, [esp + 0x14]
push 0x11b2cfc
push ecx
call fcn.004c2f10
mov esi, eax
add esp, 8
test esi, esi
jne 0x44bc1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44bc1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d2d81
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44bb2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d2c94
xor eax, eax
jmp 0x44bc5f
mov byte [esi], 0
push 0x11b2cf8
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.004d2c94
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 0x45eae0
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 0x45eb4e
cmp si, 0x69
ja 0x45eb4e
add esi, 0xffd0
cmp si, 0x11
je 0x45eb1e
push 0x11
call edi
test ax, ax
jge 0x45eb1e
or esi, 0x2000
cmp si, 0x10
je 0x45eb33
push 0x10
call edi
test ax, ax
jge 0x45eb33
or esi, 0x4000
cmp si, 0x12
je 0x45eb48
push 0x12
call edi
test ax, ax
jge 0x45eb48
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45eb5b
mov esi, 0xbd
jmp 0x45eb0f
cmp si, 0x6e
jne 0x45eb68
mov esi, 0xbe
jmp 0x45eb0f
cmp si, 0x6f
jne 0x45eb09
mov esi, 0xbf
jmp 0x45eb0f

Function at 0x460460
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x11d2f00]
xor edx, edx
cmp eax, edx
jne 0x460486
xor eax, eax
mov byte [eax + 0x11d2e00], al
inc eax
cmp eax, 0x100
jl 0x46046e
mov dword [0x11d2f00], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x11d2e00
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x460517
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 0x4604ea
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 0x4604b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x460590
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 0x4605e3
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 0x4605ca
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