Function at 0x557160
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x6383d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x40c]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 0x410]
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
lea esi, [ebx + 0x3230]
cmp byte [esi], 0
jne 0x557212
push 0x3ff
push 0
push esi
call fcn.005f8cb0
add esp, 0xc
push edi
push 0
push 0x3ff
push esi
mov ecx, dword [ebx + 0x31e4]
push ecx
call sub.WS2_32.dll_recv
push eax
mov ecx, ebx
call fcn.0054cd80
test eax, eax
je 0x557212
cmp eax, 0x2733
je 0x55755f
mov edx, dword [ebx + 0x31f4]
mov dword [edx + 0x140], eax
jmp 0x55755f
mov dword [ebp - 0x14], 0
mov ecx, 0xff
mov edi, dword [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
movsx eax, byte [esi]
push eax
call fcn.005fa5cc
add esp, 4
test eax, eax
je 0x557335
movsx ecx, byte [esi + 1]
push ecx
call fcn.005fa5cc
add esp, 4
test eax, eax
je 0x557335
movsx edx, byte [esi + 2]
push edx
call fcn.005fa5cc
add esp, 4
test eax, eax
je 0x557335
cmp byte [esi + 3], 0x20
jne 0x5572ea
push 0x400
push 0
lea eax, [ebp]
push eax
call fcn.005f8cb0
push 0x3ff
push 0xa
lea edi, [ebx + 0x3230]
push edi
call fcn.005fadc0
add esp, 0x18
test eax, eax
je 0x5572ea
sub eax, ebx
sub eax, 0x3230
mov dword [ebp - 0x1c], eax
mov ecx, 0x3fe
sub ecx, eax
mov dword [ebp - 0x14], ecx
push ecx
lea ecx, [ebx + eax + 0x3231]
push ecx
lea edx, [ebp]
push edx
call fcn.005fa190
mov ecx, 0xff
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
lea eax, [ecx + edx + 1]
push eax
call fcn.005f8cb0
add esp, 0x18
xor eax, eax
jmp 0x55755f
mov al, byte [esi + 3]
cmp al, 0x2d
je 0x557335
cmp al, 0x20
je 0x557335
test al, al
je 0x557335
push str.Error_during_GetReply____bad_format__replyBuffer:_n
mov ecx, ebx
call fcn.0054c540
push esi
mov ecx, ebx
call fcn.0054c540
mov ecx, dword [0x710378]
push ecx
mov ecx, dword [ebx + 0x9c]
call fcn.00554e70
mov edx, dword [ebx + 0x31f4]
mov eax, 0x754e
mov dword [edx + 0x140], eax
jmp 0x55755f
mov esi, 0x3ff
mov edi, dword [ebp - 0x14]
sub esi, edi
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [ebp - 0x14], eax
push esi
push 0xa
push eax
call fcn.005fadc0
add esp, 0xc
test eax, eax
je 0x55742f
sub eax, dword [ebp - 0x18]
mov esi, eax
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp eax, 3
jle 0x557426
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
push edx
call fcn.005fa5cc
add esp, 4
test eax, eax
je 0x557426
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
push ecx
call fcn.005fa5cc
add esp, 4
test eax, eax
je 0x557426
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx + 2]
push eax
call fcn.005fa5cc
add esp, 4
test eax, eax
je 0x557426
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + 3], 0x20
jne 0x557426
push 0x3ff
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.005f8cb0
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea ecx, [ebx + edi + 0x3230]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.005fa190
push 0x400
push 0
lea eax, [ebp]
push eax
call fcn.005f8cb0
mov ecx, 0x3fe
sub ecx, esi
push ecx
lea edx, [ebx + esi + 0x3231]
push edx
lea eax, [ebp]
push eax
call fcn.005fa190
add esp, 0x30
lea edi, [ebx + 0x3230]
mov ecx, 0xff
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
jmp 0x55755f
inc esi
mov dword [ebp - 0x14], esi
jmp 0x557335
test edi, edi
jne 0x557476
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x3fe], 0
je 0x557476
push 1
mov edx, dword [0x710400]
push edx
mov ecx, ebx
call fcn.0054cc90
mov eax, dword [0x710404]
push eax
mov ecx, dword [ebx + 0x9c]
call fcn.00554e70
mov ecx, dword [ebx + 0x31f4]
mov eax, 0x755b
mov dword [ecx + 0x140], eax
jmp 0x55755f
push 0x400
push 0
lea edx, [ebp]
push edx
call fcn.005f8cb0
push esi
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
call fcn.005fa190
push 0x3ff
push 0
lea edx, [ebp]
push edx
call fcn.005fadc0
add esp, 0x24
test eax, eax
je 0x5574b2
lea ecx, [ebp]
sub eax, ecx
jmp 0x5574b4
xor eax, eax
mov edx, dword [ebp - 0x24]
push edx
push 0
mov ecx, 0x3ff
sub ecx, eax
push ecx
lea edx, [ebp + eax]
push edx
mov eax, dword [ebx + 0x31e4]
push eax
call sub.WS2_32.dll_recv
push eax
mov ecx, ebx
call fcn.0054cd80
test eax, eax
je 0x5574f4
cmp eax, 0x2733
je 0x55755f
mov ecx, dword [ebx + 0x31f4]
mov dword [ecx + 0x140], eax
jmp 0x55755f
mov ecx, 0xff
lea esi, [ebp]
mov edi, dword [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x3230]
mov ecx, 0xff
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x14], 0
jmp 0x557335
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x404
mov esp, ebp
pop ebp
ret 8