Function at 0x4500a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x5c5bf0]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x228]
push esi
mov dword [esp + 0x10], ebp
mov dword [ebp], 0
cmp eax, 0x3e8
jne 0x45012f
movq xmm0, qword [str.Data_Objects.hdr]
mov al, byte [0x568118]
mov cl, byte [0x568104]
movq qword [esp + 0x20], xmm0
movq xmm0, qword [0x568110]
movq qword [esp + 0x28], xmm0
movq xmm0, qword [str.Data_Objects.pak]
movq qword [esp + 0x120], xmm0
movq xmm0, qword [0x5680fc]
mov byte [esp + 0x30], al
movq qword [esp + 0x128], xmm0
mov byte [esp + 0x130], cl
jmp 0x450233
cmp eax, 0xfa0
jne 0x450195
movzx eax, word [0x5680f0]
movzx ecx, byte [0x5680f2]
mov edx, dword [0x5680ec]
movq xmm0, qword [str.Data_World.hdr]
mov word [esp + 0x2c], ax
movzx eax, word [0x5680e0]
mov byte [esp + 0x2e], cl
movzx ecx, byte [0x5680e2]
movq qword [esp + 0x20], xmm0
movq xmm0, qword [str.Data_World.pak]
mov dword [esp + 0x28], edx
mov edx, dword [0x5680dc]
mov word [esp + 0x12c], ax
mov byte [esp + 0x12e], cl
jmp 0x450223
cmp eax, 0x1388
jne 0x4501f6
movq xmm0, qword [str.Data_Textures.hdr]
mov dx, word [0x5680d0]
mov ax, word [0x5680bc]
movq qword [esp + 0x20], xmm0
movq xmm0, qword [0x5680c8]
movq qword [esp + 0x28], xmm0
movq xmm0, qword [str.Data_Textures.pak]
movq qword [esp + 0x120], xmm0
movq xmm0, qword [0x5680b4]
mov word [esp + 0x30], dx
movq qword [esp + 0x128], xmm0
mov word [esp + 0x130], ax
jmp 0x450233
cmp eax, 0x1770
jne 0x450233
movq xmm0, qword [str.Data_SD.hdr]
mov ecx, dword [0x5680a8]
mov edx, dword [0x56809c]
movq qword [esp + 0x20], xmm0
movq xmm0, qword [str.Data_SD.pak]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x128], edx
movq qword [esp + 0x120], xmm0
lea eax, [esp + 0x20]
push 0x568090
push eax
call fcn.00548e78
lea ecx, [esp + 0x128]
push 0x568090
push ecx
mov esi, eax
call fcn.00548e78
add esp, 0x10
mov dword [esp + 0xc], eax
test esi, esi
jne 0x450268
xor eax, eax
jmp 0x45041b
test eax, eax
jne 0x450275
cmp dword [esp + 0x230], eax
jne 0x450261
push ebx
push edi
push 2
push 0
push esi
call fcn.00549606
push 1
push 0xfffffffffffffffc
push esi
call fcn.00549606
push esi
call fcn.0054950e
push esi
push 1
push 4
push ebp
mov edi, eax
call fcn.00549354
push 0
push 0
push esi
call fcn.00549606
push edi
call fcn.0054791c
push esi
push edi
mov ebx, eax
push 1
push ebx
mov dword [esp + 0x6c], ebx
call fcn.00549354
add esp, 0x4c
push esi
call fcn.00548d38
mov eax, dword [ebp]
xor ecx, ecx
mov edx, pe_nt_image_headers32
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054791c
mov esi, eax
mov eax, dword [esp + 0x20]
xor ebp, ebp
add esp, 8
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebp
cmp dword [eax], ebp
jbe 0x4503fd
add esi, 0x100
lea ecx, [ebx + ebp]
mov eax, ecx
lea edx, [eax + 1]
xor edi, edi
mov dword [esp + 0x10], edx
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x450310
sub eax, dword [esp + 0x10]
je 0x450341
lea ecx, [ecx]
sub byte [ecx + edi], 0x80
mov eax, ecx
inc edi
lea ebx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x450330
sub eax, ebx
cmp edi, eax
jb 0x450320
mov ebx, dword [esp + 0x20]
lea eax, [esi - 0x100]
mov edi, eax
sub edi, ecx
jmp 0x450350
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x450350
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x450360
sub eax, edx
lea ebp, [eax + ebp + 1]
mov eax, dword [ebx + ebp]
add ebp, 4
mov dword [esi], eax
mov ecx, dword [ebx + ebp]
add ebp, 4
cmp dword [esp + 0x238], 0
mov dword [esi + 4], ecx
je 0x4503d0
mov edx, eax
push edx
call fcn.0054791c
mov edi, dword [esp + 0x18]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push 0
push eax
push edi
call fcn.00549606
mov ecx, dword [esi]
mov edx, dword [esi + 8]
push edi
push ecx
push 1
push edx
call fcn.00549354
xor eax, eax
add esp, 0x20
cmp dword [esi], eax
jbe 0x4503d7
jmp 0x4503c0
mov ecx, dword [esi + 8]
sub byte [ecx + eax], 0x80
add ecx, eax
inc eax
cmp eax, dword [esi]
jb 0x4503c0
jmp 0x4503d7
mov dword [esi + 8], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esi + 0xc], 0
inc eax
add esi, 0x110
mov dword [esp + 0x1c], eax
cmp eax, dword [edx]
jb 0x450301
mov esi, dword [esp + 0x24]
test ebx, ebx
je 0x45040a
push ebx
call fcn.00547cdc
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call fcn.00548d38
add esp, 4
pop edi
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x220]
pop esi
pop ebp
xor ecx, esp
call fcn.00547aa7
add esp, 0x21c
ret 0xc