Function at 0x41aa60
Capabilities:
Check if file exists
Delete file
Get file attributes
Initialize winsock library
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc2bb
mov eax, dword fs:[0]
push eax
sub esp, 0x3a4
mov eax, dword [0x4f4164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x3a8]
mov esi, dword [ebp + 8]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test esi, esi
je 0x41aca0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aab3
sub ecx, edx
sar ecx, 1
je 0x41aca0
cmp word [esi], 0x2f
jne 0x41abeb
mov eax, str._ieyt
mov cx, word [esi]
cmp cx, word [eax]
jne 0x41aafd
test cx, cx
je 0x41aaf9
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x41aafd
add esi, 4
add eax, 4
test cx, cx
jne 0x41aad7
xor eax, eax
jmp 0x41ab02
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41aca0
call fcn.0044dbf0
lea eax, [ebp - 0x3ac]
push str.IDS_YAHOOTOOLBAR_MESSAGE
push eax
call fcn.0044cef0
lea eax, [ebp - 0x3b0]
mov dword [ebp - 4], 0
push str.IDS_SAFEPAY_FULL_PRODUCTNAME
push eax
call fcn.0044cef0
mov byte [ebp - 4], 1
call fcn.0044d610
mov esi, eax
call fcn.0044d620
push 0
push 1
push 0
push esi
push eax
push 0
push 0
push 2
push 2
push dword [ebp - 0x3b0]
push dword [ebp - 0x3ac]
call fcn.00402a80
add esp, 0x3c
cmp eax, 6
jne 0x41ab7d
call fcn.00411440
mov eax, 1
jmp 0x41ab82
mov eax, 2
mov dword [edi], eax
call fcn.00450740
mov ecx, dword [ebp - 0x3b0]
or ebx, 0xffffffff
add ecx, 0xfffffff0
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x41abb8
lfence
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c758c]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x3ac]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41aca0
lfence
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c758c]
mov ecx, edi
call esi
jmp 0x41aca0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41aca0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00495790
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x104
push eax
push 0
push str.command
push str.input
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ac40
sub ecx, edx
sar ecx, 1
je 0x41aca0
mov ecx, str.getprinterlist
lea eax, [ebp - 0x218]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ac86
test dx, dx
je 0x41ac82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ac86
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ac60
xor eax, eax
jmp 0x41ac8b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41ac99
push edi
push esi
call fcn.0041a870
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450df0
mov esp, ebp
pop ebp
ret