joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42667d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edi
call dword [0x42a228]
lea ecx, [esp + 8]
mov dword [esp + 0x24], edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeUpper]
push 0x42c0fc
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov edi, eax
push 0x42c0f8
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x30], 2
call fcn.00402680
add esi, 4
push esi
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x3c], 3
call fcn.00402680
mov esi, dword [esp + 0x44]
push edi
push eax
push esi
mov byte [esp + 0x48], 4
call fcn.00402680
add esp, 0x24
lea ecx, [esp + 0xc]
call dword [0x42a1f0]
lea ecx, [esp + 0x10]
call dword [0x42a1f0]
lea ecx, [esp + 0x14]
call dword [0x42a1f0]
lea ecx, [esp + 0x18]
call dword [0x42a1f0]
lea ecx, [esp + 8]
call dword [0x42a1f0]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x406580
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x426999
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
sub edi, ebx
sub ecx, ebx
sar edi, 2
sar ecx, 2
test edi, edi
mov eax, ecx
mov esi, edi
je 0x4065cb
lea esp, [esp]
cdq
idiv esi
mov eax, esi
test edx, edx
mov esi, edx
jne 0x4065c0
cmp eax, ecx
jge 0x406687
test eax, eax
jle 0x406687
lea ebx, [ebx + eax*4]
mov dword [esp + 0xc], eax
push ebp
push ebx
lea ecx, [esp + 0x38]
mov ebp, ebx
call dword [0x42a228]
mov ecx, dword [esp + 0x38]
lea eax, [ebx + edi*4]
cmp eax, ecx
mov dword [esp + 0x28], 0
jne 0x406609
lea eax, [esp + 0x30]
jmp 0x406611
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov esi, dword [eax]
cmp esi, ebx
je 0x406655
push esi
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
mov eax, dword [esp + 0x38]
sub eax, esi
sar eax, 2
cmp edi, eax
mov ebp, esi
jge 0x40663c
lea eax, [esi + edi*4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
jmp 0x40664f
mov edx, dword [esp + 0x30]
mov ecx, edi
sub ecx, eax
lea eax, [edx + ecx*4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov esi, dword [eax]
cmp esi, ebx
jne 0x406617
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call dword [0x42a1f0]
mov eax, dword [esp + 0x10]
sub ebx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4065e3
pop ebp
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x407610
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x426aef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
mov eax, dword [0x43bba8]
lea ecx, [esp]
mov dword [esp + 0x428], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x80
lea ecx, [esp + 4]
mov dword [esp + 0x438], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
test eax, eax
lea ecx, [esp]
je 0x4076a2
push 0
push 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
cmp eax, 0xffffffff
lea ecx, [esp]
je 0x4076a2
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
lea ecx, [esp + 4]
mov byte [esp + 0x434], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
je 0x4076af
lea ecx, [esp + 4]
call dword [0x42a1f0]
lea ecx, [esp]
call dword [0x42a1f0]
xor al, al
jmp 0x40774a
push ebp
push esi
push edi
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push eax
call edi
mov esi, eax
test esi, esi
je 0x407731
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextA]
nop
push 0x3e8
lea ecx, [esp + 0x50]
push ecx
push esi
call ebp
test eax, eax
je 0x407726
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x444], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
cmp eax, 0xffffffff
jne 0x40776b
lea ecx, [esp + 0x14]
mov byte [esp + 0x440], 1
call dword [0x42a1f0]
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x4076d0
lea ecx, [esp + 0x10]
call dword [0x42a1f0]
lea ecx, [esp + 0xc]
call dword [0x42a1f0]
xor al, al
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x428]
call fcn.00425abd
add esp, 0x438
ret
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
xor edi, edi
push edi
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x28]
call sub.MFC71.DLL_CCommandLineInfo::CCommandLineInfo
mov byte [esp + 0x440], 3
call sub.MFC71.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call sub.MFC71.DLL_CWinApp::ParseCommandLine
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x4077f9
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
lea edx, [esp + 0x18]
push edx
push 0x3e8
inc eax
push 2
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push edi
push 0x4a
push esi
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x440], 2
call fcn.0042542e
lea ecx, [esp + 0x14]
call dword [0x42a1f0]
lea ecx, [esp + 0x10]
call dword [0x42a1f0]
lea ecx, [esp + 0xc]
call dword [0x42a1f0]
mov al, 1
jmp 0x407747
Function at 0x408a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426cc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x42aa08]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x41161e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4116a1
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 4]
mov edi, eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.0041157e
test eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
je 0x41167f
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp + 8]
push 0
push esi
lea eax, [esi + eax*4]
add eax, dword [esi]
push eax
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x4126f7
Capabilities:
Get file version info

Disassembly:
mov eax, 0x427d07
call fcn.00425efc
sub esp, 0x43c
mov eax, dword [0x43bba8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x438], ebx
xor eax, eax
mov byte [ebp - 0x424], bl
mov ecx, 0x104
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
push 0x410
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x434], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x41278d
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x41278d
mov ecx, dword [ebp + 8]
push 0x42bca4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
jmp 0x412865
lea eax, [ebp - 0x425]
push eax
push esi
lea ecx, [ebp - 0x448]
mov byte [ebp - 0x425], bl
call fcn.004126ce
push dword [ebp - 0x444]
lea eax, [ebp - 0x424]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4127ef
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x42bccc
push dword [ebp - 0x444]
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4127ff
mov ecx, dword [ebp + 8]
push 0x42bca4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
jmp 0x41285a
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x430]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea eax, [ebp - 0x42c]
push str._d._d._d._d
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
call dword [0x42a228]
lea ecx, [ebp - 0x42c]
call dword [0x42a1f0]
lea ecx, [ebp - 0x448]
call fcn.0041f647
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00425abd
leave
ret 4
Function at 0x416001
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x428090
call fcn.00425efc
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push eax
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP71.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__]
and dword [ebp - 4], 0
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP71.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__]
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.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 - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41bb59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x43bba8]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x41c]
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41bbde
push edi
mov byte [ebp - 0x418], al
mov ecx, 0x104
lea edi, [ebp - 0x417]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
push dword [ebp - 0x41c]
mov dword [ebp - 0x420], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.00425abd
leave
ret

Function at 0x41c61f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call sub.MFC71.DLL_AfxGetModuleState
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push dword [ebp + 8]
mov dword [ebp - 8], esi
push esi
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x41c655
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x41c6d6
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x41c668
xor al, al
jmp 0x41c6d5
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x41c67b
push eax
call sub.MFC71.DLL_operator_delete_1
and dword [esi], 0
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 8], eax
je 0x41c6d2
cmp dword [esi], 0
mov edi, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
jne 0x41c6a2
push dword [ebp + 0xc]
push dword [ebp - 8]
call ebx
mov dword [edi], eax
mov eax, dword [edi]
test eax, eax
je 0x41c6d1
push eax
call sub.MFC71.DLL_operator_new_1
pop ecx
push dword [ebp + 0xc]
mov dword [esi], eax
push dword [ebp - 8]
mov edi, dword [edi]
call ebx
cmp edi, eax
jl 0x41c6d1
push edi
push dword [ebp + 8]
push dword [esi]
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov byte [ebp - 1], 1
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret 0x10
Function at 0x41d2fe
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x428946
call fcn.00425efc
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP71.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_]
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCP71.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_]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.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 eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41d41d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x428985
call fcn.00425efc
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call sub.MFC71.DLL_CWnd::CWnd
xor edi, edi
mov dword [esi], method.CStatic.virtual_0
mov dword [ebp - 4], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], 0x42e500
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 1
call sub.MFC71.DLL_CPtrArray::CPtrArray
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 2
call sub.MFC71.DLL_CStringArray::CStringArray
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov byte [ebp - 4], 3
call ebx
push 8
mov dword [esi + 0x54], eax
call ebx
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x78]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x74], edi
call sub.MFC71.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x8c]
call sub.MFC71.DLL_CStringArray::SetSize
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x410
push 0x411
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call dword [0x42a388]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, edi
je 0x41d527
push 0x6a
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, edi
je 0x41d527
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [esi + 0xa8], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x10]
call dword [0x42a1f0]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41f68f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebx
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jne 0x41f70d
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0xf]
push eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], esi
mov byte [ebp + 0xf], bl
call fcn.0041f666
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
cmp edi, ebx
jne 0x41f704
push esi
push dword [ebp - 0x10]
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR71.dll__mbsnbcpy]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call fcn.0041f647
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret 0x10

Function at 0x41f988
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x41ffe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x43bdb4]
sub esp, 0xc
test eax, eax
mov dword [0x43bdb0], 0
je 0x41fffc
xor eax, eax
add esp, 0xc
ret
mov eax, 0x43bdc0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420004
sub eax, edx
push esi
mov dword [esp + 0xc], eax
jne 0x4200a1
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSID0280750F_22B0_46fd_BCCA_99B3BF28765EInprocServer32
push SysReAllocStringLen
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x420085
lea ecx, [esp + 0xc]
push ecx
push 0x43bdc0
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x420076
cmp dword [esp + 8], 1
jne 0x420076
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4200a1
mov eax, dword [0x43bdb0]
test eax, eax
jle 0x420097
mov word [0x43bdb2], 0x8007
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
push 0x43bdc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x43bdb4], eax
je 0x420085
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x420160
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428f3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x43bba8]
push edi
push 0x43bd98
mov dword [esp + 0x110], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 4], 1
mov eax, dword [0x43bdb4]
test eax, eax
mov dword [esp + 0x11c], 0
je 0x4201c2
mov eax, dword [0x43bdb8]
test eax, eax
jne 0x420267
call fcn.0041ffe0
test eax, eax
jl 0x4201df
mov eax, dword [ebp + 8]
push eax
call fcn.004200c0
add esp, 4
test eax, eax
jge 0x420267
push 0x43bd98
mov dword [0x43bdb8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov cx, word [0x43043c]
mov dl, byte [0x43043e]
mov word [esp + 8], cx
xor eax, eax
mov byte [esp + 0xa], dl
mov ecx, 0x3f
lea edi, [esp + 0xb]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x100
lea eax, [esp + 0xc]
push eax
push str.NeroSuppressProxyCheck
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x420243
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
test eax, eax
jne 0x420260
test byte [0x43bdbc], 1
jne 0x420260
push 0x10
push str.Nero
push str.Fatal_Error:_r_nInstallation_corrupted___please_reinstall_NERO
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x420274
push 0x43bd98
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10c]
call fcn.00425abd
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4214f1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx], 0xffffffff
mov eax, dword [0x43bba8]
mov dword [ebp - 4], eax
je 0x42152f
call fcn.00421415
push 7
lea ecx, [ebp - 0xc]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x42152f
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
pop ecx
jmp 0x421531
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.00425abd
leave
ret
Function at 0x421f74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43bba8]
push edi
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x421fa2
mov edi, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x42202d
push esi
push edi
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
test esi, esi
pop ecx
jne 0x421fbd
mov edi, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x42202c
push esi
push edi
push 0
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x421fe4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42bccc
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x421ff9
push esi
call dword [sym.imp.MSVCR71.dll_free]
mov edi, dword [ebp + 8]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x42202b
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004215ad
push esi
call dword [sym.imp.MSVCR71.dll_free]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.00425abd
leave
ret