Function at 0x10094bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b71c0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [section..data]
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, ecx
mov dword [ebp - 0x58], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x3830]
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x64], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x3828]
mov dword [ebp - 0x54], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10094e11
mov cl, byte [ebx]
mov byte [ebp - 0x4d], cl
mov edi, edi
lea edi, [esi + 0x30]
test cl, cl
jne 0x10094c2b
xor ebx, ebx
jmp 0x10094c39
lea edx, [ebx + 1]
mov edi, edi
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x10094c30
sub ebx, edx
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x5c], ecx
jb 0x10094c47
mov edi, dword [edi]
cmp ecx, ebx
mov edx, ebx
cmovb edx, ecx
test edx, edx
je 0x10094cd0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
sub edx, 4
jb 0x10094c79
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edi]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0x54]
jne 0x10094c7e
add dword [ebp - 0x4c], 4
add edi, 4
sub edx, 4
jae 0x10094c61
cmp edx, 0xfffffffc
je 0x10094cc7
mov eax, dword [ebp - 0x4c]
mov cl, byte [edi]
cmp cl, byte [eax]
mov eax, dword [ebp - 0x54]
jne 0x10094cc0
cmp edx, 0xfffffffd
je 0x10094cc7
mov eax, dword [ebp - 0x4c]
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
mov eax, dword [ebp - 0x54]
jne 0x10094cc0
cmp edx, 0xfffffffe
je 0x10094cc7
mov eax, dword [ebp - 0x4c]
mov cl, byte [edi + 2]
cmp cl, byte [eax + 2]
mov eax, dword [ebp - 0x54]
jne 0x10094cc0
cmp edx, 0xffffffff
je 0x10094cc7
mov edx, dword [ebp - 0x4c]
mov cl, byte [edi + 3]
cmp cl, byte [edx + 3]
je 0x10094cc7
sbb ecx, ecx
or ecx, 1
jmp 0x10094cc9
xor ecx, ecx
test ecx, ecx
jne 0x10094ce3
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
jae 0x10094cd9
or ecx, 0xffffffff
jmp 0x10094ce1
xor ecx, ecx
cmp dword [ebp - 0x5c], ebx
setne cl
test ecx, ecx
sete cl
test cl, cl
jne 0x10094d37
cmp byte [esi + 0xd], cl
jne 0x10094d29
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xd], 0
jne 0x10094d0e
mov esi, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10094d29
mov esi, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
je 0x10094d02
jmp 0x10094d29
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x10094d27
cmp esi, dword [ecx + 8]
jne 0x10094d27
mov esi, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x10094d17
mov esi, ecx
mov ebx, dword [ebp - 0x48]
mov cl, byte [ebp - 0x4d]
cmp esi, eax
jne 0x10094c20
mov ebx, dword [ebp - 0x48]
cmp esi, eax
je 0x10094e11
mov edi, dword [esi + 0x2c]
lea eax, [ebp - 0x48]
push 0
push eax
push 0x500000
lea eax, [edi + 0x810]
mov dword [ebp - 0x48], 0
push eax
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10094d8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esi, 0x10
cmp dword [esi + 0x14], 8
jb 0x10094d7c
mov esi, dword [esi]
push eax
push esi
push str.sendFileToAndroid_read__s_file_failed___d
push 0x8c1
jmp 0x10094da3
add esi, 0x10
cmp dword [esi + 0x14], 8
jb 0x10094d95
mov esi, dword [esi]
push dword [ebp - 0x48]
push esi
push str.sendFileToAndroid_read__s_file_._size__d
push 0x8c4
push str.vbox::VBoxService::onRequestMoreFileData
call fcn.100989a0
mov eax, dword [ebp - 0x58]
add esp, 0x14
mov dword [edi], 0xb
mov dword [edi + 4], 7
mov ebx, dword [ebp - 0x48]
add ebx, 0x810
cmp dword [eax + 4], 0xffffffff
je 0x10094eb5
lea esi, [eax + 0x14]
mov dword [ebp - 0x5c], ebx
push esi
mov dword [ebp - 0x60], 0x19810202
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x60]
push 8
push eax
call fcn.100049e0
test al, al
je 0x10094e03
mov ecx, dword [ebp - 0x58]
push ebx
push edi
call fcn.100049e0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
jmp 0x10094ebb
cmp byte [ebx], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x10094e2c
xor ecx, ecx
jmp 0x10094e3a
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10094e31
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10003fc0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1009dfe0
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x10094e67
mov eax, dword [eax]
push eax
push str.sendFileToAndroid_not_fine_file__s
push 0x8ce
push str.vbox::VBoxService::onRequestMoreFileData
call fcn.100989a0
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x10
cmp dword [ebp - 0x30], 8
jb 0x10094e93
push dword [ebp - 0x44]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x10094eb5
push dword [ebp - 0x2c]
call esi
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x64]
call esi
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.100ad688
mov esp, ebp
pop ebp
ret 4