joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a7e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x40a805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x40a878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x40a83a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x40a86d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x40a86b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x40a831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x40a7fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x455230
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..A1Pass]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x14], 0x50746547
push edi
mov dword [ebp - 0x10], 0x41636f72
mov dword [ebp - 0xc], 0x65726464
mov word [ebp - 8], 0x7373
mov byte [ebp - 6], 0
mov dword [ebp - 0x18], esi
push eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
pop eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
add ecx, ebx
mov dword [ebp - 0x1c], ecx
add edx, ebx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, ebx
mov dword [ebp - 0x20], edx
xor edi, edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
lea esp, [esp]
mov eax, dword [edx + esi*4]
add eax, ebx
cmp byte [eax], 0x47
jne 0x4552df
lea edx, [ebp - 0x14]
mov cl, 0x47
sub edx, eax
test cl, cl
je 0x4552d0
mov cl, byte [edx + eax + 1]
inc eax
cmp byte [eax], cl
je 0x4552c1
jmp 0x4552df
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
movzx eax, word [eax + esi*2]
mov edi, dword [ecx + eax*4]
add edi, ebx
inc esi
cmp esi, dword [ebp - 0x24]
sbb edx, edx
xor ecx, ecx
neg edx
test edi, edi
sete cl
test ecx, edx
mov edx, dword [ebp - 0x20]
jne 0x4552b0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045546c
mov esp, ebp
pop ebp
ret

Function at 0x455310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00455230
mov dword [0x455948], eax
mov dword [ebp - 4], 0
push eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
pop eax
push 0x455078
push dword [ebp - 4]
call dword [0x455948]
push 0
push 0
push 0x455088
mov dword [0x455944], eax
call eax
test eax, eax
jne 0x455363
xor al, al
mov esp, ebp
pop ebp
ret
push 0x4550a4
push eax
call dword [0x455948]
push 0
push 0
push 0x4550b0
mov dword [0x455940], eax
call dword [0x455944]
test eax, eax
je 0x45535d
push 0x4550c8
push eax
call dword [0x455948]
push 0
push 0
push 0x455088
mov dword [0x455924], eax
call dword [0x455944]
test eax, eax
je 0x45535d
push 0x4550d4
push eax
call dword [0x455948]
push 0
push 0
push 0x455088
mov dword [0x45593c], eax
call dword [0x455944]
test eax, eax
je 0x45535d
push 0x4550e8
push eax
call dword [0x455948]
mov dword [0x455938], eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4553f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x455930]
xor edx, edx
push esi
mov esi, dword [0x455934]
sub esi, eax
push edi
xor edi, edi
cmp eax, dword [0x455934]
cmova esi, edi
test esi, esi
je 0x455469
cmp esi, 0x10
jb 0x455452
movdqa xmm1, xmmword [0x455100]
mov ecx, esi
movdqa xmm2, xmmword [0x455110]
and ecx, 0xf
mov edi, esi
sub edi, ecx
mov edi, edi
movdqu xmm0, xmmword [eax]
add edx, 0x10
paddb xmm0, xmm1
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [eax]
pxor xmm0, xmm2
movdqu xmmword [eax], xmm0
add eax, 0x10
cmp edx, edi
jb 0x455430
cmp edx, esi
jae 0x455469
mov cl, byte [eax]
lea eax, [eax + 1]
add cl, 0x78
inc edx
xor cl, 0xa1
mov byte [eax - 1], cl
cmp edx, esi
jb 0x455456
pop edi
pop esi
ret
Function at 0x408c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x443ea9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
push esi
push ecx
mov dword [esp + 0x10], 0
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_unsigned_short_int__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
push esi
mov esi, dword [esp + 0x38]
push eax
push esi
mov dword [esp + 0x38], 0
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_
mov ecx, dword [esp + 0x24]
add esp, 0x18
test ecx, ecx
je 0x408c92
mov al, byte [ecx - 1]
test al, al
je 0x408c86
cmp al, 0xff
je 0x408c86
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x40cc30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444579
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov eax, dword [ecx + 4]
cmp eax, ebx
jne 0x40cc78
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 edi
push eax
call dword [sym.imp.MSVCRT.dll__wgetenv]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40cccd
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
lea ecx, [esp + 0x10]
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x40cccd
mov eax, dword [esp + 0x14]
cmp edi, ebx
mov ecx, esi
jbe 0x40ccc1
mov edx, edi
mov si, word [ecx]
add ecx, 2
mov word [eax], si
add eax, 2
dec edx
jne 0x40ccb2
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
mov word [edx + edi*2], bx
mov esi, dword [esp + 0x30]
mov al, byte [esp + 0x10]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, 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 eax, [esp + 0x10]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
push eax
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 + 0x14]
pop edi
cmp ecx, ebx
je 0x40cd2f
mov al, byte [ecx - 1]
cmp al, bl
je 0x40cd23
cmp al, 0xff
je 0x40cd23
dec al
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4110d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x444d56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esp + 4], esi
mov dword [esi + 8], 0x44ca10
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x10], eax
call fcn.00442a68
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 1
call fcn.00442a68
mov ecx, dword [esp + 8]
mov dword [esi], 0x44c9e4
mov dword [esi + 4], 1
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x411180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444d76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x44c9e4
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 1
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
mov eax, dword [esi + 0xc]
mov dword [esi + 8], 0x44ca10
test eax, eax
je 0x4111d7
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 8]
mov dword [esi + 8], 0x44c838
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x411580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x444de2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x18]
call sub.MFC42u.DLL_CString::CString_3
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], edi
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 3
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 4
call sub.MFC42u.DLL_CString::CString_3
mov byte [esp + 0x14], 5
mov dword [esi], 0x44ca24
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call sub.MFC42u.DLL_AfxGetThread
cmp eax, edi
je 0x411629
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
cmp eax, edi
je 0x411629
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x413470
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44525f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], ebx
call sub.MFC42u.DLL_CString::CString_3
push 0x212
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42u.DLL_CString::GetBuffer
mov esi, eax
mov ecx, 0x84
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push str.Shell32.dll
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x4134f6
push str.SHGetSpecialFolderPathW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4134f6
mov edx, dword [esp + 0x34]
mov ecx, edx
and ecx, 0x8000
push ecx
mov ecx, dword [esp + 0x34]
push edx
push esi
push ecx
call eax
jmp 0x413543
lea edx, [esp + 0x14]
mov dword [esp + 0x10], ebx
push edx
mov dword [esp + 0x18], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x10]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x415350
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x445737
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea ecx, [esp + 4]
mov dword [esp + 0xc], 0
call sub.MFC42u.DLL_CString::CString_3
push 0x104
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 1
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00415410
add esp, 8
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esp + 0x20]
lea edx, [esp + 4]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x418880
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x445eb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push esi
mov esi, ecx
push edi
xor ecx, ecx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x4189b7
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4189b7
mov edx, dword [esi + 8]
lea edi, [ecx*4]
mov eax, edi
lea ecx, [esp + 0xc]
add eax, edx
push eax
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x240], 0
add ecx, edi
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
mov edx, dword [esp + 0xc]
mov byte [esp + 0x240], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x41897e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41897e
lea ecx, [esp + 0x18]
push 2
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::Left
mov edx, dword [eax]
push 0x45970c
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x4189e0
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x41897e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41897e
mov eax, dword [esi + 8]
mov ecx, edi
add ecx, eax
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x240], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x4188b1
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x18]
call sub.MFC42u.DLL_CStringArray::SetSize
mov ecx, dword [esp + 0x238]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret
lea ecx, [esp + 0x1c]
call fcn.0040d0b0
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42u.DLL_CFile::GetStatus
test eax, eax
je 0x41897e
jmp 0x41895c
Function at 0x41a560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4461f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCP60.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov ebx, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
lea ecx, [esp + 0x10]
mov dword [esi + 0x34], eax
call ebx
mov eax, dword [sym.imp.MSVCP60.dll_class_std::locale::_Locimp__std::locale::_Locimp::_Global]
lea ecx, [esp + 0xc]
mov edi, dword [eax]
call ebx
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x41a5af
inc eax
mov dword [edi + 4], eax
mov edi, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0xc]
call edi
lea ecx, [esp + 0x10]
call edi
lea ecx, [esi + 4]
lea edx, [esi + 0x14]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ecx
lea eax, [esi + 8]
lea edx, [esi + 0x24]
lea ecx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov dword [eax], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov edx, dword [esi + 0x1c]
mov dword [edx], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esi], 0x44cbdc
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::strstreambuf::_Init_int__char___char___int_]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x42158a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x447330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
push 0
lea eax, [esp + 0x24]
push 1
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0
call dword [edx + 0x50]
or edi, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esi + 0x10], eax
mov dword [esp + 0x14], edi
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4215e6
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov edx, dword [esp + 0x24]
push ebx
push edx
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_2
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push 4
push ecx
mov ecx, esi
mov dword [esp + 0x20], 1
call dword [eax + 0x54]
cmp eax, 4
lea ecx, [esp + 0x20]
setne bl
mov dword [esp + 0x18], edi
call sub.MFC42u.DLL_CString::CString
test bl, bl
pop ebx
je 0x42163a
mov eax, dword [esp + 0x28]
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov eax, dword [esi + 0xc]
lea edx, [esi + 0x18]
push edx
lea ecx, [esp + 0xc]
lea edx, [esi + 0x14]
push ecx
push edx
push 0
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x58]
mov eax, dword [esp + 0x28]
test edi, edi
jne 0x42166c
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x421680
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44736f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x20]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42u.DLL_CString::CString_2
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
push 0
lea eax, [esp + 8]
push 1
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x24], 1
call dword [edx + 0x50]
lea ecx, [esp + 4]
mov dword [esi + 0x10], eax
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x42170a
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14
mov eax, dword [esp + 0x28]
push ebx
push eax
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_2
mov edx, dword [esi]
lea eax, [esp + 0x24]
push 1
push eax
mov ecx, esi
mov dword [esp + 0x20], 2
call dword [edx + 0x54]
cmp eax, 1
lea ecx, [esp + 0x24]
setne bl
mov byte [esp + 0x18], 0
call sub.MFC42u.DLL_CString::CString
test bl, bl
pop ebx
je 0x42176c
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14
push edi
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString_3
mov edx, dword [esi + 0x18]
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x18]
lea ecx, [esp + 0x28]
shr edx, 1
push eax
push edx
mov dword [esp + 0x20], 3
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x10]
push eax
lea eax, [esi + 0x14]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
mov edi, eax
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x58]
test edi, edi
pop edi
je 0x4217d1
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_2
jmp 0x4217e1
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov dword [esp + 8], 1
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14