Function at 0x526fb0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb230
mov eax, dword fs:[0]
push eax
mov eax, 0x1194
call fcn.00559130
mov eax, dword [0x62a780]
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, ecx
mov edi, dword [esi + 0x110]
lea eax, [ebp - 0x10a7]
push 0x88
xorps xmm0, xmm0
mov byte [ebp - 0x10c8], 0xc
push 0
inc edi
mov dword [ebp - 0x101f], 0
push eax
mov dword [esi + 0x110], edi
movups xmmword [ebp - 0x10c7], xmm0
movups xmmword [ebp - 0x10b7], xmm0
call fcn.0055b250
add esp, 0xc
cmp dword [esi + 0x10c], 0
jne 0x526be7
cmp edi, 0x3e8
jle 0x526be7
push 0x98
call fcn.00558849
add esp, 4
mov dword [ebp - 0x11a0], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x526aaa
mov ecx, eax
call fcn.0043ee50
mov ecx, eax
jmp 0x526aac
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esi + 0x108], ecx
mov al, byte [0x5e5fe4]
movups xmmword [ebp - 0xfc8], xmm0
mov dword [ebp - 0xfb8], 9
movq xmm0, qword [str.127.0.0.1]
mov dword [ebp - 0xfb4], 0xf
movq qword [ebp - 0xfc8], xmm0
mov byte [ebp - 0xfc0], al
mov byte [ebp - 0xfbf], 0
push 0xe5e
lea eax, [ebp - 0xfc8]
mov dword [ebp - 4], 1
push eax
call fcn.0043fcb0
mov ecx, dword [ebp - 0xfb4]
mov byte [ebp - 0x1179], al
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x526b57
mov edx, dword [ebp - 0xfc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x526b47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526f95
push ecx
push edx
call fcn.00558879
mov al, byte [ebp - 0x1179]
add esp, 8
mov dword [ebp - 0xfb8], 0
mov dword [ebp - 0xfb4], 0xf
mov byte [ebp - 0xfc8], 0
test al, al
je 0x526be7
mov ecx, esi
mov dword [esi + 0x10c], 1
mov dword [esi + 0x110], 0
call fcn.0044cd10
push eax
lea eax, [ebp - 0x10c7]
push str.robot_d
push eax
call fcn.0043d370
lea eax, [ebp - 0x10a7]
push str.robot
push eax
call fcn.0043d370
add esp, 0x14
mov dword [ebp - 0x101b], 0x402e147b
call fcn.0044d310
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x10c8]
push 0
push 0
mov dword [ebp - 0x101f], eax
mov eax, dword [ecx]
push edx
push 0xb1
call dword [eax + 4]
push 0x88
xorps xmm0, xmm0
mov byte [ebp - 0x1014], 9
lea eax, [ebp - 0x1157]
mov byte [ebp - 0x1180], 0xf
push 0
push eax
mov byte [ebp - 0x1178], 0xb
mov dword [ebp - 0x10cf], 0
movups xmmword [ebp - 0x1177], xmm0
movups xmmword [ebp - 0x1167], xmm0
call fcn.0055b250
xor edi, edi
mov byte [ebp - 0x118c], 8
add esp, 0xc
mov dword [ebp - 0x1198], edi
mov dword [ebp - 0x1194], edi
mov dword [ebp - 0x1190], edi
mov ecx, dword [esi + 0x108]
mov dword [ebp - 4], 2
mov dword [ebp - 0x119c], edi
test ecx, ecx
je 0x526c74
mov eax, dword [ecx]
lea edx, [ebp - 0x1184]
push edi
push edi
push edx
push edi
call dword [eax + 8]
mov edi, dword [ebp - 0x1198]
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x526f37
mov edi, 0xc8
nop word [eax + eax]
mov eax, dword [ebp - 0x1184]
test eax, eax
jle 0x526f31
cmp eax, 0xfa0
jle 0x526caf
mov dword [ebp - 0x1184], 0xfa0
mov eax, dword [ecx]
lea edx, [ebp - 0x1198]
push edx
lea edx, [ebp - 0x119c]
push edx
lea edx, [ebp - 0x1184]
push edx
lea edx, [ebp - 0xfb0]
push edx
call dword [eax + 8]
movsx eax, byte [ebp - 0xfb0]
add eax, 0xfffffffb
cmp eax, 0x2f
ja case.0x526cea.6
movzx eax, byte [eax + 0x526fb0]
jmp dword [eax*4 + 0x526fa0]
mov ecx, dword [ebp - 0xfaf]
cmp ecx, 1
jl 0x526d01
cmp ecx, 3
jle 0x526d09
lea eax, [ecx - 5]
cmp eax, 1
ja 0x526d41
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x526d19
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.00568035
cdq
idiv edi
mov ecx, dword [ebp - 0xfaf]
mov dword [esi + 0x110], edx
cmp ecx, 4
jne case.0x526cea.6
mov ecx, esi
call fcn.0044cd10
push eax
lea eax, [ebp - 0x1177]
push str.robot_d
push eax
call fcn.0043d370
lea eax, [ebp - 0x1157]
push str.robot
push eax
call fcn.0043d370
add esp, 0x14
call fcn.0044d310
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x1178]
push 0
push 0
mov dword [ebp - 0x10cf], eax
mov eax, dword [ecx]
push edx
push 0xad
call dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x1013], 0
call fcn.0044cd10
push eax
lea eax, [ebp - 0xff8]
push str.robot_d
push eax
call fcn.0043d370
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x1014]
add esp, 0xc
mov dword [ebp - 0x1001], 0x32323232
mov word [ebp - 0x1003], 0x3232
mov dword [ebp - 0xffc], 0x3232
mov byte [ebp - 0xffd], 0x32
push 0
push 0
mov dword [ebp - 0x100b], 0
mov dword [ebp - 0x100f], 0
mov dword [ebp - 0x1007], 0
mov word [ebp - 0xfd7], 0
mov byte [ebp - 0xfd8], 0
mov eax, dword [ecx]
push edx
push 0x49
call dword [eax + 4]
mov dword [esi + 0x10c], 3
mov dword [esi + 0x110], 0
jmp case.0x526cea.6
mov eax, dword [ebp - 0xfaf]
lea edx, [ebp - 0x1180]
push 0
push 0
push edx
mov dword [esi + 0x114], eax
mov byte [ebp - 0x117f], 0
push 2
jmp 0x526efc
cmp dword [esi + 0x10c], 2
je 0x526e8c
mov dword [esi + 0x10c], 2
call fcn.00568035
cdq
idiv edi
mov dword [esi + 0x110], edx
cmp dword [esi + 0x110], 0x7d0
jle 0x526ecc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x526ea8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.00568035
cdq
idiv edi
mov dword [esi + 0x110], edx
jmp case.0x526cea.6
mov eax, dword [esi + 0x114]
mov dword [ebp - 0x118b], eax
call fcn.00568035
and eax, reloc.WS2_32.dll_closesocket
jns 0x526ee9
dec eax
or eax, 0xfffffffc
inc eax
push 0
push 0
lea edx, [ebp - 0x118c]
mov byte [ebp - 0x1187], al
push edx
push 6
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x526f23
mov eax, dword [ecx]
lea edx, [ebp - 0x1184]
push 0
push 0
push edx
push 0
call dword [eax + 8]
mov ecx, dword [esi + 0x108]
test ecx, ecx
jne 0x526c90
mov edi, dword [ebp - 0x1198]
test edi, edi
je 0x526f7a
mov ecx, dword [ebp - 0x1190]
mov eax, 0x66666667
sub ecx, edi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x526f70
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x526f9a
push ecx
push edi
call fcn.00558879
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.00558887
mov esp, ebp
pop ebp
ret
call fcn.0058ffe0
call fcn.0058ffe0
nop
imul ebp, dword [esi + 0x52], 0
inc esi
outsb dx, byte [esi]
push edx
add cl, dh
insb byte es:[edi], dx
push edx
add byte [edi], al
outsd dx, dword [esi]
push edx
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add byte [ebp - 117], dl
in al, dx
push 0xffffffffffffffff
push 0x5cb29a
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x62a780]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1a4], edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, edi
mov dword [ebp - 0x1a8], edi
call fcn.00459090
lea eax, [ebp - 0x1a0]
mov dword [edi], vtable.RobotMode.0
push eax
mov dword [0x62f614], edi
push 0x202
mov dword [ebp - 4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
call sub.WS2_32.dll_WSAStartup
push 0x118
call fcn.00558849
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x52708d
push str.ROBOT
push 0
mov ecx, eax
call fcn.005267a0
jmp 0x52708f
xor eax, eax
push eax
mov ecx, 0x62f604
mov byte [ebp - 4], 0
call fcn.0044e1c0
mov esi, 1
push 0x118
call fcn.00558849
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x5270cd
push str.ROBOT
push esi
mov ecx, eax
call fcn.005267a0
jmp 0x5270cf
xor eax, eax
push eax
mov ecx, 0x62f604
mov byte [ebp - 4], 0
call fcn.0044e1c0
inc esi
cmp esi, 0x14
jl 0x5270a3
mov eax, edi
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.00558887
mov esp, ebp
pop ebp
ret 8