joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10503e6
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1055908]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x810], 0x1000000
mov dword [ebp - 0x818], ebx
cmp byte [esi], bl
jne 0x105042d
push 0x1018118
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
jmp 0x1050571
push edi
mov edi, 0x400
push edi
lea eax, [ebp - 0x804]
push eax
push edi
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push ebx
push esi
call sub.msvcrt.dll__splitpath_s
add esp, 0x24
cmp byte [ebp - 0x804], bl
jne 0x1050474
mov eax, dword [0x1058010]
mov dword [ebp - 0x80c], eax
mov eax, dword [0x1058014]
mov dword [ebp - 0x814], 1
jmp 0x10504b8
lea eax, [ebp - 0x804]
push 0x1018110
push eax
call dword [sym.imp.msvcrt.dll__strcmpi]
pop ecx
pop ecx
test eax, eax
jne 0x10504a8
mov eax, dword [0x1058010]
mov dword [ebp - 0x80c], eax
mov eax, dword [0x1058014]
mov dword [ebp - 0x818], 1
jmp 0x10504b8
mov eax, dword [0x1058538]
mov dword [ebp - 0x80c], eax
mov eax, dword [0x105853c]
push ebx
mov dword [ebp - 0x808], eax
call fcn.01050348
lea eax, [ebp - 0x404]
push eax
push edi
push 0x1058b88
call sub.msvcrt.dll_strcpy_s
add esp, 0xc
cmp dword [ebp - 0x818], ebx
jne 0x1050505
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x810], eax
jmp 0x1050507
mov edi, ebx
push dword [ebp - 0x814]
lea eax, [ebp - 0x404]
push ebx
push dword [ebp - 0x810]
push dword [ebp - 0x808]
push dword [ebp - 0x80c]
push eax
push esi
push edi
push dword [0x105832c]
call dword [sym.imp.dbghelp.dll_SymLoadModuleEx]
mov ecx, eax
or ecx, edx
jne 0x1050559
push esi
mov byte [0x1058b88], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10180f8
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
jmp 0x1050570
mov dword [0x10579e0], eax
mov dword [0x10579e4], edx
cmp edi, 0xffffffff
je 0x1050570
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0101ca75
leave
ret 4
Function at 0x1051734
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1055908]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x1059998], edi
jne 0x1051850
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x105179b
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
mov eax, dword [ebp - 0x110]
dec eax
mov dword [0x1059998], edi
pop esi
je 0x1051823
dec eax
jne 0x1051850
cmp dword [ebp - 0x11c], 5
jne 0x1051810
mov eax, dword [ebp - 0x118]
sub eax, edi
je 0x1051804
dec eax
je 0x10517f1
dec eax
je 0x10517d7
mov dword [0x1059998], 0x14
jmp 0x1051850
cmp word [ebp - 0xc], 1
jb 0x10517e8
mov dword [0x1059998], 0x10
or dword [0x1059998], 4
jmp 0x1051850
cmp word [ebp - 0xc], 2
jb 0x10517e8
mov dword [0x1059998], 8
jmp 0x10517e8
mov dword [0x1059998], 4
jmp 0x1051850
cmp dword [ebp - 0x11c], 4
ja 0x1051862
mov dword [0x1059998], 2
cmp dword [ebp - 0x11c], 4
jne 0x1051850
cmp dword [ebp - 0x118], edi
je 0x1051846
cmp dword [ebp - 0x118], 0xa
je 0x1051846
cmp dword [ebp - 0x118], 0x5a
jne 0x1051850
mov dword [0x1059998], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x1059998]
xor ecx, ebp
pop edi
call fcn.0101ca75
leave
ret
mov dword [0x1059998], 0x20
jmp 0x1051850

Function at 0x1051873
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1055908]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 8
push 0x404
mov esi, 0xc04
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10518c7
push 3
lea eax, [ebp - 0x44]
push 0x1018c78
push eax
call sub.msvcrt.dll_wcsncmp
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffff800
add esi, 0xc04
mov ecx, dword [ebp - 4]
mov ax, si
xor ecx, ebp
pop esi
call fcn.0101ca75
leave
ret

Function at 0x10518dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1055908]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x105999c]
jne 0x1051977
push esi
lea eax, [ebp - 0x10]
push eax
push 1
xor esi, esi
push esi
push 0x1018ba8
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1051976
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1018c60
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x1051976
push 3
push dword [esi*8 + 0x10189f8]
lea eax, [ebp - 0xc]
push eax
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
je 0x1051968
inc esi
cmp esi, 0x1c
jb 0x1051947
jmp 0x1051976
mov ax, word [esi*8 + 0x10189fc]
mov word [0x105999c], ax
pop esi
mov ecx, dword [ebp - 4]
mov ax, word [0x105999c]
xor ecx, ebp
call fcn.0101ca75
leave
ret
Function at 0x4020f0
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
push esi
mov esi, ecx
mov dword [esp + 4], 0
lea ecx, [esp + 4]
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.HTCAPI.dll_Ordinal_1
mov dword [esi + 0x6c], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x402143
lea edx, [esp + 0x40]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x14]
push str.DisableTaskMgr
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esi + 0x6c]
lea eax, [esp + 8]
push edx
push 0x40521c
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
add esi, 0x70
lea ecx, [esp + 8]
push esi
push ecx
push str.bDisableExit
push str.setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor eax, eax
pop esi
add esp, 0x38
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x3d382635
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7a2e4c65
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x447840
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x4478b1
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x4478ec
cmp dword [esp + 4], 0
je 0x4478d3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x447901
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x45ea5c]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x45ea5c], esi
jne 0x447890
mov byte [0x45ea58], 1
push 0
push 0
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
jmp 0x4478e3
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x447944
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x4478d7
mov edi, dword [esp]
jmp 0x4478e3
mov edi, dword [esi]
jmp 0x4478e2
mov edi, eax
push dword [esp]
call dword [sym.imp.kernel32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00447980
ud2
push 0
push 4
push ebx
call dword [sym.imp.kernel32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x4546d8
mov dword [esp + 8], 0x4546a0
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x454e90
mov dword [esp + 0x14], 0
call fcn.00446c50
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x4546a0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0x454e90
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004479c0
ud2

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3a8451a4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, str.WWK
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x57fa2b57
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d956
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], 0x46bb64
mov dword [esi + 0x20], 0x46bc2c
mov dword [esi + 0x30], 0x46bc34
mov dword [esi + 0x34], 0x46bc3c
mov dword [esi + 0x38], 0x46bc44
mov dword [esp + 0x14], 1
mov edi, dword [esi + 0x43c]
test edi, edi
je 0x403b1a
mov ecx, edi
call sym.Install.exe_public:_void___thiscall_CAssistTask::destructor_void_
push edi
call fcn.004468d0
add esp, 4
cmp dword [esi + 0x438], 8
jb 0x403b32
mov eax, dword [esi + 0x424]
push eax
call fcn.004468d0
add esp, 4
xor eax, eax
mov dword [esi + 0x438], 7
mov dword [esi + 0x434], 0
mov ecx, esi
mov word [esi + 0x424], ax
mov dword [esp + 0x14], 0xffffffff
call fcn.00406a10
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x406a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d61b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x45faa4
mov dword [esi + 0x20], 0x45fa9c
mov dword [esi + 0x30], 0x45fa94
mov dword [esi + 0x34], 0x45fa8c
mov dword [esi + 0x38], 0x45fa84
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], 0
call fcn.0041062c
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00413244
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x417758
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x417763
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x41781e
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x461720]
inc edx
sub edi, 8
dec esi
jne 0x417783
pop ebx
test edi, edi
je 0x417837
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x461720]
inc edx
dec edi
jne 0x417822
pop edi
not eax
pop esi
ret

Function at 0x4468d0
Capabilities:
Check for software breakpoints

Disassembly:
jle 0x44693e
cwde
cmpsd dword [esi], dword es:[edi]
out 0x88, al
das
stc
int3
lodsb al, byte [esi]
mov esp, 0xc3d8bbac
inc edi
lds esi, [edx + 0xf]
or edi, dword [esi]
aas
adc al, 0x52
dec ecx
rcr dword [ebp + 0x4d], 0xcf
add byte [ebx], ah
add dword [esi - 0x1a2fea2e], ecx
sbb dh, 0x4b
dec ebx
popfd
mov bl, 0x18
stosb byte es:[edi], al
daa
jg 0x4468f4
and bl, bh
pop sp
outsb dx, byte [esi]
jg 0x4468ee
fcomp dword [ebx - 0x38]
salc
fld qword [ecx - 0x1a]
dec bh
and byte [esi], cl
stc
mov ch, ah
leave
cmp al, 0xcc
jecxz 0x4468c0
or ecx, esi
mov edi, 0x5202b4a5
aad 0x41
mov esp, 0xbb1f707d
inc esi
hlt
sbb byte [esi - 0x2d], bl
push esi
xor bh, dh
adc byte [ebp - 0x4a], bh
cdq
cmc
wait
and esp, 0xc26dcf5a
out 0xff, al
imul ecx, dword [esp + 0x1ceaa8ae], 0x24
rcl byte [edx - 0x18], cl
pop ecx
aad 0xc1
insb byte es:[edi], dx
rcl byte [edx + ecx]
into
pop ss
aam 0xcb
fdivp st(7)
mov bl, 0x4c
invalid
Function at 0x4468db
Capabilities:
Check for software breakpoints

Disassembly:
jle 0x44693e
cwde
cmpsd dword [esi], dword es:[edi]
out 0x88, al
das
stc
int3
lodsb al, byte [esi]
mov esp, 0xc3d8bbac
inc edi
lds esi, [edx + 0xf]
or edi, dword [esi]
aas
adc al, 0x52
dec ecx
rcr dword [ebp + 0x4d], 0xcf
add byte [ebx], ah
add dword [esi - 0x1a2fea2e], ecx
sbb dh, 0x4b
dec ebx
popfd
mov bl, 0x18
stosb byte es:[edi], al
daa
jg 0x4468f4
and bl, bh
pop sp
outsb dx, byte [esi]
jg 0x4468ee
fcomp dword [ebx - 0x38]
salc
fld qword [ecx - 0x1a]
dec bh
and byte [esi], cl
stc
mov ch, ah
leave
cmp al, 0xcc
jecxz 0x4468c0
or ecx, esi
mov edi, 0x5202b4a5
aad 0x41
mov esp, 0xbb1f707d
inc esi
hlt
sbb byte [esi - 0x2d], bl
push esi
xor bh, dh
adc byte [ebp - 0x4a], bh
cdq
cmc
wait
and esp, 0xc26dcf5a
out 0xff, al
imul ecx, dword [esp + 0x1ceaa8ae], 0x24
rcl byte [edx - 0x18], cl
pop ecx
aad 0xc1
insb byte es:[edi], dx
rcl byte [edx + ecx]
into
pop ss
aam 0xcb
fdivp st(7)
mov bl, 0x4c
invalid

Function at 0x446e75
Capabilities:
Encode data using xor

Disassembly:
push 0x870382f9
dec esp
dec ebx
xchg ebp, eax
fstp dword [esi - 0x21]
setp dl
cld
rol dword [eax], cl
in al, dx
add ah, ch
les ebx, [ebp + ebx*2 + 0x7f]
sub eax, 0x93f4a605
xchg edx, eax
cdq
fisub dword [ebp + 0x5e]
cmp dh, bl
scasd eax, dword es:[edi]
adc eax, 0x46be545a
fdivr qword [edx + 0x615ce1cc]
mov ecx, 0xa32466d3
xor edi, dword [ebx + 0x167ab7eb]
fstp xword [esi - 0x33]
pop edx
popal
push esp
lcall 0xbf46, 0x7cc69b71
cli
pop ss
fidiv word [edi - 0xb]
aas
pop edx
stosd dword es:[edi], eax
pop edx
xor dword [ebx - 0x648c8be7], eax
dec ebx
sub ch, byte cs:[edi + 0x11]
bound esp, qword [ebp + 0x56]
mov dl, 0x3c
push esi
jp 0x446e85
retf 0xd53a
Function at 0x405f30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x63065b
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.0062558b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405fb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006234da
mov eax, dword [eax]
push 0x6701f0
push eax
call fcn.00616174
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00625816
test bl, bl
je 0x405fb2
push 0x6701f0
lea ecx, [esp + 0xc]
call fcn.00625ba6
push 0x673d38
lea ecx, [esp + 0xc]
call fcn.00625ba6
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 0x405fee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00625816
jmp 0x4060b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x406072
lea edx, [esp + 0x7c]
push 0x673d34
push edx
call fcn.00616174
add esp, 8
test eax, eax
je 0x406072
lea eax, [esp + 0x7c]
push 0x673d30
push eax
call fcn.00616174
add esp, 8
test eax, eax
je 0x406072
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 0x406002
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.00625816
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 0x4068b0
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_1]
mov esi, eax
test esi, esi
jne 0x406912
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_1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x406920
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6306db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x713acc]
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 0x406a58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406986
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00625816
xor eax, eax
jmp 0x406acf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00625953
push esi
lea ecx, [esp + 0xc]
call fcn.00625be2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x673d70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA_1]
mov esi, eax
cmp esi, 0x20
ja 0x406aad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004068b0
test eax, eax
jne 0x406aad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA_1]
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.004068b0
test eax, eax
jne 0x406aad
lea eax, [esp + 0x14]
push 0x673d4c
push eax
call fcn.006171b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x406a8c
lea ecx, [esp + 0x14]
push 0x673d48
push ecx
call fcn.00617130
mov esi, eax
add esp, 8
test esi, esi
jne 0x406a8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA_1]
lea esi, [esp + eax + 0x13]
jmp 0x406a8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00625903
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40699e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00625816
xor eax, eax
jmp 0x406acf
mov byte [esi], 0
push 0x673d44
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.00625816
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 0x417050
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState_1]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4170be
cmp si, 0x69
ja 0x4170be
add esi, 0xffd0
cmp si, 0x11
je 0x41708e
push 0x11
call edi
test ax, ax
jge 0x41708e
or esi, 0x2000
cmp si, 0x10
je 0x4170a3
push 0x10
call edi
test ax, ax
jge 0x4170a3
or esi, 0x4000
cmp si, 0x12
je 0x4170b8
push 0x12
call edi
test ax, ax
jge 0x4170b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4170cb
mov esi, 0xbd
jmp 0x41707f
cmp si, 0x6e
jne 0x4170d8
mov esi, 0xbe
jmp 0x41707f
cmp si, 0x6f
jne 0x417079
mov esi, 0xbf
jmp 0x41707f

Function at 0x418730
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x724120]
xor edx, edx
cmp eax, edx
jne 0x418756
xor eax, eax
mov byte [eax + 0x724020], al
inc eax
cmp eax, 0x100
jl 0x41873e
mov dword [0x724120], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x724020
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4187e7
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 0x4187ba
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 0x418788
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x418860
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 0x4188b3
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 0x41889a
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