joyce8/EMBER2024-capa huggingface dataset:
Function at 0x538e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x538fd4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x552850], 0
jne 0x538fae
push 0x563ca4
call sub.kernel32.dll_EnterCriticalSection
xor eax, eax
push ebp
push 0x538fa7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x552850], 0
jne 0x538f8f
mov dword [ebp - 8], 0x100
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405648
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004053b8
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00409754
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x538fec
call fcn.0040b984
mov eax, dword [ebp - 0xc]
call fcn.004053b8
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x538f10
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405648
jmp 0x538f47
lea eax, [ebp - 4]
mov edx, 0x53900c
call fcn.00404fc0
xor eax, eax
push ebp
push 0x538f3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f6dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x538f47
mov eax, dword [ebp - 4]
call fcn.004053b8
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x552850], eax
cmp dword [0x552850], 0
jne 0x538f7a
mov ecx, dword [0x552ebc]
mov dl, 1
mov eax, dword [0x408a00]
call fcn.0040f4e8
call fcn.0040489c
push 0x539018
mov eax, dword [0x552850]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x563cbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x538fae
push 0x563ca4
call sub.kernel32.dll_LeaveCriticalSection
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x538fdb
lea eax, [ebp - 0x18]
call fcn.00404f28
lea eax, [ebp - 0xc]
call fcn.00404f28
lea eax, [ebp - 4]
call fcn.00404f28
ret
Function at 0x54534c
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x54550d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x87], 0
je 0x54539c
cmp dword [ebx + 0x5c], 0
je 0x54539c
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.0053ccd4
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x5454f7
cmp dword [ebx + 0x7c], 0
jne 0x5453c2
mov dl, 1
mov eax, dword [0x41d29c]
call fcn.00403ef4
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x5454d0
lea eax, [ebp - 8]
mov edx, dword [ebx + 0xc]
call fcn.004058c8
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [0x54551c]
push eax
movzx eax, byte [0x545520]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x552ef4]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x534938]
call fcn.0053697c
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x5454c9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0053ccd4
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.0053ccd4
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x539e7c]
call fcn.004067a0
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1b
jge 0x54549c
mov edx, dword [0x553290]
movzx eax, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x5454ad
cmp eax, 0x1007
jne 0x5454a9
mov byte [ebx + 0x74], 0x18
jmp 0x5454ad
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5454f7
mov eax, dword [ebp - 4]
call fcn.00403f24
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1b0]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.0053ccd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x545514
lea eax, [ebp - 8]
call fcn.00405708
ret
Function at 0x5478ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x547a1d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5479f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00405110
lea eax, [ebp - 0x118]
mov edx, 0x547a34
call fcn.004051f4
mov eax, dword [ebp - 0x118]
call fcn.004053b8
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x54796a
lea eax, [ebp - 0x111]
call fcn.0040aeb8
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00405018
jmp 0x547971
mov eax, esi
call fcn.00404f28
cmp bl, 0x61
jae 0x547992
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.004103b8
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404f7c
jmp 0x5479ac
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00410324
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404f7c
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x547a40
call fcn.0040b984
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5479ff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x54dd08
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov eax, 0x54bd44
call fcn.00407624
mov ebx, dword [0x553080]
mov eax, dword [ebx]
call fcn.004829c0
mov eax, dword [ebx]
xor edx, edx
call fcn.00482478
mov eax, 0x54de04
call fcn.0040a8e8
test al, al
jne 0x54dd43
mov eax, dword [ebx]
mov byte [eax + 0x5b], 0
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov ecx, dword [0x552c04]
mov eax, dword [ebx]
mov edx, dword [0x4f8688]
call fcn.004829d8
push pe_nt_image_headers32
push 0xffffffffffffffec
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [ebx], 0
jne 0x54ddec
mov ecx, dword [0x553300]
mov eax, dword [ebx]
mov edx, dword [0x503400]
call fcn.004829d8
mov ecx, dword [0x553370]
mov eax, dword [ebx]
mov edx, dword [0x51123c]
call fcn.004829d8
mov ecx, dword [0x552fd4]
mov eax, dword [ebx]
mov edx, dword [0x512838]
call fcn.004829d8
mov ecx, dword [0x552d10]
mov eax, dword [ebx]
mov edx, dword [0x513748]
call fcn.004829d8
mov ecx, dword [0x5531d0]
mov eax, dword [ebx]
mov edx, dword [0x54a514]
call fcn.004829d8
mov ecx, dword [0x5530e8]
mov eax, dword [ebx]
mov edx, dword [0x54b114]
call fcn.004829d8
mov eax, dword [ebx]
call fcn.00482a58
pop ebx
call fcn.00404d60
add byte [eax], al
add bh, bh
invalid
Function at 0x5c1060
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc edx
bswap edx
xor edx, 0x2b2f2825
cmp esi, esi
neg edx
jmp 0x57cfc4
dec edx
xor ebx, edx
cmp esp, edi
add esi, edx
push esi
ret
push eax
cbw
cwde
push ecx
push ebx
jmp 0x5cddab
push edx
push edi
movzx edx, bp
bswap ebx
pushfd
cmp bl, dh
push ebp
xor edi, 0x58d209af
bt di, bp
rdtsc
push esi
shl ah, cl
rdtsc
mov eax, 0
stc
push eax
xor edx, ebp
mov edi, dword [esp + 0x28]
neg edi
rcr ebp, 9
bswap edi
add edi, 0x7d72321c
rcr bp, 0xaa
bt bp, sp
rol edi, 1
xor edi, 0x636643e4
add esi, 0x272a7672
sub edi, 0x7f2d0dc6
not edi
sub bp, 0x29a3
and ebx, 0x43c674e3
lea edi, [edi + 0x29ce5357]
sub esi, esp
clc
xor si, 0x5f7d
lea edi, [edi + eax]
mov ebp, esp
lea esp, [esp - 0xc0]
adc edx, eax
inc dl
mov ebx, edi
mov eax, 0
add dh, al
stc
shl edx, cl
sub ebx, eax
cmp cl, ah
sar si, 0x8e
lea esi, [0x5cde3c]
adc dh, 0x38
lea edi, [edi - 4]
shld edx, edi, 0x44
mov edx, dword [edi]
xor edx, ebx
test di, 0x66ec
test edi, ecx
neg edx
jmp 0x56eaec

Function at 0xfb3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fb31a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfb307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb306a
add dl, dl
jne 0xfb3089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb30dc
xor eax, eax
add dl, dl
jne 0xfb3096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb317d
add dl, dl
jne 0xfb30a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb30b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb30bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb30c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfb30d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfb3075
mov eax, 1
add dl, dl
jne 0xfb30ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb30f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb30e1
sub eax, ebx
mov ebx, 1
jne 0xfb3128
mov ecx, 1
add dl, dl
jne 0xfb310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfb3119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb3105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb3075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfb313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfb314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb3136
cmp eax, 0x7d00
jae 0xfb316d
cmp eax, 0x500
jb 0xfb3168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb3075
cmp eax, 0x7f
ja 0xfb3170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb3075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfb319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfb3075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40942f
pop dword [ebp - 0x30]
mov eax, 0x40942f
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xa09296dc
add dword [ebp - 0x40], 0xadbfae6f
mov dword [ebp - 0x3c], 0x6e0c62d8
add dword [ebp - 0x3c], 0xc426e96d
mov dword [ebp - 0x38], 0x1fd9846a
sub dword [ebp - 0x38], 0xd38d403c
mov dword [ebp - 0x34], 0xf7f8dd38
sub dword [ebp - 0x34], 0xf7f8dd38
lea eax, [ebp - 0x40]
push eax
mov eax, 0x372b007c
add eax, 0xc915cfd8
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x7a03b824
add dword [ebp - 0x40], 0xfa6eb132
mov dword [ebp - 0x3c], 0xe3b6725e
add dword [ebp - 0x3c], 0x5db5ef17
mov dword [ebp - 0x38], 0x1d792cd9
add dword [ebp - 0x38], 0x45f63f93
mov dword [ebp - 0x34], 0xa87c1d0d
sub dword [ebp - 0x34], 0xa87c1d0d
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x575e8c59
sub eax, 0x571dbc0d
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x37dc2
push 0
call eax
mov ecx, 0x45a8e4e6
add ecx, 0xba575c63
mov edx, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x30]
mov edi, 0x68b4ffc6
sub edi, 0xee581560
add dword [ebp - 0x28], ebx
mov esi, dword [ebx]
add esi, edi
add dword [ebp - 0x2c], 0x9043146b
mov dword [edx], esi
xor dword [ebp - 0x20], ebx
add edx, 0x3f1c579e
add edx, 0xc0e3a866
add ebx, 4
loop 0x409546
add eax, 0x841a48e
sub eax, 0x840ac97
xor ebx, ebx
add ebx, eax
add eax, 0x4d2afe2
add eax, 0xfb2d5023
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x7c7b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x7c70ac]
push esi
push edi
test eax, eax
jne 0x7c7bcd
mov esi, 0x7c7284
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x7c7b8b
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x7c7b7d
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x7c729c
mov dword [edx], eax
jl 0x7c7b6d
mov ecx, dword [0x7c70ac]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0x7c72ac
push ecx
mov dword [0x7c70a4], eax
call fcn.007c7d80
add esp, 0xc
mov dword [0x7c70a8], eax
mov dword [ebp - 4], 0
mov esi, 0x7c7284
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x7c7c16
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x7c7c16
cmp al, 0x5a
jg 0x7c7c02
cmp al, 0x41
jl 0x7c7c02
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x7c7c08
xor al, 0x55
cmp cl, al
jne 0x7c7c16
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x7c7be1
cmp byte [edx], 0
je 0x7c7c36
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x7c729c
mov dword [ebp - 4], edx
jl 0x7c7bd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x7c7280]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x420290
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4baf7b
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.004ad843
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x420312
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004aaf33
mov eax, dword [eax]
push 0x7f0d00
push eax
call fcn.0049cb94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004adace
test bl, bl
je 0x420312
push 0x7f0d00
lea ecx, [esp + 0xc]
call fcn.004adeaa
push 0x7f0d0c
lea ecx, [esp + 0xc]
call fcn.004adeaa
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 0x42034e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004adace
jmp 0x420419
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 0x4203d2
lea edx, [esp + 0x7c]
push 0x7f0d08
push edx
call fcn.0049cb94
add esp, 8
test eax, eax
je 0x4203d2
lea eax, [esp + 0x7c]
push 0x7f0d04
push eax
call fcn.0049cb94
add esp, 8
test eax, eax
je 0x4203d2
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 0x420362
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.004adace
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 0x420c10
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 0x420c72
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 0x420c80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4baffb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x800dd0]
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 0x420db8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420ce6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004adace
xor eax, eax
jmp 0x420e2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004adc57
push esi
lea ecx, [esp + 0xc]
call fcn.004adee6
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x7f0d40
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x420e0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00420c10
test eax, eax
jne 0x420e0d
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.00420c10
test eax, eax
jne 0x420e0d
lea eax, [esp + 0x14]
push 0x7f0d1c
push eax
call fcn.0049dd80
mov esi, eax
add esp, 8
test esi, esi
jne 0x420dec
lea ecx, [esp + 0x14]
push 0x7f0d18
push ecx
call fcn.0049dd00
mov esi, eax
add esp, 8
test esi, esi
jne 0x420dec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x420def
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004adc07
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x420cfe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004adace
xor eax, eax
jmp 0x420e2f
mov byte [esi], 0
push 0x7f0d14
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.004adace
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 0x431600
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 0x43166e
cmp si, 0x69
ja 0x43166e
add esi, 0xffd0
cmp si, 0x11
je 0x43163e
push 0x11
call edi
test ax, ax
jge 0x43163e
or esi, 0x2000
cmp si, 0x10
je 0x431653
push 0x10
call edi
test ax, ax
jge 0x431653
or esi, 0x4000
cmp si, 0x12
je 0x431668
push 0x12
call edi
test ax, ax
jge 0x431668
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43167b
mov esi, 0xbd
jmp 0x43162f
cmp si, 0x6e
jne 0x431688
mov esi, 0xbe
jmp 0x43162f
cmp si, 0x6f
jne 0x431629
mov esi, 0xbf
jmp 0x43162f

Function at 0x432fc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x811cd0]
xor edx, edx
cmp eax, edx
jne 0x432fe6
xor eax, eax
mov byte [eax + 0x811bd0], al
inc eax
cmp eax, 0x100
jl 0x432fce
mov dword [0x811cd0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x811bd0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x433077
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 0x43304a
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 0x433018
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x433080
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 0x4330d3
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 0x4330ba
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