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

Disassembly:
push 0xffffffffffffffff
push 0x6597b7
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov eax, dword [esp + 0x114]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
cmp byte [esi + 0x3201], bl
je 0x5a3a64
fldz
fcomp qword [esi + 0x31f0]
fnstsw ax
test ah, 0x44
jp 0x5a3a64
lea edx, [esp + 0x28]
push edx
lea edi, [ebx + 0xd]
push edi
lea eax, [esp + 0x68]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x6c], 0x46
mov byte [esp + 0x6d], 0x4c
mov byte [esp + 0x6e], 0x56
mov byte [esp + 0x6f], 1
mov byte [esp + 0x70], 5
mov byte [esp + 0x71], bl
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], 9
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov dword [esp + 0x2c], ecx
call fcn.00562340
mov ecx, edi
mov ebp, eax
cmp dword [esp + 0x28], ecx
jne 0x5a449f
mov eax, dword [esi + 0xc0]
mov edx, dword [eax + 0x3d8]
or edx, dword [eax + 0x3dc]
jne 0x5a3a2e
fldz
fcomp qword [eax + 0x3a8]
fnstsw ax
test ah, 5
jnp 0x5a3a2e
mov ecx, dword [esi + 0x31ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 2
call edx
mov ecx, dword [esi + 0x31ec]
call fcn.005a9640
mov ecx, edi
add dword [esi + 0x78], ecx
mov eax, dword [esi + 0xa4]
mov byte [esi + 0x3201], bl
adc dword [esi + 0x7c], ebx
add dword [esi + 0x80], ecx
adc dword [esi + 0x84], ebx
add dword [eax], ecx
adc dword [eax + 4], ebx
mov eax, dword [esi + 0xa8]
add dword [eax], ecx
adc dword [eax + 4], ebx
cmp ebp, ebx
je 0x5a449f
mov edi, dword [esp + 0x118]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push edi
lea ecx, [esi + 0x10]
push edx
mov dword [esp + 0x2c], ecx
call fcn.00562340
cmp eax, ebx
je 0x5a449f
cmp edi, dword [esp + 0x28]
jne 0x5a449f
mov eax, dword [esi + 0x49bc]
add eax, 0x96000
cmp dword [esi + 0x49b8], eax
jle 0x5a3aae
mov ecx, esi
call fcn.005a2ff0
mov ecx, dword [esi + 0xa4]
xor eax, eax
add dword [esi + 0x78], edi
adc dword [esi + 0x7c], eax
add dword [esi + 0x80], edi
adc dword [esi + 0x84], eax
add dword [ecx], edi
adc dword [ecx + 4], eax
mov ecx, dword [esi + 0xa8]
add dword [ecx], edi
lea edi, [esi + 0x434]
push edi
adc dword [ecx + 4], eax
call fcn.006192f1
mov eax, dword [edi]
sub eax, dword [esi + 0x428]
mov ecx, dword [esi + 0xc0]
add esp, 4
push eax
mov dword [esi + 0x440], eax
call fcn.00559570
mov ecx, esi
call fcn.00559070
fld qword [0x67c730]
mov dword [esi + 0xb4], ebx
cmp byte [esi + 0x31fc], bl
jne 0x5a3b46
mov ecx, dword [esi + 0xe4]
sub ecx, dword [esi + 0x49f0]
mov eax, dword [esi + 0x31f8]
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
test ecx, ecx
jge 0x5a3b40
fadd qword [0x676138]
fdiv st(1)
fadd qword [eax]
fstp qword [eax]
mov eax, dword [esi + 0xe4]
mov edi, dword [esi + 0x49f0]
mov dword [esi + 0x49f0], eax
cmp byte [esi + 0x31fc], bl
jne 0x5a3c35
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x58]
cmp edx, ebx
je 0x5a3bda
mov edx, dword [edx + 0x1c]
cmp eax, edx
jb 0x5a3c35
cmp edi, edx
jae 0x5a3ba2
mov ecx, dword [esi + 0x31f8]
sub eax, edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
test eax, eax
jge 0x5a3b9a
fadd qword [0x676138]
fdivrp st(1)
fsubr qword [ecx]
fstp qword [ecx]
jmp 0x5a3ba4
fstp st(0)
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x3238], ecx
mov byte [esi + 0x31fc], 1
mov edx, dword [0x7544d8]
push 1
push edx
mov ecx, esi
call fcn.00559660
mov ecx, dword [esi + 0x31ec]
call fcn.005a8840
jmp 0x5a3c37
mov ecx, dword [ecx + 0x20]
cmp ecx, ebx
je 0x5a3c35
cmp eax, ecx
jb 0x5a3c35
cmp edi, ecx
jae 0x5a3c0b
mov edx, dword [esi + 0x31f8]
sub eax, ecx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
test eax, eax
jge 0x5a3c03
fadd qword [0x676138]
fdivrp st(1)
fsubr qword [edx]
fstp qword [edx]
jmp 0x5a3c0d
fstp st(0)
mov eax, dword [esi + 0xa0]
mov byte [esi + 0x31fc], 1
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x3238], ecx
mov edx, dword [0x7544d8]
push 1
push edx
mov ecx, esi
call fcn.00559660
jmp 0x5a3c37
fstp st(0)
mov edx, dword [esi + 0x4a10]
mov ebp, dword [esi + 0x4a14]
lea edi, [esi + 0x4a10]
cmp edx, dword [esi + 0x4a08]
jne 0x5a3c5d
cmp ebp, dword [esi + 0x4a0c]
je 0x5a449b
mov ecx, dword [esi + 0x4a1c]
xor eax, eax
add ecx, edx
mov edx, dword [esi + 0x7c]
adc eax, ebp
add ecx, 0xf
adc eax, ebx
cmp edx, eax
jl 0x5a449b
jg 0x5a3c86
mov eax, dword [esi + 0x78]
cmp eax, ecx
jb 0x5a449b
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x60]
mov ecx, dword [esi + 0x31ec]
push edi
push edx
call fcn.005a86d0
mov edx, dword [edi]
mov ebp, dword [edi + 4]
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x4a08], edx
mov dword [esi + 0x4a0c], ebp
mov ecx, dword [eax + 0x58]
cmp ecx, ebx
je 0x5a3e69
mov eax, dword [esi + 0xe4]
cmp eax, dword [ecx + 0x1c]
jb 0x5a449b
mov ecx, dword [ecx + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x4a1c]
push ecx
mov ecx, dword [esi + 0x4a18]
add eax, 0xf
push eax
push ebp
push edx
push ecx
mov ecx, esi
call fcn.005a1560
test eax, eax
je 0x5a3d84
mov edx, dword [esi + 0x3234]
mov eax, dword [esi + 0x4a1c]
lea ecx, [edx + eax + 0xf]
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0xa0]
mov ecx, dword [ecx + 0x58]
call fcn.00558330
mov edx, dword [esi + 0x4a1c]
xor eax, eax
mov ecx, edx
add ecx, dword [edi]
adc eax, dword [edi + 4]
add ecx, 0xf
adc eax, ebx
mov ebx, dword [esi + 0x7c]
cmp ebx, eax
jl 0x5a3d5a
jg 0x5a3d46
mov eax, dword [esi + 0x78]
cmp eax, ecx
jbe 0x5a3d5a
mov ecx, dword [esi + 0x78]
sub ecx, dword [edi]
sub ecx, edx
sub ecx, 0xf
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00561f90
mov edx, dword [esi + 0xc0]
mov byte [edx + 0x335], 1
mov ecx, dword [esi + 0x31ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
mov ecx, esi
call fcn.005a06e0
xor eax, eax
jmp 0x5a4513
cmp dword [esp + 0x18], ebx
je 0x5a3d98
mov ecx, esi
call fcn.005a1210
xor eax, eax
jmp 0x5a4513
inc dword [esi + 0x4a30]
cmp dword [esi + 0x4a30], 0xa
jle 0x5a449b
mov eax, dword [esi + 0xc0]
cmp byte [eax + 0x335], bl
jne 0x5a449b
mov ecx, dword [esi + 0x31ec]
cmp dword [ecx + 0x134], ebx
jne 0x5a449b
push str.cmpkfcount___MAX_CMP_KEYFRAMES__set_NO_REST_n
mov ecx, esi
call fcn.00558e10
mov ecx, dword [esi + 0x31ec]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 2
call eax
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x58]
mov edi, dword [edx]
xor ebp, ebp
cmp edi, ebx
je 0x5a3e11
mov ebp, dword [edi + 0xe4]
cmp ebp, ebx
jne 0x5a3e11
mov ebp, dword [edi + 0xe8]
add ebp, dword [edi + 0xe0]
mov ecx, esi
call fcn.005a1210
cmp edi, ebx
je 0x5a449b
mov dword [edi + 0x9c], 0xe
mov dword [edi + 0x94], ebx
mov eax, dword [esi + 0xe4]
cmp eax, ebp
jae 0x5a449b
mov esi, dword [esi + 0x31f8]
sub ebp, eax
mov dword [esp + 0x24], ebp
fild dword [esp + 0x24]
test ebp, ebp
jge 0x5a3e58
fadd qword [0x676138]
fdiv qword [0x67c730]
xor eax, eax
fsubr qword [esi]
fstp qword [esi]
jmp 0x5a4513
mov ecx, dword [eax + 0x20]
cmp ecx, ebx
je 0x5a449b
cmp dword [esi + 0xe4], ecx
jb 0x5a449b
mov ecx, dword [eax + 0x2c]
cmp ecx, ebx
je 0x5a3e8b
mov eax, ecx
jmp 0x5a3e8e
add eax, 0x30
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x4a18]
push eax
mov eax, dword [esi + 0x4a1c]
add eax, 0xf
push eax
push ebp
push edx
push ecx
mov ecx, esi
call fcn.005a1560
test eax, eax
je 0x5a3fe2
mov edx, dword [esi + 0x3234]
mov eax, dword [esi + 0x4a1c]
lea ecx, [esp + 0x14]
lea ebp, [edx + eax + 0xf]
call fcn.00402500
mov dword [esp + 0x10c], ebx
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x28]
push edx
lea eax, [esp + 0x18]
push 0x66e42c
push eax
call fcn.00402f70
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x31ec]
lea edx, [esp + 0x40]
push edx
push ebx
push ebx
mov dword [esp + 0x30], 0x10
mov edx, dword [ecx + 0x104]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x5a3f61
push 1
push ebx
push ebx
push ebp
call fcn.0061a480
mov ecx, dword [esp + 0x44]
xor ebp, ebp
add eax, ecx
mov ecx, dword [esi + 0x31ec]
adc edx, ebp
push 0x10
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x40]
push edx
push ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x104]
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x5a3f6d
push str.Error____rtmpcn_l1983_n
mov ecx, esi
call fcn.00558e10
mov edx, dword [esi + 0x4a1c]
xor eax, eax
mov ecx, edx
add ecx, dword [edi]
adc eax, dword [edi + 4]
add ecx, 0xf
adc eax, ebx
mov ebx, dword [esi + 0x7c]
cmp ebx, eax
jl 0x5a3fa4
jg 0x5a3f91
mov eax, dword [esi + 0x78]
cmp eax, ecx
jbe 0x5a3fa4
mov ecx, dword [esi + 0x78]
sub ecx, dword [edi]
sub ecx, edx
sub ecx, 0xf
push ecx
lea ecx, [esi + 0x10]
call fcn.00561f90
mov edx, dword [esi + 0xc0]
mov byte [edx + 0x335], 1
mov ecx, dword [esi + 0x31ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
mov ecx, esi
call fcn.005a06e0
mov dword [esp + 0x10c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402570
xor eax, eax
jmp 0x5a4513
cmp dword [esp + 0x20], ebx
je 0x5a449b
lea ecx, [esp + 0x1c]
call fcn.00402500
mov dword [esp + 0x10c], 1
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x2c]
add eax, 0x2c
cmp ecx, ebx
jne 0x5a4013
lea ecx, [eax + 4]
push ecx
call fcn.00619333
add esp, 4
sub esp, 0xc
cmp eax, 0xffffffff
mov eax, dword [esi + 0xa0]
mov ecx, esp
jne 0x5a4033
push str.Could_not_delete_temp_file__s_n
jmp 0x5a4038
push str.Delete_temp_file__s_n
mov edx, dword [eax + 0x2c]
add eax, 0x2c
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402f70
mov edx, dword [esp + 0x30]
add esp, 0x14
push edx
mov ecx, esi
call fcn.00558e10
mov ebp, 0x10
lea ecx, [esp + 0x14]
mov dword [esi + 0x3234], ebx
mov byte [esi + 0x31fc], bl
mov dword [esi + 0x3238], ebx
mov dword [esp + 0x4c], ebp
call fcn.00402500
mov byte [esp + 0x10c], 2
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x28]
push ecx
lea edx, [esp + 0x18]
push 0x66e42c
push edx
call fcn.00402f70
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x31ec]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [eax + 0x104]
push ebx
push ebx
push edx
push ecx
call edi
cmp eax, ebx
je 0x5a40fb
push eax
lea edx, [esp + 0x20]
push str.Error_reading_registry__errCode___d._n
push edx
call fcn.00402f70
mov eax, dword [esp + 0x28]
add esp, 0xc
push eax
mov ecx, esi
call fcn.00558e10
jmp 0x5a4476
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x74]
push str._skf
push edx
call fcn.006186ab
fldz
add esp, 0xc
fstp qword [esp + 0x60]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x31ec]
lea ecx, [esp + 0x54]
push ecx
push ebx
push ebx
lea edx, [esp + 0x80]
mov dword [esp + 0x30], ebp
mov ecx, dword [eax + 0x104]
push edx
push ecx
call edi
cmp eax, ebx
jne 0x5a41dc
mov ecx, dword [esp + 0x58]
cmp ecx, 0xffffffff
je 0x5a41dc
mov eax, dword [esi + 0xe4]
cmp eax, ecx
jbe 0x5a4188
sub eax, ecx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
test eax, eax
jge 0x5a4172
fadd qword [0x676138]
fdiv qword [0x67c730]
mov eax, dword [esi + 0x31f8]
fst qword [esp + 0x60]
fadd qword [eax]
fstp qword [eax]
jmp 0x5a41dc
lea ecx, [esp + 0x18]
call fcn.00402500
mov byte [esp + 0x10c], 3
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push str.error_2099__id_d__next_d__starttime_ld__ts_ld_n
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x30]
add esp, 0x18
push ecx
mov ecx, esi
call fcn.00558e10
mov byte [esp + 0x10c], 2
lea ecx, [esp + 0x18]
call fcn.00402570
cmp dword [esp + 0x30], 0xffffffff
je 0x5a4304
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebp
call fcn.00402500
mov byte [esp + 0x10c], 4
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push 0x66e42c
push eax
call fcn.00402f70
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x31ec]
lea edx, [esp + 0x40]
push edx
mov edx, dword [ecx + 0x104]
push ebx
push ebx
push eax
push edx
call edi
cmp eax, ebx
jne 0x5a42f1
mov eax, dword [esi + 0xa0]
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x20], ecx
mov edx, dword [esi + 0xa0]
mov eax, dword [esp + 0x3c]
push ebx
push 0xa
lea ecx, [esp + 0x88]
mov dword [edx + 0x28], eax
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.00618532
add esp, 0xc
push eax
mov eax, dword [esi + 0x31ec]
mov ecx, dword [eax + 0xb0]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esi + 0xa0]
push edx
push 0x66dde0
add ecx, 0x2c
call fcn.00402320
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x18]
push ebp
lea edx, [esp + 0x40]
push edx
push ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x31ec]
push ebx
mov dword [esp + 0x58], ebx
mov edx, dword [ecx + 0x104]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0xe4]
cmp ecx, dword [eax + 0x20]
jb 0x5a42f1
mov byte [esi + 0x31fc], 1
mov edx, dword [eax + 0x20]
mov eax, dword [esi + 0x31f8]
mov dword [esi + 0x3238], edx
fld qword [eax]
fsub qword [esp + 0x60]
fstp qword [eax]
mov byte [esp + 0x10c], 2
lea ecx, [esp + 0x18]
call fcn.00402570
jmp 0x5a4321
mov eax, dword [esi + 0xa0]
mov dword [eax + 0x20], ebx
mov ecx, dword [esi + 0xa0]
push ebx
add ecx, 0x2c
push 0x66e97c
call fcn.00401980
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x31ec]
mov eax, dword [edx + 0x104]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebp, dword [esp + 0x30]
push ecx
push eax
call edi
mov edx, dword [esi + 0x31ec]
mov eax, dword [edx + 0x104]
lea ecx, [esp + 0x70]
push ecx
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push str.Join_with_next__deleting_record_with_num__s_n
push edx
call fcn.00402f70
mov eax, dword [esp + 0x28]
add esp, 0xc
push eax
mov ecx, esi
call fcn.00558e10
mov ecx, dword [esi + 0xa0]
mov edx, dword [ecx + 0x60]
push edx
lea eax, [esp + 0x18]
push 0x66e42c
push eax
call fcn.00402f70
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x31ec]
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
mov dword [esp + 0x30], 0x10
mov edx, dword [ecx + 0x104]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x5a43e1
push eax
lea eax, [esp + 0x20]
push str.Error_reading_registry__errCode___d._n
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00558e10
mov dword [esp + 0x30], ebp
cmp ebp, 0xffffffff
je 0x5a43f9
mov edx, dword [esi + 0x31ec]
dec ebp
mov dword [edx + 0xbc], ebp
jmp 0x5a4417
mov eax, dword [esi + 0x31ec]
mov ecx, dword [eax + 0xc0]
mov dword [eax + 0xbc], ecx
mov edx, dword [esi + 0x31ec]
mov dword [edx + 0xf4], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x31ec]
push 0x10
lea eax, [esp + 0x30]
push eax
mov eax, dword [edx + 0x104]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push str.Updating_record_with_num__s:_set_ID__d__startPos__I64d__nextID__d_n
push eax
call fcn.00402f70
mov ecx, dword [esp + 0x38]
add esp, 0x1c
push ecx
mov ecx, esi
call fcn.00558e10
mov ecx, esi
call fcn.00559150
mov byte [esp + 0x10c], 1
lea ecx, [esp + 0x14]
call fcn.00402570
mov dword [esp + 0x10c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00402570
xor eax, eax
jmp 0x5a4513
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x28]
mov ebx, eax
push ebx
push edx
push edi
lea eax, [esp + 0x8c]
push str.File_write_error__Received__d_bytes__wrote__d_bytes__errCode___ld_n
push eax
call fcn.006186ab
add esp, 0x14
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.00558e10
cmp ebx, 5
jne 0x5a44e9
mov edx, dword [0x753d04]
mov ecx, dword [esi + 0xac]
push edx
call fcn.00561de0
mov ecx, esi
call fcn.0055b490
test eax, eax
je 0x5a44fb
mov eax, 0xfffffffb
jmp 0x5a4513
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00562770
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.006157d3
add esp, 0xfc
ret 8