Function at 0x100e4070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f0781
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x1024e014]
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 esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0xe0], edi
call fcn.100e5470
mov eax, dword [esi]
add esp, 4
mov dword [esi + 4], eax
mov ecx, ebx
mov byte [edi], 0
cmp dword [ebx + 0x14], 8
jb 0x100e40cd
mov ecx, dword [ebx]
push ecx
push 0x80
push 3
push ecx
push 0
mov edx, SysReAllocStringLen
call fcn.100c76e0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x100e4255
test edi, edi
je 0x100e4255
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10030b80
call fcn.10007640
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xec]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0xdc]
movlpd qword [ebp - 0xdc], xmm0
push eax
push ebx
movlpd qword [ebp - 0xec], xmm0
movlpd qword [ebp - 0x2c], xmm0
call fcn.100e47f0
test al, al
je 0x100e41d4
mov ebx, dword [ebp - 0xdc]
mov ecx, ebx
mov eax, dword [ebp - 0xd8]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x100e41d4
jb 0x100e4174
cmp ecx, 0x4ffffe
ja 0x100e41d4
lea eax, [ebp - 0xcd]
mov byte [ebp - 0xcd], 0
push eax
push ebx
lea ecx, [ebp - 0x38]
call fcn.100621e0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
call fcn.10029990
push 0
lea ecx, [ebp - 0x28]
push ecx
mov eax, dword [eax]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp ecx, dword [ebp - 0xd8]
ja 0x100e41d4
jb 0x100e41be
cmp eax, ebx
jae 0x100e41d4
mov byte [ebp - 0xcd], cl
lea ecx, [ebp - 0xcd]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.100621e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x38]
call fcn.10029990
mov edx, eax
call fcn.100314e0
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x100e4246
push ecx
lea ecx, [ebp - 0x44]
call fcn.10030b80
call fcn.10007640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.101ccf10
lea ecx, [ebp - 0x38]
call fcn.10029990
mov edx, dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.10031170
push eax
push edx
lea ecx, [ebp - 0xcc]
call fcn.1005fa60
test al, al
jne 0x100e4275
mov eax, dword [ebp - 0xe0]
mov byte [eax], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10031180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10031180
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.101d284b
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x44]
call fcn.10031170
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
jne 0x100e4231
lea ecx, [ebp - 0x44]
call fcn.10031170
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov edi, edx
shr edi, 6
mov dword [ebp - 0xd8], edi
test edi, edi
je 0x100e461f
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
push edi
mov ecx, eax
call fcn.100e4f30
lea ecx, [ebp - 0x44]
call fcn.10029990
mov ecx, dword [eax]
imul eax, edi, 0x3e8
push eax
push ecx
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100e4371
xor edi, edi
cmp dword [ebx + edi], 0x23ab45db
jne 0x100e439d
inc dword [ebp - 0x28]
xor eax, eax
mov word [ebx + edi + 0x282], ax
mov word [ebx + edi + 0x382], ax
mov word [ebx + edi + 0x3ca], ax
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x1c]
add edi, 0x3e8
mov ebx, dword [ebp - 0x20]
sub ecx, ebx
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x28], eax
jb 0x100e4321
mov edi, dword [ebp - 0xd8]
mov ecx, dword [esi + 8]
mov eax, 0x4ec4ec4f
sub ecx, dword [esi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x100e441d
cmp edi, 0x2762762
ja 0x100e4641
jmp 0x100e4415
mov eax, dword [ebp - 0xe0]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100e423a
mov ecx, dword [ebp - 0x18]
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 0x100e43f1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e43f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.101d2cde
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x100e423a
push edi
mov ecx, esi
call fcn.100e4ca0
lea ecx, [ebp - 0xac]
call fcn.100e2640
mov byte [ebp - 4], 3
xor ecx, ecx
mov edi, dword [ebp - 0x20]
mov eax, 0x10624dd3
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100e4586
xor ebx, ebx
mov dword [ebp - 0xd8], ebx
lea edx, [ebx + 4]
add edx, edi
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e4462
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.100045d0
mov ebx, dword [ebp - 0xd8]
lea edx, [ebx + 0x284]
add edx, edi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e4497
sub ecx, dword [ebp - 0xd8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.100045d0
mov eax, dword [edi + ebx + 0x3cc]
lea edx, [ebx + 0x384]
mov dword [ebp - 0x64], eax
add edx, edi
mov eax, dword [edi + ebx + 0x3d0]
mov ecx, edx
mov dword [ebp - 0x60], eax
mov eax, dword [edi + ebx + 0x3d4]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + ebx + 0x3d8]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + ebx + 0x3dc]
mov dword [ebp - 0x54], eax
mov eax, dword [edi + ebx + 0x3e0]
mov dword [ebp - 0x50], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xd8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e4506
sub ecx, dword [ebp - 0xd8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.100045d0
mov eax, dword [edi + ebx + 0x3e4]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 4]
mov byte [ebp - 0x48], 0
push ecx
cmp dword [esi + 8], eax
je 0x100e454d
mov ecx, eax
call fcn.100e3040
add dword [esi + 4], 0x68
jmp 0x100e4555
push eax
mov ecx, esi
call fcn.100e52b0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x10624dd3
mov edi, dword [ebp - 0x20]
add ebx, 0x3e8
inc dword [ebp - 0x28]
sub ecx, edi
imul ecx
mov dword [ebp - 0xd8], ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x28], eax
jb 0x100e4458
mov eax, dword [ebp - 0xe0]
mov byte [eax], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7c]
call fcn.10004570
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.10004570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.10004570
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100e461f
mov ecx, dword [ebp - 0x18]
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 0x100e4600
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e4600
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.101d2cde
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10031180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10031180
mov al, 1
jmp 0x100e4257
call fcn.10007c30
int3