joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x401443
pop dword [ebp - 0x24]
mov eax, 0xc958f495
add eax, 0x36e71fae
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x269dd307
add dword [ebp - 0x34], 0x27b47244
mov dword [ebp - 0x30], 0xa5ae7eca
sub dword [ebp - 0x30], 0x737b3285
mov dword [ebp - 0x2c], 0x187e4a04
sub dword [ebp - 0x2c], 0xcc3205d6
mov dword [ebp - 0x28], 0x67969fc1
sub dword [ebp - 0x28], 0x67969fc1
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x5efe7b54
add dword [ebp - 0x34], 0x1573ee02
mov dword [ebp - 0x30], 0xecb91e7c
sub dword [ebp - 0x30], 0xab4cbd07
mov dword [ebp - 0x2c], 0xf726c3df
add dword [ebp - 0x2c], 0x6c48a88d
mov dword [ebp - 0x28], 0xbac140e
add dword [ebp - 0x28], 0xf453ebf2
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x7c559bc3
add eax, 0x83eae53d
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3c4d2
push 0
call eax
mov ecx, 0x580b
mov esi, eax
mov edi, 0xd991c22c
add edi, 0x26b521d4
add edi, dword [ebp - 0x24]
mov edx, 0xd2b72a95
sub edx, 0xf272ffe6
xor dword [ebp - 0x18], edx
mov ebx, dword [edi]
add dword [ebp - 8], 0x37328d8c
sub ebx, edx
add dword [ebp - 8], 0x16b33426
mov dword [esi], ebx
add esi, 4
add edi, 0x3ae67bec
sub edi, 0x3ae67be8
loop 0x40155a
add eax, 0x61c3205f
add eax, 0x9e3e32a0
xor ebx, ebx
add ebx, eax
add eax, 0x86e948b3
sub eax, 0x86e948ae
mov ecx, 0x19757f59
sub ecx, 0x19357f59
add ecx, dword [ebp - 0x24]
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 0x103aece8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103aecf2
pushal
call 0x103aecf8
pop ebp
sub ebp, 0x10
sub ebp, 0x3aece8
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103aed1c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103aed25
mov eax, 0x3aece8
add eax, ebp
add eax, 0x63
mov ecx, 0x61a
mov edx, 0xe07151f0
xor byte [eax], dl
inc eax
dec ecx
jne 0x103aed3c
jmp 0x103aed4f
jnp 0x103aed8e
jnp 0x103aedcc
int3
invalid
invalid
Function at 0x4010a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x3c
test edx, edx
je 0x40115e
mov dword [esp + 8], edx
mov ebx, edx
mov edi, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.kernel32.dll_WideCharToMultiByte
sub esp, 0x20
mov edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x40115e
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.kernel32.dll_WideCharToMultiByte
sub esp, 0x20
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401170
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x3c
test edx, edx
je 0x401211
mov dword [esp + 8], edx
mov ebx, edx
mov edi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.kernel32.dll_MultiByteToWideChar
mov edx, eax
sub esp, 0x18
lea ecx, [edx + edx]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x401211
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.kernel32.dll_MultiByteToWideChar
sub esp, 0x18
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401420
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
mov eax, 0xfde9
sub esp, 0x20
call fcn.004010a0
mov esi, eax
mov eax, dword [0x408014]
test eax, eax
je 0x4014c8
cmp byte [esi], 0x5c
mov eax, esi
jne 0x401458
lea esi, [esi]
add eax, 1
cmp byte [eax], 0x5c
je 0x401450
movzx edx, word [section..data]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0x402250
mov dword [esp + 0x14], 0x401000
mov dword [esp + 0x10], 0x402530
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
call sub.cabinet.dll_FCIAddFile
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], 0x5c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strrchr]
mov edx, eax
lea eax, [eax + 1]
test edx, edx
cmove eax, esi
jmp 0x401458
Function at 0x4014f0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x27c
cmp word [edx], 0
mov dword [ebp - 0x26c], eax
je 0x40169f
mov eax, edx
add eax, 2
cmp word [eax], 0
jne 0x401510
sub eax, ebx
add eax, 0x20c
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
mov esi, eax
sub esp, 0xc
xor eax, eax
test esi, esi
je 0x401671
movzx edx, word [ebx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x401550
cmp word [esi], 0
mov edi, esi
je 0x401591
lea esi, [esi]
nop
mov eax, edi
add edi, 2
cmp word [edi], 0
jne 0x401570
cmp esi, edi
jae 0x401591
cmp word [edi - 2], 0x5c
je 0x401591
mov edx, 0x5c
mov word [edi], dx
lea edi, [eax + 4]
xor eax, eax
mov edx, 0x2a
jmp 0x4015a7
movzx edx, word [eax + 0x406608]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x4015a0
lea eax, [ebp - 0x268]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.kernel32.dll_FindFirstFileW
sub esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4015f1
jmp 0x401649
lea eax, [ebp - 0x268]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.kernel32.dll_FindNextFileW
sub esp, 8
test eax, eax
je 0x40163e
mov eax, dword [ebp - 0x23c]
cmp eax, 0x2e
je 0x4015d8
cmp eax, 0x2e002e
je 0x401680
mov eax, dword [ebp - 0x268]
and eax, 0x400
jne 0x4015d8
movzx edx, word [ebp + eax - 0x23c]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x401610
mov eax, dword [ebp - 0x26c]
mov edx, esi
test byte [ebp - 0x268], 0x10
je 0x401698
call fcn.004014f0
test eax, eax
jne 0x4015d8
mov dword [esp], ebx
call sub.kernel32.dll_FindClose
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
mov eax, 1
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp word [ebp - 0x238], 0
jne 0x401603
jmp 0x4015d8
call fcn.00401420
jmp 0x40163a
mov eax, 0x20c
jmp 0x401520

Function at 0x401850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.kernel32.dll_WriteFile
mov edx, eax
sub esp, 0x14
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x401890
leave
ret
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov eax, 0xffffffff
leave
ret
Function at 0x4025e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.kernel32.dll_ReadFile
mov edx, eax
sub esp, 0x14
mov eax, dword [ebp - 0xc]
test edx, edx
je 0x402620
leave
ret
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov eax, 0xffffffff
leave
ret
Function at 0x4038f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll__configure_wide_argv]
call dword [sym.imp.ucrtbase.dll__initialize_wide_environment]
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call dword [sym.imp.ucrtbase.dll__get_initial_wide_environment]
mov ebx, eax
mov eax, dword [0x40003c]
cmp word [eax + 0x40005c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__set_app_type]
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00402670
mov dword [esp], eax
call 0x403960
nop
nop
nop
nop
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll_exit]
Function at 0x258071b7
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x2581bbcc
call fcn.2581aa61
mov eax, dword fs:[0x2c]
xor ebx, ebx
mov ecx, dword [0x2582448c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x25823cb8]
cmp eax, dword [ecx + 4]
jg 0x25807284
cmp byte [0x25823cb4], 0
je 0x2580727e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
call fcn.25811297
push 1
lea esi, [eax + 6]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2580727e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push esi
push edi
call fcn.25811297
add esp, 0x14
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
push str._nEFS:TMS:
call fcn.2580cc41
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.2580cbab
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, 0x10
jb 0x2580727e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.25811297
pop ecx
pop ecx
call fcn.2581aa50
ret
mov edi, 0x25823cb8
push edi
call fcn.25811297
cmp dword [0x25823cb8], 0xffffffff
pop ecx
jne 0x258071e5
mov eax, dword [0x25823de8]
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x2581d220]
call esi
test al, al
je 0x258072e2
mov eax, dword [0x258240c4]
push ebx
push str.enableTMSLogging
push 0x2581db70
mov esi, dword [eax + 0x5a8]
mov ecx, esi
call dword [0x2581d220]
call esi
add esp, 0xc
test ax, ax
mov al, 1
jne 0x258072e6
jmp 0x258072e2
mov al, bl
jmp 0x258072e6
or dword [ebp - 4], 0xffffffff
push edi
mov byte [0x25823cb4], al
call fcn.25811297
pop ecx
jmp 0x258071e5
Function at 0x25811297
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x258112a6
pop dword [ebp - 0x40]
mov eax, 0x258112a6
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xa5c23f01
sub dword [ebp - 0x50], 0x576ff9b6
mov dword [ebp - 0x4c], 0x64ee18ef
add dword [ebp - 0x4c], 0xcd453356
mov dword [ebp - 0x48], 0x4ed1b41e
add dword [ebp - 0x48], 0xfd7a9010
mov dword [ebp - 0x44], 0x3ecac040
add dword [ebp - 0x44], 0xc1353fc0
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xbc489d33
sub dword [ebp - 0x50], 0x47d633dd
mov dword [ebp - 0x4c], 0x54477aa0
sub dword [ebp - 0x4c], 0x12db192b
mov dword [ebp - 0x48], 0x92fe4fa2
sub dword [ebp - 0x48], 0x2f8ee336
mov dword [ebp - 0x44], 0x17d7ddda
add dword [ebp - 0x44], 0xe8282226
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x22569c3c
sub eax, 0xfcd4cbbc
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3cb08
push 0
call eax
mov ecx, 0x34eebcb0
sub ecx, 0x34ee74da
xor ebx, ebx
add ebx, eax
mov esi, 0x79904b11
add esi, 0xabf24aef
add esi, dword [ebp - 0x40]
mov edi, 0xa57b2067
sub edi, 0x2e234544
mov edx, dword [esi]
add dword [ebp - 0x30], esi
add edx, edi
xor dword [ebp - 0xc], esi
mov dword [ebx], edx
add ebx, 0x493357b4
add ebx, 0xb6cca850
add esi, 0xb83d799a
sub esi, 0xb83d7996
loop 0x258113c0
add eax, 0x1122b
mov ebx, eax
add eax, 5
mov ecx, 0x25800000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10005f16
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10005f55
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10005f55
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10005f55
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10005f55
cmp dword [ecx + 0x74], 0xe
jbe 0x10005f55
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10008efb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10008f98
push ebx
push esi
call fcn.10008ec4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10008e58
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10008f45
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10008f97
push edi
push eax
call fcn.10006cc6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10008f65
call fcn.100079a0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10008f96
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10008e58
add esp, 0x20
test eax, eax
jne 0x10008f84
push edi
call fcn.100079a0
jmp 0x10008f8c
push ebx
call fcn.100079a0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10009205
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010860
push 0x10010858
push str.FlsAlloc
push 0x1f
call fcn.10009121
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009239
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f1e0]
call esi
jmp 0x1000923f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10009283
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010870
push 0x10010868
push str.FlsGetValue
push 0x21
call fcn.10009121
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100092ba
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f1e0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100092c2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010878
push 0x10010870
push str.FlsSetValue
push 0x22
call fcn.10009121
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100092fc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f1e0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000de60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000de8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000de8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41a050
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b02bb
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.004a48db
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a0d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a2526
mov eax, dword [eax]
push 0x4d5cc4
push eax
call fcn.00493c44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a4b66
test bl, bl
je 0x41a0d2
push 0x4d5cc4
lea ecx, [esp + 0xc]
call fcn.004a4ef6
push 0x4d5cd0
lea ecx, [esp + 0xc]
call fcn.004a4ef6
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 0x41a10e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a4b66
jmp 0x41a1d9
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 0x41a192
lea edx, [esp + 0x7c]
push 0x4d5ccc
push edx
call fcn.00493c44
add esp, 8
test eax, eax
je 0x41a192
lea eax, [esp + 0x7c]
push 0x4d5cc8
push eax
call fcn.00493c44
add esp, 8
test eax, eax
je 0x41a192
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 0x41a122
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.004a4b66
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 0x41a9d0
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 0x41aa32
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 0x41aa40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b033b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e55e0]
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 0x41ab78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41aaa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a4b66
xor eax, eax
jmp 0x41abef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a4ca3
push esi
lea ecx, [esp + 0xc]
call fcn.004a4f32
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 0x41abcd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041a9d0
test eax, eax
jne 0x41abcd
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.0041a9d0
test eax, eax
jne 0x41abcd
lea eax, [esp + 0x14]
push 0x4d5ce0
push eax
call fcn.00494db0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41abac
lea ecx, [esp + 0x14]
push 0x4d5cdc
push ecx
call fcn.00494d30
mov esi, eax
add esp, 8
test esi, esi
jne 0x41abac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41abaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a4c53
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41aabe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a4b66
xor eax, eax
jmp 0x41abef
mov byte [esi], 0
push 0x4d5cd8
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.004a4b66
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