Function at 0x531570
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5ac2e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov al, byte [esi + 0x30d9]
mov dword [esp + 0x3c], ebx
cmp al, bl
je 0x53166e
fld qword [esi + 0x30c8]
fcomp qword [0x5b9340]
fnstsw ax
test ah, 0x40
je 0x53166e
lea eax, [esp + 0x3c]
mov edi, 0xd
push eax
lea ecx, [esp + 0x30]
lea ebp, [esi + 0x10]
push edi
push ecx
mov ecx, ebp
mov byte [esp + 0x38], 0x46
mov byte [esp + 0x39], 0x4c
mov byte [esp + 0x3a], 0x56
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3c], 5
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 9
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov dword [esp + 0x30], edi
call fcn.004faca0
cmp dword [esp + 0x3c], edi
jne 0x5320f3
mov edx, dword [esi + 0x38]
mov byte [esi + 0x30d9], bl
add edx, edi
mov dword [esi + 0x38], edx
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
adc ecx, ebx
add edx, edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edx
mov ecx, dword [esi + 0x44]
adc ecx, ebx
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x64]
mov edx, dword [ecx]
add edx, edi
mov dword [ecx], edx
mov edx, dword [ecx + 4]
adc edx, ebx
mov dword [ecx + 4], edx
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx]
add edx, edi
mov dword [ecx], edx
mov edx, dword [ecx + 4]
adc edx, ebx
cmp eax, ebx
mov dword [ecx + 4], edx
je 0x5320f3
mov edi, dword [esp + 0x12c]
mov eax, dword [esp + 0x128]
lea edx, [esp + 0x3c]
lea ebp, [esi + 0x10]
push edx
push edi
push eax
mov ecx, ebp
mov dword [esp + 0x30], edi
call fcn.004faca0
cmp eax, ebx
je 0x5320f3
cmp edi, dword [esp + 0x3c]
jne 0x5320f3
mov ecx, dword [esi + 0x4650]
mov eax, dword [esi + 0x464c]
add ecx, 0x96000
cmp eax, ecx
jle 0x5316c0
mov ecx, esi
call fcn.00532860
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x40]
xor eax, eax
add ecx, edi
mov dword [esi + 0x38], ecx
mov ebp, dword [esi + 0x3c]
adc ebp, eax
add edx, edi
mov dword [esi + 0x40], edx
mov ecx, dword [esi + 0x44]
adc ecx, eax
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 0x64]
mov ebp, dword [ecx]
add ebp, edi
mov dword [ecx], ebp
mov edx, dword [ecx + 4]
adc edx, eax
mov dword [ecx + 4], edx
mov ecx, dword [esi + 0x68]
mov ebp, dword [ecx]
add ebp, edi
lea edi, [esi + 0x30c]
mov dword [ecx], ebp
mov edx, dword [ecx + 4]
adc edx, eax
push edi
mov dword [ecx + 4], edx
call fcn.0056c17c
mov eax, dword [edi]
mov ecx, dword [esi + 0x300]
mov edi, dword [esi + 0x80]
add esp, 4
sub eax, ecx
mov dword [esi + 0x318], eax
mov dword [esp + 0x28], eax
je 0x5317d5
mov ebp, dword [edi + 0x3dc]
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je 0x5317ad
fild dword [esp + 0x14]
lea edx, [ebp + 1]
fstp qword [esp + 0x60]
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
fstp qword [esp + 0x1c]
fild dword [esp + 0x28]
fst qword [esp + 0x50]
fld qword [esp + 0x60]
fmul qword [edi + 0x3b0]
fadd qword [esp + 0x1c]
fdivrp st(1)
fst qword [esp + 0x58]
fstp qword [edi + 0x3b0]
fld qword [esp + 0x1c]
fsub qword [esp + 0x58]
fld qword [0x5d8360]
call fcn.0056cd80
fdiv qword [esp + 0x50]
fld qword [esp + 0x60]
fmul qword [edi + 0x3c0]
fdiv qword [esp + 0x50]
faddp st(1)
fstp qword [edi + 0x3c0]
fld qword [esp + 0x1c]
jmp 0x5317b7
fild dword [esp + 0x28]
fst qword [edi + 0x3b0]
fcom qword [edi + 0x3d0]
fnstsw ax
test ah, 0x41
jne 0x5317cc
fstp qword [edi + 0x3d0]
jmp 0x5317ce
fstp st(0)
inc ebp
mov dword [edi + 0x3dc], ebp
mov ecx, esi
call fcn.004f80b0
mov al, byte [esi + 0x30d4]
mov dword [esi + 0x74], ebx
cmp al, bl
jne 0x531813
mov ecx, dword [esi + 0x9c]
mov edx, dword [esi + 0x4684]
sub ecx, edx
mov eax, dword [esi + 0x30d0]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
fild qword [esp + 0x1c]
fmul qword [0x5d8358]
fadd qword [eax]
fstp qword [eax]
mov cl, byte [esi + 0x30d4]
mov eax, dword [esi + 0x9c]
mov edi, dword [esi + 0x4684]
cmp cl, bl
mov dword [esi + 0x4684], eax
jne 0x5318f1
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x30]
cmp edx, ebx
je 0x53189f
mov edx, dword [edx + 0x1c]
cmp eax, edx
jb 0x5318f1
cmp edi, edx
jae 0x53186c
mov ecx, dword [esi + 0x30d0]
sub eax, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
fld qword [ecx]
fild qword [esp + 0x1c]
fmul qword [0x5d8358]
fsubp st(1)
fstp qword [ecx]
mov edx, dword [esi + 0x60]
push 1
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + 0x1c]
mov byte [esi + 0x30d4], 1
mov dword [esi + 0x310c], ecx
mov edx, dword [0x661a00]
push edx
mov ecx, esi
call fcn.004f72f0
mov ecx, dword [esi + 0x30c4]
call fcn.00535170
jmp 0x5318f1
mov edx, dword [ecx + 0x20]
cmp edx, ebx
je 0x5318f1
cmp eax, edx
jb 0x5318f1
cmp edi, edx
jae 0x5318ce
mov ecx, dword [esi + 0x30d0]
sub eax, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
fld qword [ecx]
fild qword [esp + 0x1c]
fmul qword [0x5d8358]
fsubp st(1)
fstp qword [ecx]
mov eax, dword [esi + 0x60]
mov byte [esi + 0x30d4], 1
push 1
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x310c], ecx
mov edx, dword [0x661a00]
push edx
mov ecx, esi
call fcn.004f72f0
mov edx, dword [esi + 0x46a0]
mov eax, dword [esi + 0x4698]
mov ebp, dword [esi + 0x46a4]
lea edi, [esi + 0x46a0]
cmp edx, eax
jne 0x531919
cmp ebp, dword [esi + 0x469c]
je 0x5320ef
mov ecx, dword [esi + 0x46ac]
xor eax, eax
add ecx, edx
mov edx, dword [esi + 0x3c]
adc eax, ebp
add ecx, 0xf
adc eax, ebx
cmp edx, eax
jl 0x5320ef
jg 0x531942
mov eax, dword [esi + 0x38]
cmp eax, ecx
jb 0x5320ef
mov ecx, dword [esi + 0x60]
push edi
mov edx, dword [ecx + 0x38]
mov ecx, dword [esi + 0x30c4]
push edx
call fcn.00535930
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x4698], ecx
mov dword [esi + 0x469c], edx
mov ebp, dword [eax + 0x30]
cmp ebp, ebx
je 0x531b11
mov edx, dword [esi + 0x9c]
cmp edx, dword [ebp + 0x1c]
jb 0x5320ef
lea edx, [esp + 0x24]
mov eax, ebp
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 0x46ac]
add eax, 0xf
push edx
push eax
mov eax, dword [edi + 4]
push eax
push ecx
mov ecx, dword [esi + 0x46a8]
push ecx
mov ecx, esi
call fcn.00533db0
test eax, eax
je 0x531a3c
mov edx, dword [esi + 0x3108]
mov eax, dword [esi + 0x46ac]
lea ecx, [edx + eax + 0xf]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 0x30]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x60]
mov ecx, dword [ecx + 0x30]
call fcn.004f71f0
mov edx, dword [esi + 0x46ac]
mov ebp, dword [edi]
mov ecx, edx
xor eax, eax
add ecx, ebp
mov ebp, dword [edi + 4]
adc eax, ebp
add ecx, 0xf
adc eax, ebx
mov ebx, dword [esi + 0x3c]
cmp ebx, eax
jl 0x531a14
jg 0x5319ff
mov eax, dword [esi + 0x38]
cmp eax, ecx
jbe 0x531a14
mov ecx, dword [esi + 0x38]
mov ebx, dword [edi]
sub ecx, ebx
sub ecx, edx
sub ecx, 0xf
push ecx
lea ecx, [esi + 0x10]
call fcn.004fa970
mov edx, dword [esi + 0x80]
push 1
mov byte [edx + 0x2b1], 1
mov ecx, dword [esi + 0x30c4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, esi
call fcn.00533af0
xor eax, eax
jmp 0x532162
cmp dword [esp + 0x24], ebx
je 0x531a50
mov ecx, esi
call fcn.005312f0
xor eax, eax
jmp 0x532162
mov ecx, dword [esi + 0x46c0]
inc ecx
mov eax, ecx
mov dword [esi + 0x46c0], ecx
cmp eax, 0xa
jle 0x5320ef
mov ecx, dword [esi + 0x80]
cmp byte [ecx + 0x2b1], bl
jne 0x5320ef
mov edx, dword [esi + 0x30c4]
cmp dword [edx + 0xec], ebx
jne 0x5320ef
push str.cmpkfcount___MAX_CMP_KEYFRAMES__set_NO_REST_n
mov ecx, esi
call fcn.004f73c0
mov ecx, dword [esi + 0x30c4]
push 2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0x60]
xor edi, edi
mov edx, dword [ecx + 0x30]
mov ebp, dword [edx]
cmp ebp, ebx
je 0x531ac3
mov edi, dword [ebp + 0x9c]
cmp edi, ebx
jne 0x531ac3
mov edi, dword [ebp + 0x98]
mov ecx, esi
call fcn.005312f0
cmp ebp, ebx
je 0x5320ef
mov dword [ebp + 0x5c], 0xe
mov dword [ebp + 0x54], ebx
mov eax, dword [esi + 0x9c]
cmp eax, edi
jae 0x5320ef
mov esi, dword [esi + 0x30d0]
sub edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
fld qword [esi]
fild qword [esp + 0x1c]
xor eax, eax
fmul qword [0x5d8358]
fsubp st(1)
fstp qword [esi]
jmp 0x532162
mov ebp, dword [eax + 0x20]
cmp ebp, ebx
je 0x5320ef
cmp dword [esi + 0x9c], ebp
jb 0x5320ef
mov eax, dword [eax + 0x2c]
lea ebp, [esp + 0x50]
push ebp
push eax
mov eax, dword [esi + 0x46ac]
add eax, 0xf
push eax
push edx
push ecx
mov ecx, dword [esi + 0x46a8]
push ecx
mov ecx, esi
call fcn.00533db0
test eax, eax
je 0x531c8a
mov edx, dword [esi + 0x3108]
mov eax, dword [esi + 0x46ac]
mov ecx, dword [0x65ca8c]
lea ebp, [edx + eax + 0xf]
mov dword [esp + 0x24], ecx
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x24]
mov dword [esp + 0x120], ebx
mov eax, dword [edx + 0x28]
push eax
push 0x636fe4
push ecx
call fcn.0057f8fb
mov ecx, dword [esp + 0x30]
add esp, 0xc
lea edx, [esp + 0x2c]
lea eax, [esp + 0x78]
push edx
mov edx, dword [esi + 0x30c4]
push eax
mov dword [esp + 0x34], 0x10
mov eax, dword [edx + 0xbc]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x531c05
push 1
push ebx
push ebx
push ebp
call fcn.0056d280
mov ecx, dword [esp + 0x80]
xor ebp, ebp
add eax, ecx
mov ecx, dword [esi + 0x30c4]
adc edx, ebp
push 0x10
mov dword [esp + 0x88], edx
lea edx, [esp + 0x7c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [ecx + 0xbc]
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x531c11
push str.Error____rtmpcn_l1983_n
mov ecx, esi
call fcn.004f73c0
mov edx, dword [esi + 0x46ac]
mov ebp, dword [edi]
mov ecx, edx
xor eax, eax
add ecx, ebp
mov ebp, dword [edi + 4]
adc eax, ebp
add ecx, 0xf
adc eax, ebx
mov ebx, dword [esi + 0x3c]
cmp ebx, eax
jl 0x531c4e
jg 0x531c39
mov eax, dword [esi + 0x38]
cmp eax, ecx
jbe 0x531c4e
mov ecx, dword [esi + 0x38]
mov ebx, dword [edi]
sub ecx, ebx
sub ecx, edx
sub ecx, 0xf
push ecx
lea ecx, [esi + 0x10]
call fcn.004fa970
mov edx, dword [esi + 0x80]
push 1
mov byte [edx + 0x2b1], 1
mov ecx, dword [esi + 0x30c4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, esi
call fcn.00533af0
lea ecx, [esp + 0x24]
mov dword [esp + 0x120], 0xffffffff
call fcn.00586b33
xor eax, eax
jmp 0x532162
cmp dword [esp + 0x50], ebx
je 0x5320ef
mov ecx, dword [0x65ca8c]
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x60]
mov dword [esp + 0x120], 1
mov eax, dword [edx + 0x2c]
push eax
call fcn.0056cd51
add esp, 4
cmp eax, 0xffffffff
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x2c]
push ecx
jne 0x531ccb
push str.Could_not_delete_temp_file__s_n
jmp 0x531cd0
push str.Delete_temp_file__s_n
lea edx, [esp + 0x18]
push edx
call fcn.0057f8fb
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004f73c0
mov dword [esi + 0x3108], ebx
mov byte [esi + 0x30d4], bl
mov dword [esi + 0x310c], ebx
mov ecx, dword [0x65ca8c]
mov ebp, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x60], ebp
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 2
mov eax, dword [edx + 0x28]
push eax
push 0x636fe4
push ecx
call fcn.0057f8fb
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x60]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
mov edx, dword [esi + 0x30c4]
lea eax, [esp + 0x44]
push eax
mov eax, dword [edx + 0xbc]
push ebx
push ebx
push ecx
push eax
call edi
cmp eax, ebx
je 0x531d7d
push eax
lea ecx, [esp + 0x14]
push str.Error_reading_registry__errCode___d._n
push ecx
call fcn.0057f8fb
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
push edx
call fcn.004f73c0
jmp 0x5320ca
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x58]
push eax
push str._skf
push ecx
call fcn.0056b4da
add esp, 0xc
lea edx, [esp + 0x28]
lea eax, [esp + 0x88]
mov dword [esp + 0x28], ebp
push edx
mov edx, dword [esi + 0x30c4]
push eax
push ebx
mov eax, dword [edx + 0xbc]
lea ecx, [esp + 0x64]
push ebx
push ecx
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call edi
cmp eax, ebx
jne 0x531e66
mov ecx, dword [esp + 0x90]
cmp ecx, 0xffffffff
je 0x531e66
mov eax, dword [esi + 0x9c]
cmp eax, ecx
jbe 0x531e15
sub eax, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x30d0]
fild qword [esp + 0x1c]
fmul qword [0x5d8358]
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
fadd qword [eax]
fstp qword [eax]
jmp 0x531e66
mov edx, dword [0x65ca8c]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str.error_2099__id_d__next_d__starttime_ld__ts_ld_n
push eax
mov byte [esp + 0x138], 3
call fcn.0057f8fb
mov ecx, dword [esp + 0x2c]
add esp, 0x18
push ecx
mov ecx, esi
call fcn.004f73c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x120], 2
call fcn.00586b33
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x531f6b
mov edx, dword [0x65ca8c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], edx
push eax
lea eax, [esp + 0x18]
push 0x636fe4
push eax
mov byte [esp + 0x12c], 4
call fcn.0057f8fb
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [esi + 0x30c4]
push edx
push ebx
mov edx, dword [ecx + 0xbc]
push ebx
push eax
push edx
call edi
cmp eax, ebx
jne 0x531f58
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0x60]
mov eax, dword [esp + 0x68]
mov dword [edx + 0x28], eax
mov edx, dword [esi + 0x30c4]
mov ecx, dword [esp + 0x68]
mov eax, dword [edx + 0x68]
mov edx, dword [esi + 0x60]
push ecx
add edx, 0x2c
mov ecx, dword [eax + 0x10]
push ecx
push str._s_d
push edx
call fcn.0057f8fb
mov eax, dword [esi + 0x60]
add esp, 0x10
lea edx, [esp + 0x68]
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x30c4]
push ebp
push edx
mov dword [esp + 0x7c], ebx
mov edx, dword [ecx + 0xbc]
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x9c]
cmp ecx, dword [eax + 0x20]
jb 0x531f58
mov byte [esi + 0x30d4], 1
mov edx, dword [eax + 0x20]
mov eax, dword [esi + 0x30d0]
mov dword [esi + 0x310c], edx
fld qword [eax]
fsub qword [esp + 0x2c]
fstp qword [eax]
lea ecx, [esp + 0x14]
mov byte [esp + 0x120], 2
call fcn.00586b33
jmp 0x531f81
mov eax, dword [esi + 0x60]
push 0x660ff8
mov dword [eax + 0x20], ebx
mov ecx, dword [esi + 0x60]
add ecx, 0x2c
call fcn.00586cbc
mov edx, dword [esi + 0x30c4]
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebp, dword [esp + 0x44]
mov eax, dword [edx + 0xbc]
push ecx
push eax
call edi
mov edx, dword [esi + 0x30c4]
lea ecx, [esp + 0x58]
push ecx
mov eax, dword [edx + 0xbc]
push eax
call edi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push str.Join_with_next__deleting_record_with_num__s_n
push edx
call fcn.0057f8fb
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.004f73c0
mov ecx, dword [esi + 0x60]
lea eax, [esp + 0x18]
mov edx, dword [ecx + 0x38]
push edx
push 0x636fe4
push eax
call fcn.0057f8fb
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x28]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x30c4]
push edx
mov dword [esp + 0x30], 0x10
mov edx, dword [ecx + 0xbc]
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x53203e
push eax
lea eax, [esp + 0x14]
push str.Error_reading_registry__errCode___d._n
push eax
call fcn.0057f8fb
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004f73c0
cmp ebp, 0xffffffff
mov dword [esp + 0x44], ebp
je 0x532053
mov edx, dword [esi + 0x30c4]
dec ebp
mov dword [edx + 0x74], ebp
jmp 0x53206b
mov eax, dword [esi + 0x30c4]
mov ecx, dword [eax + 0x78]
mov dword [eax + 0x74], ecx
mov edx, dword [esi + 0x30c4]
mov dword [edx + 0xac], ebx
mov edx, dword [esi + 0x30c4]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push 0x10
push eax
mov eax, dword [edx + 0xbc]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str.Updating_record_with_num__s:_set_ID__d__startPos__I64d__nextID__d_n
push eax
call fcn.0057f8fb
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
push ecx
mov ecx, esi
call fcn.004f73c0
mov ecx, esi
call fcn.004f9290
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 1
call fcn.00586b33
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call fcn.00586b33
xor eax, eax
jmp 0x532162
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x3c]
mov ebx, eax
mov eax, dword [esp + 0x24]
push ebx
push edx
push eax
lea ecx, [esp + 0xa4]
push str.File_write_error__Received__d_bytes__wrote__d_bytes__errCode___ld_n
push ecx
call fcn.0056b4da
add esp, 0x14
lea edx, [esp + 0x98]
mov ecx, esi
push edx
call fcn.004f73c0
cmp ebx, 5
jne 0x53213d
mov eax, dword [0x662204]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.004fa710
mov ecx, esi
call fcn.004f9690
test eax, eax
je 0x53214f
mov eax, 0xfffffffb
jmp 0x532162
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x10]
mov ecx, ebp
push edx
call fcn.004fa8e0
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 8