Function at 0x435c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588eff
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x5fae30]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 8]
mov ebx, dword [ebp + 0xc]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x435c71
push esi
push 0x5afd63
call fcn.00402a36
lea ecx, [ebp - 0xd0]
call fcn.0053cdb0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
call fcn.0053ccc0
mov ecx, dword [edi + 4]
cmp dword [ebx + 0x10], esi
jne 0x435ca7
mov edx, dword [ecx + 0x10]
mov edx, dword [edx + 0x10]
add ecx, 0x10
lea eax, [ebp - 0xd0]
push eax
call edx
jmp 0x435cfe
push ebx
call fcn.004f5df0
mov esi, eax
test esi, esi
je 0x435cd0
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x10]
lea edx, [ebp - 0xd0]
push edx
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
jmp 0x435cfe
mov ecx, dword [edi + 4]
push ebx
call fcn.004f5ff0
mov esi, eax
test esi, esi
je 0x435f8a
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [ebp - 0xd0]
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
lea ecx, [esi + 8]
call edx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0053cd00
mov edi, eax
test edi, edi
je 0x435d1f
cmp dword [ebp - 0xa8], 0
jne 0x435d62
cmp dword [ebx + 0x10], 0
jne 0x435d62
mov esi, dword [ebp - 0xa4]
push 0x33
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push str.CDataManager::SaveToText___Failed_serializing_data_
xor ecx, ecx
mov word [esi], cx
mov ecx, esi
call fcn.00403594
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0
call fcn.0053cdd0
mov eax, esi
jmp 0x435f08
mov ebx, dword [ebp - 0xac]
test ebx, ebx
je 0x435d98
xor esi, esi
mov edi, edi
cmp esi, dword [ebp - 0xa8]
jae 0x435f4a
mov dl, byte [esi + edi]
mov byte [ebp - 0xac], dl
mov eax, dword [ebp - 0xac]
push eax
push 1
mov ecx, ebx
call fcn.00405ea2
inc esi
jmp 0x435d70
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 0x14], 8
jb 0x435da6
mov eax, dword [eax]
push 0x5b0d90
push eax
call fcn.0054009f
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
jne 0x435f26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004080a8
add esp, 8
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 2
call fcn.00405097
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 3
call fcn.00406d20
push eax
lea ecx, [ebp - 0xa0]
push str.CDataManager::SaveToText___Failed_to_open_file:
push ecx
mov byte [ebp - 4], 4
call fcn.0040858f
add esp, 0xc
push 0x5b0bac
push eax
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 5
call fcn.00408c33
add esp, 0xc
push esi
push eax
mov eax, dword [ebp - 0xa4]
push eax
mov byte [ebp - 4], 6
call fcn.0040433b
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x54], edi
jb 0x435e56
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0053ed60
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], dx
cmp dword [ebp - 0x8c], edi
jb 0x435e7e
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0053ed60
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], cx
cmp dword [ebp - 0x70], edi
jb 0x435ea7
mov edx, dword [ebp - 0x84]
push edx
call fcn.0053ed60
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], ax
cmp dword [ebp - 0x38], edi
jb 0x435ec7
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0053ed60
add esp, 4
xor edx, edx
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
jb 0x435ee5
mov eax, dword [ebp - 0x30]
push eax
call fcn.0053ed60
add esp, 4
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 0
call fcn.0053cdd0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053fd20
mov esp, ebp
pop ebp
ret 0x10
cmp edi, ebx
je 0x435f41
mov eax, dword [ebp - 0xa8]
cmp eax, ebx
je 0x435f41
push esi
push eax
push 1
push edi
call fcn.0053ff67
add esp, 0x10
push esi
call fcn.0053fd9c
add esp, 4
push edi
call fcn.00540856
mov esi, dword [ebp - 0xa4]
mov al, 1
add esp, 4
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test al, al
je 0x435f79
push 0
push 0x5b0c4c
jmp 0x435d40
xor edx, edx
push 0x21
mov word [esi], dx
push str.Error_at_CDataManager::SaveToText
jmp 0x435d45
mov esi, dword [ebp - 0xa4]
push str.CDataManager::SaveToText___Failed_to_find_container
mov ecx, esi
call fcn.00406802
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0
call fcn.0053cdd0
mov eax, esi
jmp 0x435f08