Function at 0x406cd5
Capabilities:
Write file on windows

Disassembly:
jmp 0x4299b0
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x58
push 0xffffffffffffffff
push 0x778c63
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x856918]
xor eax, ebp
mov dword [ebp + 0x54], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x60]
xor edi, edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], edi
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], edi
mov byte [ebp + 0x20], 0
mov byte [ebp - 4], 2
cmp dword [ebp + 0x78], edi
jne 0x429a1f
push 0x12
push str.Going_to_save_data
lea ecx, [ebp + 0x1c]
call fcn.00405920
jmp 0x429a5a
lea ecx, [ebp + 0x64]
push ecx
lea edx, [ebp]
push str.Going_to_save_data__caller_is:
push edx
call fcn.00404cfa
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.00403fb2
cmp dword [ebp + 0x18], 0x10
mov byte [ebp - 4], 2
jb 0x429a5a
mov eax, dword [ebp + 4]
push eax
call fcn.00564155
add esp, 4
call fcn.004024eb
push edi
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, eax
call fcn.00403bb1
push 0x15
xor edx, edx
mov esi, 7
push 0x7acd94
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
call fcn.00405ef2
mov ebx, 1
mov byte [ebp - 4], 4
mov dword [ebp - 0x38], ebx
call fcn.004079af
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.004045b6
test al, al
je 0x429aee
push 0x15
xor edx, edx
push 0x7acdc0
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], edi
mov word [ebp + 0x3c], dx
call fcn.00405ef2
mov ebx, 3
mov dword [ebp - 4], 5
mov dword [ebp - 0x38], ebx
call fcn.004079af
push edi
lea ecx, [ebp + 0x38]
push ecx
mov ecx, eax
call fcn.00405d53
mov byte [ebp - 0x11], 1
test al, al
jne 0x429af2
mov byte [ebp - 0x11], 0
test bl, 2
je 0x429b18
and ebx, 0xfffffffd
cmp dword [ebp + 0x50], 8
jb 0x429b0c
mov edx, dword [ebp + 0x3c]
push edx
call fcn.00564155
add esp, 4
xor eax, eax
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x4c], edi
mov word [ebp + 0x3c], ax
mov dword [ebp - 4], 2
test bl, 1
je 0x429b36
cmp dword [ebp - 0x1c], 8
jb 0x429b36
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00564155
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x429cc2
cmp byte [ebp + 0x80], 0
mov esi, 0xf
jne 0x429bdd
push 0x1a
push str.Calling_WFP_services_check
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
call fcn.00405920
mov byte [ebp - 4], 6
call fcn.004024eb
push edi
lea edx, [ebp - 0x34]
push edx
mov ecx, eax
call fcn.00403bb1
mov ebx, 0x10
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
jb 0x429b9a
mov eax, dword [ebp - 0x30]
push eax
call fcn.00564155
add esp, 4
call fcn.004079af
push 1
lea ecx, [ebp + 0x38]
push ecx
mov ecx, eax
call fcn.00401730
mov byte [ebp - 4], 7
cmp dword [ebp + 0x4c], edi
je 0x429bc6
call fcn.004024eb
push edi
lea edx, [ebp + 0x38]
push edx
mov ecx, eax
call fcn.004020ae
mov byte [ebp - 4], 2
cmp dword [ebp + 0x50], ebx
jb 0x429be2
mov eax, dword [ebp + 0x3c]
push eax
call fcn.00564155
add esp, 4
jmp 0x429be2
mov ebx, 0x10
push 0x12
push str.Calling_WFP_commit
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
call fcn.00405920
mov byte [ebp - 4], 8
call fcn.004024eb
push edi
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.00403bb1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
jb 0x429c25
mov edx, dword [ebp - 0x30]
push edx
call fcn.00564155
add esp, 4
call fcn.004079af
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.00403cb0
mov byte [ebp - 4], 9
cmp dword [ebp + 0x14], edi
jne 0x429c71
push 0xd
push str.WFP_commit_OK
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
call fcn.00405920
mov byte [ebp - 4], 0xa
call fcn.004024eb
push edi
lea edx, [ebp - 0x34]
push edx
mov ecx, eax
call fcn.00403bb1
cmp dword [ebp - 0x1c], ebx
jmp 0x429c9e
lea ecx, [ebp]
push ecx
lea edx, [ebp - 0x34]
push str.WFP_commit_failed:
push edx
call fcn.00404cfa
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.004024eb
push edi
push esi
mov ecx, eax
call fcn.004020ae
cmp dword [ebp - 0x1c], 0x10
jb 0x429cac
mov eax, dword [ebp - 0x30]
push eax
call fcn.00564155
add esp, 4
cmp dword [ebp + 0x18], 0x10
mov byte [ebp - 4], 2
jb 0x429cc2
mov ecx, dword [ebp + 4]
push ecx
call fcn.00564155
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.00556aa0
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
mov byte [ebp - 4], 0xc
cmp eax, edi
je 0x429cdd
add eax, 0x10
jmp 0x429cdf
xor eax, eax
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0050ab20
add esp, 8
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00556920
mov esi, eax
cmp esi, edi
je 0x429f97
cmp dword [ebp - 0x40], edi
je 0x429f97
push 0x18
push 0x7ace9c
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], 0xf
mov dword [ebp + 0x4c], edi
mov byte [ebp + 0x3c], 0
call fcn.00405920
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
push edx
push eax
push esi
lea ecx, [ebp + 0x38]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.00408639
cmp dword [ebp + 0x50], 0x10
mov edi, eax
mov byte [ebp - 4], 0xc
jb 0x429d5b
mov edx, dword [ebp + 0x3c]
push edx
call fcn.00564155
add esp, 4
push esi
mov dword [ebp + 0x50], 0xf
mov dword [ebp + 0x4c], 0
mov byte [ebp + 0x3c], 0
call fcn.00565caa
mov eax, dword [ebp - 0x38]
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
mov ecx, ebx
mov dword [ebp - 0x40], eax
call fcn.00407a13
cmp dword [eax + 0x18], 8
jb 0x429d92
mov eax, dword [eax + 4]
jmp 0x429d95
add eax, 4
push 0x7aceb8
push eax
call fcn.00564ed0
add esp, 8
mov esi, eax
test esi, esi
sete bl
cmp dword [ebp - 0x1c], 8
jb 0x429dbc
mov edx, dword [ebp - 0x30]
push edx
call fcn.00564155
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
test bl, bl
je 0x429ee2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call fcn.00565caa
lea ecx, [ebp - 0x34]
push esi
push ecx
call fcn.004083af
add esp, 0xc
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0xe
call fcn.00406bef
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0xf
call fcn.00407a13
push eax
lea ecx, [ebp + 0x38]
push str.CDataManager::Save___Failed_to_open_file:
push ecx
mov byte [ebp - 4], 0x10
call fcn.0040571d
add esp, 0xc
push 0x7acec0
push eax
lea edx, [ebp]
push edx
mov byte [ebp - 4], 0x11
call fcn.0040657d
add esp, 0xc
push esi
push eax
mov eax, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x12
call fcn.00402b67
add esp, 0xc
lea ecx, [ebp]
call fcn.00403a26
lea ecx, [ebp + 0x38]
call fcn.00403a26
lea ecx, [ebp - 0x80]
call fcn.00403a26
lea ecx, [ebp - 0x9c]
call fcn.00403a26
mov ebx, 0x10
cmp dword [ebp - 0x1c], ebx
jb 0x429e90
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00564155
add esp, 4
mov esi, 0xf
xor edi, edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 2
call fcn.00556a10
cmp dword [ebp + 0x34], ebx
jb 0x429ebe
mov edx, dword [ebp + 0x20]
push edx
call fcn.00564155
add esp, 4
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], edi
mov byte [ebp + 0x20], 0
cmp dword [ebp + 0x7c], ebx
jb 0x42a018
mov eax, dword [ebp + 0x68]
push eax
call fcn.00564155
add esp, 4
jmp 0x42a018
mov ecx, dword [ebp - 0x40]
push esi
push ecx
push 1
push edi
call fcn.00564d88
push esi
call fcn.00564baa
push edi
call fcn.00565caa
add esp, 0x18
push str.Data_saved_successfuly
lea ecx, [ebp]
call fcn.004062df
mov byte [ebp - 4], 0x13
call fcn.004024eb
push 0
lea edx, [ebp]
push edx
mov ecx, eax
call fcn.00403bb1
mov ebx, 0x10
mov byte [ebp - 4], 0xc
cmp dword [ebp + 0x18], ebx
jb 0x429f3b
mov eax, dword [ebp + 4]
push eax
call fcn.00564155
add esp, 4
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.00402d0b
mov edi, dword [ebp - 0x18]
push edi
mov ecx, esi
call fcn.0040502e
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00556a10
cmp dword [ebp + 0x34], ebx
jb 0x429f6d
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00564155
add esp, 4
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], 0
mov byte [ebp + 0x20], 0
cmp dword [ebp + 0x7c], ebx
jb 0x429f90
mov edx, dword [ebp + 0x68]
push edx
call fcn.00564155
add esp, 4
mov eax, edi
jmp 0x42a01b
mov esi, dword [ebp - 0x18]
push 0x2d
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push str.CDataManager::Save___Failed_serializing_data_
mov ecx, esi
mov word [esi + 4], ax
call fcn.00405ef2
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00556a10
mov ebx, 0x10
cmp dword [ebp + 0x34], ebx
jb 0x429fda
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00564155
add esp, 4
mov dword [ebp + 0x34], 0xf
mov dword [ebp + 0x30], edi
mov byte [ebp + 0x20], 0
cmp dword [ebp + 0x7c], ebx
jb 0x429ff9
mov edx, dword [ebp + 0x68]
push edx
call fcn.00564155
add esp, 4
mov eax, esi
jmp 0x42a01b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x54]
xor ecx, ebp
call fcn.00564b24
add ebp, 0x58
mov esp, ebp
pop ebp
ret 0x24