joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1067962
Capabilities:
Hash data using murmur3

Disassembly:
inc edi
cli
inc dword [ecx + 0x3070a2c6]
xlatb
not esi
xor ecx, esp
add ebx, 0xc31a2942
xor esi, 0x43f4fd56
call fcn.01037f55
neg eax
rol ecx, 0xb
dec eax
neg esi
dec edx
xor ecx, edx
sub edx, 0x7a51af09
dec edi
xor ebx, 0x2bdd5baa
mov dword [0x1075a97], 0xb55bd1bc
not eax
add eax, 0x66013d16
mov dword [0x1075713], edi
rol edi, 0x1d
dec eax
rol ecx, 1
sub dword [0x1075793], 0x3f905115
or esi, dword [0x1075cac]
and dword [0x1075810], eax
add dword [0x1075977], eax
xor eax, 0xe4610a7
not edx
ror edx, 0x1c
xchg edi, eax
dec eax
rol edi, 0x10

Function at 0x10679e5
Capabilities:
Hash data using murmur3

Disassembly:
xor eax, edi
add ecx, 0x42e742df
call fcn.0104d5bf
call fcn.0103c641
sub ecx, 0x42e742df
xor eax, edi
ror edi, 0x10
inc eax
xchg edi, eax
rol edx, 0x1c
not edx
xor eax, 0xe4610a7
and dword [0x1075597], ebx
sub dword [0x10755ad], eax
and dword [0x107572d], 0x1150c21b
ror ecx, 1
inc eax
ror edi, 0x1d
sub eax, 0x66013d16
not eax
add dword [0x10757ce], 0xf487492c
xor ebx, 0x2bdd5baa
inc edi
push edx
sub dword [0x1075928], edi
add ebx, 0xddbde167
call fcn.01043d75
xor esi, ebp
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x28ca6edc
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x190b0fdb
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1048e
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
push 0x24
push 0x10380
call fcn.00010a68
cmp dword [ebp + 8], 0
je 0x1050e
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1050e
push 0x10486
call sub.ntoskrnl.exe_DbgPrint
pop ecx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call sub.ntoskrnl.exe_PsLookupProcessByProcessId
test eax, eax
jl 0x1050e
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
call sub.ntoskrnl.exe_KeStackAttachProcess
and dword [ebp - 4], 0
push esi
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x10501
xor ebx, ebx
inc ebx
push ebx
push dword [ebp + 0x14]
push esi
call dword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10521
lea eax, [ebp - 0x34]
push eax
call sub.ntoskrnl.exe_KeUnstackDetachProcess
or dword [ebp - 4], 0xffffffff
xor al, al
call fcn.00010aa3
ret 0x10
lea eax, [ebp - 0x34]
push eax
call sub.ntoskrnl.exe_KeUnstackDetachProcess
or dword [ebp - 4], 0xffffffff
mov al, bl
jmp 0x10510

Function at 0x1053c
Capabilities:
Attach user process memory
Find process by pid
Print debug messages

Disassembly:
push 0x24
push 0x10390
call fcn.00010a68
cmp dword [ebp + 8], 0
je 0x105c6
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x105c6
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call sub.ntoskrnl.exe_PsLookupProcessByProcessId
test eax, eax
jl 0x105c6
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1c]
call sub.ntoskrnl.exe_KeStackAttachProcess
and dword [ebp - 4], 0
push edi
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x105ae
xor ebx, ebx
inc ebx
push ebx
push dword [ebp + 0x14]
push edi
call dword [sym.imp.ntoskrnl.exe_ProbeForRead]
call fcn.00010454
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0001046c
jmp 0x105d9
lea eax, [ebp - 0x34]
push eax
call sub.ntoskrnl.exe_KeUnstackDetachProcess
or dword [ebp - 4], 0xffffffff
push 0x10532
call sub.ntoskrnl.exe_DbgPrint
pop ecx
xor al, al
call fcn.00010aa3
ret 0x10
lea eax, [ebp - 0x34]
push eax
call sub.ntoskrnl.exe_KeUnstackDetachProcess
or dword [ebp - 4], 0xffffffff
mov al, bl
jmp 0x105c8
Function at 0x108ea
Capabilities:
Create device object
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor eax, eax
mov esi, 0x10b08
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebx]
mov word [0x10b08], ax
mov ax, word [ebx]
add ax, 2
mov word [0x10b0a], ax
movzx eax, ax
push 0x7a79616c
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor edi, edi
cmp eax, edi
mov dword [0x10b0c], eax
jne 0x1093d
mov eax, 0xc000009a
jmp 0x10a49
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x10892
lea eax, [ebp - 8]
push eax
mov dword [esi + 0x38], 0x105ea
mov dword [esi + 0x40], 0x10614
mov dword [esi + 0x70], 0x10702
mov dword [esi + 0x44], 0x106b4
mov dword [esi + 0x48], 0x106b4
mov dword [esi + 0x80], 0x10878
mov dword [esi + 0x78], 0x10858
mov dword [esi + 0x3c], 0x10858
mov dword [esi + 0x50], 0x10858
mov dword [esi + 0x9c], 0x10858
mov dword [esi + 0x34], 0x10662
call ebx
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push 0x22
lea eax, [ebp - 8]
push eax
push 8
push esi
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov esi, eax
cmp esi, edi
jge 0x109dc
push edi
push dword [0x10b0c]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [0x10b0c], edi
jmp 0x10a47
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
or dword [eax + 0x1c], 0x10
push 0x108be
lea eax, [ebp - 0x10]
push eax
call ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
test esi, esi
jge 0x10a33
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
push 0
push dword [0x10b0c]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [0x10b0c], 0
jmp 0x10a47
push 0x108e2
call sub.ntoskrnl.exe_DbgPrint
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IoRegisterShutdownNotification]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10001b3e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10005060
cmp edx, dword [eax]
je 0x10001b60
add eax, 8
inc ecx
cmp eax, 0x100050f0
jl 0x10001b51
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10005060]
jne 0x10001c8e
mov eax, dword [0x10005370]
cmp eax, 1
je 0x10001c68
test eax, eax
jne 0x10001b91
cmp dword [0x10005374], 1
je 0x10001c68
cmp edx, 0xfc
je 0x10001c8e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10001bc8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10001f00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10001ff0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10001c0b
lea eax, [ebp - 0x1a4]
push eax
call fcn.10001ff0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10004384
push edi
call fcn.10003070
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10001f00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10001f10
lea eax, [ebp - 0xa0]
push 0x10004364
push eax
call fcn.10001f10
push dword [esi + 0x10005064]
lea eax, [ebp - 0xa0]
push eax
call fcn.10001f10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10002fde
add esp, 0x2c
pop edi
jmp 0x10001c8e
lea eax, [ebp + 8]
lea esi, [esi + 0x10005064]
push 0
push eax
push dword [esi]
call fcn.10001ff0
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]
pop esi
leave
ret
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 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x14fc3085
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x37b32671
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402c72
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x402c81
pop dword [ebp - 0x28]
mov eax, 0xc99519cc
sub eax, 0xc954ed4b
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x1d607ba3
sub dword [ebp - 0x38], 0xcf0e3658
mov dword [ebp - 0x34], 0xa07aafd4
add dword [ebp - 0x34], 0x91b89c71
mov dword [ebp - 0x30], 0xb05f80bf
add dword [ebp - 0x30], 0x9becc36f
mov dword [ebp - 0x2c], 0x3cee0975
add dword [ebp - 0x2c], 0xc311f68b
lea eax, [ebp - 0x38]
push eax
mov eax, 0x41cc2a44
sub eax, 0x418bb938
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x3c7b30ad
sub dword [ebp - 0x38], 0xc808c757
mov dword [ebp - 0x34], 0x56560cda
sub dword [ebp - 0x34], 0x14e9ab65
mov dword [ebp - 0x30], 0x1280d74e
add dword [ebp - 0x30], 0x50ee951e
mov dword [ebp - 0x2c], 0x46475fba
sub dword [ebp - 0x2c], 0x46475fba
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x244658e0
add eax, 0xdbfa1834
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x374cb
push 0
call eax
mov ecx, 0x683578d7
add ecx, 0x97cad091
mov edx, eax
mov edi, 0x432600
add edi, dword [ebp - 0x28]
mov esi, 0x9ea83cc8
add esi, 0xdc1b4b40
sub dword [ebp - 0x10], eax
mov ebx, dword [edi]
mov dword [ebp - 0x10], 0x36d57015
xor ebx, esi
mov dword [edx], ebx
xor dword [ebp - 0x10], 0x20afdafa
add edx, 4
add edi, 0x72fd3b3
sub edi, 0x72fd3af
loop 0x402d9d
add eax, 0x11873
mov ebx, eax
add eax, 0x3b259bee
sub eax, 0x3b259be9
mov ecx, 0xe3906dd8
sub ecx, 0xe3506dd8
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x100ef8c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
je 0x100ef957
mov edx, dword [eax]
mov byte [edx + 0x16], cl
mov edx, dword [eax]
mov byte [edx + 0x17], cl
mov edx, dword [eax]
mov byte [edx + 0x18], cl
mov edx, dword [eax]
push ebx
push esi
mov byte [edx + 0x19], cl
mov esi, dword [eax + 4]
xor edx, edx
cmp esi, ecx
push edi
jle 0x100ef90c
mov edi, dword [eax]
movzx edi, byte [edi + edx]
mov ebx, ecx
shr ebx, 0x18
xor edi, ebx
mov edi, dword [edi*4 + 0x1012346c]
shl ecx, 8
xor ecx, edi
inc edx
cmp edx, esi
jl 0x100ef8ee
xor edx, edx
cmp dword [eax + 0xc], edx
jle 0x100ef933
mov esi, dword [eax + 8]
movzx edi, byte [esi + edx]
mov ebx, ecx
shr ebx, 0x18
xor edi, ebx
mov edi, dword [edi*4 + 0x1012346c]
shl ecx, 8
xor ecx, edi
inc edx
cmp edx, dword [eax + 0xc]
jl 0x100ef916
mov edx, dword [eax]
mov byte [edx + 0x16], cl
mov esi, dword [eax]
mov edx, ecx
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [eax]
mov edx, ecx
shr edx, 0x10
mov byte [esi + 0x18], dl
mov eax, dword [eax]
pop edi
shr ecx, 0x18
pop esi
mov byte [eax + 0x19], cl
pop ebx
ret
Function at 0x401470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
test eax, eax
je 0x4014e0
cmp byte [esi + eax - 1], 0xa
mov ebx, eax
je 0x4014d8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x404084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x40149d
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x401bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call sym.___wine_dbg_get_channel_flags
movzx ecx, byte [ebp + 8]
movzx eax, al
sar eax, cl
test al, 1
je 0x401d88
mov edx, dword [0x404084]
mov eax, dword fs:[0x18]
cmp dword [eax + 0x24], edx
je 0x401d78
test byte [0x402018], 8
jne 0x401d20
lea edi, [esp + 0x28]
mov esi, edi
test byte [0x402028], 8
jne 0x401ce0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, str._04x:
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401c3b
cmp dword [ebp + 8], 3
jbe 0x401ca0
mov dword [esp], 2
mov ebx, edi
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov esi, dword [ebx]
add ebx, 4
lea ecx, [esi - 0x1010101]
not esi
and ecx, esi
and ecx, 0x80808080
je 0x401c4a
mov dword [esp + 0xc], eax
mov esi, ecx
mov eax, 1
mov dword [esp + 4], eax
shr esi, 0x10
test ecx, 0x8080
mov dword [esp], edi
cmove ecx, esi
lea esi, [ebx + 2]
mov dl, cl
cmove ebx, esi
add dl, cl
sbb ebx, 3
sub ebx, edi
mov dword [esp + 8], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x10]
add eax, esi
inc ebx
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx*4 + 0x4030e4]
mov edx, str._s:_s:_s
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, edi
sub ecx, eax
add ecx, 0xc8
mov dword [esp + 4], ecx
call sym._snprintf.constprop.0
jmp 0x401c3b
mov dword [esp], 0x402028
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x401c10
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov ecx, str._04x:
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym._sprintf
add esi, eax
jmp 0x401c10
mov dword [esp], 0x402018
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x401bfd
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov esi, str._3u._03u:
mov dword [esp + 4], esi
lea edi, [esp + 0x28]
mov dword [esp], edi
mov ecx, eax
mul edx
shr edx, 6
mov dword [esp + 8], edx
imul eax, edx, 0x3e8
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea esi, [edi + eax]
jmp 0x401c03
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x401c98
Function at 0x401e00
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete dl
movzx edx, dl
inc edx
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x401443
pop dword [ebp - 0xc]
mov eax, 0xa4050937
sub eax, 0xa3c4f4f4
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x90f250eb
sub dword [ebp - 0x1c], 0x42a00ba0
mov dword [ebp - 0x18], 0x725c5c18
add dword [ebp - 0x18], 0xbfd6f02d
mov dword [ebp - 0x14], 0xb92bae98
add dword [ebp - 0x14], 0x93209596
mov dword [ebp - 0x10], 0xf2779b3c
sub dword [ebp - 0x10], 0xf2779b3c
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xc6c05677
add dword [ebp - 0x1c], 0xadb212df
mov dword [ebp - 0x18], 0x91a29235
sub dword [ebp - 0x18], 0x503630c0
mov dword [ebp - 0x14], 0x5dbb86ed
add dword [ebp - 0x14], 0x5b3e57f
mov dword [ebp - 0x10], 0x413bc126
add dword [ebp - 0x10], 0xbec43eda
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x88586b1b
add eax, 0x77e815e5
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x395fe
push 0
call eax
mov ecx, 0x491dd422
add ecx, 0xb6e27834
mov edx, eax
mov ebx, 0x6791c486
sub ebx, 0x674ae086
add ebx, dword [ebp - 0xc]
mov esi, 0x6f010727
xor dword [ebp - 4], edi
mov edi, dword [ebx]
xor dword [ebp - 4], 0x7f09c4ec
xor edi, esi
xor dword [ebp - 4], ebx
mov dword [edx], edi
mov dword [ebp - 4], 0xbc6309cd
add edx, 4
add ebx, 4
loop 0x40155a
add eax, 0xf8e58ebb
sub eax, 0xf8e46a90
xor ebx, ebx
add ebx, eax
add eax, 0x4c4f140a
add eax, 0xb3b0ebfb
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x409670
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x480c2b
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.00475801
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4096f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00473543
mov eax, dword [eax]
push 0x74ccb0
push eax
call fcn.00465f84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00475a8c
test bl, bl
je 0x4096f2
push 0x74ccb0
lea ecx, [esp + 0xc]
call fcn.00475e1c
push 0x74ccbc
lea ecx, [esp + 0xc]
call fcn.00475e1c
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 0x40972e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00475a8c
jmp 0x4097f9
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 0x4097b2
lea edx, [esp + 0x7c]
push 0x74ccb8
push edx
call fcn.00465f84
add esp, 8
test eax, eax
je 0x4097b2
lea eax, [esp + 0x7c]
push 0x74ccb4
push eax
call fcn.00465f84
add esp, 8
test eax, eax
je 0x4097b2
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 0x409742
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.00475a8c
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 0x40a000
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 0x40a062
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 0x40a070
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x480cab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7566dc]
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 0x40a1a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a0d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475a8c
xor eax, eax
jmp 0x40a21f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00475bc9
push esi
lea ecx, [esp + 0xc]
call fcn.00475e58
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 0x40a1fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a000
test eax, eax
jne 0x40a1fd
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.0040a000
test eax, eax
jne 0x40a1fd
lea eax, [esp + 0x14]
push 0x74cccc
push eax
call fcn.00467000
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a1dc
lea ecx, [esp + 0x14]
push 0x74ccc8
push ecx
call fcn.00466f80
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a1dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a1df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00475b79
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a0ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475a8c
xor eax, eax
jmp 0x40a21f
mov byte [esi], 0
push 0x74ccc4
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.00475a8c
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