Function at 0x10150710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b40ee
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0x101e0c60
lea ecx, [ebp + 0xc]
call fcn.100043a0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.101755ae
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x101509af
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10175b64
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.10175a6c
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x101507cf
mov eax, dword [ebp - 0x10]
push eax
call fcn.10175394
add esp, 4
push 0x101e0c68
mov ecx, dword [ebp + 8]
call fcn.100e5030
mov ecx, dword [ebp - 0x78]
or ecx, 1
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov eax, dword [ebp + 8]
jmp 0x101509d7
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.10175b64
add esp, 0xc
mov eax, dword [ebp - 0x48]
add eax, 2
push eax
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x48]
add edx, 2
push edx
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 1
mov eax, dword [ebp - 0x40]
push eax
call fcn.10175ea6
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10175394
add esp, 4
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x48]
mov byte [edx], 0
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.10177a1e
add esp, 0xc
mov eax, dword [ebp - 0x48]
add eax, 2
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.10177988
add esp, 8
push str._TOOLBAR
mov edx, dword [ebp - 0x44]
push edx
call fcn.10150a60
add esp, 8
test eax, eax
jne 0x1015088c
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.101504f0
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.1016f165
add esp, 4
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x70]
call fcn.10005ed0
mov byte [ebp - 4], 1
push 0xfde9
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.10150540
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.10005f50
mov dword [ebp - 0x38], 0
push 0
push str.__xml
lea ecx, [ebp - 0x34]
call fcn.10150aa0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [0x101d1328]
jne 0x10150905
push 0
push 0x101e0c84
lea ecx, [ebp - 0x34]
call fcn.10150aa0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.100e5750
push 0
push 0x101e0c88
lea ecx, [ebp - 0x34]
call fcn.10150aa0
mov dword [ebp - 0x38], eax
push 0
push 0x101e0c94
lea ecx, [ebp - 0x34]
call fcn.10150aa0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [0x101d1328]
je 0x10150968
mov edx, dword [ebp - 0x14]
cmp edx, dword [0x101d1328]
je 0x10150968
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x38]
add eax, 2
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
call fcn.100e5750
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.1016f165
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10150a20
mov edx, dword [ebp - 0x78]
or edx, 1
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.100e5070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov eax, dword [ebp + 8]
jmp 0x101509d7
push 0x101e0c9c
mov ecx, dword [ebp + 8]
call fcn.100e5030
mov eax, dword [ebp - 0x78]
or eax, 1
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10005e00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret