Function at 0x439030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5896dc
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
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]
xor esi, esi
mov dword [ebp - 0xcc], esi
push 0x12
mov dword [ebp - 0xc8], ecx
push str.Going_to_load_data
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
call fcn.00402a36
mov byte [ebp - 4], 1
call fcn.00404449
push esi
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00407112
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 0
jb 0x4390cc
mov edx, dword [ebp - 0x30]
push edx
call fcn.0053ed60
add esp, 4
mov byte [ebp - 0xbd], 0
cmp ebx, esi
je 0x4390e2
mov edi, dword [ebp + 0x10]
cmp edi, esi
jne 0x439463
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x30]
push eax
call fcn.00406d20
cmp dword [eax + 0x14], 8
jb 0x4390f9
mov eax, dword [eax]
push 0x5b128c
push eax
call fcn.0054009f
xor edi, edi
add esp, 8
mov esi, eax
cmp esi, edi
sete bl
cmp dword [ebp - 0x1c], 8
jb 0x439122
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0053ed60
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
test bl, bl
je 0x439283
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004080a8
add esp, 8
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov byte [ebp - 4], 2
call fcn.00405097
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0xc8]
lea edx, [ebp - 0x84]
push edx
mov byte [ebp - 4], 3
call fcn.00406d20
push eax
lea eax, [ebp - 0xa0]
push str.CDataManager::Load___Failed_to_open_file:
push eax
mov byte [ebp - 4], 4
call fcn.0040858f
add esp, 0xc
push 0x5b1174
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 5
call fcn.00408c33
add esp, 0xc
mov edx, dword [ebp - 0xc4]
push esi
push eax
push edx
mov byte [ebp - 4], 6
call fcn.0040433b
mov ebx, 8
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jb 0x4391d0
mov eax, dword [ebp - 0x30]
push eax
call fcn.0053ed60
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x8c], ebx
jb 0x4391f8
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0053ed60
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], edi
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x70], ebx
jb 0x439221
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0053ed60
add esp, 4
xor edx, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], dx
cmp dword [ebp - 0x38], ebx
jb 0x439241
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0053ed60
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], cx
jb 0x43925f
mov edx, dword [ebp - 0x68]
push edx
call fcn.0053ed60
add esp, 4
mov eax, dword [ebp - 0xc4]
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
push 2
push 0
push esi
call fcn.00541f1a
push esi
call fcn.00541e2b
push 0
push 0
push esi
mov edi, eax
call fcn.00541f1a
add esp, 0x1c
test edi, edi
jne 0x4392e4
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x68]
push eax
call fcn.00406d20
mov esi, dword [ebp - 0xc4]
push eax
push str.CDataManager::Load___Invalid_file_size:
push esi
mov byte [ebp - 4], 7
call fcn.0040858f
add esp, 0xc
cmp dword [ebp - 0x54], 8
jb 0x4392e0
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0053ed60
add esp, 4
mov eax, esi
jmp 0x439265
push edi
call fcn.0053e9b3
add esp, 4
push esi
push edi
push 1
push eax
mov dword [ebp - 0xd4], eax
call fcn.00541c7a
add esp, 0x10
cmp eax, edi
sete bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [ebp - 0xcc], eax
call fcn.0053fd9c
add esp, 4
test bl, bl
jne 0x439456
mov edx, dword [ebp - 0xd4]
push edx
call fcn.00540856
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.004080a8
add esp, 0xc
push eax
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 8
call fcn.00405097
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 9
call fcn.00406d20
push eax
lea ecx, [ebp - 0x84]
push str.CDataManager::Load___Failed_reading_from_file:
push ecx
mov byte [ebp - 4], 0xa
call fcn.0040858f
add esp, 0xc
push 0x5b1294
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0xb
call fcn.00408c33
add esp, 0xc
push esi
push eax
mov eax, dword [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040433b
mov ebx, 8
add esp, 0xc
cmp dword [ebp - 0x38], ebx
jb 0x4393c4
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0053ed60
add esp, 4
xor edi, edi
xor edx, edx
mov esi, 7
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0x70], ebx
jb 0x4393eb
mov eax, dword [ebp - 0x84]
push eax
call fcn.0053ed60
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], cx
cmp dword [ebp - 0x8c], ebx
jb 0x439411
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0053ed60
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], edi
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x1c], ebx
jb 0x439437
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0053ed60
add esp, 4
xor edx, edx
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
jb 0x43925f
mov eax, dword [ebp - 0x68]
push eax
jmp 0x439257
mov ebx, dword [ebp - 0xd4]
mov byte [ebp - 0xbd], 1
push edi
lea ecx, [ebp - 0xbc]
push ebx
push ecx
call fcn.004011f4
add esp, 0xc
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x68]
push str.File_MD5:
push eax
mov byte [ebp - 4], 0xd
call fcn.00408a0d
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xe
call fcn.00404449
push 0
push esi
mov ecx, eax
call fcn.00407112
cmp dword [ebp - 0x54], 0x10
mov byte [ebp - 4], 0xd
jb 0x4394bb
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0053ed60
add esp, 4
push edi
push ebx
lea ecx, [ebp - 0xe8]
call fcn.0053cea0
mov edi, dword [ebp - 0xc8]
mov eax, dword [edi + 4]
xor esi, esi
mov byte [ebp - 4], 0xf
cmp eax, esi
je 0x4394e0
add eax, 0x10
jmp 0x4394e2
xor eax, eax
push eax
lea edx, [ebp - 0xe8]
push edx
call fcn.004fabc0
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.0053cf50
test al, al
jne 0x439563
cmp byte [ebp - 0xbd], al
je 0x439512
push ebx
call fcn.00540856
add esp, 4
mov edi, dword [ebp - 0xc4]
push 0x34
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
push str.CDataManager::Load___Failed_reading_serialized_data_
mov ecx, edi
mov word [edi], ax
call fcn.00403594
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
call fcn.0053cf10
cmp dword [ebp - 0xa8], 0x10
jb 0x43955c
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.0053ed60
add esp, 4
mov eax, edi
jmp 0x439265
push 0x17
push 0x5b13c4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x30], 0
call fcn.00402a36
mov byte [ebp - 4], 0x10
call fcn.00404449
push esi
lea edx, [ebp - 0x30]
push edx
mov ecx, eax
call fcn.00407112
cmp dword [ebp - 0x1c], 0x10
mov byte [ebp - 4], 0xf
jb 0x4395ab
mov eax, dword [ebp - 0x30]
push eax
call fcn.0053ed60
add esp, 4
mov ecx, edi
call fcn.00405475
cmp byte [ebp - 0xbd], 0
je 0x4395c4
push ebx
call fcn.00540856
add esp, 4
cmp dword [ebp - 0xd0], esi
je 0x4395d7
cmp dword [ebp + 0x10], esi
jne 0x439711
xor esi, esi
xor ecx, ecx
push 8
mov word [ebp - 0x4c], cx
push 0x5b13dc
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], esi
call fcn.00403594
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xcc], 2
call fcn.004034f4
add esp, 8
cmp dword [eax + 0x10], 0
lea ecx, [ebp - 0x68]
sete bl
call fcn.00406dfc
mov esi, 0xf
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], esi
call fcn.00406dfc
test bl, bl
je 0x439711
push str.GUID_not_found__will_create_it
lea ecx, [ebp - 0x68]
call fcn.00403dfa
mov byte [ebp - 4], 0x13
call fcn.00404449
push 0
lea ecx, [ebp - 0x68]
push ecx
mov ecx, eax
call fcn.00407112
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xf
call fcn.0040583f
push 0x5b14fc
lea ecx, [ebp - 0x68]
call fcn.00406802
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0x14
call fcn.00407856
add esp, 4
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0x15
call fcn.00405097
add esp, 8
push eax
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 0x16
call fcn.00405b87
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.00406dfc
cmp dword [ebp - 0x38], 0x10
jb 0x4396c9
mov edx, dword [ebp - 0x4c]
push edx
call fcn.0053ed60
add esp, 4
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 0xf
call fcn.00406dfc
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd0], esp
push str.First_GUID
call fcn.00403dfa
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x68]
push eax
call fcn.00405204
lea ecx, [ebp - 0x68]
call fcn.00406dfc
mov edi, dword [ebp - 0xc4]
xor ecx, ecx
push ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push 0x5b151c
mov ecx, edi
call fcn.00403594
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
call fcn.0053cf10
cmp dword [ebp - 0xa8], 0x10
jb 0x43955c
mov edx, dword [ebp - 0xbc]
push edx
call fcn.0053ed60
add esp, 4
mov eax, edi
jmp 0x439265