Function at 0x1007dc00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10236d79
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x102c6474]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1007e08f
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1007e08f
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1007dc6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1007e08f
mov eax, dword [ebp - 0x2c]
xor esi, esi
add esi, edi
mov ecx, ebx
adc eax, 0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xfc]
push eax
push 0
push 0
push 0
call fcn.1009a350
test al, al
je 0x1007e08f
lea ecx, [ebp - 0x70]
call fcn.10007f18
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10007f18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10007f18
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.1007ca10
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.10007f18
mov byte [ebp - 4], 4
mov edx, ecx
lea ecx, [ebp - 0x70]
call fcn.1007d5f0
lea ecx, [ebp - 0x20]
call fcn.1000fc6b
mov edi, eax
mov dword [ebp - 0xf8], edi
mov byte [ebp - 4], 3
call fcn.1000fc71
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.1000fc71
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.1000fc71
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1000fc71
cmp dword [ebp - 0x2c], 0
ja 0x1007dd4e
jb 0x1007e08f
cmp esi, edi
jb 0x1007e08f
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x48], xmm0
call fcn.10007f18
mov dword [ebp - 4], 8
lea eax, [ebp - 0xe9]
push eax
push edi
mov byte [ebp - 0xe9], 0
call fcn.10028f40
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x28], 0
call fcn.10005e30
lea ecx, [ebp - 0x28]
push ecx
push edi
mov eax, dword [eax]
mov ecx, ebx
push eax
call fcn.1009a260
test al, al
je 0x1007e07a
cmp dword [ebp - 0x28], edi
jne 0x1007e07a
lea ecx, [ebp - 0x98]
call fcn.1007c9a0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0
lea ecx, [ebp - 0x48]
call fcn.1007d830
add esp, 4
test al, al
jne 0x1007ddfa
xor bl, bl
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x98]
call fcn.1007e960
jmp 0x1007e07c
lea ecx, [ebp - 0xc0]
call fcn.1007c9a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc0]
call fcn.1007ca10
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x98]
call fcn.1007f7b0
test al, al
je 0x1007dedd
lea ecx, [ebp - 0xe8]
call fcn.1007c9a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe8]
call fcn.1007cc40
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x98]
call fcn.1007f7b0
test al, al
je 0x1007dece
lea ecx, [ebp - 0x70]
call fcn.1007c9a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x70]
call fcn.1007ce70
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x98]
call fcn.1007f7b0
test al, al
je 0x1007dec2
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.1007e960
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.1007e960
xor bl, bl
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc0]
call fcn.1007e960
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x98]
call fcn.1007e960
jmp 0x1007e07c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.1007e960
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.1007e960
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x80]
call fcn.1007f7b0
test al, al
jne 0x1007de9d
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x9c]
jne 0x1007de9d
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0x98]
push eax
add ecx, 0x24
call fcn.1007e9d0
cmp esi, edi
jne 0x1007df1d
cmp dword [ebp - 0x2c], 0
jne 0x1007df1d
mov bl, 1
jmp 0x1007de9f
mov eax, dword [ebx]
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x1007de9d
cmp dword [eax], 0xffffffff
je 0x1007de9d
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push ecx
push 4
lea ecx, [ebp - 0x3c]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007de9d
cmp dword [ebp - 0x28], 4
jne 0x1007de9d
sub esi, dword [ebp - 0xf8]
mov edi, dword [ebp - 0x3c]
cmp edi, esi
ja 0x1007de9d
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.10007f18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xe9]
push eax
push edi
mov byte [ebp - 0xe9], 0
call fcn.10028f40
lea ecx, [ebp - 0x38]
call fcn.10005e30
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x28]
push eax
push edi
push dword [esi]
call fcn.1009a260
test al, al
je 0x1007e067
cmp dword [ebp - 0x28], edi
jne 0x1007e067
lea ecx, [ebp - 0x80]
call fcn.1000fc62
test al, al
jne 0x1007e067
call fcn.10005e30
mov eax, dword [eax]
mov al, byte [eax]
test al, al
jne 0x1007e067
lea ecx, [ebp - 0x38]
call fcn.1000fc6b
test al, 7
jne 0x1007e067
call fcn.1000fc62
test al, al
jne 0x1007e045
lea ecx, [ebp - 0x8c]
call fcn.1000fc6b
cmp eax, 0x10
jne 0x1007e067
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000fc6b
mov ecx, dword [esi]
mov edx, eax
call fcn.10093410
add esp, 4
lea ecx, [ebp - 0x8c]
xor edx, edx
call fcn.10005e30
mov esi, dword [eax]
mov al, byte [esi + edx]
cmp al, byte [ebp + edx - 0x24]
jne 0x1007e067
inc edx
cmp edx, 0x10
jb 0x1007e036
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0x38]
push eax
call fcn.1007e0b0
mov bl, al
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.1000fc71
jmp 0x1007de9f
xor bl, bl
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.1000fc71
jmp 0x1007de9f
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000fc71
mov al, bl
jmp 0x1007e091
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101e48f0
mov esp, ebp
pop ebp
ret 4