Function at 0x100136a0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x1041c
call fcn.10010280
push ebx
push ebp
push esi
push edi
push 0x1003d090
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x14]
lea edi, [esp + 0x2c]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x10430]
push esi
push esi
push 3
push esi
push 1
push bind
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10013854
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [esp + 0x24], eax
jle 0x1001383a
cmp eax, 0x3c00000
jg 0x1001383a
cmp eax, 0x10000
mov dword [esp + 0x10], 2
jle 0x10013744
add eax, 0x400
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
jne 0x10013750
mov dword [esp + 0x10], 3
jmp 0x10013842
lea edx, [esp + 0x2c]
test edx, edx
je 0x10013842
mov eax, dword [esp + 0x10430]
push eax
push str.filename:__s_r_n
push edi
call ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x1c]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x20]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esi + edi]
push str.time:__04d_02d_02d_02d_02d_02d_r_n
push ecx
call ebx
mov edx, dword [esp + 0x44]
add esp, 0x20
add esi, eax
push edx
push str.content_length:__d_r_n
lea eax, [esi + edi]
push eax
call ebx
mov ecx, dword [esp + 0x10448]
add esp, 0xc
add esi, eax
push ecx
push str.monitortype:__s_r_n
lea edx, [esi + edi]
push edx
call ebx
add esp, 0xc
add esi, eax
mov eax, dword [esp + 0x10440]
push eax
lea ecx, [esi + edi]
push str.monitorvalue:__s_r_n
push ecx
call ebx
add esp, 0xc
add esi, eax
push str.dirlist
lea edx, [esi + edi]
push str.content_type:__s_r_n_r_n
push edx
call ebx
mov ecx, dword [esp + 0x30]
add esp, 0xc
add esi, eax
lea eax, [esp + 0x28]
push 0
push eax
lea edx, [esi + edi]
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10013830
add esi, dword [esp + 0x28]
jmp 0x10013842
mov dword [esp + 0x10], 4
jmp 0x10013842
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 2
je 0x100138f5
mov eax, dword [esp + 0x10430]
add esi, edi
push eax
push str.filename:__s_r_n
push esi
call ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x1c]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x20]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esi + edi]
push str.time:__04d_02d_02d_02d_02d_02d_r_n
push ecx
call ebx
add esp, 0x20
add esi, eax
push 0xffffffffffffffff
lea edx, [esi + edi]
push str.content_length:__d_r_n
push edx
call ebx
add esp, 0xc
add esi, eax
mov eax, dword [esp + 0x1043c]
push eax
lea ecx, [esi + edi]
push str.monitortype:__s_r_n
push ecx
call ebx
add esi, eax
add esp, 0xc
lea edx, [esi + edi]
push str.content_type:_dirlist_r_n_r_n
push edx
call ebx
add esp, 8
add esi, eax
mov eax, dword [esp + 0x10438]
mov ecx, dword [esp + 0x10434]
push eax
push ecx
push esi
push edi
call dword [0x1003d0ac]
add esp, 0x10
test edi, edi
je 0x10013925
lea edx, [esp + 0x2c]
cmp edi, edx
je 0x10013925
push edi
call fcn.10010220
add esp, 4
push 0x1003d090
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1041c
ret