Function at 0x10b0d9e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10bcd1a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, reloc.ole32.dll_CoCreateGuid
push edi
je 0x10b0da0f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.MSVCR70.dll_wcslen]
mov ebx, dword [sym.imp.MSVCR70.dll_wcscpy]
xor eax, eax
mov dword [esi], reloc.ole32.dll_CoCreateGuid
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea esp, [esp]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x18]
jge 0x10b0dbb3
mov ecx, dword [ecx + 0x14]
add ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10904640
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [ebp - 4], 0
je 0x10b0daab
mov esi, dword [eax]
cmp word [esi], 0
je 0x10b0daab
mov eax, dword [ebp - 0x28]
test eax, eax
push esi
je 0x10b0da90
dec eax
mov dword [ebp - 0x1c], eax
call edi
add esp, 4
push 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.109044e0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea eax, [edx + eax*2]
push esi
push eax
jmp 0x10b0daa6
call edi
add esp, 4
inc eax
push 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.109044e0
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
call ebx
add esp, 8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10b0db07
cmp word [0x10c43004], 0
je 0x10b0db5b
mov esi, dword [ebp - 0x28]
test esi, esi
push 0x10c43004
je 0x10b0daeb
dec esi
call edi
add esp, 4
push 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.109044e0
mov edx, dword [ebp - 0x2c]
lea esi, [edx + esi*2]
push 0x10c43004
push esi
jmp 0x10b0db56
call edi
add esp, 4
inc eax
push 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.109044e0
mov eax, dword [ebp - 0x2c]
push 0x10c43004
push eax
jmp 0x10b0db56
cmp word [0x10c43010], 0
je 0x10b0db5b
mov esi, dword [ebp - 0x28]
test esi, esi
push 0x10c43010
je 0x10b0db3c
dec esi
call edi
add esp, 4
push 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.109044e0
mov ecx, dword [ebp - 0x2c]
lea esi, [ecx + esi*2]
push 0x10c43010
push esi
jmp 0x10b0db56
call edi
add esp, 4
inc eax
push 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.109044e0
mov edx, dword [ebp - 0x2c]
push 0x10c43010
push edx
call ebx
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
mov eax, dword [ebp - 0x2c]
jne 0x10b0db6a
mov eax, 0x10c10928
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x10c74b68]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 0xc]
add ecx, 0xc
inc edx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x2c]
mov dword [esi], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], reloc.ole32.dll_CoCreateGuid
call fcn.109048b0
cmp dword [esi], reloc.ole32.dll_CoCreateGuid
je 0x10b0da30
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, reloc.ole32.dll_CoCreateGuid
jne 0x10b0dc23
mov eax, dword [ecx + 4]
test eax, eax
je 0x10b0dbc5
mov eax, dword [ecx]
jmp 0x10b0dbca
mov eax, 0x10c10928
push 0x10c91d14
push eax
call dword [sym.imp.MSVCR70.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x10b0dd08
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10904640
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
je 0x10b0dc05
push str..hds
jmp 0x10b0dc0a
push str..uas
call fcn.10904930
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], reloc.ole32.dll_CoCreateGuid
call fcn.109048b0
jmp 0x10b0dd08
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
lea edx, [ebp - 0x20]
push edx
push eax
call ebx
test eax, eax
je 0x10b0dd08
cmp dword [ebp - 0x10], 4
jne 0x10b0dd08
mov eax, dword [ebp - 0x20]
test eax, eax
mov dword [ebp - 0x18], 0
jle 0x10b0dd08
jmp 0x10b0dc70
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0x40
lea edx, [ebp - 0x6c]
push edx
push eax
mov dword [ebp - 0x1c], 0
call ebx
test eax, eax
je 0x10b0dd08
cmp dword [ebp - 0x10], 0x40
jne 0x10b0dd08
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
lea edx, [ebp - 0x1c]
push edx
push eax
call ebx
test eax, eax
je 0x10b0dd08
cmp dword [ebp - 0x10], 4
jne 0x10b0dd08
mov esi, dword [ebp + 8]
push 0x4c
add esi, 0x2c
push 1
mov ecx, esi
call fcn.109044e0
imul eax, eax, 0x4c
mov ecx, dword [esi]
lea edi, [ebp - 0x6c]
add ecx, eax
jmp 0x10b0dcd0
mov dl, byte [edi]
inc edi
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x10b0dcd0
mov ecx, dword [esi]
mov edx, dword [ebp - 0x1c]
mov dword [eax + ecx + 0x40], edx
mov ecx, dword [esi]
mov dword [eax + ecx + 0x44], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
mov dword [eax + edx + 0x48], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, ecx
mov dword [ebp - 0x18], eax
jl 0x10b0dc70
mov eax, 1
lea esp, [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc