Function at 0x1002a560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae7f0
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x80], edi
call fcn.1002ada0
push dword [0x100da174]
lea eax, [ebp - 0x34]
mov dword [ebp - 4], edi
push 1
push 0xc
push eax
call fcn.1008d4af
push dword [0x100da174]
lea eax, [ebp - 0x40]
push 1
push 0xc
push eax
call fcn.1008d4af
push dword [0x100da174]
lea eax, [ebp - 0x60]
push 1
push 0x10
push eax
call fcn.1008d4af
add esp, 0x30
lea ecx, [ebp - 0x88]
call fcn.1002fdf0
push dword [0x100da174]
mov esi, dword [0x100da160]
xor ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x98], ebx
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
mov esi, dword [ebp - 0x7c]
sub ecx, eax
je 0x1002aaf3
mov dword [ebp - 0x7c], esi
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
nop
push dword [0x100da174]
lea eax, [ebp - 0xdc]
push 1
push 8
push eax
call fcn.1008d4af
add esp, 0x10
cmp eax, 1
jb 0x1002a9cc
push dword [0x100da174]
call fcn.1008e716
add eax, dword [ebp - 0xd8]
add esp, 4
mov ecx, dword [0x100da160]
mov dword [ebp - 0x8c], eax
cmp ecx, dword [0x100da164]
je 0x1002a685
mov dword [ecx], eax
add dword [0x100da160], 4
jmp 0x1002a697
lea eax, [ebp - 0x8c]
push eax
push ecx
mov ecx, 0x100da15c
call fcn.1000b4f0
mov eax, dword [ebp - 0xdc]
bswap eax
cmp eax, 0x4b455953
jg 0x1002aa26
je 0x1002a81e
cmp eax, 0x414e494d
je 0x1002a7c8
cmp eax, 0x424f4e45
jne 0x1002a9cc
push 0x240
call fcn.1007f309
add esp, 4
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1002a6ef
mov ecx, eax
call fcn.10040410
mov edi, eax
mov dword [ebp - 0x80], eax
jmp 0x1002a6f4
xor edi, edi
mov dword [ebp - 0x80], edi
mov eax, dword [0x100da154]
mov byte [ebp - 4], 1
mov dword [ebp - 0x8c], edi
cmp eax, dword [0x100da158]
je 0x1002a716
mov dword [eax], edi
add dword [0x100da154], 4
jmp 0x1002a728
lea ecx, [ebp - 0x8c]
push ecx
push eax
mov ecx, 0x100da150
call fcn.1000b4f0
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
je 0x1002a9cc
nop word [eax + eax]
push dword [0x100da174]
lea eax, [ebp - 0xac]
push 1
push 4
push eax
call fcn.1008d4af
push dword [0x100da174]
mov esi, dword [ebp - 0xac]
lea eax, [ebp - 0xb0]
push 1
push 4
push eax
call fcn.1008d4af
mov eax, dword [0x100da154]
add esp, 0x20
sub eax, dword [0x100da150]
movss xmm0, dword [ebp - 0xb0]
sar eax, 2
push eax
push ecx
movss dword [esp], xmm0
push esi
call fcn.10041660
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x1002a750
jmp 0x1002a9cc
push dword [0x100da174]
lea eax, [ebp - 0xfc]
push 1
push 4
push eax
call fcn.1008d4af
push dword [0x100da174]
lea eax, [ebp - 0xb4]
push 1
push 4
push eax
call fcn.1008d4af
push dword [0x100da174]
mov eax, dword [ebp - 0xb4]
push 1
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x100]
push 4
push eax
call fcn.1008d4af
add esp, 0x30
jmp 0x1002a9cc
push dword [0x100da174]
lea eax, [ebp - 0xb8]
push 1
push 4
push eax
call fcn.1008d4af
push dword [0x100da174]
mov ebx, dword [ebp - 0xb8]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 0x14
sub ecx, eax
je 0x1002a9c6
mov eax, ebx
and eax, 1
mov dword [ebp - 0xc0], eax
mov eax, ebx
and eax, 2
and ebx, 4
mov edi, eax
nop
push dword [0x100da174]
lea eax, [ebp - 0xbc]
push 1
push 4
push eax
call fcn.1008d4af
mov esi, dword [ebp - 0xbc]
add esp, 0x10
cmp dword [ebp - 0xc0], 0
je 0x1002a8e8
push dword [0x100da174]
lea eax, [ebp - 0x1c]
push 1
push 0xc
push eax
call fcn.1008d4af
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0xe8]
add esp, 0x10
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [ebp - 0x18]
lea ecx, [ebp - 0x88]
movss dword [ebp - 0xe4], xmm0
movss xmm0, dword [ebp - 0x14]
push eax
push esi
movss dword [ebp - 0xe0], xmm0
call fcn.10030640
test edi, edi
je 0x1002a93c
push dword [0x100da174]
lea eax, [ebp - 0x28]
push 1
push 0xc
push eax
call fcn.1008d4af
movss xmm0, dword [ebp - 0x28]
lea eax, [ebp - 0xa8]
add esp, 0x10
movss dword [ebp - 0xa8], xmm0
movss xmm0, dword [ebp - 0x24]
lea ecx, [ebp - 0x88]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0x20]
push eax
push esi
movss dword [ebp - 0xa0], xmm0
call fcn.100306b0
test ebx, ebx
je 0x1002a9a4
push dword [0x100da174]
lea eax, [ebp - 0x50]
push 1
push 0x10
push eax
call fcn.1008d4af
movss xmm0, dword [ebp - 0x44]
lea ecx, [ebp - 0x88]
movss xmm2, dword [ebp - 0x4c]
add esp, 0x10
movss xmm1, dword [ebp - 0x48]
movss dword [ebp - 0xec], xmm0
mov eax, dword [ebp - 0xec]
movss xmm0, dword [ebp - 0x50]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd4]
push eax
unpcklps xmm2, xmm1
push esi
movss dword [ebp - 0xd4], xmm0
movq qword [ebp - 0xd0], xmm2
call fcn.10030680
push dword [0x100da174]
mov esi, dword [0x100da160]
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x1002a870
mov edi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x98]
mov ecx, dword [0x100da160]
push 0
push dword [ecx - 4]
push dword [0x100da174]
call fcn.1008d8b9
mov esi, dword [0x100da160]
push dword [0x100da174]
sub esi, 4
mov dword [0x100da160], esi
call fcn.1008e716
mov ecx, dword [esi - 4]
add esp, 0x10
sub ecx, eax
jne 0x1002a630
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
test edi, edi
jne 0x1002ab28
jmp 0x1002aafc
cmp eax, 0x4d455348
je 0x1002aa82
cmp eax, 0x4e4f4445
jne 0x1002a9cc
test edi, edi
jne 0x1002aa77
push 0x2a0
call fcn.1007f309
add esp, 4
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1002aa6e
mov ecx, eax
call fcn.1003b680
mov edi, eax
mov dword [ebp - 0x80], eax
push edi
mov byte [ebp - 4], 1
call fcn.1002a560
jmp 0x1002a9cc
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x80], edi
push edi
call fcn.1002a560
jmp 0x1002a9cc
call fcn.10041980
push 0x2a0
call fcn.1007f309
add esp, 4
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1002aab0
mov ecx, eax
call fcn.1003b680
mov edi, eax
mov dword [ebp - 0x80], eax
jmp 0x1002aab5
xor edi, edi
mov dword [ebp - 0x80], edi
push dword [0x100da174]
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 1
push 1
push 4
mov ebx, edi
push eax
mov dword [ebp - 0x98], ebx
call fcn.1008d4af
mov eax, dword [ebp - 0x9c]
add esp, 0x10
mov dword [ebp - 0x7c], eax
call fcn.1002a340
mov dword [ebp - 0x94], eax
jmp 0x1002a9cc
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
push 0x2a0
call fcn.1007f309
add esp, 4
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1002ab22
mov ecx, eax
call fcn.1003b680
mov edi, eax
jmp 0x1002ab24
xor edi, edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.1002efa0
movss xmm0, dword [ebp - 0x34]
lea eax, [ebp - 0xa8]
movss dword [ebp - 0xa8], xmm0
mov ecx, edi
movss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0x2c]
push eax
movss dword [ebp - 0xa0], xmm0
call fcn.1002ecd0
movss xmm0, dword [ebp - 0x40]
lea eax, [ebp - 0xa8]
movss dword [ebp - 0xa8], xmm0
mov ecx, edi
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0x38]
push eax
movss dword [ebp - 0xa0], xmm0
call fcn.1002ee00
movss xmm0, dword [ebp - 0x54]
mov ecx, edi
movss xmm2, dword [ebp - 0x5c]
movss xmm1, dword [ebp - 0x58]
movss dword [ebp - 0xec], xmm0
mov eax, dword [ebp - 0xec]
movss xmm0, dword [ebp - 0x60]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd4]
unpcklps xmm2, xmm1
push eax
movss dword [ebp - 0xd4], xmm0
movq qword [ebp - 0xd0], xmm2
call fcn.1002ed20
lea eax, [ebp - 0x88]
push eax
lea ecx, [edi + 0x238]
call fcn.1002ffe0
test ebx, ebx
je 0x1002aced
push ebx
call fcn.10041a60
test byte [ebp - 0x94], 1
jne 0x1002ac16
mov ecx, ebx
call fcn.1003d810
cmp esi, 0xffffffff
je 0x1002ac2b
mov eax, dword [0x100da168]
mov ecx, ebx
mov edx, dword [ebx]
lea eax, [eax + esi*4]
push eax
call dword [edx + 0x58]
mov edx, dword [0x100da154]
mov eax, edx
mov esi, dword [0x100da150]
sub eax, esi
test eax, 0xfffffffc
je 0x1002aced
mov dword [ebp - 0x9c], ebx
cmp edx, dword [0x100da158]
je 0x1002ac85
cmp esi, edx
jne 0x1002ac63
mov dword [edx], ebx
add dword [0x100da154], 4
jmp 0x1002ac97
mov eax, dword [edx - 4]
lea ecx, [edx - 4]
sub ecx, esi
mov dword [edx], eax
add dword [0x100da154], 4
sub edx, ecx
push ecx
push esi
push edx
call fcn.10080ec0
add esp, 0xc
mov dword [esi], ebx
jmp 0x1002ac97
lea eax, [ebp - 0x9c]
mov ecx, 0x100da150
push eax
push esi
call fcn.1000b4f0
push 0x40
call fcn.1007f309
add esp, 4
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x1002acc4
mov esi, dword [ebp - 0x84]
mov ecx, eax
push esi
push 0x100da150
call fcn.10031020
jmp 0x1002acc6
xor eax, eax
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.10033ac0
mov ecx, ebx
call fcn.1003bf50
mov eax, dword [0x100da150]
cmp eax, dword [0x100da154]
je 0x1002ad28
mov dword [0x100da154], eax
jmp 0x1002ad28
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x1002ad28
push 0x40
call fcn.1007f309
add esp, 4
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1002ad1a
push esi
push edi
mov ecx, eax
call fcn.10031340
jmp 0x1002ad1c
xor eax, eax
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10033ac0
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x1002ad3a
push eax
mov ecx, edi
call fcn.1002f0b0
lea ecx, [ebp - 0x88]
call fcn.1002ffa0
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x1002ad75
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ad6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ad95
push ecx
push edx
call fcn.1007f339
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret 4
call fcn.1008498a
int3