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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8243
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x1013c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
call fcn.100215d0
mov ecx, eax
test ecx, ecx
je 0x10023ed3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 2
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x10023c74
push 0x1014be70
mov dword [ebp - 0x2c], 0x1014be70
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov byte [ebp - 4], 3
mov edx, dword [edi + 0x34]
lea edi, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x10023c65
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x10023c56
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10023c56
call fcn.10021e50
mov ebx, eax
mov byte [ebp - 4], 4
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x10023c4e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x10023c65
push dword [ecx + 4]
lea ecx, [ebp - 0x10]
push edx
call fcn.10021eb0
mov esi, dword [ebp - 0x10]
push 0x1014be70
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
push 0x14
call fcn.100d4e1d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 5
lea edi, [ebx + 8]
mov dword [ebx], vtable.CMetroDataObject.0
mov dword [ebp - 0x28], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10026db0
mov dword [edi], eax
mov byte [ebp - 4], 6
mov ecx, ebx
movzx eax, word [0x1014b500]
push 0
push eax
mov dword [ebx + 4], 0
mov byte [ebx + 0x10], 0
call fcn.10023980
test esi, esi
je 0x10023df7
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x10023df7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10023dee
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 2
call edi
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10023dee
push 0x254
push 0x42
call edi
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10023dda
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
call ebx
mov edi, eax
mov eax, dword [ebp - 0x14]
push esi
mov dword [edi], 1
mov dword [edi + 4], 0x80008044
mov dword [edi + 0x28], 0x80
mov dword [edi + 0x48], eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [edi + 0x4c]
mov edx, 0x104
call fcn.100a4780
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
add esp, 4
push dword [ebp - 0x24]
call edi
push dword [ebp - 0x24]
movzx eax, word [0x1014b4fc]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.10023980
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call ebx
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [ebp - 0x20]
neg eax
push ebx
sbb eax, eax
and dword [ebp - 0x18], eax
call edi
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jne 0x10023dd5
movzx eax, word [0x1014b4f8]
push ebx
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.10023980
mov byte [ebx + 0x10], 1
jmp 0x10023dee
mov ebx, dword [ebp - 0x1c]
xor edi, edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test edi, edi
je 0x10023dee
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov edi, dword [ebp + 8]
mov dword [edi], 0
push edi
push 0x10103d80
push ebx
push 0
push 0
push 0
mov dword [ebp - 0x34], 1
call dword [sym.imp.SHELL32.dll_SHCreateDataObject]
cmp dword [edi], 0
je 0x10023e98
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc4], 0
je 0x10023e9e
mov ebx, dword [ebp + 0xc]
mov ecx, 0x1014be70
push 0
push 0x8040
push ebx
call fcn.1002b890
mov eax, dword [ebx + 0xc]
movaps xmm0, xmmword [0x10123a70]
push 0
push 0
push 0
push 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0xffffffff
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_CopyImage]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
push 1
mov ecx, dword [ebx + 0xc4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [ebp - 0x3c], 0
je 0x10023e9e
mov ecx, dword [ebx + 0xc4]
lea edx, [ebp - 0x4c]
push dword [edi]
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
jmp 0x10023e9e
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
add esi, 0xfffffff0
mov dword [ebp - 4], 7
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10023ebd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10013970
int3