Function at 0x434ff0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d124
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.0040638e
mov ecx, eax
test ecx, ecx
jne 0x435099
push 0x80004005
call fcn.00406864
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4350ae
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4350b0
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x430], edi
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x435181
movzx esi, ax
mov ecx, esi
call fcn.0040643e
mov ebx, eax
test ebx, ebx
je 0x4352bd
mov ecx, esi
shr ecx, 4
inc ecx
push 6
movzx ecx, cx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4352bd
push esi
mov edx, eax
mov ecx, ebx
call fcn.004064a8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4352bd
movzx esi, word [ebx]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x43513a
push esi
lea ecx, [ebp - 0x430]
call fcn.004066e8
mov edi, dword [ebp - 0x430]
movzx ecx, word [ebx]
lea eax, [ebx + 2]
push ecx
push eax
push esi
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wmemcpy_s]
add esp, 0x10
cmp eax, 0x50
ja case.0x435a93.1
movzx eax, byte [eax + 0x435db4]
jmp dword [eax*4 + 0x435da4]
push 0x8007000e
call fcn.00406864
cmp esi, dword [edi - 8]
jle 0x4352b4
push 0x80070057
call fcn.00406864
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov esi, eax
add esp, 4
test esi, esi
jne 0x435239
lea ecx, [edi - 0x10]
mov esi, dword [ecx]
cmp dword [ecx + 4], eax
je 0x4352bd
cmp dword [ecx + 0xc], eax
lea edx, [ecx + 0xc]
jge 0x4351cb
cmp dword [edi - 8], eax
jge 0x4351ba
push 0x80070057
call fcn.00406864
xor eax, eax
mov dword [edi - 0xc], 0
mov word [edi], ax
jmp 0x4352bd
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x435206
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435202
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435202
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x435206
mov ecx, edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435227
lock inc dword [esi + 0x14]
lea eax, [esi + 8]
lea edi, [eax + 0x10]
mov dword [ebp - 0x430], edi
jmp 0x4352bd
mov ecx, esi
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x430], edi
jmp 0x4352bd
mov eax, dword [edi - 0xc]
lea ebx, [ebp - 0x218]
sub ebx, edi
mov dword [ebp - 0x438], eax
sar ebx, 1
test esi, esi
jns 0x43525a
push 0x80070057
call fcn.00406864
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x43527d
push esi
lea ecx, [ebp - 0x430]
call fcn.004066e8
mov edi, dword [ebp - 0x430]
mov ecx, edi
mov edx, dword [edi - 8]
cmp ebx, dword [ebp - 0x438]
ja 0x435296
lea eax, [edi + ebx*2]
push esi
push eax
call fcn.00406775
jmp 0x4352a8
lea eax, [esi + esi]
add edx, edx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004067e1
add esp, 8
cmp esi, dword [edi - 8]
jg case.0x435a93.20
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
push 0x442820
lea edx, [ebp - 0x430]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x424]
call fcn.0040eee1
push 0x4427e8
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x434]
call fcn.0040eee1
add esp, 8
mov byte [ebp - 4], 4
lea esi, [edi - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x428], eax
lea ebx, [eax - 0x10]
cmp ebx, esi
je 0x4353c1
cmp dword [esi + 0xc], 0
jl 0x435417
mov ecx, dword [ebx]
cmp ecx, dword [esi]
jne 0x435417
mov eax, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
je 0x43532c
call dword [eax + 0x10]
mov ecx, eax
cmp dword [ebx + 0xc], 0
lea eax, [ebx + 0xc]
jl 0x43533e
cmp ecx, dword [ebx]
jne 0x43533e
lock inc dword [eax]
jmp 0x43537b
mov eax, dword [ecx]
lea edi, [ebx + 4]
push 2
push dword [edi]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x435354
call fcn.004066a5
mov eax, dword [edi]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
mov edx, dword [edi]
lea eax, [edx*2 + 2]
push eax
push dword [ebp - 0x428]
lea edx, [edx*2 + 2]
call fcn.004067e1
add esp, 8
or eax, 0xffffffff
lea ecx, [esi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4353b8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4353b6
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4353b6
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call eax
jmp 0x4353b8
call edx
lea edi, [ebx + 0x10]
mov dword [ebp - 0x430], edi
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x434]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43555a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435556
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435556
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x43555a
mov ebx, dword [eax - 0xc]
test ebx, ebx
jne 0x4354b5
cmp dword [esi + 4], 0
mov ebx, dword [esi]
je 0x4353c1
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jge 0x435454
cmp dword [edi - 8], 0
jge 0x435443
push 0x80070057
call fcn.00406864
xor eax, eax
mov dword [edi - 0xc], 0
mov word [edi], ax
jmp 0x4353c1
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x43548e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43548c
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43548c
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call eax
jmp 0x43548e
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4354a9
lock inc dword [ebx + 0x14]
lea eax, [ebx + 8]
lea edi, [eax + 0x10]
jmp 0x4353bb
mov ecx, ebx
call edx
lea edi, [eax + 0x10]
jmp 0x4353bb
test eax, eax
jne 0x4354c3
push 0x80070057
call fcn.00406864
mov ecx, dword [edi - 0xc]
mov edx, eax
sub edx, edi
mov dword [ebp - 0x42c], ecx
sar edx, 1
mov dword [ebp - 0x438], edx
test ebx, ebx
jns 0x4354e6
push 0x80070057
call fcn.00406864
mov eax, dword [esi + 8]
mov ecx, 1
sub ecx, dword [esi + 0xc]
sub eax, ebx
or eax, ecx
jge 0x43550f
push ebx
lea ecx, [ebp - 0x430]
call fcn.004066e8
mov edi, dword [ebp - 0x430]
mov edx, dword [ebp - 0x438]
mov ecx, edi
cmp edx, dword [ebp - 0x42c]
ja 0x435528
lea eax, [edi + edx*2]
mov edx, dword [edi - 8]
push ebx
push eax
call fcn.00406775
jmp 0x43553c
mov edx, dword [edi - 8]
lea eax, [ebx + ebx]
push eax
push dword [ebp - 0x428]
add edx, edx
call fcn.004067e1
add esp, 8
cmp ebx, dword [edi - 8]
jg case.0x4356c7.20
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
jmp 0x4353c1
mov ecx, edx
call esi
mov byte [ebp - 4], 2
mov eax, ebx
mov ecx, dword [ebp - 0x424]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4355a2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x43559e
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x43559e
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4355a2
mov ecx, edx
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push edi
push 0x104
push eax
push 0x442804
push 0x442834
push 0x442824
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.0040638e
mov ecx, eax
test ecx, ecx
jne 0x4355ef
push 0x80004005
call fcn.00406864
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435604
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x435606
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x42c], esi
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 5
test eax, 0xffff0000
jne 0x4356e1
movzx ebx, ax
mov ecx, ebx
call fcn.0040643e
mov dword [ebp - 0x424], eax
test eax, eax
je 0x43582c
mov ecx, ebx
shr ecx, 4
inc ecx
push 6
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43582c
mov ecx, dword [ebp - 0x424]
mov edx, eax
push ebx
call fcn.004064a8
mov edx, eax
add esp, 4
mov dword [ebp - 0x424], edx
test edx, edx
je 0x43582c
movzx ebx, word [edx]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4356a4
push ebx
lea ecx, [ebp - 0x42c]
call fcn.004066e8
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x424]
movzx ecx, word [edx]
lea eax, [edx + 2]
push ecx
push eax
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wmemcpy_s]
add esp, 0x10
cmp eax, 0x50
ja case.0x435a93.1
movzx eax, byte [eax + 0x435e18]
jmp dword [eax*4 + 0x435e08]
cmp ebx, dword [esi - 8]
jle 0x435823
push 0x80070057
call fcn.00406864
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x435799
lea ecx, [esi - 0x10]
mov ebx, dword [ecx]
cmp dword [ecx + 4], eax
je 0x43582c
cmp dword [ecx + 0xc], eax
lea edx, [ecx + 0xc]
jge 0x43572b
cmp dword [esi - 8], eax
jge 0x43571a
push 0x80070057
call fcn.00406864
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x43582c
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x435766
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435762
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435762
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x435766
mov ecx, edx
call esi
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435787
lock inc dword [ebx + 0x14]
lea eax, [ebx + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x42c], esi
jmp 0x43582c
mov ecx, ebx
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x42c], esi
jmp 0x43582c
mov eax, dword [esi - 0xc]
lea edx, [ebp - 0x420]
sub edx, esi
mov dword [ebp - 0x434], eax
sar edx, 1
mov dword [ebp - 0x424], edx
test ebx, ebx
jns 0x4357c0
push 0x80070057
call fcn.00406864
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4357e9
push ebx
lea ecx, [ebp - 0x42c]
call fcn.004066e8
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x424]
mov ecx, esi
cmp edx, dword [ebp - 0x434]
ja 0x435802
lea eax, [esi + edx*2]
mov edx, dword [esi - 8]
push ebx
push eax
call fcn.00406775
jmp 0x435817
mov edx, dword [esi - 8]
lea eax, [ebx + ebx]
push eax
lea eax, [ebp - 0x420]
add edx, edx
push eax
call fcn.004067e1
add esp, 8
cmp ebx, dword [esi - 8]
jg case.0x435a93.20
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov byte [ebp - 4], 6
cmp dword [esi - 0xc], 0
jne 0x435986
push 0x442868
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4358f6
lea ecx, [esi - 0x10]
mov ebx, dword [ecx]
cmp dword [ecx + 4], eax
je 0x435986
cmp dword [ecx + 0xc], eax
lea edx, [ecx + 0xc]
jge 0x435888
cmp dword [esi - 8], eax
jge 0x435877
push 0x80070057
call fcn.00406864
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x435986
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4358c3
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4358bf
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4358bf
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4358c3
mov ecx, edx
call esi
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4358e4
lock inc dword [ebx + 0x14]
lea eax, [ebx + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x42c], esi
jmp 0x435986
mov ecx, ebx
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x42c], esi
jmp 0x435986
mov eax, dword [esi - 0xc]
mov edx, 0x442868
sub edx, esi
mov dword [ebp - 0x434], eax
sar edx, 1
mov dword [ebp - 0x424], edx
test ebx, ebx
jns 0x43591c
push 0x80070057
call fcn.00406864
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x435945
push ebx
lea ecx, [ebp - 0x42c]
call fcn.004066e8
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x424]
mov ecx, esi
cmp edx, dword [ebp - 0x434]
ja 0x43595e
lea eax, [esi + edx*2]
mov edx, dword [esi - 8]
push ebx
push eax
call fcn.00406775
jmp 0x435971
mov edx, dword [esi - 8]
lea eax, [ebx + ebx]
push eax
push 0x442868
add edx, edx
call fcn.004067e1
add esp, 8
cmp ebx, dword [esi - 8]
jg case.0x4356c7.20
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
call fcn.0040638e
mov ecx, eax
test ecx, ecx
jne 0x43599b
push 0x80004005
call fcn.00406864
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4359b0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4359b2
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x428], ebx
mov eax, 0x442844
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x435aba
movzx ecx, ax
call fcn.0040643e
mov dword [ebp - 0x424], eax
test eax, eax
je 0x435adf
mov edx, 0x442844
movzx ecx, dx
shr ecx, 4
inc ecx
push 6
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edx, eax
test edx, edx
je 0x435adf
mov ecx, 0x442844
movzx eax, cx
mov ecx, dword [ebp - 0x424]
push eax
call fcn.004064a8
mov edx, eax
add esp, 4
mov dword [ebp - 0x434], edx
test edx, edx
je 0x435adf
movzx ecx, word [edx]
mov eax, 1
sub eax, dword [ebx - 4]
mov dword [ebp - 0x424], eax
mov eax, dword [ebx - 8]
sub eax, ecx
mov dword [ebp - 0x438], ecx
or eax, dword [ebp - 0x424]
jge 0x435a6b
push ecx
lea ecx, [ebp - 0x428]
call fcn.004066e8
mov ebx, dword [ebp - 0x428]
mov edx, dword [ebp - 0x434]
movzx ecx, word [edx]
lea eax, [edx + 2]
push ecx
push eax
push dword [ebp - 0x438]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wmemcpy_s]
add esp, 0x10
cmp eax, 0x50
ja case.0x435a93.1
movzx eax, byte [eax + 0x435e7c]
jmp dword [eax*4 + 0x435e6c]
push 0x80070057
jmp 0x435169
mov eax, dword [ebp - 0x438]
cmp eax, dword [ebx - 8]
jg case.0x435a93.20
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
jmp 0x435adf
push 0x442844
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 4
lea ecx, [ebp - 0x428]
push eax
push 0x442844
call fcn.004068a7
mov ebx, dword [ebp - 0x428]
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x428]
lea ecx, [ebp - 0x43c]
call fcn.0040ef47
add esp, 4
mov byte [ebp - 4], 6
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x435b3f
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435b3d
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435b3d
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x435b3f
call edx
lea eax, [ebp - 0x428]
mov dword [ebp - 0x428], 0
push eax
push 0x20019
push 0
push dword [ebp - 0x43c]
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x435ca6
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x434], eax
push ecx
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x44c], eax
push ecx
push 0
push 0x4428b0
push eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x424], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x43c]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x435c0a
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435c00
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435c00
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x435c04
mov ecx, edx
call ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x435c4d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435c4b
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435c4b
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call esi
jmp 0x435c53
call edx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x435c90
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435c8e
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435c8e
push 0
push dword [ecx + 4]
call esi
jmp 0x435c90
call edx
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x435d79
push eax
call ebx
jmp 0x435d77
mov ecx, dword [ebp - 0x43c]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x435cf1
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435ce7
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435ce7
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x435ceb
mov ecx, edx
call ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x435d34
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435d32
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435d32
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call esi
jmp 0x435d3a
call edx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x435d77
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x435d75
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x435d75
push 0
push dword [ecx + 4]
call esi
jmp 0x435d77
call edx
xor eax, eax
mov esi, dword [ebp - 0x440]
test eax, eax
je 0x435d86
push eax
call ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431fdc
mov esp, ebp
pop ebp
ret