Function at 0x100084e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10035448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x21c], edi
mov dword [eax], edi
cmp ebx, edi
je 0x10008ab6
push ecx
call fcn.100084ad
pop ecx
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x10008554
push 0x1b
pop eax
jmp 0x10008ab8
test esi, esi
jne 0x1000855d
mov esi, 0x100361ac
push eax
push esi
push 0x10036198
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10008136
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1000858f
push dword [ebp - 0x220]
call dword [0x1003532c]
pop ecx
mov eax, esi
jmp 0x10008ab8
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x22c], eax
or edi, dword [ebp - 0x210]
je 0x100085cc
push 0x10036194
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0xc
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x10008a48
push dword [ebp - 0x220]
lea eax, [ebp - 0x214]
push 0x1003618c
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0x10
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x10008a48
push 0x10036164
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0xc
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x10008a48
mov eax, dword [ebx + 8]
cdq
push edx
push eax
push dword [ebx + 4]
lea eax, [ebp - 0x20c]
push 1
push eax
lea ecx, [ebp - 0x214]
call fcn.10007f9e
add esp, 0x14
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x10008a48
push 0x10036160
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0xc
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x10008a48
cmp dword [ebx + 0x24], eax
je 0x100086d1
push dword [ebp - 0x21c]
call dword [0x1003532c]
push dword [ebp - 0x228]
call fcn.100084ad
pop ecx
pop ecx
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x10008a0a
push eax
push 0x10036130
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0x10
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x10008a48
mov dword [ebp - 0x218], ebx
xor esi, esi
cmp dword [ebx + 0x24], esi
je 0x1000873a
push dword [ebp - 0x21c]
lea eax, [ebp - 0x214]
push 0x10036108
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0x10
mov dword [ebp - 0x208], eax
cmp eax, esi
jne 0x10008a48
mov edi, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, edi
call fcn.1000827e
pop ecx
pop ecx
mov dword [ebp - 0x208], eax
cmp eax, esi
jne 0x10008a48
jmp 0x10008779
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x10008773
cmp dword [ebx + 0x2c], esi
jne 0x1000874a
test al, 1
je 0x10008767
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, ebx
call fcn.1000827e
pop ecx
pop ecx
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], esi
jne 0x10008a48
mov edi, dword [ebp - 0x218]
mov eax, dword [edi + 0x1c]
cmp eax, esi
je 0x100087aa
push eax
push 0x100360f4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0x10
mov dword [ebp - 0x208], eax
cmp eax, esi
jne 0x10008a48
mov esi, dword [edi + 0x20]
jmp 0x100087dd
push dword [esi]
lea eax, [ebp - 0x214]
push 0x100360ec
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0x10
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x10008a48
mov esi, dword [esi + 4]
test esi, esi
jne 0x100087af
cmp dword [ebp - 0x208], esi
jne 0x10008a48
push 0x100360e4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0xc
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x10008a48
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x10008880
test al, 0x10
je 0x1000882c
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
push dword [ebx + 0x14]
jmp 0x1000885e
test al, 0x40
je 0x10008849
test al, al
jns 0x1000883c
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x10008840
mov eax, dword [ebx + 0x10]
cdq
push edx
push eax
push dword [ebx + 0x30]
push 3
jmp 0x10008860
test al, al
jns 0x10008855
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x10008859
mov eax, dword [ebx + 0x10]
cdq
push edx
push eax
push dword [ebx + 0xc]
push 2
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.10007f9e
add esp, 0x14
mov dword [ebp - 0x208], eax
jmp 0x1000899b
mov eax, dword [edi + 0xc]
push 2
mov edi, eax
mov esi, 0x10035ab4
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1000889b
call dword [sym.imp.MSVCR100.dll___iob_func]
jmp 0x100088a9
push 0x1003608c
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
pop ecx
pop ecx
xor esi, esi
mov edi, eax
mov dword [ebp - 0x224], eax
cmp edi, esi
je 0x10008965
call dword [sym.imp.MSVCR100.dll___iob_func]
push edi
cmp edi, eax
je 0x100088f0
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [ebp - 0x218]
push esi
push esi
push dword [eax + 0xc]
lea eax, [ebp - 0x20c]
push 4
push eax
lea ecx, [ebp - 0x214]
call fcn.10007f9e
add esp, 0x18
jmp 0x10008875
mov esi, dword [sym.imp.MSVCR100.dll_fread]
mov edi, 0x200
jmp 0x10008950
push 0
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x20c]
push 2
push eax
lea ecx, [ebp - 0x214]
call fcn.10007f9e
add esp, 0x14
mov dword [ebp - 0x208], eax
test eax, eax
jne 0x1000899b
push dword [ebp - 0x224]
call dword [sym.imp.MSVCR100.dll_feof]
pop ecx
test eax, eax
jne 0x1000899b
push dword [ebp - 0x224]
call dword [sym.imp.MSVCR100.dll_ferror]
pop ecx
test eax, eax
jne 0x1000899b
push dword [ebp - 0x224]
push edi
lea eax, [ebp - 0x204]
push 1
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x100088fd
jmp 0x1000899b
cmp dword [ebp - 0x228], esi
je 0x10008989
mov eax, dword [ebp - 0x218]
push dword [eax + 0xc]
push 0x100360cc
push dword [ebp - 0x228]
call fcn.1001e441
add esp, 0xc
mov eax, dword [ebp - 0x230]
mov dword [eax], esi
mov dword [ebp - 0x208], 0x1a
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 0x24]
xor esi, esi
mov dword [ebp - 0x218], eax
cmp eax, esi
je 0x100089c1
cmp dword [ebp - 0x208], esi
je 0x100086d7
jmp 0x10008a48
cmp dword [ebp - 0x208], esi
jne 0x10008a48
cmp dword [ebx + 0x24], esi
je 0x100089f9
push dword [ebp - 0x21c]
lea eax, [ebp - 0x214]
push 0x100360c0
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0x10
mov dword [ebp - 0x208], eax
cmp eax, esi
jne 0x10008a48
mov ebx, dword [ebx]
cmp ebx, esi
je 0x10008a14
mov edi, dword [ebp - 0x214]
jmp 0x1000859b
mov dword [ebp - 0x208], 0x1b
cmp dword [ebp - 0x208], 0
jne 0x10008a48
push dword [ebp - 0x220]
lea eax, [ebp - 0x214]
push 0x100360b4
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10008136
add esp, 0x10
mov dword [ebp - 0x208], eax
test eax, eax
je 0x10008a77
lea eax, [ebp - 0x22c]
push eax
call fcn.1000817d
push dword [ebp - 0x21c]
call dword [0x1003532c]
push dword [ebp - 0x220]
call dword [0x1003532c]
mov eax, dword [ebp - 0x208]
add esp, 0xc
jmp 0x10008ab8
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x21c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x210]
mov dword [eax + 4], ecx
call dword [0x1003532c]
push dword [ebp - 0x220]
call dword [0x1003532c]
mov eax, dword [ebp - 0x230]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x22c]
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033b66
leave
ret