joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add cl, 0xe0
add ebp, dword [ebx]
inc ebp
adc byte [ebx], al
invalid

Function at 0x405ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00405925
push eax
push esi
push dword [ebp + 8]
call fcn.004058da
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00405925
push eax
push esi
push dword [ebp + 8]

Function at 0x40bc30
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x44fcc8]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40bcf2
cmp byte [esi + 0x3d], 0
je 0x40bcf2
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40bcdf
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x40bca3
sub eax, 1
je 0x40bca7
sub eax, 2
jne 0x40bcdf
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0042b600
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x40bcc7
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40bcdf
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0042b600
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0042b600
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.0042b600
add esp, 0x28
ret
Function at 0x40c940
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xa00
mov eax, dword [0x44fcc8]
xor eax, esp
mov dword [esp + 0x9fc], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x40ca48
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40ca48
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
lea eax, [esp + 0x30]
push 0x3e8
push eax
lea eax, [esp + 0x240]
push eax
call edi
mov ebx, dword [esp + 0xa1c]
lea eax, [esp + 0x244]
add esp, 0xc
mov ecx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c9d2
test dl, dl
je 0x40c9ce
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c9d2
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c9b2
xor eax, eax
jmp 0x40c9d7
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ca69
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x40ca48
nop
push 0x3e8
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x628]
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x620]
mov eax, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40ca30
test dl, dl
je 0x40ca2c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40ca30
add ecx, 2
add eax, 2
test dl, dl
jne 0x40ca10
xor eax, eax
jmp 0x40ca35
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ca69
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40c9f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x9fc]
xor ecx, esp
call fcn.0042b600
add esp, 0xa00
ret
mov ecx, dword [esp + 0xa08]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b600
add esp, 0xa00
ret
Function at 0x40d003
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x44fcc8]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40d020
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042b600
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x40d051
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x40d051
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042b600
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x40d15b
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40d07a
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40d0af
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042b600
add esp, 0x30
ret 4
lea eax, [esp + 0x10]
mov byte [esp + 0xc], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x40d117
sub eax, 1
je 0x40d117
sub eax, 2
jne 0x40d15b
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.0040aec0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042b600
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x40d137
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40d15b
lea eax, [esp + 0xc]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
je 0x40d15b
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0042b600
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b600
add esp, 0x30
ret 4
Function at 0x40d620
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
mov ecx, dword [esp + 0x44]
xorps xmm0, xmm0
push esi
mov esi, dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 4], 0x3c
call esi
mov dword [esp + 0x14], eax
mov ecx, 5
xor eax, eax
mov dword [esp + 8], 0x4c
cmp byte [esp + 0x50], al
cmovne eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
call esi
cmp byte [esp + 0x58], 0
mov dword [esp + 0x18], eax
mov eax, str.runas
cmove eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
cmp ecx, 0x20
setg al
mov dword [esi + 8], 0
mov byte [esi], al
mov dword [esi + 4], ecx
jle 0x40d700
cmp byte [esp + 0x54], 0
je 0x40d700
push 0xffffffffffffffff
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x50]
mov dword [esp + 0x50], 0
push eax
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x50]
mov dword [esi + 8], ecx
mov eax, esi
pop esi
add esp, 0x3c
ret
Function at 0x410ea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x450bc0], ecx
inc eax
cmp eax, 0x100
jb 0x410ea2
cmp eax, 0x800
jae 0x410f73
nop word [eax + eax]
mov edx, dword [eax*4 + 0x4507c0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x450bc0]
mov dword [eax*4 + 0x450bc0], edx
inc eax
cmp eax, 0x800
jb 0x410f50
mov dword [0x450744], 0x410fa0
call fcn.004150f0
mov ecx, dword [0x450744]
test eax, eax
mov edx, 0x410fa0
cmove ecx, edx
mov dword [0x450744], ecx
ret

Function at 0x411c10
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, dword [edi]
test esi, esi
je 0x411c71
mov ebp, dword [esp + 0x14]
mov ecx, 0x400000
mov ebx, dword [esp + 0x18]
mov dword [edi], 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, ecx
push eax
push ebx
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x411c78
test ecx, ecx
je 0x411c71
mov ecx, 0x400000
test esi, esi
jne 0x411c31
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
pop ebx
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x414f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0xc
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x414f5f
xor eax, eax
pop ebx
add esp, 0xc
ret
add dword [esp + 0x1c], 5
lea edx, [ecx - 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
or ebp, 0xffffffff
add edx, edi
mov dword [esp + 0x24], edx
lea esi, [ebx + edi]
mov dword [esp + 0x10], esi
cmp esi, edx
jae 0x414f95
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x414f91
inc esi
cmp esi, edx
jb 0x414f82
mov dword [esp + 0x10], esi
mov ebx, esi
sub ebx, edi
mov ecx, ebx
sub ecx, ebp
cmp esi, edx
jae 0x4150bc
cmp ecx, 3
jbe 0x414fd3
xor eax, eax
mov cl, byte [esi + 4]
mov ebp, ebx
mov dword [esp + 0x18], ebp
test cl, cl
je 0x41500f
cmp cl, 0xff
je 0x41500f
mov edx, dword [esp + 0x24]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x414f77
dec ecx
shl eax, cl
and eax, 7
je 0x414fac
cmp byte [eax + 0x436a48], 0
je 0x414fff
movzx ecx, byte [eax + 0x436a50]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x414ffb
cmp cl, 0xff
jne 0x414fac
mov edx, dword [esp + 0x24]
and eax, 3
mov ebp, ebx
add eax, eax
or eax, 1
inc ebx
jmp 0x414f77
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [esp + 0x28]
shl edi, 8
or edi, ecx
cmp dword [esp + 0x30], 0
je 0x41503f
lea edx, [edi + ebx]
add edx, esi
jmp 0x415045
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x415080
movzx ebp, byte [eax + 0x436a50]
mov ecx, 0x18
shl ebp, 3
mov edi, edx
sub ecx, ebp
shr edi, cl
mov ecx, edi
mov dword [esp + 0x14], edi
test cl, cl
je 0x41506d
cmp cl, 0xff
jne 0x415080
mov ecx, 0x20
mov edi, 1
sub ecx, ebp
shl edi, cl
dec edi
xor edi, edx
jmp 0x415031
mov esi, dword [esp + 0x10]
mov ecx, edx
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], dl
neg cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [esp + 0x24]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add ebx, ecx
jmp 0x414f77
pop edi
pop esi
pop ebp
cmp ecx, 3
jbe 0x4150d3
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
add esp, 0xc
ret
dec ecx
shl eax, cl
mov ecx, dword [esp + 0x20]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x425ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4323f1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44fcc8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi], vtable.Updater.0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
push 0
mov ecx, esi
call fcn.00420600
lea ecx, [edi + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [edi + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [edi + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [edi + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [edi + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push 0
push str.1onRequestFinished_RequestResult_
push edi
push str.2finished_RequestResult_
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push esi
push eax
mov dword [edi + 0x34], 0
call dword [sym.imp.Qt5Core.dll_public:_static_class_QMetaObject::Connection___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_]
add esp, 0x18
lea ecx, [ebp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42c6a0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x42c6d2
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.0042bbd0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
je 0x42c76c
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.0042bbd0
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jne 0x42c711
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.00417170
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x42c7aa
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x42c7aa
push ecx
call fcn.0042bbd9
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jne 0x42c792
push ebp
call fcn.0042bbd9
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x420107
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004202b7
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x420205
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4201a8
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4201eb
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4201bf
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4201da
test al, 0x40
je 0x4201d1
mov ecx, dword [edi + 0x20]
jmp 0x4201d8
test al, 0x80
je 0x4201eb
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4201eb
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x420177
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x42d3c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d3ffb
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.004c84db
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d442
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c5b33
mov eax, dword [eax]
push 0x8e9cf8
push eax
call fcn.004b7054
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c8766
test bl, bl
je 0x42d442
push 0x8e9cf8
lea ecx, [esp + 0xc]
call fcn.004c8af6
push 0x8e9d04
lea ecx, [esp + 0xc]
call fcn.004c8af6
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 0x42d47e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c8766
jmp 0x42d549
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 0x42d502
lea edx, [esp + 0x7c]
push 0x8e9d00
push edx
call fcn.004b7054
add esp, 8
test eax, eax
je 0x42d502
lea eax, [esp + 0x7c]
push 0x8e9cfc
push eax
call fcn.004b7054
add esp, 8
test eax, eax
je 0x42d502
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 0x42d492
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.004c8766
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 0x42dd70
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 0x42ddd2
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 0x42dde0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d407b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8f9780]
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 0x42df18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42de46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c8766
xor eax, eax
jmp 0x42df8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c88a3
push esi
lea ecx, [esp + 0xc]
call fcn.004c8b32
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 0x42df6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0042dd70
test eax, eax
jne 0x42df6d
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.0042dd70
test eax, eax
jne 0x42df6d
lea eax, [esp + 0x14]
push 0x8e9d14
push eax
call fcn.004b80f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42df4c
lea ecx, [esp + 0x14]
push 0x8e9d10
push ecx
call fcn.004b8070
mov esi, eax
add esp, 8
test esi, esi
jne 0x42df4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42df4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c8853
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42de5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c8766
xor eax, eax
jmp 0x42df8f
mov byte [esi], 0
push 0x8e9d0c
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.004c8766
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