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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x101dc354]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
xor ebx, ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov eax, edx
mov dword [esp + 4], eax
push esi
push edi
test ecx, ecx
je 0x100bd2c4
test eax, eax
je 0x100bd2d6
mov ecx, eax
call fcn.10095000
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [esp + 0x60]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov esi, eax
mov ecx, esi
mov dword [esp + 0x4c], esi
call fcn.10094ff1
test al, al
jne 0x100bd30c
lea eax, [esp + 0x58]
mov dword [esp + 0x58], ebx
push eax
push esi
mov dword [esp + 0x64], ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSizeEx]
test eax, eax
je 0x100bd3c3
cmp dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x58]
jl 0x10094f54
jg 0x100bd49f
cmp ebx, 0xffffffff
ja 0x100bd49f
xor eax, eax
lea edi, [esp + 0x3c]
stosd dword es:[edi], eax
lea edx, [esp + 0x3c]
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100b7d47
test eax, eax
js 0x100bd558
xor eax, eax
push eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push ebx
push dword [esp + 0x50]
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x100bd566
cmp dword [esp + 0x54], ebx
jne 0x100bd63b
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x10]
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
lea esi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x10]
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10095000
push dword [esp + 0x4c]
call dword [sym.imp.ntdll.dll_NtClose]
test eax, eax
js 0x10094fea
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b88c0
mov esp, ebp
pop ebp
ret
push 7
pop ecx
int 0x29
jmp 0x10094fd6
mov dword [esp + 0x18], 0x36
mov dword [esp + 0x1c], 0x10090e80
jmp 0x100bd2e6
mov dword [esp + 0x18], 0x37
mov dword [esp + 0x1c], 0x10090e14
mov esi, 0x80004003
mov dword [esp + 0x14], 0x10077448
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x10090e50
call fcn.1016dbec
mov eax, esi
jmp 0x10094fd8
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101dca74]
mov edi, eax
mov ebx, 0x80070000
test ecx, ecx
je 0x100bd3b1
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x58]
push eax
push ecx
push 0x10090e38
push ecx
push ecx
call fcn.101b4f78
test edi, edi
jg 0x100bd367
mov eax, edi
jmp 0x100bd36c
movzx eax, di
or eax, ebx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
mov ecx, dword [0x101dca74]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x1c]
push eax
sub esp, 0x10
call fcn.101b5040
test edi, edi
jne 0x100bd3b6
int3
mov dword [esp + 0x18], 0x46
jmp 0x100bd475
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101dca74]
mov edi, eax
mov ebx, 0x80070000
test ecx, ecx
je 0x100bd468
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x58]
push eax
push ecx
push 0x10090ec8
push ecx
push ecx
call fcn.101b4f78
test edi, edi
jg 0x100bd41e
mov eax, edi
jmp 0x100bd423
movzx eax, di
or eax, ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
mov ecx, dword [0x101dca74]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
sub esp, 0x10
call fcn.101b5040
test edi, edi
jne 0x100bd46d
int3
mov dword [esp + 0x18], 0x4a
mov dword [esp + 0x14], 0x10077448
mov dword [esp + 0x10], 0x10090e50
mov dword [esp + 0x1c], 0x10090ebc
test edi, edi
jle 0x100bd549
movzx edi, di
or edi, ebx
jmp 0x100bd549
mov ecx, dword [0x101dca74]
mov edi, 0x800700df
mov dword [esp + 0x50], edi
test ecx, ecx
je 0x100bd529
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
lea eax, [esp + 0x50]
mov dword [esp + 0x10], ebx
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x54], ebx
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ebx
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x44], ebx
push eax
push ecx
push 0x10090ea8
push ecx
push ecx
call fcn.101b4f78
mov ecx, dword [0x101dca74]
lea eax, [esp + 0x50]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ebx
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ebx
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ebx
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ebx
push eax
sub esp, 0x10
call fcn.101b5040
mov dword [esp + 0x10], 0x10090e50
mov dword [esp + 0x14], 0x10077448
mov dword [esp + 0x18], 0x4e
mov dword [esp + 0x1c], 0x10087e74
push edi
lea ecx, [esp + 0x14]
call fcn.1016dbec
jmp 0x100bd67a
mov ecx, eax
call fcn.101bec08
mov edi, eax
jmp 0x100bd671
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101dca74]
mov edi, eax
mov ebx, 0x80070000
test ecx, ecx
je 0x100bd60b
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x58]
push eax
push ecx
push 0x10090eec
push ecx
push ecx
call fcn.101b4f78
test edi, edi
jg 0x100bd5c1
mov eax, edi
jmp 0x100bd5c6
movzx eax, di
or eax, ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
mov ecx, dword [0x101dca74]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
sub esp, 0x10
call fcn.101b5040
test edi, edi
jne 0x100bd610
int3
mov dword [esp + 0x10], 0x10090e50
mov dword [esp + 0x14], 0x10077448
mov dword [esp + 0x18], 0x57
mov dword [esp + 0x1c], 0x10090ebc
test edi, edi
jle 0x100bd667
movzx edi, di
or edi, ebx
jmp 0x100bd667
mov ecx, 0xc0000001
mov dword [esp + 0x10], 0x10090e50
mov dword [esp + 0x14], 0x10077448
mov dword [esp + 0x18], 0x59
mov dword [esp + 0x1c], 0x10090f04
call fcn.101bec08
mov edi, eax
push edi
lea ecx, [esp + 0x14]
call fcn.1016dbec
lea ecx, [esp + 0x3c]
call fcn.10095000
mov ecx, esi
call fcn.10094ff1
test al, al
jne 0x100bd695
push esi
call dword [sym.imp.ntdll.dll_NtClose]
test eax, eax
jns 0x100bd695
push 7
pop ecx
int 0x29
mov eax, edi
jmp 0x10094fd8