Function at 0x100c7890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d391
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push esi
mov eax, dword [0x101e8118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], 0
cmp dword [ebp + 0x10], 0
jne 0x100c78d0
xor eax, eax
jmp 0x100c7d56
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10004780
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10016470
test eax, eax
jne 0x100c7917
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004820
mov eax, dword [ebp - 0x2c]
jmp 0x100c7d56
push 0x1019c2f0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x34]
call fcn.100057d0
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa0]
or ecx, 1
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xa8]
call fcn.10005d90
cmp eax, 0xffffffff
jne 0x100c79ff
push 0x1019c2f4
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x38]
call fcn.100057d0
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xa0]
or ecx, 2
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xb0]
call fcn.10005d90
cmp eax, 0xffffffff
jne 0x100c79ff
push 0x1019c2fc
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x3c]
call fcn.100057d0
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0xa0]
or ecx, 4
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xb8]
call fcn.10005d90
cmp eax, 0xffffffff
jne 0x100c79ff
mov dword [ebp - 0xbc], 0
jmp 0x100c7a09
mov dword [ebp - 0xbc], 1
mov dl, byte [ebp - 0xbc]
mov byte [ebp - 0x2d], dl
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xa0]
and eax, 4
je 0x100c7a33
and dword [ebp - 0xa0], 0xfffffffb
lea ecx, [ebp - 0x3c]
call fcn.10006030
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xa0]
and ecx, 2
je 0x100c7a54
and dword [ebp - 0xa0], 0xfffffffd
lea ecx, [ebp - 0x38]
call fcn.10006030
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xa0]
and edx, 1
je 0x100c7a75
and dword [ebp - 0xa0], 0xfffffffe
lea ecx, [ebp - 0x34]
call fcn.10006030
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x100c7a9b
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004820
mov eax, dword [ebp - 0x40]
jmp 0x100c7d56
push 0x1019c300
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.100addf0
add esp, 8
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.10019630
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.10006030
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x48]
call fcn.10004780
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xcc]
call fcn.10016300
push eax
lea ecx, [ebp - 0x24]
call fcn.10018de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.10004820
push 0x1019c310
lea ecx, [ebp - 0x24]
call fcn.10005a00
push eax
call fcn.1013a36c
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x100c7bc6
lea ecx, [ebp - 0x6c]
push ecx
push 0x1019c32c
lea ecx, [ebp - 0x5c]
call fcn.100165d0
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xd4]
call fcn.100d3010
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.10016820
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004820
mov eax, dword [ebp - 0x70]
jmp 0x100c7d56
push 2
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1013a97f
add esp, 0xc
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1013ab9c
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1013a442
add esp, 4
push str.rt_ccsUTF_8
lea ecx, [ebp - 0x24]
call fcn.10005a00
push eax
call fcn.1013a36c
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10139b2d
add esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.1013b530
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 2
mov edx, dword [ebp - 0x14]
push edx
call fcn.1013a736
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1013a442
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], 0
mov dword [ebp - 0x20], str.__TOOLBAR_
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1009cda0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100c7cb4
mov esi, dword [ebp - 0x10]
sub esi, dword [ebp - 0x14]
sar esi, 1
mov edx, dword [ebp - 0x20]
push edx
call fcn.1013e98f
add esp, 4
add esi, eax
mov eax, dword [ebp - 0x14]
mov word [eax + esi*2], 0
lea ecx, [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x84]
call fcn.100165d0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdc]
call fcn.100d3010
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x84]
call fcn.10016820
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
push edx
call fcn.10139d64
add esp, 4
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004820
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc