Function at 0x43c600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510d7b
mov eax, dword fs:[0]
push eax
mov eax, 0x81f4
call fcn.004985b0
mov eax, dword [0x55c640]
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 esi, ecx
mov dword [ebp - 0x819c], esi
mov dword [ebp - 0x81fc], 0
push 0xc0
lea eax, [ebp - 0x8160]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.00489f10
add esp, 8
lea ecx, [ebp - 0x8160]
call fcn.0044f4e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8028]
push 0xe
push str._error_log.txt
mov dword [ebp - 0x8014], 0xf
mov dword [ebp - 0x8018], 0
mov byte [ebp - 0x8028], 0
call fcn.004511b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x8028]
cmp dword [ebp - 0x8014], 0x10
push ecx
cmovae eax, dword [ebp - 0x8028]
lea ecx, [ebp - 0x8148]
push 8
push eax
call fcn.00452910
test eax, eax
lea ecx, [ebp - 0x8160]
mov eax, dword [ebp - 0x8160]
mov eax, dword [eax + 4]
jne 0x43c6ea
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x43c6f9
or eax, 4
jmp 0x43c6f9
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.00407930
mov edx, str._find_steam_start
lea ecx, [ebp - 0x8150]
call fcn.00456c60
push eax
call fcn.00456f10
add esp, 4
lea ecx, [ebp - 0x817c]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 0x20119
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb eax, eax
inc eax
je 0x43ceac
push eax
push ecx
mov edx, str.find_steam_code
lea ecx, [ebp - 0x8150]
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ce60
push eax
call fcn.00456f10
add esp, 4
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x8180], 0x3fff
push eax
push eax
push eax
push eax
mov word [ebp - 0x8010], ax
lea eax, [ebp - 0x8180]
push eax
lea eax, [ebp - 0x8010]
push eax
push ebx
push dword [ebp - 0x817c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x43ca22
push dword [ebp - 0x8180]
lea edx, [ebp - 0x8010]
lea ecx, [ebp - 0x8198]
call fcn.004285a0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8088]
call fcn.00468870
mov byte [ebp - 4], 6
cmp dword [ebp - 0x8184], 0x10
jb 0x43c7f1
push dword [ebp - 0x8198]
call fcn.00485250
add esp, 4
sub esp, 0x18
mov dword [ebp - 0x8180], 0x3fff
mov ecx, esp
mov dword [ebp - 0x8184], 0xf
xor eax, eax
mov dword [ebp - 0x8188], 0
mov word [ebp - 0x8010], ax
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp - 0x8088]
push eax
mov byte [ebp - 0x8198], 0
call fcn.00451bc0
mov edx, dword [ebp - 0x817c]
lea ecx, [ebp - 0x8040]
call fcn.004286c0
lea edx, [ebp - 0x8088]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80a0]
call fcn.00468940
mov edi, eax
lea edx, [ebp - 0x8040]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8198]
call fcn.00468940
mov esi, eax
mov edx, str.zz_numreg
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8150]
call fcn.00456c60
mov edx, esi
mov ecx, eax
call fcn.00456a00
mov edx, str._namew
mov ecx, eax
call fcn.00456c60
mov edx, edi
mov ecx, eax
call fcn.00456a00
push eax
call fcn.00456f10
add esp, 0x1c
cmp dword [ebp - 0x8184], 0x10
jb 0x43c8d1
push dword [ebp - 0x8198]
call fcn.00485250
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x808c], 0x10
mov dword [ebp - 0x8184], 0xf
mov dword [ebp - 0x8188], 0
mov byte [ebp - 0x8198], 0
jb 0x43c907
push dword [ebp - 0x80a0]
call fcn.00485250
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x20]
mov dword [ebp - 0x8044], 0xf
push eax
lea ecx, [ebp - 0x8058]
mov dword [ebp - 0x8048], 0
mov byte [ebp - 0x8058], 0
call fcn.00451080
lea edx, [ebp - 0x8088]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8070]
call fcn.00468940
lea ecx, [ebp - 0x8070]
mov byte [ebp - 4], 0xb
call fcn.0040af00
lea ecx, [ebp - 0x8058]
call fcn.0040af00
lea edx, [ebp - 0x8058]
lea ecx, [ebp - 0x8070]
call fcn.004579f0
test al, al
jne 0x43ca39
cmp dword [ebp - 0x805c], 0x10
jb 0x43c994
push dword [ebp - 0x8070]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x8044], 0x10
mov dword [ebp - 0x805c], 0xf
mov dword [ebp - 0x8060], 0
mov byte [ebp - 0x8070], 0
jb 0x43c9c6
push dword [ebp - 0x8058]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x802c], 8
jb 0x43c9dd
push dword [ebp - 0x8040]
call fcn.00485250
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x8074], 8
mov dword [ebp - 0x802c], 7
mov dword [ebp - 0x8030], 0
mov word [ebp - 0x8040], ax
jb 0x43ca15
push dword [ebp - 0x8088]
call fcn.00485250
add esp, 4
inc ebx
cmp ebx, 0x3e8
jl 0x43c771
push dword [ebp - 0x817c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x819c]
jmp 0x43ced2
lea edx, [ebp - 0x8040]
lea ecx, [ebp - 0x81b4]
call fcn.00468940
push eax
mov ecx, 0x55e8bc
call fcn.0044b810
cmp dword [ebp - 0x81a0], 0x10
jb 0x43ca6c
push dword [ebp - 0x81b4]
call fcn.00485250
add esp, 4
push 0x540190
mov edx, 0x55e8bc
lea ecx, [ebp - 0x81b4]
call fcn.00456910
add esp, 4
mov ecx, 0x55f4c0
push eax
call fcn.0044b810
cmp dword [ebp - 0x81a0], 0x10
jb 0x43caa6
push dword [ebp - 0x81b4]
call fcn.00485250
add esp, 4
mov edx, 0x55e538
lea ecx, [ebp - 0x81b4]
call fcn.00468940
push eax
mov ecx, 0x55f3e8
call fcn.0044b810
cmp dword [ebp - 0x81a0], 0x10
jb 0x43cad8
push dword [ebp - 0x81b4]
call fcn.00485250
add esp, 4
push ecx
push 0x55f3e8
lea ecx, [ebp - 0x81b4]
call fcn.00456840
push 0x543b38
mov edx, 0x55e8bc
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x81f8]
call fcn.00456910
push eax
lea ecx, [ebp - 0x8198]
mov byte [ebp - 4], 0xd
call fcn.00456840
lea edx, [ebp - 0x8088]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x81e0]
call fcn.00468940
mov esi, eax
push 0
lea eax, [ebp - 0x81b4]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x81c8]
push eax
call fcn.00507c40
mov edi, dword [ebp - 0x81c8]
lea eax, [ebp - 0x8198]
add esp, 0xc
push 0
push eax
lea eax, [ebp - 0x81c0]
push eax
call fcn.00507c40
mov eax, dword [ebp - 0x81c0]
add esp, 0xc
test eax, eax
je 0x43cb79
cmp eax, 1
je 0x43cb79
mov ecx, 1
jmp 0x43cb7b
xor ecx, ecx
cmp edi, 3
mov edx, str._find_steam_pbo_file_path3vvv
sete al
movzx eax, al
push eax
movzx eax, byte [0x567791]
push ecx
push ecx
push ecx
push eax
push ecx
lea ecx, [ebp - 0x8150]
call fcn.00456c60
mov edx, 0x55e9f4
mov ecx, eax
call fcn.00456a00
mov edx, str._patch_stea_slech
mov ecx, eax
call fcn.00456c60
mov edx, 0x55f4c0
mov ecx, eax
call fcn.00456a00
mov edx, str._pach_folder_papka_steam
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044c980
mov edx, str._exists
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044c980
mov edx, str._def_namew
mov ecx, eax
call fcn.00456c60
mov edx, esi
mov ecx, eax
call fcn.00456a00
mov edx, str._is_directory_patch_stea_slech_worksh_
mov ecx, eax
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044c980
push eax
call fcn.00456f10
add esp, 4
cmp dword [ebp - 0x81cc], 0x10
jb 0x43cc3c
push dword [ebp - 0x81e0]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x8184], 8
mov dword [ebp - 0x81cc], 0xf
mov dword [ebp - 0x81d0], 0
mov byte [ebp - 0x81e0], 0
jb 0x43cc6e
push dword [ebp - 0x8198]
call fcn.00485250
add esp, 4
xor eax, eax
mov dword [ebp - 0x8184], 7
cmp dword [ebp - 0x81e4], 0x10
mov dword [ebp - 0x8188], 0
mov word [ebp - 0x8198], ax
jb 0x43cca2
push dword [ebp - 0x81f8]
call fcn.00485250
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x81a0], 8
mov dword [ebp - 0x81e4], 0xf
mov dword [ebp - 0x81e8], 0
mov byte [ebp - 0x81f8], 0
jb 0x43ccd8
push dword [ebp - 0x81b4]
call fcn.00485250
add esp, 4
push 0x543b38
mov edx, 0x55e8bc
lea ecx, [ebp - 0x81b4]
call fcn.00456910
push eax
lea ecx, [ebp - 0x8198]
mov byte [ebp - 4], 0x10
call fcn.00456840
push 0
lea eax, [ebp - 0x8198]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x81c0]
push eax
call fcn.00507c40
mov eax, dword [ebp - 0x81c0]
add esp, 0xc
test eax, eax
je 0x43cd2f
cmp eax, 1
je 0x43cd2f
mov eax, 1
jmp 0x43cd31
xor eax, eax
cmp al, 1
sete bl
cmp dword [ebp - 0x8184], 8
jb 0x43cd4d
push dword [ebp - 0x8198]
call fcn.00485250
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x81a0], 0x10
mov dword [ebp - 0x8184], 7
mov dword [ebp - 0x8188], 0
mov word [ebp - 0x8198], ax
jb 0x43cd85
push dword [ebp - 0x81b4]
call fcn.00485250
add esp, 4
test bl, bl
je 0x43ce22
push 0x55e9f4
lea ecx, [ebp - 0x80a0]
mov byte [0x567792], 1
call fcn.0044b6f0
lea ecx, [ebp - 0x80a0]
mov byte [ebp - 4], 0x12
call fcn.0040af00
push 0x55f4c0
lea ecx, [ebp - 0x8178]
call fcn.0044b6f0
lea ecx, [ebp - 0x8178]
mov byte [ebp - 4], 0x13
call fcn.0040af00
lea edx, [ebp - 0x8178]
lea ecx, [ebp - 0x80a0]
call fcn.004579f0
movzx ecx, byte [0x567791]
test al, al
mov edx, 1
cmovne ecx, edx
mov byte [0x567791], cl
mov ecx, dword [ebp - 0x819c]
push 0x55e8bc
call fcn.0044b6f0
lea ecx, [ebp - 0x8178]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
lea ecx, [ebp - 0x80a0]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
jmp 0x43ce32
mov ecx, dword [ebp - 0x819c]
push 0x53e536
call fcn.0044b740
lea ecx, [ebp - 0x8070]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
lea ecx, [ebp - 0x8058]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
lea ecx, [ebp - 0x8040]
call fcn.0040a970
lea ecx, [ebp - 0x8088]
call fcn.0040a970
lea ecx, [ebp - 0x8028]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
lea ecx, [ebp - 0x80e8]
mov byte [ebp - 4], 1
call fcn.0044f600
lea eax, [ebp - 0x80e8]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0046ca3b
add esp, 4
lea ecx, [ebp + 8]
call fcn.0040a970
lea ecx, [ebp + 0x20]
call sym.Dayz_updater.exe_public:_void___thiscall_pbo::signature::destructor_void_
mov eax, dword [ebp - 0x819c]
jmp 0x43d09f
push 0
push ecx
mov edx, str.find_steam_error
lea ecx, [ebp - 0x8150]
call fcn.00456c60
add esp, 4
mov ecx, eax
call fcn.0044ce60
push eax
call fcn.00456f10
add esp, 4
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x53e536
mov byte [esi], 0
call fcn.004511b0
cmp dword [ebp - 0x8014], 0x10
jb 0x43cf08
push dword [ebp - 0x8028]
call fcn.00485250
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8160]
mov dword [ebp - 0x8014], 0xf
mov dword [ebp - 0x8018], 0
mov byte [ebp - 0x8028], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x8160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0x8164], eax
cmp dword [ebp - 0x80f8], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x43cf91
mov eax, dword [ebp - 0x813c]
lea ecx, [ebp - 0x8104]
cmp dword [eax], ecx
jne 0x43cf91
mov edx, dword [ebp - 0x810c]
mov ecx, dword [ebp - 0x8110]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x812c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x811c]
mov dword [eax], edx
cmp byte [ebp - 0x80fc], 0
je 0x43cfa5
lea ecx, [ebp - 0x8148]
call fcn.004529d0
mov edi, dword [ebp - 0x8114]
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
test edi, edi
je 0x43cfd9
mov ecx, dword [edi]
test ecx, ecx
je 0x43cfd0
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x43cfd0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push edi
call fcn.00485250
add esp, 4
mov eax, dword [ebp - 0x8160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x8160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x8164], eax
mov eax, dword [ebp - 0x8150]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x8150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x8154], eax
mov eax, dword [ebp - 0x8160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x8160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x8164], eax
lea eax, [ebp - 0x80e8]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0046ca3b
add esp, 4
cmp dword [ebp + 0x1c], 8
jb 0x43d078
push dword [ebp + 8]
call fcn.00485250
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x43d09d
push dword [ebp + 0x20]
call fcn.00485250
add esp, 4
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.00484516
mov esp, ebp
pop ebp
ret