Function at 0x410811
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x1c
call fcn.00415573
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x109
call fcn.00415573
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x42ffbc
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x89
call fcn.00415573
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x42ffc4
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x81
rep stosb byte es:[edi], al
mov dword [ebp - 8], 0
push 0x14
call fcn.00415573
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
cmp dword [0x4302af], 0
jne 0x410a5b
push 0x80000004
push 0
push 0x42ff69
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4108f3
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x198
call fcn.00415f00
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410919
push ebx
call fcn.0041556d
add esp, 4
call fcn.00403954
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 2
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41095a
mov eax, 0x42625b
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41096e
mov eax, 0x42625c
push eax
push 3
mov ebx, 0x10
mov eax, 0x418620
call fcn.00415980
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410999
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4109a9
push ebx
call fcn.0041556d
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4109bc
mov eax, 0x42625c
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4109e2
push ebx
call fcn.0041556d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403965
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4109fe
push ebx
call fcn.0041556d
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x410a11
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410a37
push ebx
call fcn.0041556d
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.00403cc8
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410a53
push ebx
call fcn.0041556d
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [0x4302af], eax
mov eax, dword [ebp - 4]
push eax
push 0x18e
call fcn.00415573
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.004158e0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x410b34
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x410b32
imul eax, dword [edi]
jmp 0x410b27
mov ecx, eax
cmp ecx, 0x101
jle 0x410b41
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.004158e0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x410b7f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x410b7d
imul eax, dword [edi]
jmp 0x410b72
mov ecx, eax
cmp ecx, 0x81
jle 0x410b8c
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x81
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0041556d
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4111df
push 0x80000004
push 0
push 0x42ff83
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x410c05
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x198
call fcn.00415f00
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x410c2b
push ebx
call fcn.0041556d
add esp, 4
call fcn.00403954
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 2
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x410c6c
mov eax, 0x42625b
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x410c80
mov eax, 0x42625c
push eax
push 3
mov ebx, 0x10
mov eax, 0x418620
call fcn.00415980
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410cab
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410cbb
push ebx
call fcn.0041556d
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x410cce
mov eax, 0x42625c
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x410cf4
push ebx
call fcn.0041556d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403965
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x410d10
push ebx
call fcn.0041556d
add esp, 4
lea eax, [ebp - 0x2c]
push eax
push dword [0x4302af]
call fcn.0040404e
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x410d32
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0x30]
call fcn.00404496
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x411076
push 0x10
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push eax
push 0x10
call fcn.00415573
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0041556d
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0x14], ebx
push 0x80000301
push 0
push 4
push 0x80000301
push 0
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.00416300
add esp, 0x1c
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x410e4d
mov eax, 0x42625c
push eax
push 3
mov ebx, 0x19c
call fcn.00416490
add esp, 0x28
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x410e79
push ebx
call fcn.0041556d
add esp, 4
push 0x80000301
push 0
push 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp ecx, 0x80000101
jne 0x410e9d
and eax, 0xff
jmp 0x410ef2
cmp ecx, 0x80000201
jne 0x410ea8
cwde
jmp 0x410ef2
cmp ecx, 0x80000301
je 0x410ef2
cmp ecx, 0x80000401
je 0x410ef2
mov dword [ebp - 0x2c], eax
cmp ecx, 0x80000501
je 0x410ee2
cmp ecx, 0x80000601
je 0x410ee7
push 0x347
push 0x4029d16
push 2
call fcn.00415585
add esp, 0xc
fld dword [ebp - 0x2c]
jmp 0x410eed
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.00403ad2
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x910
call fcn.00416300
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x410f23
push ebx
call fcn.0041556d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x14]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x1c]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x24]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 3
add ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x2c]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x42ffa0
push dword [ebp - 0x28]
push 0x42ffa0
push dword [ebp - 0x20]
push 0x42ffa0
push dword [ebp - 0x18]
mov ecx, 7
call fcn.0040109b
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41103e
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41104e
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41105e
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41106e
push ebx
call fcn.0041556d
add esp, 4
mov eax, dword [ebp - 0x34]
jmp 0x411208
push 0x80000004
push 0
push 0x42ffa2
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4110aa
mov eax, 0x42625b
push eax
push 1
mov ebx, 0x198
call fcn.00415f00
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4110d0
push ebx
call fcn.0041556d
add esp, 4
call fcn.00403954
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 2
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x411111
mov eax, 0x42625b
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x411125
mov eax, 0x42625c
push eax
push 3
mov ebx, 0x10
mov eax, 0x418620
call fcn.00415980
add esp, 0x28
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x411150
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x411160
push ebx
call fcn.0041556d
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x411173
mov eax, 0x42625c
push eax
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x411199
push ebx
call fcn.0041556d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403965
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4111b5
push ebx
call fcn.0041556d
add esp, 4
lea eax, [ebp - 0x2c]
push eax
push dword [0x4302af]
call fcn.0040404e
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4111d7
push ebx
call fcn.0041556d
add esp, 4
push dword [ebp - 0x30]
call fcn.00404475
push 0xa0000301
push 0
push 0x42625c
push 1
mov ebx, 0x168
call fcn.00415a90
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x411208
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041556d
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041556d
add esp, 4
pop ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041556d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x411251
push ebx
call fcn.0041556d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4