joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bc80
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4731c5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push str.mailto:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx - 0xc]
push ebx
push 0x40
lea ecx, [esp + 0x1c]
mov edi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, 0xffffffff
je 0x42bd27
push esi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov ecx, dword [esp + 0x18]
push ecx
mov ebx, 1
mov ecx, eax
mov byte [esp + 0x30], 2
mov dword [esp + 0x20], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
mov byte [esp + 0x13], bl
jne 0x42bd2c
mov byte [esp + 0x13], 0
test bl, 1
mov dword [esp + 0x2c], 1
je 0x42bd43
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp byte [esp + 0x13], 0
je 0x42bd7b
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040d2d0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x14]
push 5
push 0x47bd74
push 0
push edx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x42bee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4731f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], ebx
lea eax, [esp + 0xc]
push eax
push 0x480060
push 0x17
push ebx
push 0x481388
mov byte [esp + 0x30], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x42bf75
mov eax, dword [esp + 8]
cmp eax, ebx
mov byte [esp + 0x1c], bl
je 0x42bf47
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x1c], 0xffffffff
je 0x42bf5f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004005
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
cmp eax, ebx
jl 0x42bf33
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x2c]
mov byte [esp + 0x28], 2
call eax
cmp eax, ebx
jge 0x42bfd1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 8]
cmp eax, ebx
mov byte [esp + 0x1c], bl
je 0x42bf47
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x42bf47
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 8]
cmp eax, ebx
mov byte [esp + 0x1c], bl
je 0x42bfff
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x1c], 0xffffffff
je 0x42c017
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
Function at 0x42c920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp]
push eax
push 1
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ca03
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esi + 1]
lea eax, [esi + esi]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
call fcn.00406e20
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
je 0x42c98b
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
jne 0x42c991
call ebp
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42c9b8
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
jne 0x42c9be
call ebp
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
push esi
push eax
push esi
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0xc], 0
je 0x42c9fe
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x42ca10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x8ac
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x8a8], eax
push ebx
mov ebx, dword [esp + 0x8b4]
push esi
xor esi, esi
cmp ebx, esi
je 0x42cb89
cmp dword [esp + 0x8c0], esi
je 0x42ca60
push ebx
call fcn.0042bc80
add esp, 4
pop esi
pop ebx
mov ecx, dword [esp + 0x8a8]
xor ecx, esp
call fcn.0046cc14
add esp, 0x8ac
ret
push 0x820
lea eax, [esp + 0x92]
push esi
push eax
mov word [esp + 0x98], si
call sub.MSVCR80.dll_memset
push 0x410
lea ecx, [esp + 0x9c]
push ecx
push str..htm
push SysReAllocString
call fcn.0042c920
add esp, 0x1c
test eax, eax
jne 0x42cba2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea edx, [esp + 0x94]
push edx
call edi
push 0x410
lea eax, [esp + 0x94]
push eax
mov ecx, eax
push ecx
push SysReAllocString
call fcn.0042c920
add esp, 0x10
test eax, eax
jne 0x42cb88
push ebp
mov ebp, dword [sym.imp.MSVCR80.dll_wcsstr]
lea edx, [esp + 0x94]
push str.__1_
push edx
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cb2b
lea eax, [esp + 0x94]
push 0x4813ac
push eax
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x42cb2b
lea ecx, [esp + 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esp + eax*2 + 0x92]
jmp 0x42cb30
mov word [esi], 0
push 0x4813a8
push esi
call edi
push ebx
push esi
call edi
lea edx, [esp + 0x14]
mov dword [esp + 0x10], edx
call dword [0x49fbc0]
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x18]
call fcn.0042be10
mov ecx, dword [esp + 0x8c4]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
pop ebp
je 0x42cb88
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x8a8]
xor ecx, esp
call fcn.0046cc14
add esp, 0x8ac
ret
mov edx, dword [esp + 0x8bc]
push edx
push esi
push esi
push ebx
push str.explore
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x8b0]
pop esi
pop ebx
xor ecx, esp
call fcn.0046cc14
add esp, 0x8ac
ret
Function at 0x42cdb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [0x4a026c], 0
mov dword [0x4a0268], 0
je 0x42cdcc
xor eax, eax
add esp, 0xc
ret
mov eax, 0x4a0278
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42cdd4
sub eax, edx
sar eax, 1
push esi
jne 0x42ce51
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSIDc6f7158b_a330_474c_b76e_ecf14355aabaInprocServer32
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ce65
lea ecx, [esp + 0xc]
push ecx
push 0x4a0278
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ce42
cmp dword [esp + 8], 1
jne 0x42ce42
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x42ce65
push 0x4a0278
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4a026c], eax
jne 0x42ce81
cmp dword [0x4a0268], 0
jle 0x42ce77
mov word [0x4a026a], 0x8007
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x42cf60
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4733cb
mov eax, dword fs:[0]
push eax
mov eax, 0x2208
call fcn.0046cc30
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x2204], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x221c]
mov dword fs:[0], eax
push 0x4a0250
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 1
mov dword [esp + 0x14], esi
xor edi, edi
cmp dword [0x4a026c], edi
mov dword [esp + 0x2224], edi
je 0x42cfd0
cmp dword [0x4a0270], edi
jne 0x42d12b
mov word [esp + 0x218], di
call fcn.0042cdb0
test eax, eax
jge 0x42d006
push 0x1000
push str.This_program_requires_the_file_advrcntr3.dll__which_was_not_found_on_this_system.
lea eax, [esp + 0x220]
push 0x1000
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
jmp 0x42d0a1
mov ebp, dword [esp + 0x2230]
mov ebx, dword [esp + 0x222c]
push ebp
push ebx
call fcn.0042ceb0
add esp, 8
test eax, eax
jge 0x42d12b
test bl, bl
je 0x42d05b
push ebp
push 0
call fcn.0042ceb0
add esp, 8
test eax, eax
jl 0x42d05b
mov ebp, dword [0x4a0270]
add ebp, 0x14
push ebp
mov esi, 2
call fcn.0042cf10
add esp, 4
test eax, eax
je 0x42d05b
mov ecx, dword [ebp]
call ecx
mov edi, eax
mov edx, dword [esp + 0x2230]
mov eax, dword [esp + 0x2238]
mov ecx, dword [esp + 0x2234]
push edx
push eax
push ecx
push edi
push 0x12c
push 0x135
push esi
push str.Fatal_Error:_r_nInstallation_corrupted___please_reinstall_NERO__r_n_r_nError_Code:__i____i____i____i_r_nParameters:__i____i____i_r_nSee_Doc4536
push 0x1000
lea edx, [esp + 0x23c]
push 0x1000
push edx
call dword [sym.imp.MSVCR80.dll__snwprintf_s]
add esp, 0x2c
xor edi, edi
push 0x4a0250
mov dword [0x4a0270], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4816f0]
mov cx, word [0x4816f4]
push 0x1fa
lea edx, [esp + 0x22]
push edi
push edx
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100
lea eax, [esp + 0x1c]
push eax
push str.NeroSuppressProxyCheck
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x42d105
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.MSVCR80.dll__wtoi]
add esp, 4
test eax, eax
jne 0x42d124
test byte [0x4a0274], 1
jne 0x42d124
push 0x10
push str.Nero
lea edx, [esp + 0x220]
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x80004005
jmp 0x42d138
push 0x4a0250
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x221c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2204]
xor ecx, esp
call fcn.0046cc14
add esp, 0x2214
ret
Function at 0x432c10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x473853
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x4a0894
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.tinyxml::TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x4a0894
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x47fd9a
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0043f9e0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x435860
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x435871
call fcn.004357f0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x435880
mov eax, dword [eax + 4]
jmp 0x435883
add eax, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push 0
push edx
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop esi
je 0x4358bf
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.00435090
push 0x48ede8
lea ecx, [esp + 4]
push ecx
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x14
ret 0xc

Function at 0x435990
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x4359a1
call fcn.004357f0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x4359b0
mov eax, dword [eax + 4]
jmp 0x4359b3
add eax, 4
mov edx, dword [esi + 0x1c]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
je 0x4359ec
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.00435090
push 0x48ede8
lea eax, [esp + 4]
push eax
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x14
ret 8

Function at 0x435a00
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x435a11
call fcn.004357f0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x435a20
mov eax, dword [eax + 4]
jmp 0x435a23
add eax, 4
mov edx, dword [esi + 0x1c]
push 8
lea ecx, [esp + 0x24]
push ecx
push 0xb
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
je 0x435a5c
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.00435090
push 0x48ede8
lea eax, [esp + 4]
push eax
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x14
ret 0xc

Function at 0x435a70
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x435a81
call fcn.004357f0
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], 8
mov edx, dword [eax + 0x14]
lea edx, [edx + edx + 2]
jb 0x435a97
mov ecx, dword [eax + 4]
jmp 0x435a9a
lea ecx, [eax + 4]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x435aa9
mov eax, dword [eax + 4]
jmp 0x435aac
add eax, 4
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
je 0x435ae0
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.00435090
push 0x48ede8
lea ecx, [esp + 4]
push ecx
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x14
ret 8
Function at 0x435af0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x473d59
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov ebp, ecx
xor edi, edi
cmp dword [ebp + 0x1c], edi
mov dword [esp + 0x14], ebx
jne 0x435b3c
call fcn.004357f0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, esi
mov dword [esp + 0x54], edi
call fcn.00423c20
test eax, eax
jbe 0x435baf
xor ebx, ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x435b7a
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x435b80
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, ebx
push 0
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, eax
call dword [0x47a8e0]
mov ecx, esi
add edi, 1
add ebx, 0x1c
call fcn.00423c20
cmp edi, eax
jb 0x435b57
mov ebx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x30]
call dword [0x47a8e0]
mov ecx, dword [esp + 0x30]
mov eax, 8
cmp dword [esp + 0x44], eax
jae 0x435bce
lea ecx, [esp + 0x30]
cmp dword [ebx + 0x18], eax
jb 0x435bd8
mov eax, dword [ebx + 4]
jmp 0x435bdb
lea eax, [ebx + 4]
mov edx, dword [esp + 0x40]
add edx, edx
push edx
push ecx
push 7
push 0
push eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x435c14
push 0x50000
push eax
lea ecx, [esp + 0x20]
call fcn.00435090
push 0x48ede8
lea ecx, [esp + 0x1c]
push ecx
call sub.MSVCR80.dll__CxxThrowException
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046cc14
add esp, 0x44
ret 8

Function at 0x435c50
Capabilities:
Set registry value

Disassembly:
cmp byte [esp + 8], 0
je 0x435c64
mov dword [esp + 8], 1
jmp fcn.00435990
mov dword [esp + 8], 0
jmp fcn.00435990
Function at 0x435c80
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x1c], 0
push esi
push edi
jne 0x435c93
call fcn.004357f0
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 4]
test eax, eax
je 0x435cf7
mov esi, dword [edi + 8]
sub esi, eax
je 0x435cf7
test esi, esi
ja 0x435caf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 8
mov edi, dword [edi + 4]
jb 0x435cc1
mov eax, dword [eax + 4]
jmp 0x435cc4
add eax, 4
push esi
push edi
push 3
push 0
push eax
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x435d46
push 0x50000
push eax
lea ecx, [esp + 0x14]
call fcn.00435090
push 0x48ede8
lea ecx, [esp + 0x10]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 8
mov byte [esp + 0x28], 0
jb 0x435d0b
mov eax, dword [eax + 4]
jmp 0x435d0e
add eax, 4
push 0
lea edx, [esp + 0x2c]
push edx
push 3
push 0
push eax
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x435d46
push 0x50000
push eax
lea ecx, [esp + 0x14]
call fcn.00435090
push 0x48ede8
lea ecx, [esp + 0x10]
push ecx
call sub.MSVCR80.dll__CxxThrowException
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8

Function at 0x435d50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x435d61
call fcn.004357f0
mov edx, dword [esp + 0x24]
test edx, edx
je 0x435db6
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x435db6
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x435d80
mov eax, dword [eax + 4]
jmp 0x435d83
add eax, 4
push edx
push ecx
push 3
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x435e05
push 0x50000
push eax
lea ecx, [esp + 0xc]
call fcn.00435090
push 0x48ede8
lea ecx, [esp + 8]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
mov byte [esp + 0x24], 0
jb 0x435dca
mov eax, dword [eax + 4]
jmp 0x435dcd
add eax, 4
push 0
lea edx, [esp + 0x28]
push edx
push 3
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x435e05
push 0x50000
push eax
lea ecx, [esp + 0xc]
call fcn.00435090
push 0x48ede8
lea ecx, [esp + 8]
push ecx
call sub.MSVCR80.dll__CxxThrowException
pop esi
add esp, 0x14
ret 0xc
Function at 0x435e40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00435860
cmp dword [esp + 8], 4
je 0x435e96
push 0x50000
push 0x65d
lea ecx, [esp + 0x18]
call fcn.00435090
push 0x48ede8
lea edx, [esp + 0x14]
push edx
call sub.MSVCR80.dll__CxxThrowException
cmp dword [esi + 0x18], 8
mov dword [esp + 0x28], 0
jb 0x435ea9
mov esi, dword [esi + 4]
jmp 0x435eac
add esi, 4
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x435ee7
push 0x50000
push eax
lea ecx, [esp + 0x18]
call fcn.00435090
push 0x48ede8
lea eax, [esp + 0x14]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x28]
pop edi
pop esi
add esp, 0x1c
ret 4

Function at 0x435f00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push esi
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00435860
cmp dword [esp + 0xc], 0xb
je 0x435f51
push 0x50000
push 0x65d
lea ecx, [esp + 0x24]
call fcn.00435090
push 0x48ede8
lea edx, [esp + 0x20]
push edx
call sub.MSVCR80.dll__CxxThrowException
cmp dword [esi + 0x18], 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jb 0x435f64
mov esi, dword [esi + 4]
jmp 0x435f67
add esi, 4
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x435fa0
push 0x50000
push eax
lea ecx, [esp + 0x24]
call fcn.00435090
push 0x48ede8
lea eax, [esp + 0x20]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x435fe0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x435ff1
call fcn.004357f0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x436000
mov eax, dword [eax + 4]
jmp 0x436003
add eax, 4
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
pop esi
je 0x436031
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.00435090
push 0x48ede8
lea ecx, [esp + 4]
push ecx
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x14
ret 4