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

Disassembly:
push 0xffffffffffffffff
push 0x10044f70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
je 0x100237ca
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jbe 0x100237c3
lea esi, [ebx + 1]
push esi
call fcn.10035f23
mov edx, eax
add esp, 4
mov dword [esp + 0x10], edx
mov ecx, esi
shr ecx, 2
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
push 0
rep stosb byte es:[edi], al
lea ecx, [esp + 0x18]
push ecx
push ebx
push edx
mov edx, dword [esp + 0x34]
push edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], ebx
jne 0x100237b2
mov al, byte [ebp + 0x34]
test al, al
je 0x10023694
mov eax, dword [esp + 0x10]
push ebx
push eax
lea ecx, [ebp + 0x6d]
call fcn.10034e10
mov esi, dword [esp + 0x10]
add ebx, esi
cmp esi, ebx
mov dword [esp + 0x1c], ebx
jae 0x100237b2
cmp byte [esi], 0x3d
mov eax, esi
je 0x100236c1
lea ecx, [ecx]
cmp esi, ebx
jae 0x100237b2
mov cl, byte [esi + 1]
inc esi
cmp cl, 0x3d
jne 0x100236b0
cmp esi, ebx
jae 0x100237b2
mov byte [esi], 0
cmp byte [esi], 0xa
lea edi, [esi + 1]
mov dword [esp + 0x3c], edi
je 0x100236e5
cmp esi, ebx
jae 0x100236e5
mov cl, byte [esi + 1]
inc esi
cmp cl, 0xa
jne 0x100236d8
push 0xffffffffffffffff
mov byte [esi], 0
push eax
inc esi
call fcn.10014580
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
je 0x100237f6
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x38], 1
call fcn.10023500
mov edx, dword [eax]
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x1002378a
call dword [0x10053070]
push 0
push 0
push 0xffffffffffffffff
push edi
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea eax, [edi - 1]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebp, eax
test ebp, ebp
je 0x100237e1
mov eax, dword [esp + 0x3c]
push edi
push ebp
push 0xffffffffffffffff
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x100237e1
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x18]
call fcn.10002bb0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
xor eax, eax
test eax, eax
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
jne 0x1002379a
test edi, edi
jne 0x100237f6
mov edx, dword [esp + 0x20]
push edx
mov byte [esp + 0x38], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jb 0x100236a6
mov eax, dword [esp + 0x10]
push eax
call fcn.1003673d
mov esi, dword [esp + 0x28]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0x18]
call fcn.10002bb0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov eax, ebp
jmp 0x1002378c
push 0x8007000e
call fcn.10001100
int3