Function at 0x403190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40da88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x41501c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.MiniDumpWriteDump
push str.dbghelp
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x34], ebx
jne 0x403205
mov esi, dword [ebp + 8]
push 0x40f5f8
mov ecx, esi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov edx, str..dmp
lea ecx, [ebp - 0x18]
call section..text
add esp, 4
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40327e
mov esi, dword [ebp + 8]
push 0x40f5f8
mov ecx, esi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x34c]
push 0
push 0
lea edx, [ebp - 0x44]
push edx
push 0x20
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
push edi
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov dword [ebp - 0x3c], 1
call ebx
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push 0
push str.SOFTWARETencentBugReport
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
jne 0x4033dc
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x1c]
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push eax
push str.FullDump
mov edi, 4
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x20], edi
jne 0x4033dc
cmp dword [ebp - 0x24], 1
jne 0x4033dc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
cmp eax, 0xffffffff
je 0x4033d3
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x14]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_]
push str.FullDump.dmp
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [0x40f120]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call ebx
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x14]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [esi + 0x10]
push 0
push 0
lea ecx, [ebp - 0x44]
push ecx
push 0x167
mov edi, eax
mov eax, dword [ebp + 0xc]
push edi
push edx
push eax
call dword [ebp - 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call ebx
cmp dword [ebp - 0x38], 0
je 0x4033e7
lea eax, [ebp - 0x18]
jmp 0x403400
push 0x40f5f8
lea ecx, [ebp - 0x38]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], 2
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
mov eax, dword [ebp - 0x10]
or eax, 1
test al, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
je 0x403429
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x38]
call ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret