Function at 0x410cf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd4ae
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5293c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
push 1
push 0x64
push 0x4e2c30
push str.SoftwareSNBK
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_accept
push eax
mov dword [ebp - 0x4c], 1
call fcn.00401aa0
add esp, 0x18
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
je 0x410f0b
lea eax, [ebp - 0x28]
push 0x10
push eax
call fcn.004014b0
add esp, 8
push 1
push 0x5040d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402160
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402160
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x410edb
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x410edb
cmp dword [ebp - 0x14], 0xf
mov ecx, eax
mov edx, dword [esi + 0x14]
cmova ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
cmp edi, edx
ja 0x410e2a
mov dword [ebp - 0x44], esi
mov eax, esi
cmp edx, 0xf
jbe 0x410e10
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
push edi
push ecx
push eax
mov dword [esi + 0x10], edi
call fcn.004b76c0
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov byte [eax + edi], 0
jmp 0x410edb
cmp edi, 0x7fffffff
ja 0x410f5a
mov ecx, edi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x410e4a
mov ecx, closesocket
jmp 0x410e6e
mov eax, edx
shr eax, 1
mov dword [ebp - 0x44], eax
mov eax, closesocket
sub eax, dword [ebp - 0x44]
cmp edx, eax
jbe 0x410e64
mov ecx, closesocket
jmp 0x410e6e
mov eax, dword [ebp - 0x44]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ecx
push eax
push esi
call fcn.004038a0
push edi
push dword [ebp - 0x50]
mov ecx, eax
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 0x44]
push ecx
mov dword [ebp - 0x48], ecx
mov dword [esi + 0x14], eax
call fcn.004b76c0
mov ecx, dword [ebp - 0x48]
add esp, 0x14
mov eax, dword [ebp - 0x54]
mov byte [ecx + edi], 0
cmp eax, 0xf
jbe 0x410ed9
lea ecx, [eax + 1]
mov eax, dword [esi]
cmp ecx, 0x1000
jb 0x410ec8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f5f
mov eax, edx
push ecx
push eax
call fcn.004b5d1e
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [esi], eax
jmp 0x410edb
mov dword [esi], ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x410f0b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410f01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f5f
push ecx
push edx
call fcn.004b5d1e
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x410f3b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410f31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f64
push ecx
push edx
call fcn.004b5d1e
add esp, 8
mov eax, esi
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.004b5d2c
mov esp, ebp
pop ebp
ret 4
call fcn.00402b80
call fcn.004ba13f
call fcn.004ba13f
int3