Function at 0x10029520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075058
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10093940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
xorps xmm1, xmm1
movlpd qword [ebp - 0x70], xmm0
xor eax, eax
movsd qword [ebp - 0xac], xmm1
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movsd qword [ebp - 0x94], xmm1
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 1
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], eax
push 1
mov byte [ebp - 4], 2
mov dword [ecx + 0xc], 2
call fcn.100248d0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], 0xf4240
mov dword [ebp - 0xb0], esi
movups xmm0, xmmword [ebp - 0xbc]
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], esi
movups xmmword [eax + 0x118], xmm0
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0xb0], esi
movups xmm0, xmmword [ebp - 0xbc]
movups xmmword [eax + 0x128], xmm0
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10029657
cmp dword [edi + 0x1c], eax
je 0x10029664
mov dword [edi + 0x24], eax
jmp 0x10029664
push 0
push 0
push eax
call fcn.1005a233
add esp, 0xc
push 2
push 1
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.1001a290
cmp eax, 2
je 0x10029696
mov ecx, dword [ebp - 0x68]
push str.Unexpected_end_of_file_at_header__n
add ecx, 0x1bc
call fcn.10018f70
mov byte [ebp - 0x49], 0
xor edi, edi
jmp 0x10029a76
movzx esi, byte [ebp - 0x53]
lea ecx, [ebp - 0x20]
movzx eax, byte [ebp - 0x54]
xorps xmm0, xmm0
shl esi, 8
add esi, eax
mov dword [ebp - 0x48], 0xff
lea eax, [ebp - 0x49]
mov dword [ebp - 0x64], esi
push eax
push 4
mov dword [ebp - 0x44], 0x51
movlpd qword [ebp - 0x28], xmm0
call fcn.10021a30
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x8c]
mov dword [eax], 0x94050000
lea eax, [ebp - 0x48]
push eax
push 0
call fcn.10020eb0
lea eax, [ebp - 0x48]
push eax
push 0
lea ecx, [ebp - 0x7c]
call fcn.10020eb0
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x48], 0xff
mov dword [ebp - 0x44], 0xe3
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], eax
cmp eax, 2
jbe 0x10029725
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], eax
jmp 0x10029761
jae 0x10029761
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 2
jae 0x10029747
lea eax, [ebp - 0x49]
push eax
push 2
lea ecx, [ebp - 0x20]
call fcn.10021a30
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
jmp 0x10029761
mov esi, 2
sub esi, dword [ebp - 0x58]
push esi
push 0
push edx
call fcn.1004baa0
add esp, 0xc
add dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x64]
mov ecx, dword [edi + 0x18]
xor eax, eax
cmp eax, esi
sbb eax, eax
and eax, 2
test ecx, ecx
jne 0x10029785
cmp dword [edi + 0x1c], ecx
je 0x10029791
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x24], eax
cmp eax, ecx
jbe 0x10029791
mov dword [edi + 0x24], ecx
jmp 0x10029791
push 0
push eax
push ecx
call fcn.1005a233
add esp, 0xc
test esi, esi
jne 0x1002979f
mov ecx, edi
call fcn.10019f90
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x100297c2
cmp dword [edi + 0x1c], eax
je 0x100297cb
mov eax, dword [edi + 0x24]
jmp 0x100297cb
push eax
call fcn.1005a957
add esp, 4
cmp eax, dword [ebp - 0x64]
jae 0x10029a01
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x100297ef
cmp dword [edi + 0x1c], eax
je 0x10029a01
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x20]
setae al
jmp 0x100297fd
push eax
call fcn.1005b59a
add esp, 4
test eax, eax
setne al
test al, al
jne 0x10029a01
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x10029837
cmp dword [edi + 0x1c], eax
je 0x10029a01
xor ecx, ecx
mov edx, dword [edi + 0x24]
cmp edx, dword [edi + 0x20]
jae 0x1002984a
mov eax, dword [edi + 0x1c]
mov al, byte [edx + eax]
mov byte [ebp + ecx - 0x54], al
inc ecx
lea eax, [edx + 1]
mov dword [edi + 0x24], eax
cmp ecx, 4
jb 0x10029817
jmp 0x1002984a
push eax
push 4
lea eax, [ebp - 0x54]
push 1
push eax
call fcn.10059dd5
add esp, 0x10
mov ecx, eax
cmp ecx, 4
jne 0x10029a01
mov ecx, dword [ebp - 0x50]
movzx eax, byte [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], edx
mov byte [ecx], al
movzx eax, byte [ebp - 0x53]
mov byte [ecx + 1], al
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], 1
cmp esi, dword [ebp - 0x84]
je 0x100298bb
mov eax, dword [ebp - 0x48]
movups xmm0, xmmword [ebp - 0x38]
mov dword [esi], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 8], eax
lea eax, [ebp - 0x20]
mov dword [esi + 0x24], ecx
lea ecx, [esi + 0x28]
push eax
mov dword [esi + 0xc], 1
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], edx
call fcn.100227e0
add esi, 0x38
mov dword [ebp - 0x88], esi
jmp 0x100298d1
lea eax, [ebp - 0x48]
push eax
push esi
lea ecx, [ebp - 0x8c]
call fcn.10020eb0
mov esi, dword [ebp - 0x88]
movzx eax, byte [ebp - 0x51]
cdq
mov ecx, eax
movzx eax, byte [ebp - 0x52]
shld edx, ecx, 8
mov dword [ebp - 0x58], edx
cdq
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa4], ecx
adc eax, edx
mov dword [ebp - 0xa0], eax
test eax, eax
jne 0x1002990d
test ecx, ecx
jne 0x1002990d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
jmp 0x100297b1
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x9c], esi
add esi, ecx
mov dword [ebp - 0x98], edx
adc edx, eax
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x50], eax
cmp dword [eax + 4], 0x4924924
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
je 0x10029c3f
mov dword [ebp - 0x70], eax
push 0x38
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], 0
call fcn.10049b25
mov esi, eax
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0x6c], esi
lea eax, [esi + 8]
push eax
push dword [ebp - 0x50]
call fcn.10022490
mov eax, dword [ebp - 0x50]
xorps xmm1, xmm1
mov ecx, dword [ebp - 0x58]
xorps xmm0, xmm0
add esp, 0x10
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], 0
inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
mov dword [eax], esi
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x88]
movsd qword [ebp - 0xac], xmm1
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movsd qword [ebp - 0x94], xmm1
cmp eax, esi
jne 0x100299d9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
jmp 0x100297b1
lea ecx, [ebp - 0x8c]
push ecx
push esi
push eax
call fcn.10020280
mov esi, dword [ebp - 0x8c]
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x50], eax
jmp 0x100297b1
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xac]
mov ecx, dword [esi + 0xb8]
push eax
call fcn.1002b190
mov eax, dword [esi + 0xb8]
cmp dword [eax + 4], 0
je 0x10029a3e
mov eax, dword [eax]
mov edx, dword [esi + 0x30]
mov eax, dword [eax]
mov dword [edx + 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.10025d80
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
mov byte [ebp - 0x49], 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
test esi, esi
je 0x10029b33
cmp esi, dword [ebp - 0x78]
je 0x10029ae7
mov ecx, dword [ebp - 0x78]
add esi, 0x30
nop dword [eax]
mov eax, dword [esi - 8]
test eax, eax
je 0x10029ada
mov ecx, dword [esi]
sub ecx, eax
cmp ecx, 0x1000
jb 0x10029ab9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029c49
mov eax, edx
push ecx
push eax
call fcn.10049b55
mov ecx, dword [ebp - 0x78]
add esp, 8
mov dword [esi - 8], 0
mov dword [esi - 4], 0
mov dword [esi], 0
add esi, 0x38
lea eax, [esi - 0x30]
cmp eax, ecx
jne 0x10029a90
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10029b29
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029c49
push ecx
push esi
call fcn.10049b55
add esp, 8
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x10029b67
mov edx, dword [ebp - 0x5c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10029b5d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029c49
push edx
push ecx
call fcn.10049b55
add esp, 8
test edi, edi
je 0x10029c1f
cmp edi, dword [ebp - 0x88]
je 0x10029bd7
mov ecx, dword [ebp - 0x88]
lea esi, [edi + 0x30]
mov eax, dword [esi - 8]
test eax, eax
je 0x10029bcd
mov ecx, dword [esi]
sub ecx, eax
cmp ecx, 0x1000
jb 0x10029ba9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029c49
mov eax, edx
push ecx
push eax
call fcn.10049b55
mov ecx, dword [ebp - 0x88]
add esp, 8
mov dword [esi - 8], 0
mov dword [esi - 4], 0
mov dword [esi], 0
add esi, 0x38
lea eax, [esi - 0x30]
cmp eax, ecx
jne 0x10029b80
mov ecx, dword [ebp - 0x58]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10029c15
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029c49
push ecx
push edi
call fcn.10049b55
add esp, 8
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10049b12
mov esp, ebp
pop ebp
ret 4
push str.list_too_long
call fcn.10047d44
call fcn.10057ede
int3