Function at 0x10146c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a9a7e
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10222354]
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 0x101d5aec
lea ecx, [ebp + 0xc]
call fcn.10007fa0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1016bf8e
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x10146eaf
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1016c6e8
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.1016c5f0
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10146ccf
mov eax, dword [ebp - 0x10]
push eax
call fcn.1016bd74
add esp, 4
push 0x101d5af4
mov ecx, dword [ebp + 8]
call fcn.100e1510
mov ecx, dword [ebp - 0x78]
or ecx, 1
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000ba80
mov eax, dword [ebp + 8]
jmp 0x10146ed7
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.1016c6e8
add esp, 0xc
mov eax, dword [ebp - 0x48]
add eax, 2
push eax
call fcn.10165c5a
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.10165c5a
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.1016ca2a
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1016bd74
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.1016e56e
add esp, 0xc
mov eax, dword [ebp - 0x48]
add eax, 2
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.1016e4d8
add esp, 8
push str._TOOLBAR
mov edx, dword [ebp - 0x44]
push edx
call fcn.10146f60
add esp, 8
test eax, eax
jne 0x10146d8c
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.101469f0
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.10165d0d
add esp, 4
mov ecx, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x70]
call fcn.1000bb50
mov byte [ebp - 4], 1
push 0xfde9
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.10146a40
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.1000bbd0
mov dword [ebp - 0x38], 0
push 0
push str.__xml
lea ecx, [ebp - 0x34]
call fcn.10146fa0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [0x101c6af8]
jne 0x10146e05
push 0
push 0x101d5b10
lea ecx, [ebp - 0x34]
call fcn.10146fa0
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.100e1c30
push 0
push 0x101d5b14
lea ecx, [ebp - 0x34]
call fcn.10146fa0
mov dword [ebp - 0x38], eax
push 0
push 0x101d5b20
lea ecx, [ebp - 0x34]
call fcn.10146fa0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [0x101c6af8]
je 0x10146e68
mov edx, dword [ebp - 0x14]
cmp edx, dword [0x101c6af8]
je 0x10146e68
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.100e1c30
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.10165d0d
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10146f20
mov edx, dword [ebp - 0x78]
or edx, 1
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.100e1550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000ba80
mov eax, dword [ebp + 8]
jmp 0x10146ed7
push 0x101d5b28
mov ecx, dword [ebp + 8]
call fcn.100e1510
mov eax, dword [ebp - 0x78]
or eax, 1
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000ba80
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.10165d18
mov esp, ebp
pop ebp
ret