Function at 0x40b20b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
nop
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, 0x184
push eax
mov eax, dword [0x4105dc]
push eax
call sub.user32.dll_SendMessageA
mov eax, 0x14
mov dword [ebp - 8], eax
mov eax, 0xafc8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040c1d0
add esp, 4
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [0x4104b0]
push eax
call sub.msvcrt.dll_fseek
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x1c], eax
mov esp, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jge 0x40b2dc
jmp 0x40b2b6
mov esp, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x40b292
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov eax, dword [0x4104b0]
push eax
mov eax, 1
push eax
mov eax, 1
push eax
push ecx
call sub.msvcrt.dll_fread
add esp, 0x10
jmp 0x40b2a8
mov eax, 0
mov word [ebp - 0x1e], ax
mov eax, 0
push eax
mov eax, 0x40e706
push eax
mov eax, 0x40e6fb
push eax
mov eax, 0
push eax
call sub.user32.dll_MessageBoxA
mov eax, dword [ebp - 0x14]
add eax, 0x15
mov ecx, dword [ebp - 0x14]
add ecx, 0x16
movzx edx, byte [ecx]
shl edx, 8
movzx ecx, byte [eax]
add ecx, edx
mov word [ebp - 0x1e], cx
movzx eax, word [ebp - 0x1e]
push eax
mov eax, 0x40e70f
push eax
lea eax, [ebp - 0xe6]
push eax
call sub.msvcrt.dll_sprintf
add esp, 0xc
mov eax, 0
push eax
mov eax, str.Internet
push eax
lea eax, [ebp - 0xe6]
push eax
mov eax, 0
push eax
call sub.user32.dll_MessageBoxA
movzx eax, word [ebp - 0x1e]
shl eax, 2
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
add eax, 0x28
mov dword [ebp - 0xf0], eax
mov eax, 0x28
mov dword [ebp - 0xf4], eax
mov eax, 0
mov dword [ebp - 0xf8], eax
mov eax, 1
mov dword [ebp - 0xfc], eax
mov esp, dword [ebp - 0x14]
movzx eax, word [ebp - 0x1e]
dec eax
mov ecx, dword [ebp - 0xfc]
cmp ecx, eax
jge 0x40b4cf
jmp 0x40b3c1
mov esp, dword [ebp - 0x14]
mov eax, dword [ebp - 0xfc]
mov ecx, eax
inc eax
mov dword [ebp - 0xfc], eax
jmp 0x40b392
mov eax, dword [ebp - 0xf0]
inc eax
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov eax, dword [ebp - 0xf0]
add eax, 2
mov edx, dword [ebp - 0x14]
add edx, eax
movzx eax, byte [edx]
shl eax, 8
movzx edx, byte [ecx]
add edx, eax
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xf8]
sub eax, 0xbff
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x13c], eax
mov esp, dword [ebp - 0x14]
mov eax, dword [ebp - 0xf8]
add eax, 0x1e
mov ecx, dword [ebp - 0x13c]
cmp ecx, eax
jge 0x40b47e
jmp 0x40b43d
mov esp, dword [ebp - 0x14]
mov eax, dword [ebp - 0x13c]
mov ecx, eax
inc eax
mov dword [ebp - 0x13c], eax
jmp 0x40b40a
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x14]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0
jne 0x40b45e
jmp 0x40b47e
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x14]
add ecx, eax
movzx eax, byte [ecx]
push eax
lea eax, [ebp - 0x138]
push eax
call sub.msvcrt.dll_strcat
add esp, 8
jmp 0x40b429
mov eax, 0
push eax
lea eax, [ebp - 0x138]
push eax
mov eax, str.bbbbbbbbbb
push eax
mov eax, 0
push eax
call sub.user32.dll_MessageBoxA
lea eax, [ebp - 0x138]
push eax
mov eax, 0
push eax
mov eax, 0x180
push eax
mov eax, dword [0x4105dc]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 0xf0]
add eax, 4
mov dword [ebp - 0xf0], eax
jmp 0x40b3ad
mov esp, dword [ebp - 0x18]
leave
ret