Function at 0x528d10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b537b
mov eax, dword fs:[0]
push eax
mov eax, 0x1198
call fcn.00555090
mov eax, dword [0x616798]
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 - 0x10ab]
push 0x8c
xorps xmm0, xmm0
mov byte [ebp - 0x10cc], 0xc
push 0
inc edi
push eax
mov dword [esi + 0x110], edi
movups xmmword [ebp - 0x10cb], xmm0
movups xmmword [ebp - 0x10bb], xmm0
call fcn.00556fe0
add esp, 0xc
cmp dword [esi + 0x10c], 0
jne 0x52894a
cmp edi, 0x3e8
jle 0x52894a
push 0x98
call fcn.00554883
add esp, 4
mov dword [ebp - 0x11a4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x52885e
mov ecx, eax
call fcn.0043ec80
jmp 0x528860
xor eax, eax
push 9
push str.127.0.0.1
lea ecx, [ebp - 0x1018]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x108], eax
mov dword [ebp - 0x1008], 0
mov dword [ebp - 0x1004], 0xf
mov byte [ebp - 0x1018], 0
call fcn.00448440
mov ecx, dword [esi + 0x108]
lea eax, [ebp - 0x1018]
push 0xe5e
push eax
mov dword [ebp - 4], 1
call fcn.0043f980
lea ecx, [ebp - 0x1018]
mov byte [ebp - 0x117d], al
mov dword [ebp - 4], 0xffffffff
call fcn.00449200
cmp byte [ebp - 0x117d], 0
je 0x52894a
mov ecx, esi
mov dword [esi + 0x10c], 1
mov dword [esi + 0x110], 0
call fcn.0044c2c0
push eax
lea eax, [ebp - 0x10cb]
push str.robot_d
push eax
call fcn.0043d360
lea eax, [ebp - 0x10ab]
push str.robot
push eax
call fcn.0043d360
add esp, 0x14
mov dword [ebp - 0x101f], 0x402f5c29
call fcn.0044caa0
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x10cc]
push 0
push 0
mov dword [ebp - 0x1023], eax
mov eax, dword [ecx]
push edx
push 0xb1
call dword [eax + 4]
push 0x8c
xorps xmm0, xmm0
mov byte [ebp - 0x1000], 9
lea eax, [ebp - 0x115b]
mov byte [ebp - 0x1184], 0xf
push 0
push eax
mov byte [ebp - 0x117c], 0xb
movups xmmword [ebp - 0x117b], xmm0
movups xmmword [ebp - 0x116b], xmm0
call fcn.00556fe0
xor edi, edi
mov byte [ebp - 0x1190], 8
add esp, 0xc
mov dword [ebp - 0x119c], edi
mov dword [ebp - 0x1198], edi
mov dword [ebp - 0x1194], edi
mov ecx, dword [esi + 0x108]
mov dword [ebp - 4], 2
mov dword [ebp - 0x11a0], edi
test ecx, ecx
je 0x528c9d
mov eax, dword [ecx]
lea edx, [ebp - 0x1188]
push edi
push edi
push edx
push edi
call dword [eax + 8]
mov ecx, dword [esi + 0x108]
mov edi, dword [ebp - 0x119c]
test ecx, ecx
je 0x528c9d
mov edx, 0xfa0
mov edi, 0xc8
nop dword [eax]
mov eax, dword [ebp - 0x1188]
test eax, eax
jle 0x528c97
cmp eax, 0xfa0
cmovg eax, edx
lea edx, [ebp - 0x119c]
push edx
lea edx, [ebp - 0x11a0]
mov dword [ebp - 0x1188], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x1188]
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.0x528a47.6
movzx eax, byte [eax + 0x528d10]
jmp dword [eax*4 + 0x528d00]
mov ecx, dword [ebp - 0xfaf]
cmp ecx, 1
jl 0x528a5e
cmp ecx, 3
jle 0x528a66
lea eax, [ecx - 5]
cmp eax, 1
ja 0x528a9e
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x528a76
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.005619b8
cdq
idiv edi
mov ecx, dword [ebp - 0xfaf]
mov dword [esi + 0x110], edx
cmp ecx, 4
jne case.0x528a47.6
mov ecx, esi
call fcn.0044c2c0
push eax
lea eax, [ebp - 0x117b]
push str.robot_d
push eax
call fcn.0043d360
lea eax, [ebp - 0x115b]
push str.robot
push eax
call fcn.0043d360
add esp, 0x14
call fcn.0044caa0
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x117c]
push 0
push 0
mov dword [ebp - 0x10d3], eax
mov eax, dword [ecx]
push edx
push 0xad
call dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0xfff], 0
call fcn.0044c2c0
push eax
lea eax, [ebp - 0xfe4]
push str.robot_d
push eax
call fcn.0043d360
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x1000]
add esp, 0xc
mov dword [ebp - 0xfed], 0x32323232
mov word [ebp - 0xfef], 0x3232
mov dword [ebp - 0xfe8], 0x3232
mov byte [ebp - 0xfe9], 0x32
push 0
push 0
mov dword [ebp - 0xff7], 0
mov dword [ebp - 0xffb], 0
mov dword [ebp - 0xff3], 0
mov word [ebp - 0xfc3], 0
mov byte [ebp - 0xfc4], 0
mov eax, dword [ecx]
push edx
push 0x4d
call dword [eax + 4]
mov dword [esi + 0x10c], 3
mov dword [esi + 0x110], 0
jmp case.0x528a47.6
mov eax, dword [ebp - 0xfaf]
lea edx, [ebp - 0x1184]
push 0
push 0
push edx
mov dword [esi + 0x114], eax
mov byte [ebp - 0x1183], 0
push 2
jmp 0x528c5d
cmp dword [esi + 0x10c], 2
je 0x528beb
mov dword [esi + 0x10c], 2
call fcn.005619b8
cdq
idiv edi
mov dword [esi + 0x110], edx
jmp 0x528bf1
mov edx, dword [esi + 0x110]
cmp edx, 0x7d0
jle 0x528c2d
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x528c09
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.005619b8
cdq
idiv edi
mov dword [esi + 0x110], edx
jmp case.0x528a47.6
mov eax, dword [esi + 0x114]
mov dword [ebp - 0x118f], eax
call fcn.005619b8
and eax, reloc.WS2_32.dll_closesocket
jns 0x528c4a
dec eax
or eax, 0xfffffffc
inc eax
push 0
push 0
lea edx, [ebp - 0x1190]
mov byte [ebp - 0x118b], 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 0x528c8c
mov eax, dword [ecx]
lea edx, [ebp - 0x1188]
push 0
push 0
push edx
push 0
call dword [eax + 8]
mov ecx, dword [esi + 0x108]
test ecx, ecx
mov edx, 0xfa0
jne 0x5289f0
mov edi, dword [ebp - 0x119c]
test edi, edi
je 0x528ce0
mov ecx, dword [ebp - 0x1194]
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 0x528cd6
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x528cfb
push ecx
push edi
call fcn.005548b3
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.005548c1
mov esp, ebp
pop ebp
ret
call fcn.00580f37
enter 0x528b, 0
mov dword [1308643979], eax
mov dl, byte [edx]
push 0x528c
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 0x5b53e5
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x616798]
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.00457ca0
lea eax, [ebp - 0x1a0]
mov dword [edi], vtable.RobotMode.0
push eax
mov dword [0x61b4e4], 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.00554883
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x528ded
push str.ROBOT
push 0
mov ecx, eax
call fcn.00528570
jmp 0x528def
xor eax, eax
push eax
mov ecx, 0x61b4d4
mov byte [ebp - 4], 0
call fcn.0044daf0
mov esi, 1
push 0x118
call fcn.00554883
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x528e2d
push str.ROBOT
push esi
mov ecx, eax
call fcn.00528570
jmp 0x528e2f
xor eax, eax
push eax
mov ecx, 0x61b4d4
mov byte [ebp - 4], 0
call fcn.0044daf0
inc esi
cmp esi, 0x14
jl 0x528e03
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.005548c1
mov esp, ebp
pop ebp
ret 8