Function at 0x10019180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10223f49
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
lea edi, [ebp - 0x88]
mov ecx, 0x1f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10363590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
jmp 0x100191dc
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, 0x1036dcb8
call fcn.100028e7
cmp dword [ebp - 0x14], eax
jae 0x10019233
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x1036dcb8
call fcn.1000209a
mov ecx, eax
call fcn.100031fc
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x78]
mov edx, dword [eax + 0x18]
call edx
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10001366
add esp, 8
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
jmp 0x100191d3
mov esi, esp
push 0x102427a8
mov ecx, dword [ebp + 0xc]
call fcn.100030d0
push eax
call dword [sym.imp.MSVCR120D.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1001927c
mov ecx, dword [ebp + 8]
call fcn.100026da
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x74]
or eax, 1
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
jmp 0x100193e9
push 0x20
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x50]
call fcn.10003341
mov dword [ebp - 4], 1
mov esi, esp
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 1
push 0
lea ecx, [ebp - 0x50]
call fcn.100030b7
push eax
call dword [sym.imp.MSVCR120D.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x1c], eax
mov esi, esp
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR120D.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov edx, dword [ebp - 0x1c]
push edx
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x50]
call fcn.1000243c
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x50]
call fcn.100028b5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.1000321f
mov dword [ebp - 0x14], 0
jmp 0x1001931a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, 0x1036dcb8
call fcn.100028e7
cmp dword [ebp - 0x14], eax
jae 0x100193c9
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x1036dcb8
call fcn.1000209a
mov ecx, eax
call fcn.100031fc
mov dword [ebp - 0x84], eax
mov esi, esp
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x84]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x84]
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.101b9ab0
movzx ecx, al
test ecx, ecx
je 0x100193c4
mov edx, dword [ebp - 0x14]
push edx
mov ecx, 0x1036dcb8
call fcn.1000209a
mov ecx, eax
call fcn.100031fc
mov dword [ebp - 0x88], eax
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x88]
mov eax, dword [edx + 0x20]
call eax
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp - 0x74]
or ecx, 1
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.1000321f
mov eax, dword [ebp + 8]
jmp 0x100193e9
jmp 0x10019311
mov ecx, dword [ebp + 8]
call fcn.100026da
mov edx, dword [ebp - 0x74]
or edx, 1
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.1000321f
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x10019424]
call fcn.101b9a50
pop eax
pop edx
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.101b9ae0
add esp, 0x88
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret