Function at 0x48ce47
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x51f5d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3e
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x26c]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x270], ebx
call fcn.004c05d0
mov esi, 0x103
push esi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.004c05d0
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.004c05d0
add esp, 0x24
mov edx, edi
mov dword [ebp - 0x21c], ebx
call fcn.00485754
test eax, eax
jne 0x48d199
push 0x455
push str..TelNet.c
mov edx, 0x4de27c
mov ecx, edi
call fcn.0041c35a
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x224], esi
je 0x48d199
mov eax, dword [ebp - 0x220]
call fcn.0048da20
test eax, eax
je 0x48d192
mov eax, dword [ebp - 0x220]
push 0x45b
call fcn.00490b91
test eax, eax
pop ecx
je 0x48d192
push esi
push 0x42
lea eax, [ebp - 0x270]
push 1
push eax
call fcn.004c0915
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
add esp, 0x10
cmp dword [ebp - 0x268], ebx
je 0x48cfb9
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push 4
push 1
push eax
mov dword [ebp - 0x21c], ebx
call fcn.004c0915
add esp, 0x10
cmp dword [ebp - 0x21c], ebx
jle 0x48cfb3
push dword [ebp - 0x21c]
push 0x42
call esi
cmp eax, ebx
mov dword [ebp - 0x268], eax
je 0x48cfb9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x48cfab
push dword [ebp - 0x224]
push dword [ebp - 0x21c]
push 1
push eax
call fcn.004c0915
add esp, 0x10
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x48cfb9
push dword [ebp - 0x268]
call edi
mov dword [ebp - 0x268], ebx
cmp dword [ebp - 0x264], ebx
je 0x48d03a
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push 4
push 1
push eax
mov dword [ebp - 0x21c], ebx
call fcn.004c0915
add esp, 0x10
cmp dword [ebp - 0x21c], ebx
jle 0x48d034
push dword [ebp - 0x21c]
push 0x42
call esi
cmp eax, ebx
mov dword [ebp - 0x264], eax
je 0x48d03a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x48d02c
push dword [ebp - 0x224]
push dword [ebp - 0x21c]
push 1
push eax
call fcn.004c0915
add esp, 0x10
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x48d03a
push dword [ebp - 0x264]
call edi
mov dword [ebp - 0x264], ebx
mov esi, dword [ebp - 0x220]
mov eax, dword [esi + 0xcf4]
cmp eax, ebx
je 0x48d057
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 0xcf4], ebx
add esi, 0xcec
mov eax, dword [esi]
cmp eax, ebx
je 0x48d068
push eax
call edi
mov dword [esi], ebx
mov esi, dword [ebp - 0x220]
add esi, 0xcf0
mov eax, dword [esi]
cmp eax, ebx
je 0x48d07f
push eax
call edi
mov dword [esi], ebx
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, ebx
je 0x48d0eb
movzx eax, word [esi + 2]
cmp ax, bx
mov edi, 0x104
jbe 0x48d0b5
movzx eax, ax
add eax, esi
push eax
mov ecx, edi
lea eax, [ebp - 0x110]
call fcn.00485786
pop ecx
jmp 0x48d0bb
mov byte [ebp - 0x110], bl
movzx eax, word [esi]
cmp ax, bx
jbe 0x48d0d9
movzx eax, ax
add eax, esi
push eax
mov ecx, edi
lea eax, [ebp - 0x218]
call fcn.00485786
pop ecx
jmp 0x48d0df
mov byte [ebp - 0x218], bl
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x218]
push eax
call fcn.004bf880
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
lea eax, [ebp - 0x218]
and esi, eax
lea eax, [ebp - 0x110]
push eax
call fcn.004bf880
xor ecx, ecx
cmp ecx, eax
sbb edi, edi
lea eax, [ebp - 0x110]
and edi, eax
push 0x42
lea eax, [ebp - 0x270]
push eax
mov eax, dword [ebp - 0x220]
add eax, 0xce4
push eax
call fcn.004bfed0
add esp, 0x14
cmp dword [ebp - 0x268], ebx
je 0x48d176
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x48d176
push eax
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ecx, dword [ebp - 0x220]
push dword [ebp - 0x268]
mov dword [ecx + 0xcf4], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x220]
call fcn.00490bd3
push dword [ebp - 0x224]
call fcn.0041c787
xor eax, eax
pop ecx
inc eax
jmp 0x48d19b
push esi
call fcn.0041c787
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
leave
ret