Function at 0x5291b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc930
mov eax, dword fs:[0]
push eax
mov eax, 0x1194
call fcn.0055a790
mov eax, dword [0x62b768]
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.0055c8e0
add esp, 0xc
cmp dword [esi + 0x10c], 0
jne 0x528df7
cmp edi, 0x3e8
jle 0x528df7
push 0x98
call fcn.00559eaa
add esp, 4
mov dword [ebp - 0x11a0], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x528cba
mov ecx, eax
call fcn.0043ee70
mov ecx, eax
jmp 0x528cbc
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esi + 0x108], ecx
mov al, byte [0x5d22f4]
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.0043fd00
mov ecx, dword [ebp - 0xfb4]
mov byte [ebp - 0x1179], al
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x528d67
mov edx, dword [ebp - 0xfc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x528d57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5291a5
push ecx
push edx
call fcn.00559eda
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 0x528df7
mov ecx, esi
mov dword [esi + 0x10c], 1
mov dword [esi + 0x110], 0
call fcn.0044ce90
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.0044d490
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.0055c8e0
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 0x528e84
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 0x529147
mov edi, 0xc8
nop word [eax + eax]
mov eax, dword [ebp - 0x1184]
test eax, eax
jle 0x529141
cmp eax, 0xfa0
jle 0x528ebf
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.0x528efa.6
movzx eax, byte [eax + 0x5291c0]
jmp dword [eax*4 + 0x5291b0]
mov ecx, dword [ebp - 0xfaf]
cmp ecx, 1
jl 0x528f11
cmp ecx, 3
jle 0x528f19
lea eax, [ecx - 5]
cmp eax, 1
ja 0x528f51
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x528f29
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.00569587
cdq
idiv edi
mov ecx, dword [ebp - 0xfaf]
mov dword [esi + 0x110], edx
cmp ecx, 4
jne case.0x528efa.6
mov ecx, esi
call fcn.0044ce90
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.0044d490
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.0044ce90
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.0x528efa.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 0x52910c
cmp dword [esi + 0x10c], 2
je 0x52909c
mov dword [esi + 0x10c], 2
call fcn.00569587
cdq
idiv edi
mov dword [esi + 0x110], edx
cmp dword [esi + 0x110], 0x7d0
jle 0x5290dc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x5290b8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.00569587
cdq
idiv edi
mov dword [esi + 0x110], edx
jmp case.0x528efa.6
mov eax, dword [esi + 0x114]
mov dword [ebp - 0x118b], eax
call fcn.00569587
and eax, reloc.WS2_32.dll_closesocket
jns 0x5290f9
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 0x529133
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 0x528ea0
mov edi, dword [ebp - 0x1198]
mov ebp, 0xffffee68
test edi, edi
je 0x52918a
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 0x529180
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5291aa
push ecx
push edi
call fcn.00559eda
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.00559ee8
mov esp, ebp
pop ebp
ret
call fcn.00591550
call fcn.00591550
nop
jnp 0x529142
push edx
add byte [esi - 0x70], dl
push edx
add byte [ecx], al
invalid