Function at 0x48f7e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x6d1d44]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, bind
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], esi
push edi
cmp esi, eax
ja 0x48f97b
mov edi, dword [ebp + 0x10]
cmp edi, eax
ja 0x48f97b
xor ebx, ebx
test ecx, ecx
je 0x48f97b
cmp esi, 1
jbe 0x48f843
cmp byte [esi + edx - 1], bl
jne 0x48f843
dec esi
mov dword [esp + 0x28], esi
mov eax, dword [ecx + 0x100c]
test eax, eax
je 0x48f997
push esi
push edx
mov ecx, eax
call fcn.0048b87a
mov dword [esp + 0x18], eax
pop ecx
pop ecx
test eax, eax
jne 0x48f945
lea ecx, [esi + 4]
mov dword [esp + 0x20], ebx
cmp ecx, 0xffffffff
jae 0x48f89d
push 0xfffffffffffffffb
pop eax
sub eax, esi
je 0x48f89d
cmp ecx, 0xffffffef
jae 0x48f89d
push 0x30b
push 0x741b00
lea eax, [esi + 0x14]
push 1
push eax
call fcn.005ed7c0
add esp, 0x10
lea ecx, [esi + 4]
jmp 0x48f89f
mov eax, ebx
push ebx
mov edx, ecx
mov ecx, eax
push ebx
call fcn.00484c1e
push esi
push dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x34], eax
mov edx, dword [eax - 0x10]
call section..text
mov edx, dword [esp + 0x24]
xor ecx, ecx
push esi
call fcn.0049c11d
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov dword [esi + ecx], eax
push dword [ecx - 0x10]
push ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x100c]
call fcn.0048b87a
mov dword [esp + 0x18], eax
pop ecx
pop ecx
test eax, eax
je 0x48f92c
lea ecx, [eax + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [eax + 0x30]
push ebx
call fcn.00449c54
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x48f92c
cmp edi, dword [esp + 0x20]
jb 0x48f92c
push ecx
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x30]
lea ecx, [eax + 0x34]
call fcn.00449c54
add esp, 0xc
mov ecx, dword [esp + 0x24]
call fcn.00484cd3
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x48f97d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48f98f
mov esi, dword [esp + 0x18]
test esi, esi
je 0x48f977
cmp edi, dword [eax + 0x30]
jb 0x48f977
push dword [eax + 0x30]
add eax, 0x34
mov edx, edi
push eax
mov ecx, esi
call section..text
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
mov ecx, dword [eax + 0x30]
cmp edi, ecx
jbe 0x48f972
mov byte [ecx + esi], bl
mov eax, dword [eax + 0x30]
jmp 0x48f97d
test edi, edi
je 0x48f972
xor eax, eax
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b8900
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x1008]
push esi
push edx
call fcn.0048b87a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x48fa3b
lea edi, [esi + 4]
cmp edi, 0xffffffff
jae 0x48f9de
push 0xfffffffffffffffb
pop eax
sub eax, esi
je 0x48f9de
cmp edi, 0xffffffef
jae 0x48f9de
push 0x332
push 0x741b24
lea eax, [esi + 0x14]
push 1
push eax
call fcn.005ed7c0
add esp, 0x10
jmp 0x48f9e0
mov eax, ebx
push ebx
push ebx
mov edx, edi
mov ecx, eax
call fcn.00484c1e
mov edi, dword [esp + 0x30]
mov esi, eax
push edi
push dword [esp + 0x20]
mov ecx, esi
mov edx, dword [esi - 0x10]
call section..text
push edi
mov edx, esi
xor ecx, ecx
call fcn.0049c11d
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov dword [edi + esi], eax
push dword [esi - 0x10]
mov ecx, dword [ecx + 0x1008]
push esi
call fcn.0048b87a
pop ecx
pop ecx
mov ecx, esi
mov edi, eax
call fcn.00484cd3
xor eax, eax
test edi, edi
je 0x48f97d
inc eax
jmp 0x48fa3d
mov eax, ebx
mov esi, dword [ebp + 0x10]
cmp dword [esp + 0x18], ebx
je 0x48fadb
cmp esi, dword [edi]
jb 0x48fadb
test eax, eax
jne 0x48fadf
mov eax, dword [esp + 0x1c]
push ebx
push dword [edi + 0x38]
push dword [eax]
call fcn.005e7d00
add esp, 0xc
test eax, eax
jne 0x48f97b
mov eax, dword [esp + 0x1c]
push dword [eax]
push dword [edi]
push 1
push dword [esp + 0x24]
call fcn.005f08b0
add esp, 0x10
test eax, eax
je 0x48f97b
mov edx, dword [edi]
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push eax
call fcn.004831af
lea edx, [esp + 0x2c]
mov ecx, ebx
mov eax, dword [edx + ecx*4]
cmp eax, dword [edi + ecx*4 + 4]
jne 0x48f97b
inc ecx
cmp ecx, 0xc
jne 0x48faa8
mov ecx, dword [edi]
cmp esi, ecx
jbe 0x48fac8
mov eax, dword [esp + 0x18]
mov byte [ecx + eax], bl
test esi, esi
je 0x48fad4
cmp esi, dword [edi]
jb 0x48fbb2
mov ebx, dword [edi]
jmp 0x48fbb2
test eax, eax
je 0x48fac8
mov ecx, dword [edi]
cmp ecx, 0xffffffff
jae 0x48fb0d
mov eax, ecx
not eax
test eax, eax
je 0x48fb0d
cmp ecx, 0xffffffef
jae 0x48fb0d
push 0x346
push 0x741b48
lea eax, [ecx + 0x10]
push 1
push eax
call fcn.005ed7c0
add esp, 0x10
jmp 0x48fb0f
mov eax, ebx
mov edx, dword [edi]
mov ecx, eax
push ebx
push ebx
call fcn.00484c1e
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x24]
push ebx
push dword [edi + 0x38]
mov dword [esp + 0x20], eax
push dword [esi]
call fcn.005e7d00
add esp, 0x14
test eax, eax
jne 0x48f97b
push dword [esi]
push dword [edi]
push 1
push dword [esp + 0x1c]
call fcn.005f08b0
add esp, 0x10
test eax, eax
je 0x48f97b
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.00449c54
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x48fbb9
call fcn.00484cd3
test esi, esi
jne 0x48fb89
mov eax, dword [esp + 0x14]
jmp 0x48f97d
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.004831af
lea edx, [esp + 0x2c]
mov ecx, ebx
mov eax, dword [edx + ecx*4]
cmp eax, dword [edi + ecx*4 + 4]
jne 0x48fbb2
inc ecx
cmp ecx, 0xc
jne 0x48fb9f
mov ebx, dword [esp + 0x14]
mov eax, ebx
jmp 0x48f97d
call fcn.00484cd3
jmp 0x48f97b