Function at 0x401420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x41f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
push edi
push 1
lea eax, [ebp - 8]
mov ebx, edx
push 4
push eax
call fcn.00406179
add esp, 0x10
cmp eax, 1
jb 0x4016ec
push dword [ebp - 8]
push ebx
push str.LumpVersion__i__count__i_n
call fcn.00401050
mov eax, dword [0x4204b4]
add esp, 0xc
cmp dword [ebp - 8], 0
mov dword [0x4204b8], eax
mov dword [ebp - 0x108], 0
jle 0x4016c8
lea esi, [ebx - 4]
nop dword [eax]
cmp esi, 6
ja case.0x401499.8
jmp dword [esi*4 + 0x401760]
push edi
push 1
lea eax, [ebp - 0x88]
push 0x38
push eax
call fcn.00406179
add esp, 0x10
cmp eax, 1
jb 0x40171a
mov eax, dword [ebp - 0x80]
movq xmm0, qword [ebp - 0x88]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x70]
mov word [ebp - 0x38], ax
movzx eax, word [ebp - 0x6e]
mov word [ebp - 0x36], ax
movzx eax, word [ebp - 0x6c]
mov word [ebp - 0x34], ax
mov al, byte [ebp - 0x6a]
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x68]
movq qword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x7c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
movq qword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
xor eax, eax
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 0x69]
movss dword [ebp - 0x28], xmm0
or eax, 0x100
movq xmm0, qword [ebp - 0x5c]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x18], 0x3f800000
mov dword [ebp - 0x10], eax
jmp 0x401669
push edi
push 1
lea eax, [ebp - 0x104]
push 0x3c
push eax
call fcn.00406179
add esp, 0x10
cmp eax, 1
jb 0x401703
jmp 0x4014bd
push edi
push 1
lea eax, [ebp - 0xc8]
push 0x40
push eax
call fcn.00406179
add esp, 0x10
cmp eax, 1
jb 0x401731
mov eax, dword [ebp - 0xc0]
movq xmm0, qword [ebp - 0xc8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0xb0]
mov word [ebp - 0x38], ax
movzx eax, word [ebp - 0xae]
mov word [ebp - 0x36], ax
movzx eax, word [ebp - 0xac]
mov word [ebp - 0x34], ax
mov al, byte [ebp - 0xaa]
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x94]
movq qword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0xbc]
mov dword [ebp - 0x1c], eax
xor eax, eax
movq qword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0xa4]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp - 0xa9]
movss dword [ebp - 0x2c], xmm0
or eax, 0x100
movss xmm0, dword [ebp - 0xa0]
movss dword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x9c]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 0x8c]
movq qword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x90]
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x8a]
movss dword [ebp - 0x18], xmm0
mov word [ebp - 0x12], ax
jmp 0x401669
push edi
push 1
lea eax, [ebp - 0x50]
push 0x48
push eax
call fcn.00406179
add esp, 0x10
cmp eax, 1
jb 0x401748
mov eax, dword [0x4204b8]
cmp eax, dword [0x4204bc]
je 0x4016a8
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax + 0x30], xmm0
movq xmm0, qword [ebp - 0x10]
movq qword [eax + 0x40], xmm0
add dword [0x4204b8], 0x48
jmp 0x4016b2
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.00402040
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
cmp eax, dword [ebp - 8]
jl 0x401490
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040232a
mov esp, ebp
pop ebp
ret
push ebx
push str.Unsupport_map_format__i__Static_props_cant_be_loaded..._n
call fcn.00401050
add esp, 8
call fcn.004011f0
push str.UnserializeModels_count
push str.Failed_read__s__n
call fcn.00401050
add esp, 8
call fcn.004011f0
push str.StaticPropLumpV5
push str.Failed_read__s__n
call fcn.00401050
add esp, 8
call fcn.004011f0
push str.StaticPropLumpV4
push str.Failed_read__s__n
call fcn.00401050
add esp, 8
call fcn.004011f0
push str.StaticPropLumpV6
push str.Failed_read__s__n
call fcn.00401050
add esp, 8
call fcn.004011f0
push str.StaticPropLump
push str.Failed_read__s__n
call fcn.00401050
add esp, 8
call fcn.004011f0
nop
mov al, byte [0x48004014]
adc eax, 359268416
inc eax
add byte [edi + 0x16], cl
inc eax
add cl, bl
push ss
inc eax
add cl, bl
push ss
inc eax
add byte [edi + 0x16], cl
inc eax
add ah, cl
int3