Function at 0x100e0010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4ca8
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x10224008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [ebp - 0xcc], esi
call fcn.100e2050
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov ecx, ebx
mov byte [esi], 0
cmp dword [ebx + 0x14], 8
jb 0x100e006d
mov ecx, dword [ebx]
sub esp, 8
mov edx, SysReAllocString
push 3
sub esp, 8
call fcn.100b47d0
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x100e01f2
test esi, esi
je 0x100e01f2
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ecx
lea ecx, [ebp - 0x30]
call fcn.1007a960
call fcn.1007f3b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0xdc]
movlpd qword [ebp - 0xdc], xmm0
push eax
push ebx
movlpd qword [ebp - 0xd4], xmm0
movlpd qword [ebp - 0x24], xmm0
call fcn.100e07e0
test al, al
je 0x100e0171
mov ebx, dword [ebp - 0xdc]
mov ecx, ebx
mov eax, dword [ebp - 0xd8]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x100e0171
jb 0x100e0111
cmp ecx, 0x4ffffe
ja 0x100e0171
lea eax, [ebp - 0xc5]
mov byte [ebp - 0xc5], 0
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.100ac190
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
call fcn.1007fa70
push 0
lea ecx, [ebp - 0x20]
push ecx
mov eax, dword [eax]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp ecx, dword [ebp - 0xd8]
ja 0x100e0171
jb 0x100e015b
cmp eax, ebx
jae 0x100e0171
mov byte [ebp - 0xc5], cl
lea ecx, [ebp - 0xc5]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100ac190
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.1007fa60
mov edx, eax
call fcn.1007fa50
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x100e01e3
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1007a960
call fcn.1007f3b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.1019b0b0
lea ecx, [ebp - 0x30]
call fcn.1007fa70
mov edx, dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.1007f320
push eax
push edx
lea ecx, [ebp - 0xc4]
call fcn.1019b2e0
test al, al
jne 0x100e0212
mov eax, dword [ebp - 0xcc]
mov byte [eax], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.1007f330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1007f330
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 - 0x10]
xor ecx, ebp
call fcn.1019e7b8
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x3c]
call fcn.1007f320
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
jne 0x100e01ce
lea ecx, [ebp - 0x3c]
call fcn.1007f320
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov esi, edx
shr esi, 6
mov dword [ebp - 0x20], esi
test esi, esi
je 0x100e062c
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
push esi
mov ecx, eax
call fcn.100e1900
lea ecx, [ebp - 0x3c]
call fcn.1007fa70
mov ecx, dword [eax]
imul eax, esi, 0x3e8
push eax
push ecx
push dword [ebp - 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0xd0], ecx
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x18]
add esp, 0xc
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100e0313
xor esi, esi
nop
cmp dword [ebx + esi], 0x23ab45db
jne 0x100e033f
inc dword [ebp - 0xd0]
xor eax, eax
mov word [ebx + esi + 0x282], ax
mov word [ebx + esi + 0x382], ax
mov word [ebx + esi + 0x3ca], ax
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x18]
add esi, 0x3e8
mov ebx, dword [ebp - 0x1c]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xd0], eax
jb 0x100e02c0
mov esi, dword [ebp - 0x20]
mov ecx, dword [edi + 8]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x100e03bf
cmp esi, 0x2762762
ja 0x100e064e
jmp 0x100e03b7
mov eax, dword [ebp - 0xcc]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100e01d7
mov ecx, dword [ebp - 0x14]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x100e0393
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e0393
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1019e7f9
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x100e01d7
push esi
mov ecx, edi
call fcn.100e13b0
lea ecx, [ebp - 0xa4]
call fcn.100deca0
mov byte [ebp - 4], 3
xor ecx, ecx
mov esi, dword [ebp - 0x1c]
mov eax, 0x10624dd3
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x18]
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100e0593
xor ebx, ebx
mov dword [ebp - 0xd0], ebx
nop word [eax + eax]
lea edx, [ebx + 4]
add edx, esi
mov ecx, edx
lea ebx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e0410
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.100055f0
mov ebx, dword [ebp - 0xd0]
lea edx, [ebx + 0x284]
add edx, esi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e0445
sub ecx, dword [ebp - 0xd8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.100055f0
mov eax, dword [esi + ebx + 0x3cc]
lea edx, [ebx + 0x384]
mov dword [ebp - 0x5c], eax
add edx, esi
mov eax, dword [esi + ebx + 0x3d0]
mov ecx, edx
mov dword [ebp - 0x58], eax
mov eax, dword [esi + ebx + 0x3d4]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + ebx + 0x3d8]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + ebx + 0x3dc]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + ebx + 0x3e0]
lea ebx, [ecx + 2]
mov dword [ebp - 0x48], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e04b0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.100055f0
mov ebx, dword [ebp - 0xd0]
mov eax, dword [esi + ebx + 0x3e4]
mov esi, dword [edi + 4]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 0x40], 0
push eax
cmp dword [edi + 8], esi
je 0x100e055a
mov ecx, esi
mov dword [ebp - 0xd8], esi
call fcn.10006ac0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x8c]
push eax
lea ecx, [esi + 0x18]
call fcn.10006ac0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x74]
push eax
lea ecx, [esi + 0x30]
call fcn.10006ac0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x60], eax
mov al, byte [ebp - 0x40]
mov byte [esi + 0x64], al
mov byte [ebp - 4], 3
add dword [edi + 4], 0x68
jmp 0x100e0562
push esi
mov ecx, edi
call fcn.100e1dd0
mov ecx, dword [ebp - 0x18]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x1c]
add ebx, 0x3e8
inc dword [ebp - 0x20]
sub ecx, esi
imul ecx
mov dword [ebp - 0xd0], ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x20], eax
jb 0x100e0400
mov eax, dword [ebp - 0xcc]
mov byte [eax], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.10005540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.10005540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.10005540
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100e062c
mov ecx, dword [ebp - 0x14]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x100e060d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e060d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1019e7f9
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.1007f330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1007f330
mov al, 1
jmp 0x100e01f4
call fcn.100e12c0
int3