Function at 0x52e6b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1fe0
mov eax, dword fs:[0]
push eax
mov eax, 0x1198
call fcn.0055fcd0
mov eax, dword [0x6327e8]
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 0x88
xorps xmm0, xmm0
mov byte [ebp - 0x10cc], 0xc
push 0
inc edi
mov dword [ebp - 0x1023], 0
push eax
mov dword [esi + 0x110], edi
movups xmmword [ebp - 0x10cb], xmm0
movups xmmword [ebp - 0x10bb], xmm0
call fcn.00561e20
add esp, 0xc
cmp dword [esi + 0x10c], 0
jne 0x52e2e7
cmp edi, 0x3e8
jle 0x52e2e7
push 0x98
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x11a4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x52e1aa
mov ecx, eax
call fcn.0043ee70
mov ecx, eax
jmp 0x52e1ac
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esi + 0x108], ecx
mov al, byte [0x5ee424]
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 - 0x117d], al
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x52e257
mov edx, dword [ebp - 0xfc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x52e247
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52e695
push ecx
push edx
call fcn.0055f41a
mov al, byte [ebp - 0x117d]
add esp, 8
mov dword [ebp - 0xfb8], 0
mov dword [ebp - 0xfb4], 0xf
mov byte [ebp - 0xfc8], 0
test al, al
je 0x52e2e7
mov ecx, esi
mov dword [esi + 0x10c], 1
mov dword [esi + 0x110], 0
call fcn.0044cdf0
push eax
lea eax, [ebp - 0x10cb]
push str.robot_d
push eax
call fcn.0043d380
lea eax, [ebp - 0x10ab]
push str.robot
push eax
call fcn.0043d380
add esp, 0x14
mov dword [ebp - 0x101f], 0x402f5c29
call fcn.0044d3f0
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 0x88
xorps xmm0, xmm0
mov byte [ebp - 0x1018], 9
lea eax, [ebp - 0x115b]
mov byte [ebp - 0x1184], 0xf
push 0
push eax
mov byte [ebp - 0x117c], 0xb
mov dword [ebp - 0x10d3], 0
movups xmmword [ebp - 0x117b], xmm0
movups xmmword [ebp - 0x116b], xmm0
call fcn.00561e20
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 0x52e374
mov eax, dword [ecx]
lea edx, [ebp - 0x1188]
push edi
push edi
push edx
push edi
call dword [eax + 8]
mov edi, dword [ebp - 0x119c]
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x52e637
mov edi, 0xc8
nop word [eax + eax]
mov eax, dword [ebp - 0x1188]
test eax, eax
jle 0x52e631
cmp eax, 0xfa0
jle 0x52e3af
mov dword [ebp - 0x1188], 0xfa0
mov eax, dword [ecx]
lea edx, [ebp - 0x119c]
push edx
lea edx, [ebp - 0x11a0]
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.0x52e3ea.6
movzx eax, byte [eax + 0x52e6b0]
jmp dword [eax*4 + 0x52e6a0]
mov ecx, dword [ebp - 0xfaf]
cmp ecx, 1
jl 0x52e401
cmp ecx, 3
jle 0x52e409
lea eax, [ecx - 5]
cmp eax, 1
ja 0x52e441
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x52e419
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.0056eac9
cdq
idiv edi
mov ecx, dword [ebp - 0xfaf]
mov dword [esi + 0x110], edx
cmp ecx, 4
jne case.0x52e3ea.6
mov ecx, esi
call fcn.0044cdf0
push eax
lea eax, [ebp - 0x117b]
push str.robot_d
push eax
call fcn.0043d380
lea eax, [ebp - 0x115b]
push str.robot
push eax
call fcn.0043d380
add esp, 0x14
call fcn.0044d3f0
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 - 0x1017], 0
call fcn.0044cdf0
push eax
lea eax, [ebp - 0xffc]
push str.robot_d
push eax
call fcn.0043d380
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x1018]
add esp, 0xc
mov dword [ebp - 0x1005], 0x32323232
mov word [ebp - 0x1007], 0x3232
mov dword [ebp - 0x1000], 0x3232
mov byte [ebp - 0x1001], 0x32
push 0
push 0
mov dword [ebp - 0x100f], 0
mov dword [ebp - 0x1013], 0
mov dword [ebp - 0x100b], 0
mov word [ebp - 0xfdb], 0
mov byte [ebp - 0xfdc], 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.0x52e3ea.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 0x52e5fc
cmp dword [esi + 0x10c], 2
je 0x52e58c
mov dword [esi + 0x10c], 2
call fcn.0056eac9
cdq
idiv edi
mov dword [esi + 0x110], edx
cmp dword [esi + 0x110], 0x7d0
jle 0x52e5cc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x52e5a8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.0056eac9
cdq
idiv edi
mov dword [esi + 0x110], edx
jmp case.0x52e3ea.6
mov eax, dword [esi + 0x114]
mov dword [ebp - 0x118f], eax
call fcn.0056eac9
and eax, reloc.WS2_32.dll_closesocket
jns 0x52e5e9
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 0x52e623
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
jne 0x52e390
mov edi, dword [ebp - 0x119c]
test edi, edi
je 0x52e67a
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 0x52e670
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52e69a
push ecx
push edi
call fcn.0055f41a
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.0055f428
mov esp, ebp
pop ebp
ret
call fcn.00596a80
call fcn.00596a80
nop
imul esp, ebp, 0x52
add byte [esi - 27], al
push edx
add cl, dh
jecxz 0x52e6fd
add byte [edi], al
out 0x52, al
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 0x5d204a
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x6327e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
lds ecx, [ecx + 0x5756f045]
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.00459380
lea eax, [ebp - 0x1a0]
mov dword [edi], vtable.RobotMode.0
push eax
mov dword [0x63761c], 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.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x52e78d
push str.ROBOT
push 0
mov ecx, eax
call fcn.0052dea0
jmp 0x52e78f
xor eax, eax
push eax
mov ecx, 0x63760c
mov byte [ebp - 4], 0
call fcn.0044e390
mov esi, 1
push 0x118
call fcn.0055f3ea
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x52e7cd
push str.ROBOT
push esi
mov ecx, eax
call fcn.0052dea0
jmp 0x52e7cf
xor eax, eax
push eax
mov ecx, 0x63760c
mov byte [ebp - 4], 0
call fcn.0044e390
inc esi
cmp esi, 0x14
jl 0x52e7a3
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.0055f428
mov esp, ebp
pop ebp
ret 8