joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f9e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x401fcc
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x401fd3
cmp ebx, dword [eax + 4]
jae 0x401fd3
xor eax, eax
jmp 0x4021c3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x401fe4
xor eax, eax
inc eax
jmp 0x4021c2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x401ffa
cmp ecx, edx
jae 0x40213f
cmp dword [eax + 4], 0
je 0x402003
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x401feb
cmp dword [ebp + 8], 0
je 0x402025
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40213f
cmp eax, esi
jae 0x40213f
mov eax, dword [0x409970]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x40204a
cmp dword [esi*4 + 0x409978], edi
je 0x402143
inc esi
cmp esi, eax
jl 0x402038
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4021bf
cmp dword [ebp - 8], 0x1000000
jne 0x4021bf
test byte [ebp - 0xc], 0xcc
je 0x4020c8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4021bf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4021bf
cmp word [eax + 0x18], 0x10b
jne 0x4021bf
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4021bf
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4020c8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4020c8
test byte [ecx + 0x27], 0x80
jne 0x40213f
push 1
push 0x4099b8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x401fdc
mov ecx, dword [0x409970]
test ecx, ecx
mov edx, ecx
jle 0x4020fc
lea eax, [ecx*4 + 0x409974]
cmp dword [eax], edi
je 0x4020fc
dec edx
sub eax, 4
test edx, edx
jg 0x4020f0
test edx, edx
jne 0x40212d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x402109
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x402121
lea eax, [edx*4 + 0x409978]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40210f
cmp ecx, 0x10
jge 0x40212d
inc ecx
mov dword [0x409970], ecx
push 0
push 0x4099b8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x401fdc
xor eax, eax
jmp 0x4021c2
test esi, esi
jle 0x401fdc
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4099b8
call ebx
test eax, eax
jne 0x401fdc
cmp dword [esi*4 + 0x409978], edi
je 0x402199
mov eax, dword [0x409970]
lea esi, [eax - 1]
test esi, esi
jl 0x402187
cmp dword [esi*4 + 0x409978], edi
je 0x402183
dec esi
jns 0x402177
test esi, esi
jge 0x402197
cmp eax, 0x10
jge 0x402192
inc eax
mov dword [0x409970], eax
lea esi, [eax - 1]
jmp 0x402199
je 0x4021b1
xor ecx, ecx
test esi, esi
jl 0x4021b1
lea eax, [ecx*4 + 0x409978]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40219f
push 0
push 0x4099b8
call ebx
jmp 0x401fdc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402fd2
Capabilities:
Terminate process

Disassembly:
push 8
push 0x407488
call fcn.004013b8
push 8
call fcn.00402385
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x409b54], esi
jne 0x403006
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x409b50], esi
mov al, byte [ebp + 0x10]
mov byte [0x409b4c], al
cmp dword [ebp + 0xc], edi
jne 0x403050
cmp dword [0x40a188], edi
je 0x403040
mov eax, dword [0x40a184]
sub eax, 4
mov dword [0x40a184], eax
cmp eax, dword [0x40a188]
jb 0x403040
mov eax, dword [eax]
cmp eax, edi
je 0x403021
call eax
jmp 0x403021
push 0x409024
mov eax, 0x409020
call fcn.00402f50
pop ecx
push 0x40902c
mov eax, 0x409028
call fcn.00402f50
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x403081
cmp dword [ebp + 0x10], edi
jne 0x40308f
mov dword [0x409b54], esi
push dword [ebp + 8]
call fcn.00402f0e
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x40308e
push 8
call fcn.004022d0
pop ecx
ret
call fcn.004013f3
ret

Function at 0x4032de
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x409040]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x409190]
je 0x403313
inc eax
cmp eax, 0x13
jb 0x403304
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x409190]
jne 0x403439
mov eax, dword [0x409968]
cmp eax, 1
je 0x403411
cmp eax, edx
jne 0x403343
cmp dword [0x409034], 1
je 0x403411
cmp ecx, 0xfc
je 0x403439
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403379
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.004046b0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.004048e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4033ad
mov eax, edi
push eax
call fcn.004048e0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x4078a0
push edi
call fcn.004047b0
add esp, 0x10
push edi
call fcn.004048e0
push dword [esi + 0x409194]
mov ebx, eax
call fcn.004048e0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00403fa0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.004046b0
push edi
push ebx
call fcn.004046c0
push 0x407880
push ebx
call fcn.004046c0
push dword [esi + 0x409194]
push ebx
call fcn.004046c0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.004045a9
add esp, 0x2c
jmp 0x403439
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x409194]
push dword [esi]
call fcn.004048e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00401c8e
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x4045a9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x409c8c], ebx
push esi
push edi
jne 0x404629
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x404664
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x409c8c], eax
je 0x404664
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x409c90], eax
call esi
cmp dword [0x409b14], 2
mov dword [0x409c94], eax
jne 0x404629
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x409c9c], eax
je 0x404629
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x409c98], eax
mov eax, dword [0x409c98]
test eax, eax
je 0x40466e
call eax
test eax, eax
je 0x404655
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x409c9c]
test eax, eax
je 0x404655
test byte [ebp - 8], 1
jne 0x40466e
cmp dword [0x409b20], 4
jb 0x404668
or byte [ebp + 0x12], 0x20
jmp 0x40468d
xor eax, eax
jmp 0x40469d
or byte [ebp + 0x12], 4
jmp 0x40468d
mov eax, dword [0x409c90]
test eax, eax
je 0x40468d
call eax
mov ebx, eax
test ebx, ebx
je 0x40468d
mov eax, dword [0x409c94]
test eax, eax
je 0x40468d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x409c8c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405f2c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00403fa0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405fc7
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x409b14]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x405fc7
cmp eax, 1
je 0x405fe8
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405fc7
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x405f94
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x405fc3
xor eax, eax
inc eax
jmp 0x406007
cmp edi, eax
jae 0x405fcb
xor eax, eax
jmp 0x406007
cmp eax, esi
jae 0x405fd2
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x409b14]
jmp 0x405feb
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x402c00
pop dword [ebp - 0x24]
mov eax, 0x402c00
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x3a1b362e
sub dword [ebp - 0x34], 0xebc8f0e3
mov dword [ebp - 0x30], 0xb07e5645
sub dword [ebp - 0x30], 0x7e4b0a00
mov dword [ebp - 0x2c], 0xc2aec878
sub dword [ebp - 0x2c], 0x7662844a
mov dword [ebp - 0x28], 0x1cb7c7c7
add dword [ebp - 0x28], 0xe3483839
lea eax, [ebp - 0x34]
push eax
mov eax, 0xb833ffe7
sub eax, 0xb7f37f5b
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xf3737a34
add dword [ebp - 0x34], 0x80feef22
mov dword [ebp - 0x30], 0x8506661
sub dword [ebp - 0x30], 0xc6e404ec
mov dword [ebp - 0x2c], 0x4e01b3a9
add dword [ebp - 0x2c], 0x156db8c3
mov dword [ebp - 0x28], 0x47693ae9
sub dword [ebp - 0x28], 0x47693ae9
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x35e6a
push 0
call eax
mov ecx, 0x1caab1c4
add ecx, 0xe3559315
mov edi, eax
mov ebx, 0xc701fd9a
sub ebx, 0xc6c0ed9a
add ebx, dword [ebp - 0x24]
mov edx, 0x27815da0
mov dword [ebp - 8], 0x1d79cda0
mov esi, dword [ebx]
sub dword [ebp - 0x18], 0x654fd490
add esi, edx
mov dword [edi], esi
xor dword [ebp - 0xc], 0x91538b74
add edi, 0x1977a721
add edi, 0xe68858e3
add ebx, 0x15a0b733
sub ebx, 0x15a0b72f
loop 0x402d12
add eax, 0x7cae2822
add eax, 0x8352de15
xor ebx, ebx
add ebx, eax
add eax, 0x373ceee5
add eax, 0xc8c31120
mov ecx, 0x8750972f
sub ecx, 0x8710972f
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x421724
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00421724
ret

Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
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 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
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 + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x449e00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c5cdb
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.004b605e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x449e82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b36f3
mov eax, dword [eax]
push 0x533254
push eax
call fcn.004a5264
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b62e9
test bl, bl
je 0x449e82
push 0x533254
lea ecx, [esp + 0xc]
call fcn.004b66c5
push 0x536dd4
lea ecx, [esp + 0xc]
call fcn.004b66c5
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 0x449ebe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b62e9
jmp 0x449f89
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 0x449f42
lea edx, [esp + 0x7c]
push 0x536dd0
push edx
call fcn.004a5264
add esp, 8
test eax, eax
je 0x449f42
lea eax, [esp + 0x7c]
push 0x536dcc
push eax
call fcn.004a5264
add esp, 8
test eax, eax
je 0x449f42
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 0x449ed2
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.004b62e9
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 0x44a780
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 0x44a7e2
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 0x44a7f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c5d5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x545f88]
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 0x44a928
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44a856
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b62e9
xor eax, eax
jmp 0x44a99f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b6472
push esi
lea ecx, [esp + 0xc]
call fcn.004b6701
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 0x44a97d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0044a780
test eax, eax
jne 0x44a97d
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 accept
mov ecx, edi
call fcn.0044a780
test eax, eax
jne 0x44a97d
lea eax, [esp + 0x14]
push 0x536de8
push eax
call fcn.004a6510
mov esi, eax
add esp, 8
test esi, esi
jne 0x44a95c
lea ecx, [esp + 0x14]
push 0x536de4
push ecx
call fcn.004a6490
mov esi, eax
add esp, 8
test esi, esi
jne 0x44a95c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44a95f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b6422
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44a86e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b62e9
xor eax, eax
jmp 0x44a99f
mov byte [esi], 0
push 0x536de0
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.004b62e9
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 0x45bf60
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 0x45bfce
cmp si, 0x69
ja 0x45bfce
add esi, 0xffd0
cmp si, 0x11
je 0x45bf9e
push 0x11
call edi
test ax, ax
jge 0x45bf9e
or esi, 0x2000
cmp si, 0x10
je 0x45bfb3
push 0x10
call edi
test ax, ax
jge 0x45bfb3
or esi, 0x4000
cmp si, 0x12
je 0x45bfc8
push 0x12
call edi
test ax, ax
jge 0x45bfc8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45bfdb
mov esi, 0xbd
jmp 0x45bf8f
cmp si, 0x6e
jne 0x45bfe8
mov esi, 0xbe
jmp 0x45bf8f
cmp si, 0x6f
jne 0x45bf89
mov esi, 0xbf
jmp 0x45bf8f

Function at 0x45d7c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x556eb8]
xor edx, edx
cmp eax, edx
jne 0x45d7e6
xor eax, eax
mov byte [eax + 0x556db8], al
inc eax
cmp eax, 0x100
jl 0x45d7ce
mov dword [0x556eb8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x556db8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45d877
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 0x45d84a
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 0x45d818
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45d8f0
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 0x45d943
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 0x45d92a
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