Function at 0x10013bb0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2054
call fcn.10001480
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x78], 0x1fe0
lea eax, [esp + 0x7c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x70], 0x10056344
mov eax, dword [edi + 0x12cc]
mov dword [esp + 0x24], 0x1005bdb0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [eax*2 + 0x20]
mov word [esp + 0x30], 0x1ff
push eax
call fcn.100049c0
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x10013c53
mov eax, dword [edi + 0x12cc]
xor edx, edx
mov ecx, dword [edi + 0x12c8]
add eax, eax
push eax
push ecx
lea edi, [eax + ebp]
mov word [edi], dx
push ebp
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, 7
xor eax, eax
mov esi, str.urlexclist.dat
mov word [edi + 0x1e], ax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x1300]
lea ebx, [edi + 0x1218]
or eax, dword [edi + 0x1304]
mov byte [esp + 0x17], 1
jne 0x10013c71
mov byte [esp + 0x17], 0
push 0x100520cc
push ebp
call dword [sym.imp.msvcrt.dll__wfopen]
mov ebp, eax
add esp, 8
mov dword [esp + 0x34], ebp
test ebp, ebp
je 0x10013e7b
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.msvcrt.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.msvcrt.dll__fstat64]
add esp, 8
test eax, eax
js 0x10013e7b
mov eax, dword [edi + 0x1300]
cmp eax, dword [esp + 0x60]
jne 0x10013ccb
mov eax, dword [edi + 0x1304]
cmp eax, dword [esp + 0x64]
je 0x10013eab
cmp dword [esp + 0x54], 0
jg 0x10013e82
mov eax, dword [esp + 0x50]
jl 0x10013ce7
cmp eax, 0xc800
ja 0x10013e82
lea esi, [eax + 8]
mov eax, dword [esp + 0x78]
cmp esi, eax
jbe 0x10013d1c
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x70]
push 0
call dword [eax + 4]
push esi
call dword [sym.imp.msvcrt.dll_malloc]
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [esp + 0x74], ecx
test ecx, ecx
cmovne eax, esi
mov dword [esp + 0x78], eax
jmp 0x10013d20
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x10013e82
push ebp
dec eax
push eax
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fread]
mov esi, eax
add esp, 0x10
cmp esi, 2
jl 0x10013e82
mov ecx, dword [ebx]
lea eax, [esi + 1]
mov dword [ebx + 4], 0
mov byte [ecx], 0
cmp dword [ebx + 8], eax
jae 0x10013d5e
push eax
mov ecx, ebx
call fcn.100035c0
mov ecx, dword [esp + 0x74]
movzx edx, word [ecx]
lea eax, [ecx + esi]
mov dword [esp + 0x1c], eax
mov ebp, edx
mov dword [esp + 0x18], edx
cmp edx, 0xffff
jne 0x10013d81
mov ebp, dword [ecx + 2]
mov dword [esp + 0x18], ebp
xor eax, eax
lea esi, [ecx + 2]
cmp edx, 0xffff
sete al
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jae 0x10013e5d
mov edi, edi
movzx edi, byte [esi]
inc esi
cmp edi, 0xff
jne 0x10013dbf
movzx edi, word [esi]
add esi, 2
cmp edi, 0xffff
jne 0x10013dbf
mov edi, dword [esi]
add esi, 4
lea ebp, [edi + esi]
cmp ebp, eax
ja 0x10013e51
test edi, edi
je 0x10013e3b
mov eax, dword [ebx + 4]
test eax, eax
je 0x10013dff
add eax, 2
cmp dword [ebx + 8], eax
jae 0x10013de9
push eax
mov ecx, ebx
call fcn.100035c0
test eax, eax
je 0x10013dff
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov byte [ecx + eax], 0x7c
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
inc ecx
mov dword [ebx + 4], ecx
mov byte [ecx + eax], 0
test edi, edi
jle 0x10013e35
mov eax, dword [ebx + 4]
inc eax
add eax, edi
cmp dword [ebx + 8], eax
jae 0x10013e1a
push eax
mov ecx, ebx
call fcn.100035c0
test eax, eax
je 0x10013e35
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
add ecx, eax
add eax, edi
push edi
push esi
mov dword [ebx + 4], eax
push ecx
mov byte [ecx + edi], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov esi, ebp
mov ebp, dword [esp + 0x18]
add esi, 4
dec ebp
mov dword [esp + 0x18], ebp
cmp esi, eax
jb 0x10013da0
jmp 0x10013e55
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x20]
test ebp, ebp
jne 0x10013e82
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x34]
mov dword [edi + 0x1300], eax
mov dword [edi + 0x1304], edx
jmp 0x10013ea7
cmp byte [esp + 0x17], 0
je 0x10013ea3
mov ecx, ebx
call fcn.10003f70
mov ecx, dword [esp + 0x74]
xor eax, eax
mov ebp, dword [esp + 0x34]
xor edx, edx
mov dword [edi + 0x1300], eax
mov dword [edi + 0x1304], edx
jmp 0x10013ea7
mov ecx, dword [esp + 0x74]
test ebp, ebp
je 0x10013eb9
push ebp
call dword [sym.imp.msvcrt.dll_fclose]
mov ecx, dword [esp + 0x78]
add esp, 4
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.msvcrt.dll_free]
cmp eax, 0x1005bdb0
je 0x10013ed7
add eax, 0xfffffffc
push eax
call esi
mov ecx, dword [esp + 0x78]
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 0x100550d0
lea edx, [esp + 0x7c]
cmp ecx, edx
cmove ecx, eax
mov dword [esp + 0x74], ecx
test ecx, ecx
je 0x10013ef8
push ecx
call esi
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x2054
ret