joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421180
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435670
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x45da50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x1c
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x4211e8
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
push eax
push str.Failed_in_VirtualQuery_returned_0x_x__Exception_address:_0x_08x_r_n
call fcn.00421c30
add esp, 0xc
xor eax, eax
jmp 0x42137c
jmp 0x42121b
mov dword [ebp - 4], 0xffffffff
jmp 0x42122c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42124c
push str.Error:_GetLogicalAddress::hMod__NULL_r_n
call fcn.00421c30
add esp, 4
xor eax, eax
jmp 0x42137c
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x42127d
push str.Failed_in_GetModuleFileName_r_n
call fcn.00421c30
add esp, 4
xor eax, eax
jmp 0x42137c
jmp 0x4212b0
mov dword [ebp - 4], 0xffffffff
jmp 0x4212c1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x50], 0
jmp 0x421308
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x24]
add eax, 0x28
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x50], edx
jae 0x42137a
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 8]
jbe 0x421336
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x64], eax
jmp 0x42133f
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x54]
jb 0x421375
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x58]
ja 0x421375
mov eax, dword [ebp - 0x50]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x54]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov eax, 1
jmp 0x42137c
jmp 0x4212f6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x421c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x45da50]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x80c], eax
mov ecx, dword [ebp - 0x80c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x80c], 0
push 0
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp - 0x814]
shl edx, 1
push edx
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [0x45e208]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x814]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430f9c
mov esp, ebp
pop ebp
ret
Function at 0x421cb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.IMAGEHLP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x421cd1
xor eax, eax
jmp 0x421e7f
push str.SymInitialize
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e20c], eax
cmp dword [0x45e20c], 0
jne 0x421cf5
xor eax, eax
jmp 0x421e7f
push str.SymCleanup
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e210], eax
cmp dword [0x45e210], 0
jne 0x421d19
xor eax, eax
jmp 0x421e7f
push str.StackWalk64
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e214], eax
cmp dword [0x45e214], 0
jne 0x421d3d
xor eax, eax
jmp 0x421e7f
push str.SymFunctionTableAccess64
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e220], eax
cmp dword [0x45e220], 0
jne 0x421d61
xor eax, eax
jmp 0x421e7f
push str.SymGetModuleBase64
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e224], eax
cmp dword [0x45e224], 0
jne 0x421d85
xor eax, eax
jmp 0x421e7f
push str.SymGetSymFromAddr
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e228], eax
cmp dword [0x45e228], 0
jne 0x421da9
xor eax, eax
jmp 0x421e7f
push str.SymGetLineFromAddr
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e22c], eax
push str.UnDecorateSymbolName
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e230], eax
cmp dword [0x45e230], 0
jne 0x421de1
xor eax, eax
jmp 0x421e7f
push str.SymGetOptions
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e218], eax
push str.SymSetOptions
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45e21c], eax
mov dword [ebp - 4], 0
cmp dword [0x45e218], 0
je 0x421e2b
call dword [0x45e218]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffffd
mov dword [ebp - 4], ecx
cmp dword [0x45e21c], 0
je 0x421e47
mov edx, dword [ebp - 4]
or edx, 0x10
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x45e21c]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x45e20c]
test eax, eax
jne 0x421e7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.Failed_in_SymInitialize:_Last_Error_returned_0x_08x_r_n
call fcn.00421c30
add esp, 8
xor eax, eax
jmp 0x421e7f
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x425d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435b29
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x45da50]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push 0x20319
push 0
push str.SOFTWAREATI_TechnologiesLog
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x425dfb
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov edx, dword [ebp - 0x244]
or edx, 1
mov dword [ebp - 0x244], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, dword [ebp + 8]
jmp 0x425e82
mov word [ebp - 0x23c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x240], 0x208
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push str.Location
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425e4c
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_unsigned_short_int_const__]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, dword [ebp - 0x244]
or ecx, 1
mov dword [ebp - 0x244], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00430f9c
mov esp, ebp
pop ebp
ret 4
Function at 0x42fdc0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
cmp eax, 1
jne 0x42fde5
mov al, 1
jmp 0x42fde7
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x430ae0
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
push esi
push edi
lea eax, [esp + 8]
mov esi, ecx
push eax
lea ecx, [esp + 0x18]
push ecx
xor edi, edi
push edx
mov dword [esp + 0x14], edi
call fcn.0040cd10
test al, al
je 0x430c09
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x430bfb
mov eax, dword [esi + 8]
cmp eax, edi
je 0x430bfb
push ebx
lea edx, [esp + 0x10]
push edx
push edi
push eax
push 0x6801
push ecx
xor bl, bl
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x430b61
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
push edi
push 1
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x430b61
mov bl, 1
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x430b70
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test bl, bl
je 0x430be2
mov ecx, dword [str.ENCMONET]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x10]
mov esi, eax
add esi, esi
lea ebp, [esi + edx]
push ebp
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x430bdf
mov eax, dword [str.ENCMONET]
push esi
push eax
push edi
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push ecx
push edx
add edi, esi
push edi
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x38]
add esp, 0x18
push ebp
sub edi, esi
push edi
push eax
call fcn.0040cde0
test al, al
jne 0x430bd3
xor bl, bl
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
jmp 0x430be1
xor bl, bl
pop ebp
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov al, bl
pop ebx
pop edi
pop esi
add esp, 8
ret 8
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
xor al, al
pop esi
add esp, 8
ret 8

Function at 0x430c20
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push esi
push edi
push 0
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
mov edi, ecx
push 0
lea esi, [edi + 4]
push esi
call ebx
test eax, eax
jne 0x430c65
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push eax
push esi
call ebx
test eax, eax
jne 0x430c65
push str.A_cryptographic_service_handle_could_not_be_acquired._n
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
add edi, 8
push edi
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x430c9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_call_to_function_failed:CryptCreateHash__last_error___d_n
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x430d10
Capabilities:
Hash data via wincrypt

Disassembly:
push esi
mov esi, ecx
mov dword [esi], vtable.EncryptData.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00430c20
test al, al
je 0x430d5e
mov edx, dword [esp + 8]
mov eax, edx
push edi
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430d40
sub eax, edi
push 0
sar eax, 1
push eax
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x430db0
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push edi
lea eax, [esp + 0xc]
mov edi, ecx
push eax
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x18], 0
call fcn.0040cd10
test al, al
je 0x430ee1
push esi
mov byte [esp + 0x1c], 0
call fcn.00430ca0
test al, al
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x430e08
mov edx, dword [str.ENCMONET]
push edx
call esi
add eax, eax
add dword [esp + 8], eax
sub dword [esp + 0xc], eax
mov byte [esp + 0x18], 1
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x430ebd
mov eax, dword [edi + 8]
test eax, eax
je 0x430ebd
push ebx
lea edx, [esp + 0x14]
push edx
push 0
push eax
push 0x6801
push ecx
xor bl, bl
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x430e62
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ecx
push 0
push 1
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x430e62
mov bl, 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x430e71
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test bl, bl
je 0x430e8f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call fcn.0040cde0
test al, al
jne 0x430e8f
xor bl, bl
cmp byte [esp + 0x1c], 0
je 0x430ea4
mov eax, dword [str.ENCMONET]
push eax
call esi
add eax, eax
sub dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov al, bl
pop ebx
pop edi
pop esi
add esp, 0xc
ret 8
cmp byte [esp + 0x18], 0
je 0x430ed3
mov edx, dword [str.ENCMONET]
push edx
call esi
add eax, eax
sub dword [esp + 8], eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
xor al, al
pop esi
add esp, 0xc
ret 8

Function at 0x430f9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45da50]
jne 0x430fa6
repz ret
jmp fcn.004314ad
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6e8b0492
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x127d3717
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x428f00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4f1b
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.004a8faa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x428f82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a6ced
mov eax, dword [eax]
push 0x526d34
push eax
call fcn.00498414
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a9235
test bl, bl
je 0x428f82
push 0x526d34
lea ecx, [esp + 0xc]
call fcn.004a95c5
push 0x526d40
lea ecx, [esp + 0xc]
call fcn.004a95c5
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 0x428fbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a9235
jmp 0x429089
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 0x429042
lea edx, [esp + 0x7c]
push 0x526d3c
push edx
call fcn.00498414
add esp, 8
test eax, eax
je 0x429042
lea eax, [esp + 0x7c]
push 0x526d38
push eax
call fcn.00498414
add esp, 8
test eax, eax
je 0x429042
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 0x428fd2
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.004a9235
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 0x429880
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 0x4298e2
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 0x4298f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4f9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x532bc8]
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 0x429a28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x429956
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a9235
xor eax, eax
jmp 0x429a9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a9372
push esi
lea ecx, [esp + 0xc]
call fcn.004a9601
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 0x429a7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00429880
test eax, eax
jne 0x429a7d
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.00429880
test eax, eax
jne 0x429a7d
lea eax, [esp + 0x14]
push 0x526d50
push eax
call fcn.004996e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x429a5c
lea ecx, [esp + 0x14]
push 0x526d4c
push ecx
call fcn.00499660
mov esi, eax
add esp, 8
test esi, esi
jne 0x429a5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x429a5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a9322
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42996e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a9235
xor eax, eax
jmp 0x429a9f
mov byte [esi], 0
push 0x526d48
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.004a9235
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