Function at 0x10074c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecbe5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101114bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa023
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10085be2
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10074f46
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
add eax, 0xa000
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
push 0xa000
push 0
push eax
lea esi, [eax + 0xa000]
call fcn.10088c20
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
mov esi, dword [ebp + 8]
push esi
call fcn.100bba77
add esp, 0x10
test eax, eax
jne 0x10074ee0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
push esi
push eax
push 1
push ecx
call fcn.100bbd0e
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10074f42
mov esi, dword [ebx + 0x14]
mov eax, esi
mov edx, dword [ebx + 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
cmp edi, eax
ja 0x10074d95
lea eax, [edx + edi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp esi, 0x10
jb 0x10074d7e
mov eax, dword [ebx]
push edi
lea esi, [eax + edx]
push ecx
push esi
call fcn.100886a0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x10074ecc
mov eax, bind
sub eax, edx
cmp eax, edi
jb 0x10074f50
lea ecx, [edx + edi]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x10074dc1
mov eax, bind
mov dword [ebp - 0x10], eax
mov eax, 0x80000023
jmp 0x10074e06
mov eax, esi
shr eax, 1
mov dword [ebp - 0x10], eax
mov eax, bind
sub eax, dword [ebp - 0x10]
cmp esi, eax
jbe 0x10074de3
mov eax, bind
mov dword [ebp - 0x10], eax
mov eax, 0x80000023
jmp 0x10074e06
mov eax, dword [ebp - 0x10]
add eax, esi
cmp ecx, eax
cmovb ecx, eax
mov dword [ebp - 0x10], ecx
lea esi, [ecx + 1]
cmp esi, 0x1000
jb 0x10074e28
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x10074f4b
push eax
call fcn.10085be2
add esp, 4
test eax, eax
je 0x10074f46
mov ecx, dword [ebp - 0x10]
lea esi, [eax + 0x23]
mov edx, dword [ebp - 0x14]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10074e41
test esi, esi
je 0x10074e3f
push esi
call fcn.10085be2
mov ecx, dword [ebp - 0x10]
add esp, 4
mov edx, dword [ebp - 0x14]
mov esi, eax
jmp 0x10074e41
xor esi, esi
lea eax, [edx + edi]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], eax
lea eax, [esi + edx]
mov dword [ebp - 0x10], eax
add eax, edi
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x20], eax
push edx
jb 0x10074eae
mov eax, dword [ebx]
push eax
push esi
mov dword [ebp - 0x14], eax
call fcn.10088120
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.10088120
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov ecx, dword [ebp - 0x18]
inc ecx
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
cmp ecx, 0x1000
jb 0x10074ea2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f46
mov eax, edx
push ecx
push eax
call fcn.10085c12
add esp, 8
jmp 0x10074eca
push ebx
push esi
call fcn.10088120
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.10088120
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov byte [eax], 0
mov dword [ebx], esi
mov esi, dword [ebp + 8]
push esi
call fcn.100bba77
add esp, 4
test eax, eax
je 0x10074d36
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10074f2e
mov edx, dword [ebp - 0x24]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10074f0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10074f46
push edx
push ecx
call fcn.10085c12
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
jmp 0x10074ee2
call fcn.10092073
call fcn.10005170
call fcn.10005410
int3