Function at 0x100ae6ce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor edi, edi
lea ecx, [ebp - 0x28]
push edi
call fcn.10086f90
mov eax, dword [ebp - 0x24]
mov esi, 0x164
mov dword [ebp - 0x10], edi
mov edx, edi
mov dword [ebp - 8], edi
mov ecx, dword [eax + 0x9c]
mov eax, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
cmp edx, 1
jne 0x100ae0be
push esi
call fcn.100b5473
mov dword [ebp - 0xc], eax
pop ecx
test eax, eax
je 0x100ae734
push esi
push edi
push eax
call fcn.10079280
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], esi
mov esi, 0x164
mov edx, edi
mov dword [ebp - 0x14], eax
sub dword [ebp - 0x14], ecx
mov ebx, ecx
mov dword [ebp - 0x18], edx
cmp dword [ebp - 8], 1
jne 0x100ae0f6
lea ecx, [eax + esi]
mov eax, dword [ebp - 0x14]
mov dword [eax + ebx], ecx
push dword [ebx]
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
push ecx
call fcn.100a8442
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx]
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ae0fe
sub ecx, dword [ebp - 0x18]
inc esi
mov eax, dword [ebp - 0xc]
add esi, ecx
inc edx
add ebx, 4
mov dword [ebp - 0x18], edx
cmp edx, 7
jb 0x100ae0cb
mov ebx, dword [ebp - 4]
mov edx, edi
mov dword [ebp - 0x18], edx
add ebx, 0x1c
cmp dword [ebp - 8], 1
jne 0x100ae152
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, esi
mov dword [ebx + eax], ecx
push dword [ebx]
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
push ecx
call fcn.100a8442
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx]
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ae15a
sub ecx, dword [ebp - 0x18]
inc esi
add esi, ecx
add ebx, 4
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 7
jb 0x100ae125
mov ebx, dword [ebp - 4]
mov edx, edi
mov dword [ebp - 0x18], edx
add ebx, 0x38
cmp dword [ebp - 8], 1
jne 0x100ae1ab
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, esi
mov dword [ebx + eax], ecx
push dword [ebx]
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
push ecx
call fcn.100a8442
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx]
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ae1b3
sub ecx, dword [ebp - 0x18]
inc esi
add esi, ecx
add ebx, 4
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 0xc
jb 0x100ae17e
mov ebx, dword [ebp - 4]
mov edx, edi
mov dword [ebp - 0x18], edx
add ebx, 0x68
cmp dword [ebp - 8], 1
jne 0x100ae204
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, esi
mov dword [ebx + eax], ecx
push dword [ebx]
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
push ecx
call fcn.100a8442
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx]
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ae20c
sub ecx, dword [ebp - 0x18]
inc esi
add esi, ecx
add ebx, 4
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 0xc
jb 0x100ae1d7
mov ebx, dword [ebp - 4]
mov edx, edi
mov dword [ebp - 0x18], edx
add ebx, 0x98
cmp dword [ebp - 8], 1
jne 0x100ae260
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, esi
mov dword [ebx + eax], ecx
push dword [ebx]
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
push ecx
call fcn.100a8442
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx]
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ae268
sub ecx, dword [ebp - 0x18]
inc esi
add esi, ecx
add ebx, 4
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 2
jb 0x100ae233
cmp dword [ebp - 8], 1
mov ebx, dword [ebp - 0xc]
jne 0x100ae2b3
mov eax, dword [ebp - 4]
lea ecx, [ebx + esi]
mov dword [ebx + 0xa0], ecx
push dword [eax + 0xa0]
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
push ecx
call fcn.100a8442
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ae2bf
sub ecx, edx
inc esi
add esi, ecx
cmp dword [ebp - 8], 1
jne 0x100ae2fa
mov eax, dword [ebp - 4]
lea ecx, [ebx + esi]
mov dword [ebx + 0xa4], ecx
push dword [eax + 0xa4]
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
push ecx
call fcn.100a8442
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ae306
sub ecx, edx
inc esi
add esi, ecx
cmp dword [ebp - 8], 1
jne 0x100ae341
mov eax, dword [ebp - 4]
lea ecx, [ebx + esi]
mov dword [ebx + 0xa8], ecx
push dword [eax + 0xa8]
mov eax, dword [ebp - 0x10]
sub eax, esi
push eax
push ecx
call fcn.100a8442
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xa8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ae34d
sub ecx, edx
mov edx, dword [ebp - 8]
lea ebx, [ecx + 1]
mov ecx, dword [ebp - 0xc]
add ebx, esi
cmp edx, 1
jne 0x100ae37b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xac]
mov dword [ecx + 0xac], eax
mov dword [ecx + 0xb0], edi
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], edi
add esi, 0xb4
jmp 0x100ae38a
inc ebx
test bl, 1
jne 0x100ae389
cmp edx, 1
jne 0x100ae3bc
mov eax, ebx
shr eax, 1
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x14]
mov dword [esi + eax], ecx
mov eax, dword [ebp - 0x10]
push dword [esi]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae3c1
mov eax, dword [ebp - 0x18]
sub ecx, edx
mov edx, dword [ebp - 8]
add esi, 4
sar ecx, 1
lea ebx, [ebx + ecx*2]
mov ecx, dword [ebp - 0xc]
add ebx, 2
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 7
jb 0x100ae38a
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], edi
add esi, 0xd0
jmp 0x100ae3fa
inc ebx
test bl, 1
jne 0x100ae3f9
cmp dword [ebp - 8], 1
jne 0x100ae430
mov ecx, dword [ebp - 0xc]
mov eax, ebx
shr eax, 1
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x14]
mov dword [esi + eax], ecx
mov eax, dword [ebp - 0x10]
push dword [esi]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae435
mov eax, dword [ebp - 0x18]
sub ecx, edx
sar ecx, 1
add esi, 4
lea ebx, [ebx + ecx*2]
add ebx, 2
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 7
jb 0x100ae3fa
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], edi
add esi, 0xec
jmp 0x100ae468
inc ebx
test bl, 1
jne 0x100ae467
cmp dword [ebp - 8], 1
jne 0x100ae49e
mov ecx, dword [ebp - 0xc]
mov eax, ebx
shr eax, 1
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x14]
mov dword [esi + eax], ecx
mov eax, dword [ebp - 0x10]
push dword [esi]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae4a3
mov eax, dword [ebp - 0x18]
sub ecx, edx
sar ecx, 1
add esi, 4
lea ebx, [ebx + ecx*2]
add ebx, 2
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0xc
jb 0x100ae468
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], edi
add esi, 0x11c
jmp 0x100ae4d6
inc ebx
test bl, 1
jne 0x100ae4d5
cmp dword [ebp - 8], 1
jne 0x100ae50c
mov ecx, dword [ebp - 0xc]
mov eax, ebx
shr eax, 1
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x14]
mov dword [esi + eax], ecx
mov eax, dword [ebp - 0x10]
push dword [esi]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae511
mov eax, dword [ebp - 0x18]
sub ecx, edx
sar ecx, 1
add esi, 4
lea ebx, [ebx + ecx*2]
add ebx, 2
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0xc
jb 0x100ae4d6
mov esi, dword [ebp - 4]
mov dword [ebp - 0x18], edi
add esi, 0x14c
jmp 0x100ae544
inc ebx
test bl, 1
jne 0x100ae543
cmp dword [ebp - 8], 1
jne 0x100ae57a
mov ecx, dword [ebp - 0xc]
mov eax, ebx
shr eax, 1
lea ecx, [ecx + eax*2]
mov eax, dword [ebp - 0x14]
mov dword [esi + eax], ecx
mov eax, dword [ebp - 0x10]
push dword [esi]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae57f
mov eax, dword [ebp - 0x18]
sub ecx, edx
sar ecx, 1
add esi, 4
lea ebx, [ebx + ecx*2]
add ebx, 2
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 2
jb 0x100ae544
jmp 0x100ae5a6
inc ebx
test bl, 1
jne 0x100ae5a5
cmp dword [ebp - 8], 1
mov esi, dword [ebp - 0xc]
jne 0x100ae5e3
mov eax, ebx
shr eax, 1
lea ecx, [esi + eax*2]
mov eax, dword [ebp - 4]
mov dword [esi + 0x154], ecx
push dword [eax + 0x154]
mov eax, dword [ebp - 0x10]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x154]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae5ef
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
jmp 0x100ae607
inc ebx
test bl, 1
jne 0x100ae606
cmp dword [ebp - 8], 1
jne 0x100ae641
mov eax, ebx
shr eax, 1
lea ecx, [esi + eax*2]
mov eax, dword [ebp - 4]
mov dword [esi + 0x158], ecx
push dword [eax + 0x158]
mov eax, dword [ebp - 0x10]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x158]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae64d
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
jmp 0x100ae665
inc ebx
test bl, 1
jne 0x100ae664
cmp dword [ebp - 8], 1
jne 0x100ae69f
mov eax, ebx
shr eax, 1
lea ecx, [esi + eax*2]
mov eax, dword [ebp - 4]
mov dword [esi + 0x15c], ecx
push dword [eax + 0x15c]
mov eax, dword [ebp - 0x10]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x15c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae6ab
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
jmp 0x100ae6c3
inc ebx
test bl, 1
jne 0x100ae6c2
cmp dword [ebp - 8], 1
jne 0x100ae6f9
mov eax, ebx
shr eax, 1
lea ecx, [esi + eax*2]
mov eax, dword [ebp - 4]
mov dword [esi + 0x160], ecx
push dword [eax + 0x160]
mov eax, dword [ebp - 0x10]
sub eax, ebx
shr eax, 1
push eax
push ecx
call fcn.100ae998
add esp, 0xc
test eax, eax
jne 0x100ae74b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x160]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x100ae705
sub ecx, edx
mov edx, dword [ebp - 8]
sar ecx, 1
inc edx
mov dword [ebp - 8], edx
lea esi, [ecx + 1]
lea esi, [ebx + esi*2]
cmp edx, 2
jge 0x100ae731
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
jmp 0x100ae08e
mov edi, dword [ebp - 0xc]
cmp byte [ebp - 0x1c], 0
je 0x100ae744
mov ecx, dword [ebp - 0x28]
and dword [ecx + 0x350], 0xfffffffd
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push edi
push edi
push edi
push edi
push edi
call fcn.10084c64
int3