Function at 0x1000717b
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x100218a8
call fcn.10016868
mov eax, 0x104d0
call fcn.10016460
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0x1c]
push edi
cmp eax, esi
mov dword [ebp - 0x1c], esi
je 0x100071ba
push esi
push 1
push dword [ebp + 8]
lea ecx, [eax + 0xf1c]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push 2
push eax
call fcn.1000152b
push esi
push 0x80
push 3
push esi
push esi
push SysReAllocString
push dword [ebx + 0x14]
call dword [0x1002af70]
mov edi, eax
cmp edi, 0xffffffff
je 0x10007204
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [ebp - 0x104dc]
push 0x10000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], esi
jne 0x100072bd
mov ecx, 0x12b
xor eax, eax
lea edi, [ebp - 0x4da]
mov word [ebp - 0x4dc], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x4dc]
push 0x258
push eax
push dword [0x1002bbac]
call dword [0x1002afa0]
lea eax, [ebp - 0x4dc]
push eax
call fcn.10016961
cmp eax, esi
pop ecx
jl 0x10007259
lea ecx, [ebp + eax*2 - 0x4d0]
inc eax
mov dx, word [ecx - 0xc]
mov word [ecx], dx
dec ecx
dec ecx
dec eax
jne 0x1000724d
lea eax, [ebp - 0x4dc]
push str._BAR_HTML_DYNAMIC_NO_ACCESS.HTM
push eax
mov word [ebp - 0x4d2], 0x2f
mov word [ebp - 0x4d4], 0x2f
mov word [ebp - 0x4d6], 0x3a
mov word [ebp - 0x4d8], 0x73
mov word [ebp - 0x4da], 0x65
mov word [ebp - 0x4dc], 0x72
call fcn.10016283
mov ebx, dword [ebx + 0x18]
pop ecx
pop ecx
mov eax, dword [ebx]
push esi
push esi
push esi
lea ecx, [ebp - 0x4dc]
push esi
push ecx
push ebx
call dword [eax + 0x2c]
xor eax, eax
jmp 0x100073ef
mov eax, dword [ebp - 0x1c]
and byte [ebp + eax - 0x104dc], 0
add eax, 0x190
push eax
call fcn.10016450
mov esi, eax
mov dword [esp], str._html__head__meta_http_equiv_Content_Type__content_text_html__charsetgb2312___title___title__style______body_font_size:12px______style___head__body_topmargin4_leftmargin0_rightmargin0_bottommargin0_marginwidth0_marginheight0_bgcolorD4D0C8_
push esi
mov dword [ebp - 0x10], esi
call fcn.10016360
lea eax, [ebp - 0x104dc]
push eax
push esi
call fcn.10016370
push str.__body___html_
push esi
call fcn.10016370
add esp, 8
lea esi, [ebp - 0x2c]
mov edi, esp
mov word [ebp - 0x2c], 8
mov dword [ebp - 0x24], str.gb2312
mov eax, dword [ebx + 0x18]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push str.Charset
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x88]
xor esi, esi
mov dword [ebp - 0x14], esi
mov ebx, dword [ebx + 0x18]
lea ecx, [ebp - 0x14]
push ecx
push ebx
mov eax, dword [ebx]
mov dword [ebp - 4], esi
call dword [eax + 0x48]
mov eax, dword [ebp - 0x14]
mov dword [ebp + 8], esi
cmp eax, esi
je 0x10007354
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x10022f98
push eax
call dword [ecx]
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 1
push edi
call fcn.100162e0
pop ecx
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push edi
push esi
call fcn.10016360
push edi
call fcn.100162e0
and byte [eax + esi], 0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp + 8]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test edi, edi
je 0x100073bf
push edi
call fcn.1001610a
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 8]
and dword [ebp - 0x18], 0
and byte [ebp - 4], 0
test eax, eax
je 0x100073db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x100073ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4