Function at 0x47e560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8dc7
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x52de04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
cmp dword [0x6ac120], 0
mov dword [ebp - 4], 0
je 0x47e5b2
call fcn.0047e440
cmp dword [0x6ac120], 0
jne 0x47e77c
lea eax, [ebp - 0x28]
push eax
call fcn.0047e4a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.0041d2e0
add esp, 0xc
test eax, eax
jne 0x47e63d
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00442df0
mov ecx, dword [0x6ac124]
add esp, 4
mov edi, eax
test ecx, ecx
je 0x47e602
push ecx
call fcn.00417300
add esp, 4
push edi
call fcn.00417230
cmp dword [ebp - 0x14], 0x10
mov dword [0x6ac124], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x4fda68
push eax
call fcn.0041d3a0
mov esi, eax
push esi
push edi
push 1
push dword [0x6ac124]
call fcn.004c37de
push esi
call fcn.004c35d5
add esp, 0x20
push 0x4200e4
call fcn.0049c406
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x47e745
push dword [0x6ac124]
xorps xmm0, xmm0
lea ecx, [ebp + 0xc]
sub esp, 0x18
mov edi, esp
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0x1c]
cmovae ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, 0x7fffffff
ja 0x47e7c7
mov dword [edi + 0x14], 0xf
cmp eax, 0x10
jae 0x47e6be
mov dword [edi + 0x10], eax
movups xmm0, xmmword [ecx]
mov ecx, dword [ebp - 0x38]
push 1
push dword [ebp - 0x34]
movups xmmword [edi], xmm0
call fcn.004800a0
jmp 0x47e747
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x47e6e5
mov ecx, connect
mov esi, closesocket
push ecx
call fcn.004020c0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x47e720
mov ecx, 0x16
cmp esi, ecx
cmovb esi, ecx
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x47e70a
push ecx
call fcn.004020c0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x47e720
test ecx, ecx
je 0x47e71e
push ecx
call fcn.0049c406
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x47e720
xor ecx, ecx
mov dword [edi + 0x10], eax
inc eax
push eax
push dword [ebp - 0x30]
mov dword [edi], ecx
push ecx
mov dword [edi + 0x14], esi
call fcn.004b8680
mov ecx, dword [ebp - 0x38]
add esp, 0xc
push 1
push dword [ebp - 0x34]
call fcn.004800a0
jmp 0x47e747
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [0x6ac120], eax
cmp ecx, 0x10
jb 0x47e77c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47e772
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e7cc
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x47e7ac
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47e7a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e7d1
push ecx
push edx
call fcn.004b3acc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f28
mov esp, ebp
pop ebp
ret
call fcn.00402bf0
call fcn.004c342f
call fcn.004c342f
int3