Function at 0x410db0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x234c
call fcn.00417900
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x98c]
push 0x958
xorps xmm0, xmm0
mov dword [ebp - 0x2348], edi
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x34], 0
movdqu xmmword [ebp - 0x33], xmm0
mov dword [ebp - 0x23], 0
mov byte [ebp - 0x1c], 0
movdqu xmmword [ebp - 0x1b], xmm0
mov dword [ebp - 0xb], 0
call fcn.00417930
push edi
push 4
lea eax, [ebp - 0x234c]
mov dword [ebp - 0x234c], 0
push 1
push eax
call fcn.00418084
push 0
push 0
push edi
call fcn.004181bf
mov eax, dword [ebp - 0x234c]
add esp, 0x28
mov esi, dword [ebp + 0xc]
cmp eax, 3
ja case.default.0x410e45
jmp dword [eax*4 + 0x4110b8]
cmp esi, 0x528
jne 0x410e8e
push edi
push 0x528
lea esi, [ebx + 4]
push 1
push esi
call fcn.00418084
lea eax, [ebx + 0x52c]
push esi
push eax
call fcn.0040e670
add esp, 0x18
mov dword [ebx + 0xf00], 0xffffffff
mov dword [ebx + 0xf04], 0
jmp 0x410f9e
cmp esi, 0x9dc
jne 0x410eae
push edi
push esi
lea eax, [ebx + 0x52c]
push 1
push eax
call fcn.00418084
add esp, 0x10
jmp case.default.0x410e45
cmp esi, 0x958
jne case.default.0x410e45
push edi
push esi
lea eax, [ebp - 0x98c]
push 1
push eax
call fcn.00418084
push dword [ebx + 0x3c8c]
lea eax, [ebp - 0x98c]
push eax
call fcn.0040e910
add esp, 0x18
jmp 0x410f6e
push edi
push 0x1190
lea esi, [ebx + 0xf08]
push 1
push esi
call fcn.00418084
push dword [ebx + 0x3c8c]
push esi
call fcn.0040e820
add esp, 0x18
jmp 0x410f6e
push dword [ebp - 0x2348]
lea edi, [ebx + 0x2098]
push 0x1198
push 1
push edi
call fcn.00418084
mov esi, dword [ebx + 0x3c8c]
lea eax, [ebp - 0x2344]
push 0x1190
push edi
push eax
call fcn.004184c0
lea eax, [ebp - 0x2344]
push esi
push eax
call fcn.0040e820
mov eax, dword [edi + 0x1190]
add esp, 0x24
mov dword [esi + 0x1a60], eax
jmp 0x410f6e
push edi
push 0x1a68
push 1
push dword [ebx + 0x3c8c]
call fcn.00418084
add esp, 0x10
mov eax, dword [ebx + 0x3c8c]
lea edi, [ebx + 0x52c]
mov ecx, 0x277
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x213
lea edi, [ebx + 0x3230]
lea esi, [eax + 0x9dc]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x2348]
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x11b4]
call fcn.004114c0
lea ecx, [ebp - 0x11b4]
call fcn.00411660
push 0x14
push eax
lea eax, [ebx + 0x616]
push eax
call fcn.00417a82
add esp, 0xc
test eax, eax
jne 0x41109f
push eax
push esi
push edi
call fcn.004181bf
push edi
push 0x14
lea eax, [ebp - 0x34]
push 1
push eax
call fcn.00418084
mov eax, dword [ebp - 0x234c]
add esp, 0x1c
test eax, eax
jne 0x411033
cmp esi, 0x528
jne 0x411007
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebx + 4]
push eax
jmp 0x411065
cmp esi, 0x9dc
jne 0x41101d
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebx + 0x52c]
push eax
jmp 0x411065
cmp esi, 0x958
jne 0x41106d
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x98c]
push eax
jmp 0x411065
cmp eax, 1
jne 0x411043
lea eax, [ebp - 0x1c]
push eax
push 0x1190
jmp 0x41105f
cmp eax, 2
lea eax, [ebp - 0x1c]
push eax
jne 0x41105a
push 0x1198
lea eax, [ebx + 0x2098]
push eax
jmp 0x411065
push 0x1a68
push dword [ebx + 0x3c8c]
call fcn.00410630
add esp, 0xc
push 0x14
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00418c10
add esp, 0xc
test eax, eax
jne 0x41109f
mov ecx, ebx
call fcn.0040e940
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416230
mov esp, ebp
pop ebp
ret 8