joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42182d
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4473a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x1c]
push ebp
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
push 1
lea eax, [esp + 0x28]
push 2
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0
call dword [edx + 0x50]
lea ecx, [esp + 0x24]
mov dword [esi + 0x10], eax
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x421887
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
mov ebp, dword [esp + 0x28]
push edi
lea edi, [esi + 0xc]
push ebp
mov ecx, edi
call sub.MFC42u.DLL_CString::operator_1
mov edi, dword [edi]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x30]
push 4
push edx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x58]
test edi, edi
pop edi
je 0x421970
lea eax, [esi + 8]
lea ecx, [esp + 0xc]
push eax
push 0x45a894
push ecx
call sub.MFC42u.DLL_operator_3
push 0x45a870
lea edx, [esp + 0xc]
push eax
push edx
mov dword [esp + 0x24], 1
call sub.MFC42u.DLL_operator_4
push ebp
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x20], 2
push eax
call sub.MFC42u.DLL_operator_4
push 0x45a86c
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x24], 3
call sub.MFC42u.DLL_operator_4
push eax
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 4
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
mov ecx, dword [esp + 0x10]
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x421f20
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4474a0
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov esi, ecx
xor edi, edi
push 0xffffffffffffffff
push edi
mov ecx, ebp
call sub.MFC42u.DLL_CStringArray::SetSize
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x421f6b
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
push eax
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_2
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x10]
push 0x20019
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x30], edi
call dword [eax + 0x50]
lea ecx, [esp + 0xc]
mov dword [esi + 0x10], eax
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42u.DLL_CString::CString
cmp dword [esi + 0x10], edi
jne 0x421fbf
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
push ebx
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
push edi
push edi
lea edx, [esp + 0x3c]
push edi
mov dword [esp + 0x24], eax
push edx
push 0x400
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], 0x400
mov dword [esp + 0x30], eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
mov eax, dword [esi + 0x10]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
mov ebx, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
test ebx, ebx
jne 0x422098
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x34]
push ecx
push eax
mov ecx, ebp
call sub.MFC42u.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x34]
inc edi
call sub.MFC42u.DLL_CString::CString_3
xor edx, edx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
push eax
push edx
push edx
lea ecx, [esp + 0x3c]
push edx
push ecx
push 0x400
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], 0x400
mov dword [esp + 0x30], edx
call sub.MFC42u.DLL_CString::GetBuffer
mov edx, dword [esi + 0x10]
push eax
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
mov ebx, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
test ebx, ebx
je 0x42201b
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, dword [esp + 0x1c]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x422460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447517
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x14]
mov ebx, 1
push eax
mov dword [esp + 0x48], ebx
call fcn.004225c0
add esp, 4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 2
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
call fcn.004204b0
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push str.Software_
push edx
mov byte [esp + 0x50], 3
call sub.MFC42u.DLL_operator_3
push 0x45c6c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 4
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0x45c6c0
push eax
push ecx
lea edx, [esp + 0x18]
push 0x80000001
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 5
call fcn.00421680
mov eax, dword [esp + 0xc]
mov byte [esp + 0x44], 6
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x422537
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::operator_2
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
push edx
push str.RegKey_Base
push eax
push 0x80000001
lea ecx, [esp + 0x2c]
call fcn.00421990
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.00421190
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0x18], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x44], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x422ce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44775f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString_3
lea eax, [esp + 0x18]
mov ebx, 1
push eax
mov dword [esp + 0x5c], ebx
call fcn.00422ef0
add esp, 4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x5c], 2
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
call fcn.004204b0
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 3
push ecx
call fcn.00422b20
mov esi, eax
lea edx, [esp + 0x24]
mov byte [esp + 0x5c], 4
push edx
call fcn.00422a50
add esp, 8
push 0x459550
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x60], 5
push eax
call sub.MFC42u.DLL_operator_4
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x64], 6
call sub.MFC42u.DLL_operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 8
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push str.Software_
push eax
call sub.MFC42u.DLL_operator_3
push str.IniFullBase
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0xb
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0x45c6c0
push ecx
push edx
mov byte [esp + 0x64], 0xc
push 0x80000001
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
call fcn.00421680
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x58], 0xd
mov eax, dword [ecx - 8]
test eax, eax
je 0x422e25
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call sub.MFC42u.DLL_CString::operator_2
lea eax, [esp + 0x10]
push 0x45a990
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.MFC42u.DLL_operator_4
mov edx, dword [esp + 8]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push eax
push 0x80000001
mov byte [esp + 0x68], 0xe
call fcn.00421990
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 0xc
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0xb
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.00421190
mov esi, dword [esp + 0x60]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x58], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x50]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret
Function at 0x42ad90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44859c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0xc], 0
call fcn.0040dab0
lea ecx, [esp + 0x10]
push esi
push ecx
mov dword [esp + 0x60], 1
call fcn.0040d6c0
lea edx, [esp + 0x48]
push esi
push edx
mov byte [esp + 0x68], 2
call fcn.00405f50
lea eax, [esp + 0x30]
push 0x5c
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x74], 3
call fcn.00409b40
mov esi, dword [esp + 0x7c]
lea edx, [esp + 0x2c]
push edx
push eax
push esi
mov byte [esp + 0x80], 4
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
add esp, 0x30
mov dword [esp + 4], 1
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42ae85
mov al, byte [ecx - 1]
test al, al
je 0x42ae79
cmp al, 0xff
je 0x42ae79
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x42b0f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448642
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov al, byte [esp + 0x54]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x14], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov cl, byte [esp + 0x5c]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x28], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0x5c]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 1
mov byte [esp + 0x3c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [esp + 0x5c]
mov byte [esp + 0x50], 2
push esi
mov dword [esp + 0x10], 0x44ced4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x10]
push eax
push esi
call dword [sym.imp.MSVCP60.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__::assign_unsigned_short_int_const___unsigned_int_]
cmp dword [esp + 0x18], ebx
je 0x42b1ae
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x42b195
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push eax
call fcn.0040f7b0
add esp, 8
test al, al
je 0x42b1ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [eax + 0xc]
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push esi
mov dword [esp + 0x54], 3
call fcn.0042b360
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x42b1ea
mov al, byte [ecx - 1]
cmp al, bl
je 0x42b1de
cmp al, 0xff
je 0x42b1de
dec al
mov byte [ecx - 1], al
jmp 0x42b1ea
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x42b246
mov al, byte [ecx - 1]
cmp al, bl
je 0x42b23a
cmp al, 0xff
je 0x42b23a
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x42bea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44874b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
lea eax, [esp + 0x28]
push esi
xor ebx, ebx
push eax
mov dword [esp + 0xc], ebx
call fcn.0042bfe0
lea ecx, [esp + 0x30]
push 0x5c
lea edx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x54], ebx
call fcn.00409b40
push str._setting
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x5c], 1
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0x1c
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x44], 3
cmp ecx, ebx
je 0x42bf22
mov al, byte [ecx - 1]
cmp al, bl
je 0x42bf16
cmp al, 0xff
je 0x42bf16
dec al
mov byte [ecx - 1], al
jmp 0x42bf22
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x4c]
mov cl, byte [esp + 0xc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
mov eax, dword [edx]
push eax
push ebx
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x42bf7e
mov al, byte [ecx - 1]
cmp al, bl
je 0x42bf72
cmp al, 0xff
je 0x42bf72
dec al
mov byte [ecx - 1], al
jmp 0x42bf7e
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ebx
cmp ecx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
je 0x42bfc1
mov al, byte [ecx - 1]
cmp al, bl
je 0x42bfb5
cmp al, 0xff
je 0x42bfb5
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x42d460
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x448970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], edi
mov byte [esi + 0x2c], cl
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x3c]
push edi
mov byte [esp + 0x1c], 1
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [esp + 0xb]
mov dword [esi + 0x50], edi
mov byte [esi + 0x4c], al
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov byte [esp + 0x18], 3
mov dword [esi], 0x44d484
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 8], 1
call sub.MFC42u.DLL_AfxGetThread
cmp eax, edi
je 0x42d506
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
cmp eax, edi
je 0x42d506
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x430070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448e62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov al, byte [esp + 0x54]
push ebx
xor ebx, ebx
push esi
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x14], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov cl, byte [esp + 0x5c]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x28], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0x5c]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 1
mov byte [esp + 0x3c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, dword [esp + 0x5c]
mov byte [esp + 0x50], 2
push esi
mov dword [esp + 0x10], 0x44ced4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x10]
push eax
push esi
call dword [sym.imp.MSVCP60.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__::assign_unsigned_short_int_const___unsigned_int_]
cmp dword [esp + 0x18], ebx
je 0x43012e
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x430115
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
push eax
call fcn.0040f7b0
add esp, 8
test al, al
je 0x43012e
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [eax + 0xc]
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push esi
mov dword [esp + 0x54], 3
call fcn.0042b2e0
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x43016a
mov al, byte [ecx - 1]
cmp al, bl
je 0x43015e
cmp al, 0xff
je 0x43015e
dec al
mov byte [ecx - 1], al
jmp 0x43016a
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x4301c6
mov al, byte [ecx - 1]
cmp al, bl
je 0x4301ba
cmp al, 0xff
je 0x4301ba
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret