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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4560de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9bc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x9c8]
mov ecx, 0x26f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x460280]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 8], 0xffffffff
je 0x42571a
push 0x10
push 0
lea eax, [ebp - 0x838]
push eax
call fcn.00432b00
add esp, 0xc
mov word [ebp - 0x838], 2
mov dword [ebp - 0x844], 0x10
mov esi, esp
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x838]
push ecx
push 0
push 0x800
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x850], eax
cmp dword [ebp - 0x850], 0
jle 0x425705
movzx eax, byte [ebp - 0x820]
cmp eax, 0x77
jne 0x425703
movzx eax, byte [ebp - 0x81f]
cmp eax, 0xf9
jne 0x425703
mov eax, dword [ebp - 0x850]
sub eax, 2
push eax
lea ecx, [ebp - 0x81e]
push ecx
lea ecx, [ebp - 0x870]
call fcn.00405b30
push 0x10
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x870]
call fcn.00402570
lea eax, [ebp - 0x888]
push eax
mov ecx, dword [0x462338]
call fcn.004115f0
mov dword [ebp - 0x894], eax
cmp dword [ebp - 0x894], 0
je 0x425703
lea ecx, [ebp - 0x870]
call fcn.00402a80
mov byte [ebp - 0x89d], al
movzx eax, byte [ebp - 0x89d]
push eax
push str.get__d_sources_from_old_server_n
push 8
push 0x462328
call fcn.00401280
add esp, 0x10
mov al, byte [ebp - 0x89d]
mov byte [ebp - 0x9c5], al
mov cl, byte [ebp - 0x89d]
sub cl, 1
mov byte [ebp - 0x89d], cl
movzx edx, byte [ebp - 0x9c5]
test edx, edx
je 0x425703
push 0x30
call fcn.00431bf8
add esp, 4
mov dword [ebp - 0x9b4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x9b4], 0
je 0x425589
mov ecx, dword [ebp - 0x9b4]
call fcn.0040ad70
mov dword [ebp - 0x9c8], eax
jmp 0x425593
mov dword [ebp - 0x9c8], 0
mov eax, dword [ebp - 0x9c8]
mov dword [ebp - 0x9c0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x9c0]
mov dword [ebp - 0x8ac], ecx
lea ecx, [ebp - 0x870]
call fcn.00402b80
lea ecx, [ebp - 0x870]
call fcn.00402b80
mov esi, esp
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
cmp esi, esp
call fcn.0043234a
mov ecx, dword [ebp - 0x8ac]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x870]
call fcn.00402b00
mov ecx, dword [ebp - 0x8ac]
mov word [ecx + 0x10], ax
lea ecx, [ebp - 0x870]
call fcn.00402b80
mov ecx, dword [ebp - 0x8ac]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x870]
call fcn.00402b00
mov ecx, dword [ebp - 0x8ac]
mov word [ecx + 0x12], ax
lea ecx, [ebp - 0x870]
call fcn.00402a80
cmp dword [0x462328], 0
je 0x4256a3
mov eax, dword [0x462328]
mov ecx, dword [ebp - 0x8ac]
mov edx, dword [eax + 0x84]
cmp edx, dword [ecx + 8]
jne 0x4256a3
movzx eax, word [0x462330]
mov ecx, dword [ebp - 0x8ac]
movzx edx, word [ecx + 0x10]
cmp eax, edx
jne 0x4256a3
mov eax, dword [ebp - 0x8ac]
mov dword [ebp - 0x99c], eax
mov ecx, dword [ebp - 0x99c]
mov dword [ebp - 0x9a8], ecx
cmp dword [ebp - 0x9a8], 0
je 0x425694
push 1
mov ecx, dword [ebp - 0x9a8]
call fcn.004035b0
mov dword [ebp - 0x9c8], eax
jmp 0x42569e
mov dword [ebp - 0x9c8], 0
jmp 0x42552c
push 1
mov eax, dword [ebp - 0x8ac]
push eax
mov ecx, dword [ebp - 0x894]
call fcn.0040f8a0
movzx ecx, al
test ecx, ecx
jne 0x4256fe
mov eax, dword [ebp - 0x8ac]
mov dword [ebp - 0x984], eax
mov ecx, dword [ebp - 0x984]
mov dword [ebp - 0x990], ecx
cmp dword [ebp - 0x990], 0
je 0x4256f4
push 1
mov ecx, dword [ebp - 0x990]
call fcn.004035b0
mov dword [ebp - 0x9c8], eax
jmp 0x4256fe
mov dword [ebp - 0x9c8], 0
jmp 0x42552c
jmp 0x42571a
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.0043234a
mov dword [ebp - 0x8b8], eax
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x425753]
call fcn.0043236d
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00432663
pop edi
pop esi
pop ebx
add esp, 0x9c8
cmp ebp, esp
call fcn.0043234a
mov esp, ebp
pop ebp
ret