Function at 0x6f39a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x83a0ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, ecx
push ebx
push 0x7d000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0042c390
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc4], ebx
cmp eax, ebx
je 0x6f3a0c
push 0x146
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
cmp eax, ebx
je 0x6f3a2f
push 0x141
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
call fcn.00477740
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], 0x8674b0
mov dword [esp + 0x40], 0x8674a8
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
mov byte [esp + 0xc8], 1
call fcn.006eb570
test al, al
jne 0x6f3ab2
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], 0xffffffff
cmp ecx, ebx
je 0x6f3aa2
mov edx, dword [esp + 0x20]
cmp edx, ebx
je 0x6f3aa2
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x6f3aa2
push edx
push ecx
call eax
mov ecx, dword [esp + 0x20]
add esp, 8
push ecx
call fcn.007d7349
add esp, 4
xor al, al
jmp 0x6f3de9
mov ecx, dword [esp + 0xcc]
push ebx
push 0x20
push 2
mov edx, dword [ecx]
push ebx
push ebx
push 0x40000000
call dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x6f3c09
push str.Error_saving_settings_to_file._CreateFile___failed_with_the_following_error:
lea esi, [edi + 0x117e4]
call fcn.007ac4d2
add esp, 4
mov ecx, esi
push eax
push str.Error_saving_settings_to_file._CreateFile___failed_with_the_following_error:
call fcn.00403980
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x70]
call fcn.00584680
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xcc], 2
call fcn.0068ac00
add esp, 8
cmp eax, ebx
mov byte [esp + 0xc4], 3
je 0x6f3b33
add eax, 4
jmp 0x6f3b35
xor eax, eax
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0042d470
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 2
call fcn.00404f20
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc4], 1
call fcn.00418210
cmp byte [edi + 0xf8], bl
je 0x6f3bcb
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x6f3b78
mov esi, 0x8522f8
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00404f20
push esi
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0x28]
push eax
push esi
call fcn.00403980
lea edx, [esp + 0x28]
lea ecx, [esp + 0x6c]
push edx
mov byte [esp + 0xc8], 4
call fcn.006f5440
lea eax, [esp + 0x6c]
push 0x8ddf34
push eax
mov dword [esp + 0x74], 0x877a08
call fcn.007ac5c6
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc4], 0xffffffff
cmp eax, ebx
je 0x6f3bf9
mov edx, dword [esp + 0x20]
cmp edx, ebx
je 0x6f3bf9
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x6f3bf9
push edx
push eax
call ecx
mov eax, dword [esp + 0x20]
add esp, 8
push eax
call fcn.007d7349
add esp, 4
xor al, al
jmp 0x6f3de9
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.00690530
add esp, 0xc
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0xc4], 5
je 0x6f3c51
push 0x141
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x68]
push ebx
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x6f3da3
push str.Error_saving_settings_to_file._WriteFile___failed_with_the_following_error:
lea esi, [edi + 0x117e4]
call fcn.007ac4d2
add esp, 4
mov ecx, esi
push eax
push str.Error_saving_settings_to_file._WriteFile___failed_with_the_following_error:
call fcn.00403980
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x70]
call fcn.00584680
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xcc], 6
call fcn.0068ac00
add esp, 8
cmp eax, ebx
mov byte [esp + 0xc4], 7
je 0x6f3cc3
add eax, 4
jmp 0x6f3cc5
xor eax, eax
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.0042d470
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 6
call fcn.00404f20
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc4], 5
call fcn.00418210
cmp byte [edi + 0xf8], bl
je 0x6f3d5b
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x6f3d08
mov esi, 0x8522f8
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00404f20
push esi
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0x28]
push eax
push esi
call fcn.00403980
lea edx, [esp + 0x28]
lea ecx, [esp + 0x6c]
push edx
mov byte [esp + 0xc8], 8
call fcn.006f5440
lea eax, [esp + 0x6c]
push 0x8ddf34
push eax
mov dword [esp + 0x74], 0x877a08
call fcn.007ac5c6
lea ecx, [esp + 0x5c]
push ecx
call fcn.00690560
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0xc4], 0xffffffff
je 0x6f3d96
mov edx, dword [esp + 0x20]
cmp edx, ebx
je 0x6f3d96
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x6f3d96
push edx
push eax
call ecx
mov eax, dword [esp + 0x20]
add esp, 8
push eax
call fcn.007d7349
add esp, 4
xor al, al
jmp 0x6f3de9
lea edx, [esp + 0x5c]
push edx
call fcn.00690560
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0xc4], 0xffffffff
je 0x6f3dde
mov edx, dword [esp + 0x20]
cmp edx, ebx
je 0x6f3dde
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x6f3dde
push edx
push eax
call ecx
mov eax, dword [esp + 0x20]
add esp, 8
push eax
call fcn.007d7349
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 4