joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b6f
Capabilities:
Get file attributes

Disassembly:
push 0xc
mov eax, 0x1009f45
call fcn.01009c4d
lea ecx, [ebp - 0x18]
call fcn.01008991
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.01009210
test eax, eax
jge 0x1005bc5
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1005c3f
test byte [eax + 0x1c], 1
je 0x1005c3f
push 0x1001780
push 0x59
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100304a
jmp 0x1005c3f
lea ecx, [ebp - 0x18]
call fcn.010057b4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1005c15
cmp eax, 0xffffffff
je 0x1005c15
push 0
push 0
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x18]
call fcn.010057b4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1005c3f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010089a3
xor eax, eax
inc eax
jmp 0x1005c4d
mov ecx, dword [0x100c014]
cmp ecx, 0x100c014
je 0x1005c3f
test byte [ecx + 0x1c], 1
je 0x1005c3f
push eax
push dword [ebp + 8]
push 0x1001780
push 0x5a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01003109
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010089a3
xor eax, eax
call fcn.01009cfb
ret 4

Function at 0x1006324
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 8
mov dword [ebp + 0x18], ecx
cmp eax, esi
je 0x1006353
mov dword [eax], esi
cmp dword [ebp + 0xc], esi
jne 0x100635d
cmp dword [ebp + 0x20], esi
je 0x1006375
lea eax, [ebp + 0x18]
push eax
push 0x101
push esi
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x1006391
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x40
push dword [ebp + 0x10]
push esi
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, esi
je 0x1006399
push eax
call fcn.0100346f
jmp 0x100639b
xor eax, eax
cmp eax, esi
jge 0x10063b2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
cmp eax, esi
je 0x10063b2
mov dword [eax], 1
mov eax, dword [ebp + 0x18]
pop edi
cmp eax, esi
pop esi
pop ebx
je 0x10063c8
cmp eax, dword [ebp + 8]
je 0x10063c8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
leave
ret 0x1c
Function at 0x10068de
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x100696f
lea ecx, [ebp - 0x1c]
push ecx
push 2
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
jne 0x10069c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100346f
mov ecx, dword [0x100c014]
cmp ecx, 0x100c014
je 0x1006a58
test byte [ecx + 0x1c], 1
je 0x1006a58
push eax
push 0x1001780
push 0x4f
jmp 0x10069b6
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10069c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100346f
mov ecx, dword [0x100c014]
cmp ecx, 0x100c014
je 0x1006a58
test byte [ecx + 0x1c], 1
je 0x1006a58
push eax
push 0x1001780
push 0x50
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01003070
jmp 0x1006a58
xor edi, edi
inc edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x14]
call fcn.01005a40
test eax, eax
jne 0x1006a32
cmp dword [ebp - 0x28], ebx
jne 0x10069e7
cmp dword [ebp - 0x20], ebx
je 0x1006a2f
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x1006a32
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1006a1e
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x24], ebx
je 0x1006a32
mov dword [ebp - 0x18], ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], ebx
je 0x1006a46
push dword [ebp - 0x1c]
call esi
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x14], ebx
je 0x1006a57
cmp edi, ebx
je 0x1006a57
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
pop esi
cmp dword [ebp - 0x10], ebx
pop edi
pop ebx
je 0x1006a68
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
call fcn.01002f1d
leave
ret 4
Function at 0x1006ce9
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x210], ebx
call fcn.01006aa2
mov esi, eax
cmp esi, ebx
jge 0x1006d71
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1006eb8
test byte [eax + 0x1c], 1
je 0x1006eb8
push esi
push 0x1001780
push 0xa3
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003070
jmp 0x1006eb8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x1001960
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.010037fa
mov esi, eax
add esp, 0x10
cmp esi, ebx
jge 0x1006dbe
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1006eb8
test byte [eax + 0x1c], 1
je 0x1006eb8
push esi
push 0x1001780
push 0xa4
jmp 0x1006d61
lea eax, [ebp - 0x20c]
push eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x214], eax
cmp eax, ebx
jne 0x1006e15
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1006dec
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1006ea4
test byte [eax + 0x1c], 1
je 0x1006ea4
push esi
push 0x1001780
push 0xa5
jmp 0x1006e4b
push 0x18
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
jne 0x1006e58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1006ea4
test byte [eax + 0x1c], 1
je 0x1006ea4
push esi
push 0x1001780
push 0xa6
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003070
jmp 0x1006ea4
cmp dword [eax], 0x18
jne 0x1006e78
mov ecx, dword [eax + 8]
or ecx, dword [eax + 0xc]
je 0x1006e78
mov ecx, dword [eax + 0x10]
or ecx, dword [eax + 0x14]
je 0x1006e78
push 6
pop ecx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor esi, esi
jmp 0x1006ea4
mov esi, 0x8007000d
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1006ea4
test byte [eax + 0x1c], 1
je 0x1006ea4
push 0x1001780
push 0xa7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100304a
cmp dword [ebp - 0x214], ebx
je 0x1006eb8
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x210], ebx
je 0x1006ece
push 1
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_ClosePrivateNamespace]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002f1d
leave
ret 4
Function at 0x100705b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 4
mov dword [ebp + 0x14], eax
cmp edi, esi
je 0x1007083
mov dword [edi], esi
cmp dword [ebp + 0xc], esi
jne 0x100708d
cmp dword [ebp + 0x1c], esi
je 0x10070a5
lea ecx, [ebp + 0x14]
push ecx
push 0x101
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10070c1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x10
push dword [ebp + 0x10]
push esi
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, esi
je 0x10070c9
push eax
call fcn.0100346f
jmp 0x10070cb
xor eax, eax
cmp eax, esi
jge 0x10070dc
mov dword [ebp - 4], ebx
cmp edi, esi
je 0x10070dc
mov dword [edi], 1
mov eax, dword [ebp + 0x14]
pop edi
cmp eax, esi
pop esi
pop ebx
je 0x10070f2
cmp eax, dword [ebp + 8]
je 0x10070f2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
leave
ret 0x18
Function at 0x1007d3e
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
xor esi, esi
push 0x2c
lea eax, [ebp - 0x34]
push esi
push eax
mov dword [ebp - 0x38], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 1
push esi
push esi
push esi
push 0x1001da8
push 0x1001d50
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.01006324
push esi
mov dword [ebp - 8], eax
push 0x30
lea eax, [ebp - 0x38]
push eax
push 3
mov edi, edx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, 0xc0000000
mov edx, eax
and edx, ecx
cmp edx, ecx
jne 0x1007dbf
mov ecx, dword [0x100c014]
cmp ecx, 0x100c014
je 0x1007dd3
test byte [ecx + 0x1c], 1
je 0x1007dd3
push eax
push 0x1001d3c
push 0xa
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01003070
jmp 0x1007dd3
mov eax, dword [ebp - 0x2c]
cmp eax, edi
ja 0x1007dd3
jb 0x1007dd0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 8]
ja 0x1007dd3
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x1008107
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], eax
cmp eax, 5
jae 0x1008207
cmp eax, 1
jb 0x1008207
cmp dword [ebp + 8], 0x80000001
je 0x1008163
cmp dword [ebp + 8], reloc.OLEAUT32.dll_SysReAllocString
je 0x1008163
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x100822b
test byte [eax + 0x1c], 1
je 0x100822b
push 0x1001d3c
push 0x2a
jmp 0x1008220
push esi
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0x20106
push edi
push edi
push edi
push 0x1001e78
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x10081a8
push eax
call fcn.0100346f
mov esi, eax
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x10081f4
test byte [eax + 0x1c], 1
je 0x10081f4
push esi
push 0x1001d3c
push 0x2b
jmp 0x10081e5
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push 0x1001cc8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
je 0x10081f2
push eax
call fcn.0100346f
mov esi, eax
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x10081f4
test byte [eax + 0x1c], 1
je 0x10081f4
push esi
push 0x1001d3c
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003070
jmp 0x10081f4
xor esi, esi
cmp dword [ebp - 4], edi
je 0x1008202
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x1008230
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x100822b
test byte [eax + 0x1c], 1
je 0x100822b
push 0x1001d3c
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100304a
mov eax, 0x80070057
pop edi
leave
ret 8
Function at 0x1008255
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
and dword [ebp - 8], 0
push edi
push 4
pop ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10
push 0x1001cc8
mov edi, 0x1001e78
push edi
push SysReAllocString
mov dword [ebp - 4], ebx
call esi
cmp eax, 2
je 0x1008296
xor eax, eax
jmp 0x10082ed
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10
push 0x1001e48
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call esi
mov esi, eax
test esi, esi
je 0x10082e5
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x10082dd
test byte [eax + 0x1c], 1
je 0x10082dd
push esi
push 0x1001d3c
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003070
push esi
call fcn.0100346f
jmp 0x10082ed
push dword [ebp - 8]
call fcn.0100823a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1009210
Capabilities:
Query environment variable

Disassembly:
push 0xc
mov eax, 0x100a0c3
call fcn.01009c85
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x100930b
cmp dword [ebp + 0xc], ebx
je 0x100930b
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
mov dword [ebp - 4], ebx
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
or dword [ebp - 4], 0xffffffff
pop ecx
mov esi, eax
jmp 0x100926c
cmp esi, ebx
jne 0x100929e
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x1009297
test byte [eax + 0x1c], 1
je 0x1009297
push dword [ebp - 0x14]
push 0x1001f40
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003070
mov edi, 0x8007000e
jmp 0x1009307
push dword [ebp - 0x14]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10092ef
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x10092df
test byte [eax + 0x1c], 1
je 0x10092df
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x100c014]
push 0x1001f40
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003070
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100346f
mov edi, eax
jmp 0x10092fc
mov ecx, dword [ebp + 0xc]
push esi
call fcn.010089cd
xor esi, esi
xor edi, edi
cmp esi, ebx
je 0x1009307
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, edi
jmp 0x1009334
mov eax, dword [0x100c014]
cmp eax, 0x100c014
je 0x100932f
test byte [eax + 0x1c], 1
je 0x100932f
push 0x1001f40
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100304a
mov eax, 0x80070057
call fcn.01009cfb
ret 8
Function at 0x413dd7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x413e0f
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x413dfd
mov al, 1
jmp 0x413e60
cmp dword [ebx + 0x54], ecx
jne 0x413e06
mov al, 2
jmp 0x413e60
cmp dword [ebx + 0x7c], ecx
jne 0x413e60
mov al, 3
jmp 0x413e60
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x413e24
mov al, 4
jmp 0x413e60
cmp ecx, 5
jne 0x413e44
cmp ebx, 0
jne 0x413e32
mov al, 5
jmp 0x413e60
cmp ebx, 1
jne 0x413e3b
mov al, 6
jmp 0x413e60
cmp ebx, 2
jne 0x413e44
mov al, 7
jmp 0x413e60
cmp ecx, 6
jne 0x413e50
cmp ebx, 0
jne 0x413e52
mov al, 8
jmp 0x413e60
cmp ebx, 1
jne 0x413e59
mov al, 9
cmp ebx, 2
jne 0x413e60
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428a20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d05bb
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.004c23e2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x428aa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bf152
mov eax, dword [eax]
push 0x522244
push eax
call fcn.0049f364
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c266d
test bl, bl
je 0x428aa2
push 0x522244
lea ecx, [esp + 0xc]
call fcn.004c2a49
push 0x525dbc
lea ecx, [esp + 0xc]
call fcn.004c2a49
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 0x428ade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c266d
jmp 0x428ba9
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 0x428b62
lea edx, [esp + 0x7c]
push 0x525db8
push edx
call fcn.0049f364
add esp, 8
test eax, eax
je 0x428b62
lea eax, [esp + 0x7c]
push 0x525db4
push eax
call fcn.0049f364
add esp, 8
test eax, eax
je 0x428b62
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 0x428af2
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.004c266d
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 0x429e20
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 0x429e82
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 0x429e90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d071b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x52da4c]
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 0x429fc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x429ef6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c266d
xor eax, eax
jmp 0x42a03f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c27f6
push esi
lea ecx, [esp + 0xc]
call fcn.004c2a85
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 0x42a01d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00429e20
test eax, eax
jne 0x42a01d
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 SysReAllocStringLen
mov ecx, edi
call fcn.00429e20
test eax, eax
jne 0x42a01d
lea eax, [esp + 0x14]
push 0x525dd0
push eax
call fcn.004a0520
mov esi, eax
add esp, 8
test esi, esi
jne 0x429ffc
lea ecx, [esp + 0x14]
push 0x525dcc
push ecx
call fcn.004a04a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x429ffc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x429fff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c27a6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x429f0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c266d
xor eax, eax
jmp 0x42a03f
mov byte [esi], 0
push 0x525dc8
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.004c266d
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 0x43fd40
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 0x43fdae
cmp si, 0x69
ja 0x43fdae
add esi, 0xffd0
cmp si, 0x11
je 0x43fd7e
push 0x11
call edi
test ax, ax
jge 0x43fd7e
or esi, 0x2000
cmp si, 0x10
je 0x43fd93
push 0x10
call edi
test ax, ax
jge 0x43fd93
or esi, 0x4000
cmp si, 0x12
je 0x43fda8
push 0x12
call edi
test ax, ax
jge 0x43fda8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43fdbb
mov esi, 0xbd
jmp 0x43fd6f
cmp si, 0x6e
jne 0x43fdc8
mov esi, 0xbe
jmp 0x43fd6f
cmp si, 0x6f
jne 0x43fd69
mov esi, 0xbf
jmp 0x43fd6f

Function at 0x441570
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x53f700]
xor edx, edx
cmp eax, edx
jne 0x441596
xor eax, eax
mov byte [eax + 0x53f600], al
inc eax
cmp eax, 0x100
jl 0x44157e
mov dword [0x53f700], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x53f600
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x441627
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 0x4415fa
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 0x4415c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4416a0
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 0x4416f3
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 0x4416da
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