joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1015d160
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, 0x6b
xor esi, esi
lea edi, [ebp - 0x6c]
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x8c], 0x56
mov byte [ebp - 0x8b], 0x69
mov byte [ebp - 0x8a], 0x72
mov byte [ebp - 0x89], 0x74
mov byte [ebp - 0x88], 0x75
mov byte [ebp - 0x87], 0x61
mov byte [ebp - 0x86], 0x6c
mov byte [ebp - 0x85], 0x41
mov byte [ebp - 0x84], 0x6c
mov byte [ebp - 0x83], 0x6c
mov byte [ebp - 0x82], 0x6f
mov byte [ebp - 0x81], 0x63
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 0x26
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x26
mov dword [0x10188238], 0xd93
mov dword [0x10188234], 0x642
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0x9d], dl
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
jmp 0x1015d282
mov eax, dword [ebp - 0xac]
add eax, 0x1e7c
mov dword [ebp - 0xb0], eax
mov dword [0x10188234], 0x1d80
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
jmp 0x1015d3c4
mov eax, dword [ebp - 0xa8]
mov cl, byte [ebp - 0x9d]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x6c], si
mov edx, eax
add edx, 1
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x9d], cl
mov dword [ebp - 0xa8], edx
jne 0x1015d282
xor eax, eax
lea ecx, [ebp - 0x6c]
mov dword [0x10188238], 0x956
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xb8], eax
call fcn.1015bd60
mov dword [esp], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
call fcn.1015c170
xor ecx, ecx
mov edx, dword [0x10188238]
add edx, 0xffffe8c4
mov dword [0x10188238], edx
cmp eax, 0
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], ecx
je 0x1015d3c4
mov eax, dword [ebp - 0xbc]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10188238], 0x1cc2
mov dword [esp], eax
mov ecx, dword [ebp - 0x90]
mov dword [esp + 4], ecx
mov dword [ebp - 0xac], eax
call fcn.1015c330
mov eax, dword [ebp - 0xac]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
xor eax, eax
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x54], ecx
mov ecx, dword [ebp - 0xac]
mov dword [edx + 0x4c], ecx
mov dword [0x10188234], 0x1b22
mov dword [0x10188238], 0x10
cmp ecx, 0
mov dword [ebp - 0xb4], eax
jne 0x1015d256
mov eax, dword [ebp - 0xb4]
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015d550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1018823c], 0
mov dword [0x10188240], 0
mov dword [0x1018824c], 0
mov dword [0x10188234], 0x1678
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1015d6c4
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1015d5b5
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x1018823c], edx
mov ebx, dword [0x10188238]
mov dword [ebp - 0x30], ecx
mov ecx, ebx
add ecx, 0xffffe86c
mov dword [0x10188234], ecx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x30]
add ecx, edx
mov eax, ecx
cdq
idiv esi
mov dword [0x10188240], edx
add ebx, 0xffffe02d
mov dword [0x10188238], ebx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10188244], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x10188234], 0x12a7
mov cl, byte [0x10188244]
mov edx, dword [0x10188240]
mov byte [ebx + edx], cl
mov edx, dword [0x1018823c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10188240]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x10188234], 0x1110
and ecx, 0xff
mov dword [0x1018824c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov byte [0x10188251], ch
mov byte [0x10188252], cl
xor ch, cl
mov byte [0x10188250], ch
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1015d6c2
mov eax, dword [0x1018823c]
mov ecx, dword [0x10188240]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x1015d5b5
jmp 0x1015d6c4
mov dword [0x10188234], 0x1361
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015d870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov dword [0x10188234], 0xd9e
mov dword [esp], eax
mov dword [esp + 0x34], ecx
call fcn.1015c660
mov ecx, 0x1ae7
lea edx, [0x1015cf60]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x48], esi
mov dword [esp + 0x6c], 0x120e00
mov esi, dword [0x10188220]
mov dword [esp + 0x50], esi
mov esi, dword [0x10188224]
mov dword [esp + 0x5c], esi
mov esi, dword [0x10188228]
mov dword [esp + 0x70], esi
mov esi, dword [0x1018822c]
mov dword [esp + 0x54], esi
mov dword [0x10188234], 0x26c3
mov esi, dword [0x10188230]
mov dword [esp + 0x88], esi
mov dword [0x10188238], 0x29d7
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
jmp 0x1015d971
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [0x10188238], ecx
mov dword [esp + 0x84], eax
mov dword [0x10188234], 0x1b01
mov eax, dword [eax + edx + 0x50]
mov dword [esp + 0x7c], eax
call fcn.1015cfe0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x1015d9ae
jmp 0x1015d9ec
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x1015d90d
jmp 0x1015d988
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x1015d94f
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, 0xf45
mov ecx, dword [esp + 0xc]
and ecx, 0xfffff000
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jmp 0x1015d971
lea eax, [esp + 0x48]
mov dword [0x10188234], 0x189e
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1015d160
mov dword [0x10188238], 0x1d69
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x40aee0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41c6fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
xor esi, esi
mov dword [esp + 0x124], esi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push str.HARDWAREDEVICEMAPSERIALCOMM
lea ecx, [esp + 8]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x20019
push esi
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x40afce
push ebx
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, 0x80
mov ebp, 1
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0xb8]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call edi
test eax, eax
jne 0x40afc0
lea eax, [esp + 0x2b]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
test eax, eax
jle 0x40afbd
cmp eax, 0x64
jge 0x40afbd
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov dword [eax + 0xc8], ebp
mov dword [eax + 0xd0], ebp
inc esi
jmp 0x40af5e
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
pop ebx
lea ecx, [esp + 4]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x11c]
pop esi
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x40bfe0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41c8bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0xb8], edi
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0xb8], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_AfxGetModuleState
mov ebp, dword [eax + 4]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esi + 0x1d0]
cmp eax, edi
jne 0x40c04b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x40c170
push ebx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0xbc], 2
lea esi, [ebp + 0x598]
mov ebx, 4
push edi
lea edx, [esp + 0x38]
push str.Channel_02dPort
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
push 0
push eax
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40c0e8
mov dword [esp + 0x10], 0
jmp 0x40c142
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40c142
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push 0x4248e4
push eax
mov byte [esp + 0xc8], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [esp + 0xbc], 2
lea ecx, [eax + eax*2 + 0x33]
mov dword [ebp + ecx*4], 1
mov eax, dword [esp + 0x10]
mov dword [esi - 0x10], eax
lea ecx, [esp + 0x20]
mov dword [esi], eax
call sub.MFC42.DLL_CString::CString
inc edi
add esi, ebx
cmp edi, ebx
jb 0x40c095
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 1
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x2c]
pop ebx
jmp 0x40c180
push 0x78
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::LoadStringA
mov esi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0xb8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xb0]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xb0
ret
Function at 0x40ce80
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x41c989
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
call dword [sym.imp.bcsfc.dll_public:_void___thiscall_BCSReg::constructor_void_]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edi, [esi + 0x15c]
push str.SOFTWARELandis__GyrInsightCurrentVersionStackSelectorStack_1
push edi
mov dword [esp + 0x18], eax
call fcn.00406f40
lea eax, [esi + 0x1ac]
push str.SOFTWARELandis__GyrInsightCurrentVersionStackSelectorStack_1Channel_0
push eax
call fcn.00406f40
lea ebx, [esi + 0x16c]
push str.StackID
push ebx
call fcn.00406f40
lea ebp, [esi + 0x17c]
push str.NumberChannels
push ebp
call fcn.00406f40
add esp, 0x20
lea eax, [esi + 0x20c]
mov dword [esp + 0x14], eax
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebp
call fcn.0040f230
sub esp, 0x10
mov byte [esp + 0x54], 1
mov ecx, esp
mov dword [esp + 0x40], esp
push edi
call fcn.0040f230
mov ebp, dword [sym.imp.bcsfc.dll_public:_int___thiscall_BCSReg::GetValue_struct_HKEY_____class__SS_char___class__SS_char___class__SS_char___]
push 0x80000002
lea ecx, [esp + 0x48]
mov byte [esp + 0x58], 0
call ebp
test eax, eax
jne 0x40cf5d
mov ecx, dword [esp + 0x14]
push 0x424178
push ecx
call fcn.00406f40
add esp, 8
add esi, 0x21c
push esi
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.0040f230
sub esp, 0x10
mov byte [esp + 0x54], 2
mov ecx, esp
mov dword [esp + 0x3c], esp
push edi
call fcn.0040f230
push 0x80000002
lea ecx, [esp + 0x48]
mov byte [esp + 0x58], 0
call ebp
xor ebx, ebx
cmp eax, ebx
jne 0x40cfab
push 0x424178
push esi
call fcn.00406f40
add esp, 8
mov edi, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push str.0xC300
push esi
call edi
add esp, 8
test al, al
jne 0x40cfe5
push str.0xc300
push esi
call edi
add esp, 8
test al, al
jne 0x40cfe5
mov eax, dword [esp + 0x10]
mov dword [eax + 0x5ec], ebx
mov dword [eax + 0x5d4], 1
jmp 0x40d020
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, 1
mov dword [esi + 0x5ec], edi
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x40d004
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp eax, ebx
jle 0x40d01a
mov dword [esi + 0x5d4], ebx
jmp 0x40d020
mov dword [esi + 0x5d4], edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.bcsfc.dll_public:_void___thiscall_BCSReg::destructor_void_]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x40d050
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41c9ab
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
mov edi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x2b4]
xor ebx, ebx
cmp eax, ebx
je 0x40d158
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x30], 2
jne 0x40d150
cmp dword [esp + 0x24], 5
jb 0x40d150
mov cl, byte [esp + 0xf]
push ebx
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x10]
mov edi, 1
push edx
push ebx
push 6
mov dword [esp + 0xc8], ebx
mov dword [esi + 0x5d8], edi
call fcn.004133e0
add esp, 0xc
test al, al
je 0x40d12a
cmp dword [esp + 0x18], ebx
je 0x40d105
push ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::at_unsigned_int_]
push eax
call dword [sym.imp.MSVCRT.dll__mbslwr]
add esp, 4
lea eax, [esp + 0x10]
push str.0xc400
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
je 0x40d124
mov dword [esi + 0x5f0], edi
jmp 0x40d12a
mov dword [esi + 0x5f0], ebx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x40d164
mov al, byte [ecx - 1]
cmp al, bl
je 0x40d144
cmp al, 0xff
je 0x40d144
dec al
mov byte [ecx - 1], al
jmp 0x40d164
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x40d164
mov dword [esi + 0x5d8], ebx
jmp 0x40d164
mov dword [esi + 0x5d8], ebx
mov dword [esi + 0x5f0], ebx
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret
Function at 0x40f840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41cc38
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
cmp ebp, eax
push edi
je 0x40f992
mov ebx, dword [esp + 0x4c]
xor esi, esi
sub esp, 0x44
cmp ebx, esi
mov edi, esp
mov dword [esp + 0x88], esp
mov dword [esp + 0x88], edi
je 0x40f88e
lea ecx, [ebx + 4]
jmp 0x40f890
xor ecx, ecx
mov dl, byte [ecx]
lea eax, [edi + 4]
push eax
mov byte [eax], dl
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
sub esp, 0x10
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], esi
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov eax, esp
mov dword [esp + 0x70], ebx
mov ebx, dword [ecx + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x74], ebx
mov ebx, dword [ecx + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x78], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov dword [esp + 0x8c], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x90], ebx
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x78]
push eax
call fcn.004042e0
add esp, 0x28
mov dword [edi], 0x41e4cc
mov ebx, dword [esp + 0x90]
lea ecx, [edi + 0x34]
mov dword [esp + 0x80], esi
mov dl, byte [ebx + 0x34]
lea eax, [ebx + 0x34]
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [edx]
push edx
push esi
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, ebp
mov dword [edi], 0x41e4c8
mov dword [esp + 0x80], 0xffffffff
call fcn.004142b0
mov eax, dword [esp + 0x48]
add ebp, 0x44
cmp ebp, eax
jne 0x40f872
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret
Function at 0x417e80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41d3ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x84
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CDialog::CDialog
lea edi, [esi + 0x60]
mov dword [esp + 0x1c], 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x41efa0
lea ebx, [esi + 0xa0]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x41efa0
lea ebp, [esi + 0xe0]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebp], 0x41efa0
lea ecx, [esi + 0x120]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x120], 0x41efa0
lea ecx, [esi + 0x160]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x160], 0x41eed0
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x1a0], 0x41eed0
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x1e0], 0x41eed0
lea ecx, [esi + 0x220]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x220], 0x41eed0
push fcn.00404840
push fcn.00416c10
push 4
lea ecx, [esi + 0x280]
push 0x10
push ecx
mov byte [esp + 0x30], 8
call fcn.0041b604
lea ecx, [esi + 0x2c0]
mov byte [esp + 0x1c], 9
call fcn.0041b4ae
lea eax, [esi + 0x120]
mov byte [esp + 0x1c], 0xa
mov dword [esi + 0x260], eax
lea eax, [esi + 0x220]
mov dword [esi + 0x270], eax
lea eax, [esi + 0x1e0]
mov dword [esi + 0x274], eax
lea eax, [esi + 0x1a0]
mov dword [esi + 0x278], eax
mov dword [esi], 0x41edf8
mov dword [esi + 0x264], ebp
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], edi
lea eax, [esi + 0x160]
push 0xffffffffffffffff
push 0x64
lea ecx, [esi + 0x2c0]
mov dword [esi + 0x27c], eax
call sub.MFC42.DLL_CStringArray::SetSize
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x418990
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41d59b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x82
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CDialog::CDialog
lea edi, [esi + 0x60]
mov dword [esp + 0x1c], 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x41efa0
lea ebx, [esi + 0xa0]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x41efa0
lea ebp, [esi + 0xe0]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebp], 0x41efa0
lea ecx, [esi + 0x120]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x120], 0x41efa0
lea ecx, [esi + 0x160]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x160], 0x41eed0
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x1a0], 0x41eed0
lea ecx, [esi + 0x1e0]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x1e0], 0x41eed0
lea ecx, [esi + 0x220]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0x220], 0x41eed0
push fcn.00404840
push fcn.00416c10
push 4
lea ecx, [esi + 0x280]
push 0x10
push ecx
mov byte [esp + 0x30], 8
call fcn.0041b604
lea ecx, [esi + 0x2c0]
mov byte [esp + 0x1c], 9
call fcn.0041b4ae
lea eax, [esi + 0x120]
mov byte [esp + 0x1c], 0xa
mov dword [esi + 0x270], eax
lea eax, [esi + 0x220]
mov dword [esi + 0x260], eax
lea eax, [esi + 0x1e0]
mov dword [esi + 0x264], eax
lea eax, [esi + 0x1a0]
mov dword [esi + 0x268], eax
mov dword [esi], 0x41f0f8
mov dword [esi + 0x274], ebp
mov dword [esi + 0x278], ebx
mov dword [esi + 0x27c], edi
lea eax, [esi + 0x160]
push 0xffffffffffffffff
push 0x64
lea ecx, [esi + 0x2c0]
mov dword [esi + 0x26c], eax
call sub.MFC42.DLL_CStringArray::SetSize
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41b0e9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41b141
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x424d3c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41b134
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x41b143
xor eax, eax
pop esi
leave
ret 4