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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7cc
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x834]
push edx
push 0
push 0x800
lea ecx, [ebp - 0x824]
push ecx
mov eax, dword [ebp - 4]
push dword [eax + 4]
call sub.WSOCK32.DLL_recvfrom
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x4080fe
fild dword [ebp - 0xc]
fadd dword [0x49719c]
fstp dword [0x49719c]
lea edx, [ebp - 0x824]
mov cx, word [edx]
mov word [ebp - 0x12], cx
movzx eax, word [ebp - 0x12]
and eax, 0xfff
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jne 0x4080fe
lea edx, [ebp - 0x834]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4112]
call fcn.00404030
mov dword [ebp - 0x18], eax
movzx edx, word [ebp - 0x12]
and edx, 0xf000
cmp edx, 0xd000
jg 0x407e5e
je 0x40805e
sub edx, 0xa000
je 0x407e7b
sub edx, 0x1000
je 0x407f27
sub edx, 0x1000
je 0x407ff3
jmp 0x4080fe
sub edx, 0xe000
je 0x4080fe
sub edx, 0x1000
je 0x4080d0
jmp 0x4080fe
cmp dword [ebp - 0x18], 0
je 0x4080fe
lea ecx, [ebp - 0x822]
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x81e]
mov ecx, dword [edx]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x18]
inc word [ecx + 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410e]
call fcn.0040329c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jne 0x407ee4
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov dword [edx + 0x18], ecx
cmp dword [ebp - 0x1c], 0xffffffec
jne 0x407efe
lea edx, [ebp - 0x834]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4112]
call fcn.0040435c
cmp dword [ebp - 0x10], 0x12
jne 0x4080fe
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff6
lea edx, [ebp - 0x81c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410e]
call fcn.00403784
jmp 0x4080fe
cmp dword [ebp - 0x18], 0
je 0x4080fe
mov edx, dword [ebp - 0x18]
inc dword [edx + 0x24]
cmp dword [ebp - 0xc], 6
jle 0x407fe0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff6
lea edx, [ebp - 0x824]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410e]
call fcn.0040343c
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffec
jne 0x407f7d
lea edx, [ebp - 0x834]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x4112]
call fcn.0040435c
jmp 0x4080fe
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0x14]
jle 0x407f91
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
cmp dword [ebp - 0x24], 0
jle 0x407fbb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410e]
call fcn.00403124
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x410e]
call fcn.00402f68
jmp 0x407fc4
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
add dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x24], 0
jge 0x4080fe
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x24], 1
jmp 0x4080fe
lea ecx, [ebp - 0x822]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
jmp 0x4080fe
cmp dword [ebp - 0x18], 0
jne 0x408033
cmp byte [0x49d429], 0
jne 0x408018
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x4112]
mov edx, dword [eax + 0x14]
cmp word [edx], 0x14
jge 0x4080fe
lea edx, [ebp - 0x834]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4112]
call fcn.00403be0
jmp 0x4080fe
mov edx, dword [ebp - 0x18]
inc word [edx + 0x1c]
lea ecx, [ebp - 0x81a]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410e]
call fcn.00403710
jmp 0x4080fe
cmp dword [ebp - 0x18], 0
je 0x4080fe
mov edx, dword [ebp - 0x18]
inc dword [edx + 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x2c]
inc dword [ecx + 0x2c]
test eax, eax
jge 0x40808e
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x410e]
call fcn.00403694
jmp 0x4080a9
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 0x18]
sub eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x38], 5
lea edx, [ebp - 0x81a]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
lea edx, [ebp - 0x824]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410e]
call fcn.00403784
jmp 0x4080fe
cmp dword [ebp - 0xc], 0x170
jge 0x4080fe
lea edx, [ebp - 0x822]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4112]
call fcn.004041f8
test eax, eax
jle 0x4080fe
mov dword [0x497344], 0x32
mov esp, ebp
pop ebp
ret