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

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x729ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x72a035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00729e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x729fc5
mov edi, 0x7448b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x72a035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00729e00
add edi, 4
add esp, 0xc
cmp edi, 0x7448c0
jb 0x72a000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x72a070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00730082
mov esi, eax
add esp, 8
test esi, esi
je 0x72a107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x72a102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.0072f946
add esp, 8
test eax, eax
je 0x72a0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x72a0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0072f946
add esp, 8
test eax, eax
jne 0x72a0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x72a102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x72af10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x73f9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x72b002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0072edff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x72b002
lea edx, [esp + 0x14]
push edx
push 0x745140
call fcn.007266e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0072f20b
push 0x10
call fcn.0072f1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x72afc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0071b1c0
jmp 0x72afc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.0072ab80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x72aff0
mov ecx, edi
call fcn.0071b2c0
push edi
call fcn.0072f1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x72b021
inc ebx
cmp ebx, 0x20
jb 0x72af3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x72e1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0072e140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0072e140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0072e140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0072e140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x72e230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x72e2d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x72e2ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0072e230
mov esi, eax
add esp, 8
test esi, esi
jne 0x72e2ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x72e27e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x72e2ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x72ebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x72ec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x74087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x72ec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x72ec52
xor eax, eax
pop esi
leave
ret 4
Function at 0x560b20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbb000]
push edi
or ebp, 0xffffffff
jmp 0x560b42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x560b49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560b38
mov eax, 1
add ebx, ebx
jne 0x560b5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x560b50
jne 0x560b6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x560b50
xor ecx, ecx
sub eax, 3
jb 0x560b80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x560bf2
mov ebp, eax
add ebx, ebx
jne 0x560b8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x560b98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x560bbc
inc ecx
add ebx, ebx
jne 0x560ba8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x560b9d
jne 0x560bb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x560b9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x560bdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x560bcd
jmp 0x560b3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x560bdc
add edi, ecx
jmp 0x560b3e
pop esi
mov edi, esi
mov ecx, 0x5818
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x560bfa
cmp byte [edi], 0xe
jne 0x560bfa
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 0x560bff
lea edi, [esi + 0x15c000]
mov eax, dword [edi]
or eax, eax
je 0x560c77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x169d54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x169e78]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x560c2c
mov ecx, edi
jns 0x560c5b
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 + 0x169e80]
or eax, eax
je 0x560c71
mov dword [ebx], eax
add ebx, 4
jmp 0x560c49
call dword [esi + 0x169e7c]
mov ebp, dword [esi + 0x169e84]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x560cab
sub esp, 0xffffff80
jmp 0x49c213
Function at 0x402200
Capabilities:
Encode data using xor

Disassembly:
movsb byte es:[edi], byte [esi]
sbb al, 0x41
add byte [ebx + 0x4b02a015], cl
add byte [edx + edx*2 + 0x68], dl
test al, 0xdd
inc eax
add bh, bh
salc
add esp, 0xffffffbb
mov eax, dword [0x41029c]
mov ecx, dword [0x85410298]
push eax
cmp ah, byte [0x9b8080]
xchg edi, eax
salc
invalid

Function at 0x405d20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
jae 0x405d7b
push edi
call 0xbc5f20
test eax, edi
jne 0x405e30
outsb dx, byte [esi]
cmp eax, 0x4108dc
adc al, 0xf
mov esi, gs
add byte [eax], al
add esp, dword [ecx + 0x410384]
test eax, eax
divps xmm4, xmm1
add byte [0x8405c700], cl
add eax, dword [ecx]
jge 0x405d90
add byte [eax], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x405db3
mov eax, dword [0x120358]
iretd
or al, 0x68
pop eax
add eax, dword [ecx]
inc esi
ror byte [edi], 0x84
scasd eax, dword es:[edi]
add byte [edi], dh
add byte [ebx + 0x4d], al
push ecx
push esi
pop edi
sar byte [0x74f614f0], 1
cmp eax, 0x74f614f0
sbb eax, 0x8b05558b
inc ebp
push edx
push esi
push eax
call 0x40dcd0
mov esp, dword [ebx]
or byte [esi - 0x69a9f33c], ch
add edi, edi
adc eax, sym.imp.KERNEL32.dll_GlobalFree
push ebx
adc dl, byte [0x403154]
mov ebx, eax
adc edi, edi
push ebx
int3
das
pop esi
shl ch, cl
pop ebp
cmp dword [eax + eax], ecx
pop es
call dword [0x2140c04c]
jmp 0x405db3
Function at 0x4064f0
Capabilities:
Get socket status

Disassembly:
mov ebp, 0xffffefe8
lea edx, [ebp - 0x318]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x33e10442
lea esi, [ebx + 0x2014]
lea edi, [ebp - 0x3020]
lea eax, [ebp - 0x208e]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WSOCK32.dll_select]
mov edx, dword [ebp + 0x14]
xor edi, edi
cmp eax, edi
mov dword [edx], eax
jge 0x40648c
xor byte [sym.imp.WSOCK32.dll_WSAGetLastError], 0xff
and al, byte [ebp + 0x578441c0]
add dword [eax], eax
add bh, bh
salc
pop esi
add eax, 0xa5d80
pop ebx
ljmp 0x75f9
jne 0x4064d2
pop edi
pop esi
mov eax, 0x111d1
pop ebx
mov esp, ebp
pop ebp
ret 0x8c14
inc ebx
add al, 0x89
jge 0x406424
mov eax, edi
mov dword [ebp + edi*8 + 0xf], esi
xchg byte [edi], cl
add dword [eax], eax
mov ecx, dword [ecx + 0x7d89b47d]
cld
mov eax, dword [ebx + 0xcf1c]
add eax, edi
cmp dword [eax + 4], 1
push ebx
loope 0x4064a3
invalid
add dword [eax], eax
add byte [ebx - 0x6a72f3b8], cl
in al, 0xdf
mov ebp, 0x718b52ff
add al, 0x56
push esi
mov dword [ebp - 0xc], esi
call sub.WSOCK32.dll___WSAFDIsSet
test dword [ebx], edi
jne 0x40649d
lea eax, [ebp - 0xd318]
leave
push esi
call 0x41469b
test edx, esi
jne 0x406505
scasd eax, dword es:[edi]
loope 0x4064eb
add byte [ebp - 0x72ea8a0e], al
sbb eax, 0xffffcf4e
lea ebx, [0xffffcf4e]
push ecx
push esi
call 0x7f40b960
test eax, eax
je 0x406524
mov esi, dword [ebx + 0x301c]
mov eax, dword [ebp + 8]
add esi, edi
mov edi, dword [ebx + 0x3020]
add esp, dword [ebp + 0x5b9]
sbb eax, 0x938b0df3
and byte [eax], dh
add byte [eax], al
mov edi, dword [ebp - 0xc]
invalid
add byte [ebx - 0x38990b83], cl
xor al, byte [edx]
or ah, dl
add byte [ebx - 0x7b], cl
sti
fild qword [esi + esi*2 + 0x24e857ac]
push esp
push 0
mov esi, dword [ebp + 8]
test eax, eax
je 0x406552
mov ebp, dword [ebp + 0x30]
pop ebx
jb 0x4064ca
xor byte gs:[ebx + 0x72], bl
or byte [ecx + esi - 0x13], 1
invalid
dec esp
xor ebp, ebp
add dword [ebp - 0x724ace2a], ecx
xchg ebp, eax
call 0x53406548
lea edx, [ebp - 0x1018]
push edx
push edi
call 0x412060
test eax, eax
je 0x4065bd
jns 0x4064e8
and byte [eax], dh
add byte [eax], al
or byte [esp + eax*2 + 0x69], 4
lea eax, [eax + esi + 0xa]
xor byte [edx], cl
lea esp, [edi]
loopne 0x406545
insd dword es:[edi], dx
call dword [ecx + 0x57]
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x406570
inc esi
xchg ebx, eax
and byte [eax], dh
dec esi
add byte [eax + 0x102f124c], al
lea ebp, [edx]
xor cl, byte [edx]
mov ecx, dword [edx + 0x10]
mov edi, dword [ebp + 0x12]
adc edx, ebp
not byte [ecx + ecx*4]
dec ebp
adc byte [ecx + 0x458b0875], cl
clc
mov ecx, dword [ebx + 4]
inc eax
and ebp, 0x14
cmp edi, edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edi
jb 0x40645b
xor edi, edi
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sbb al, 0xb0
dec ebp
adc al, 0x8b
inc ebp
adc byte [eax + esi*4], bl
mov eax, dword [ebp + 0x18]
cmp esp, dword [eax - 0x5a]
or byte [ebx + 0x3020cd], cl
add byte [ecx + 0x334c5fed], cl
rol byte [edx - 0x3da21a75], 0x14
add dh, al
pop esi
mov eax, 0x4209
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41dbc8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc48
xor eax, eax
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41dd6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3a4]
xor eax, eax
call fcn.004029a0
mov eax, dword [ebp - 0x3a4]
lea edx, [ebp - 0x3a0]
call fcn.00408148
push dword [ebp - 0x3a0]
lea edx, [ebp - 0x3ac]
xor eax, eax
call fcn.004029a0
mov eax, dword [ebp - 0x3ac]
lea edx, [ebp - 0x3a8]
call fcn.00408210
push dword [ebp - 0x3a8]
push 0x41dd80
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404b0c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402d44
lea eax, [ebp - 0x1d0]
call fcn.00402ad4
lea eax, [ebp - 0x1d0]
call fcn.00402ee8
lea eax, [ebp - 0x3b0]
call fcn.0041ca9c
lea eax, [ebp - 0x3b0]
mov edx, 0x41dd90
call fcn.00404a54
mov edx, dword [ebp - 0x3b0]
lea eax, [ebp - 0x39c]
call fcn.00402d44
lea eax, [ebp - 0x39c]
call fcn.00402ad4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x39c]
call fcn.00404d90
call fcn.00403558
lea eax, [ebp - 0x39c]
call fcn.00402ee8
push 0
lea eax, [ebp - 0x3b4]
call fcn.0041ca9c
lea eax, [ebp - 0x3b4]
mov edx, 0x41dd90
call fcn.00404a54
mov eax, dword [ebp - 0x3b4]
call fcn.00404c44
push eax
call sub.kernel32.dll_WinExec
push 0x5dc
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x3b8]
call fcn.0041ca9c
lea eax, [ebp - 0x3b8]
mov edx, 0x41dd90
call fcn.00404a54
mov eax, dword [ebp - 0x3b8]
call fcn.004080e0
mov eax, dword [ebp - 4]
call fcn.004080e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dd74
lea eax, [ebp - 0x3b8]
mov edx, 7
call fcn.004047b8
lea eax, [ebp - 4]
call fcn.00404794
ret

Function at 0x4749ac
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4746cc
sub esi, edx
dec esi
sub esi, 0x96cf2d7d
call fcn.004749e8
add edx, 0x3cb6767e
inc esi
xor dword [edi], ebx
sub esp, 4
mov dword [esp], esi
pop esi
dec esi
mov edx, esi
add edi, 2
and esi, edx
cmp edi, ecx
jl fcn.004749ac
sub esi, esi
inc esi
ret
Function at 0x420180
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ebe7b
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.004df80e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x420202
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004dc7a7
mov eax, dword [eax]
push 0x75bd64
push eax
call fcn.004c27e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004dfa99
test bl, bl
je 0x420202
push 0x75bd64
lea ecx, [esp + 0xc]
call fcn.004dfe29
push 0x75bd70
lea ecx, [esp + 0xc]
call fcn.004dfe29
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 0x42023e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004dfa99
jmp 0x420309
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 0x4202c2
lea edx, [esp + 0x7c]
push 0x75bd6c
push edx
call fcn.004c27e4
add esp, 8
test eax, eax
je 0x4202c2
lea eax, [esp + 0x7c]
push 0x75bd68
push eax
call fcn.004c27e4
add esp, 8
test eax, eax
je 0x4202c2
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 0x420252
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.004dfa99
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 0x420b00
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 0x420b62
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 0x420b70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ebefb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x776ce8]
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 0x420ca8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420bd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dfa99
xor eax, eax
jmp 0x420d1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004dfbd6
push esi
lea ecx, [esp + 0xc]
call fcn.004dfe65
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x75bda4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x420cfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00420b00
test eax, eax
jne 0x420cfd
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.00420b00
test eax, eax
jne 0x420cfd
lea eax, [esp + 0x14]
push 0x75bd80
push eax
call fcn.004c3860
mov esi, eax
add esp, 8
test esi, esi
jne 0x420cdc
lea ecx, [esp + 0x14]
push 0x75bd7c
push ecx
call fcn.004c37e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x420cdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x420cdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004dfb86
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x420bee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dfa99
xor eax, eax
jmp 0x420d1f
mov byte [esi], 0
push 0x75bd78
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.004dfa99
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 0x433e90
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 0x433efe
cmp si, 0x69
ja 0x433efe
add esi, 0xffd0
cmp si, 0x11
je 0x433ece
push 0x11
call edi
test ax, ax
jge 0x433ece
or esi, 0x2000
cmp si, 0x10
je 0x433ee3
push 0x10
call edi
test ax, ax
jge 0x433ee3
or esi, 0x4000
cmp si, 0x12
je 0x433ef8
push 0x12
call edi
test ax, ax
jge 0x433ef8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x433f0b
mov esi, 0xbd
jmp 0x433ebf
cmp si, 0x6e
jne 0x433f18
mov esi, 0xbe
jmp 0x433ebf
cmp si, 0x6f
jne 0x433eb9
mov esi, 0xbf
jmp 0x433ebf

Function at 0x435810
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7880a8]
xor edx, edx
cmp eax, edx
jne 0x435836
xor eax, eax
mov byte [eax + 0x787fa8], al
inc eax
cmp eax, 0x100
jl 0x43581e
mov dword [0x7880a8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x787fa8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4358c7
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 0x43589a
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 0x435868
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4358d0
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 0x435923
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 0x43590a
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