Function at 0x41aa80
Capabilities:
Initialize winsock library

Disassembly:
push edi
push ebx
sub esp, 0x1a4
mov dword [esp], str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x41ae65
mov dword [esp + 4], str.CancelIo
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
mov dword [0x84f368], eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 4
mov dword [esp], 0x64
mov ebx, 0x64
call fcn.005c2e50
test al, 1
mov edx, eax
mov edi, eax
jne 0x41aec7
test edi, 2
jne 0x41ae93
mov ecx, ebx
xor eax, eax
shr ecx, 2
test bl, 2
rep stosd dword es:[edi], eax
je 0x41ab06
mov word [edi], 0
add edi, 2
and ebx, 1
je 0x41ab0e
mov byte [edi], 0
mov dword [edx], 0x6afe72
mov ebx, 0x64
mov dword [edx + 4], 0
mov dword [edx + 8], 0x41a6c0
mov dword [edx + 0xc], 0x41a9b0
mov dword [edx + 0x1c], 0x41a690
mov dword [edx + 0x20], 0x41a660
mov dword [edx + 0x24], 0x41a600
mov dword [edx + 0x2c], 0x418530
mov dword [edx + 0x30], 0x418540
mov dword [edx + 0x34], 0x418550
mov dword [edx + 0x38], 0x418570
mov dword [edx + 0x3c], 0x418560
mov dword [edx + 0x28], 0x41a550
mov dword [edx + 0x40], 0x41a4f0
mov dword [edx + 0x44], 0x41a450
mov dword [edx + 0x48], 0x41a420
mov dword [edx + 0x14], 0x418430
mov dword [edx + 0x18], 0x418460
mov dword [edx + 0x4c], 0x4185a0
mov dword [edx + 0x50], 0x41a2d0
mov dword [edx + 0x54], 0x41a1d0
mov dword [edx + 0x5c], 0x41a030
mov dword [esp], edx
call fcn.0058ffa0
mov dword [esp], 0x64
call fcn.005c2e50
test al, 1
mov edx, eax
mov edi, eax
jne 0x41aea3
test edi, 2
jne 0x41aeb7
mov ecx, ebx
xor eax, eax
shr ecx, 2
test bl, 2
rep stosd dword es:[edi], eax
je 0x41abee
mov word [edi], 0
add edi, 2
and ebx, 1
je 0x41abf6
mov byte [edi], 0
mov dword [edx], 0x6afe7b
mov ebx, 0x64
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0x419200
mov dword [edx + 0x2c], 0x419bb0
mov dword [edx + 0x30], 0x418540
mov dword [edx + 0x34], 0x418550
mov dword [edx + 0x38], 0x418570
mov dword [edx + 0x3c], 0x418560
mov dword [edx + 0x48], 0x418510
mov dword [edx + 0x5c], 0x419be0
mov dword [edx + 0x60], 0x418fa0
mov dword [esp], edx
call fcn.0058ffa0
mov dword [esp], 0x64
call fcn.005c2e50
test al, 1
mov edx, eax
mov edi, eax
jne 0x41aee4
test edi, 2
jne 0x41aed4
mov ecx, ebx
xor eax, eax
shr ecx, 2
test bl, 2
rep stosd dword es:[edi], eax
je 0x41ac89
mov word [edi], 0
add edi, 2
and ebx, 1
je 0x41ac91
mov byte [edi], 0
mov dword [edx], 0x6afe84
mov dword [edx + 4], 0
mov dword [edx + 8], 0x4199f0
mov dword [edx + 0xc], 0x4199d0
mov dword [edx + 0x10], 0x419950
mov dword [edx + 0x14], 0x418430
mov dword [edx + 0x18], 0x418460
mov dword [edx + 0x1c], 0x4184c0
mov dword [edx + 0x20], 0x4184d0
mov dword [edx + 0x24], 0x418500
mov dword [edx + 0x28], 0x418520
mov dword [edx + 0x2c], 0x418530
mov dword [edx + 0x30], 0x418540
mov dword [edx + 0x34], 0x418550
mov dword [edx + 0x38], 0x418570
mov dword [edx + 0x3c], 0x418560
mov dword [edx + 0x40], 0x418580
mov dword [edx + 0x44], 0x418590
mov dword [edx + 0x48], 0x418510
mov dword [edx + 0x4c], 0x4185a0
mov dword [edx + 0x50], 0x419800
mov dword [edx + 0x54], 0x419790
mov dword [edx + 0x5c], 0x4193f0
mov dword [edx + 0x60], 0x418f50
mov dword [edx + 0x58], 0x419620
mov dword [esp], edx
call fcn.0058ffa0
lea eax, [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], 1
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 8
test eax, eax
je 0x41ad70
add esp, 0x1a4
pop ebx
pop edi
ret
mov dword [esp], 0x64
mov ebx, 0x64
call fcn.005c2e50
test al, 1
mov edx, eax
mov edi, eax
jne 0x41af01
test edi, 2
jne 0x41aef1
mov ecx, ebx
xor eax, eax
shr ecx, 2
test bl, 2
rep stosd dword es:[edi], eax
jne 0x41ae80
and ebx, 1
jne 0x41ae74
mov dword [edx], 0x6afe89
mov dword [edx + 4], 0
mov dword [edx + 8], 0x41a890
mov dword [edx + 0xc], 0x419230
mov dword [edx + 0x14], 0x418430
mov dword [edx + 0x18], 0x418460
mov dword [edx + 0x1c], 0x4184c0
mov dword [edx + 0x20], 0x4184d0
mov dword [edx + 0x24], 0x418d00
mov dword [edx + 0x28], 0x418520
mov dword [edx + 0x2c], 0x418530
mov dword [edx + 0x30], 0x418540
mov dword [edx + 0x34], 0x418550
mov dword [edx + 0x38], 0x418570
mov dword [edx + 0x3c], 0x418560
mov dword [edx + 0x40], 0x418580
mov dword [edx + 0x44], 0x418590
mov dword [edx + 0x48], 0x418510
mov dword [edx + 0x4c], 0x4185a0
mov dword [edx + 0x50], 0x418c80
mov dword [edx + 0x54], 0x418cc0
mov dword [edx + 0x5c], 0x419030
mov dword [edx + 0x60], 0x418f00
mov dword [esp], edx
call fcn.0058ffa0
add esp, 0x1a4
pop ebx
pop edi
ret
mov dword [0x84f368], 0
jmp 0x41aac7
mov byte [edi], 0
jmp 0x41adb4
mov word [edi], 0
add edi, 2
and ebx, 1
je 0x41adb4
jmp 0x41ae74
mov word [edi], 0
sub ebx, 2
add edi, 2
jmp 0x41aaf0
lea edi, [eax + 1]
mov bl, 0x63
test edi, 2
mov byte [eax], 0
je 0x41abd8
mov word [edi], 0
sub ebx, 2
add edi, 2
jmp 0x41abd8
mov byte [eax], 0
lea edi, [eax + 1]
mov bl, 0x63
jmp 0x41aae4
mov word [edi], 0
sub ebx, 2
add edi, 2
jmp 0x41ac73
mov byte [eax], 0
lea edi, [eax + 1]
mov bl, 0x63
jmp 0x41ac67
mov word [edi], 0
sub ebx, 2
add edi, 2
jmp 0x41ad99
mov byte [eax], 0
lea edi, [eax + 1]
mov bl, 0x63
jmp 0x41ad8d