joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428e50
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub esp, 0x2e4
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
push eax
push 0x440ea0
call dword [0x43a494]
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x428eb4
push 0x104
lea ecx, [esp + 0x1f4]
push eax
push ecx
call fcn.00428e20
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 1
call dword [0x43a490]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x428eb4
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, accept
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x451a64
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x451a58
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea esi, [esp + 0x18]
mov eax, dword [esi + 4]
lea edx, [esp + 0x1f0]
push edx
lea ecx, [esp + 0xf0]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0xec]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x42901b
mov edi, dword [esi + 0x10]
add esi, 0x10
cmp edi, ebx
jne 0x428efb
mov edi, reloc.WSOCK32.dll_bind
mov eax, 0x44ffe0
mov ecx, accept
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x451a34
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0x451a0c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0x4519dc
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
lea esi, [esp + 0x18]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1f0]
push eax
lea edx, [esp + 0xf0]
push ecx
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0xec]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x42901b
mov edi, dword [esi + 0x10]
add esi, 0x10
cmp edi, ebx
jne 0x428f94
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x68], 2
jne 0x42901b
lea edx, [esp + 0x10]
push edx
push 0x451998
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42901b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1f0]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e4
ret
Function at 0x4290b0
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [0x45626c]
sub esp, 0x334
lea eax, [esp + 0x30]
push esi
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4291b8
push edi
push esi
call fcn.0042fffb
add esp, 4
mov edi, eax
lea ecx, [esp + 0x38]
push edi
push esi
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42919d
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0x451aa4
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42919d
mov eax, dword [esp + 0xc]
xor edx, edx
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
push ecx
push edx
lea eax, [esp + 0x144]
push 0x451a7c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x13c]
push ecx
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
cmp byte [eax], 0
je 0x429187
cmp byte [eax], 0x2c
jne 0x429175
mov byte [eax], 0x2e
mov cl, byte [eax]
cmp cl, 0x20
je 0x42917f
mov byte [edx], cl
inc edx
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42916d
mov byte [edx], 0
mov edx, dword [esp + 0x340]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test edi, edi
je 0x4291aa
push edi
call fcn.004303de
add esp, 4
pop edi
mov eax, 1
pop esi
add esp, 0x334
ret
xor eax, eax
pop esi
add esp, 0x334
ret

Function at 0x4291d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x429211
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
je 0x42922e
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x42922e
cmp dword [esp + 0xc], 5
jne 0x42922e
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
je 0x429230
xor eax, eax
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x429240
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x429281
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
je 0x4292a6
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x4292a6
cmp dword [esp + 0xc], 5
jne 0x4292a6
cmp dword [esp + 0x10], 2
jne 0x4292a6
pop edi
mov eax, 1
pop esi
add esp, 0x9c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x9c
ret
Function at 0x4292c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push edi
push 0x104
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 7]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x429300
lea edx, [esp + 8]
push 0x445344
push edx
call esi
lea eax, [esp + 8]
push 0x45015c
push eax
call esi
push 8
lea ecx, [esp + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
je 0x429369
push 0x451ba0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x429362
mov ecx, dword [0x456274]
test ecx, ecx
je 0x42934d
mov edx, dword [esp + 0x110]
push 0
push edx
call eax
test eax, eax
je 0x429362
jmp 0x42935d
mov ecx, dword [esp + 0x110]
push 1
push ecx
call eax
test eax, eax
je 0x429362
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x104
ret

Function at 0x4295b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 3]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x4295ed
lea edx, [esp + 4]
push 0x445344
push edx
call esi
lea eax, [esp + 4]
push 0x45015c
push eax
call esi
push 8
lea ecx, [esp + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
je 0x42962f
push 0x451bc0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x429628
mov edx, dword [esp + 0x10c]
push edx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
add esp, 0x104
ret
Function at 0x435984
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x455970
cmp edx, dword [eax]
je 0x4359a6
add eax, 8
inc ecx
cmp eax, 0x455a00
jl 0x435997
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x455970]
jne 0x435ad4
mov eax, dword [0x45b03c]
cmp eax, 1
je 0x435aae
test eax, eax
jne 0x4359d7
cmp dword [0x45335c], 1
je 0x435aae
cmp edx, 0xfc
je 0x435ad4
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x435a0e
lea eax, [ebp - 0x1a4]
push 0x442158
push eax
call fcn.004368d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004369c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x435a51
lea eax, [ebp - 0x1a4]
push eax
call fcn.004369c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x442154
push edi
call fcn.00431140
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x442138
push eax
call fcn.004368d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004368e0
lea eax, [ebp - 0xa0]
push 0x442134
push eax
call fcn.004368e0
push dword [esi + 0x455974]
lea eax, [ebp - 0xa0]
push eax
call fcn.004368e0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x44210c
push eax
call fcn.00437a38
add esp, 0x2c
pop edi
jmp 0x435ad4
lea eax, [ebp + 8]
lea esi, [esi + 0x455974]
push 0
push eax
push dword [esi]
call fcn.004369c0
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 0x1000a526
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1000a535
pop dword [ebp - 0x18]
mov eax, 0xb4ba7d6a
add eax, 0x5b4627cb
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x1349cfaf
add dword [ebp - 0x28], 0x3b08759c
mov dword [ebp - 0x24], 0xb71ff664
sub dword [ebp - 0x24], 0x84ecaa1f
mov dword [ebp - 0x20], 0xd4058c4f
add dword [ebp - 0x20], 0x7846b7df
mov dword [ebp - 0x1c], 0xa8841ef8
sub dword [ebp - 0x1c], 0xa8841ef8
lea eax, [ebp - 0x28]
push eax
mov eax, 0x6cc4b3d0
sub eax, 0x5cc2c32c
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x7d45f34d
add dword [ebp - 0x28], 0xf72c7609
mov dword [ebp - 0x24], 0xc5a08489
add dword [ebp - 0x24], 0x7bcbdcec
mov dword [ebp - 0x20], 0x71f98639
sub dword [ebp - 0x20], 0xe8a19cd
mov dword [ebp - 0x1c], 0xeb43b164
add dword [ebp - 0x1c], 0x14bc4e9c
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b897
push 0
call eax
mov ecx, 0x7d91d210
add ecx, 0x826e77a3
xor edi, edi
add edi, eax
mov edx, 0xeec0e29c
add edx, 0x2141b764
add edx, dword [ebp - 0x18]
mov esi, 0xb7479477
add esi, 0x98f5c822
xor dword [ebp - 0x10], 0x8e45e437
mov ebx, dword [edx]
sub dword [ebp - 0xc], ecx
sub ebx, esi
xor dword [ebp - 8], 0xd6ee5fcc
mov dword [edi], ebx
add dword [ebp - 0xc], edi
add edi, 0x9a6a990c
sub edi, 0x9a6a9908
add edx, 0xe259bcee
add edx, 0x1da64316
loop 0x1000a654
add eax, 0xecd783b6
sub eax, 0xecd66a17
mov ebx, eax
add eax, 0x1a80e06b
add eax, 0xe57f1f9a
mov ecx, 0x43111a7c
sub ecx, 0x33111a7c
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1000a526
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1000a526
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.1000a526
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1000a526
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8

Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1000a526
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c

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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

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 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x194f04e6
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x29a116ca
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219

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 0x40de40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b7bb
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.004802be
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40dec2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047e03d
mov eax, dword [eax]
push 0x5371e0
push eax
call fcn.00470bf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00480549
test bl, bl
je 0x40dec2
push 0x5371e0
lea ecx, [esp + 0xc]
call fcn.004808d9
push 0x53ad5c
lea ecx, [esp + 0xc]
call fcn.004808d9
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 0x40defe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00480549
jmp 0x40dfc9
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 0x40df82
lea edx, [esp + 0x7c]
push 0x53ad58
push edx
call fcn.00470bf4
add esp, 8
test eax, eax
je 0x40df82
lea eax, [esp + 0x7c]
push 0x53ad54
push eax
call fcn.00470bf4
add esp, 8
test eax, eax
je 0x40df82
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 0x40df12
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.00480549
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 0x40e7c0
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 0x40e822
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 0x40e830
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b83b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x54a450]
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 0x40e968
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e896
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480549
xor eax, eax
jmp 0x40e9df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00480686
push esi
lea ecx, [esp + 0xc]
call fcn.00480915
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 0x40e9bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e7c0
test eax, eax
jne 0x40e9bd
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.0040e7c0
test eax, eax
jne 0x40e9bd
lea eax, [esp + 0x14]
push 0x53ad70
push eax
call fcn.00471c70
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e99c
lea ecx, [esp + 0x14]
push 0x53ad6c
push ecx
call fcn.00471bf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e99c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e99f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00480636
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e8ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00480549
xor eax, eax
jmp 0x40e9df
mov byte [esi], 0
push 0x53ad68
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.00480549
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