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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe105
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x4e8c], 0
je 0x49938f
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0
push eax
push 0
lea eax, [ebp - 0x78]
push eax
lea eax, [edi + 0x4e5c]
push eax
push dword [edi + 0x34]
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
jne 0x4992eb
cmp byte [0x548712], al
jne 0x499514
push dword [ebp - 0x78]
lea esi, [edi + 0x3c]
mov byte [edi + 0x4e8c], 0
push esi
call fcn.004d6eca
add esp, 8
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push eax
push esi
call fcn.004085d0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00499560
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
push eax
push 0
mov ecx, edi
call fcn.0049cf00
lea ecx, [ebp - 0x70]
call fcn.00408e60
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x49938b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x499381
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499530
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov byte [ebp - 0x40], 0
mov esi, dword [sym.imp.WS2_32.dll_WSARecvFrom]
lea ebx, [edi + 0x4e88]
mov dword [ebp - 0x7c], esi
push 0
lea eax, [edi + 0x4e5c]
mov dword [ebp - 0x78], 0
push eax
push ebx
lea ecx, [edi + 0x4e78]
mov dword [ebx], 0x10
push ecx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
push 1
lea edx, [edi + 0x4e70]
push edx
push dword [edi + 0x34]
call esi
cmp eax, 0xffffffff
je 0x4994d8
mov eax, dword [ebp - 0x74]
test eax, eax
js 0x4994f8
push eax
lea esi, [edi + 0x3c]
push esi
lfence
call fcn.004d6eca
add esp, 8
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push eax
push esi
call fcn.004085d0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00499560
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
push eax
push 0
mov ecx, edi
call fcn.0049cf00
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x499475
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49946b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499530
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x4994be
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4994b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499530
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x49939e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x3e5
je 0x4994f1
cmp byte [0x548712], 0
jne 0x499535
mov byte [edi + 0x4e8c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret
push 0x51dfd0
lea ecx, [ebp - 0x40]
call fcn.004086c0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.004aec70
call fcn.004cecff
push 0x51dfbc
lea ecx, [ebp - 0x70]
call fcn.004086c0
lea edx, [ebp - 0x70]
mov dword [ebp - 4], 3
mov ecx, esi
call fcn.00480f60
int3