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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
mov eax, 0x47849c
call fcn.0046a008
mov dword [ebp - 0x58], 0xe
xor edx, edx
mov dword [ebp - 0x5c], edx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xc], 1
jmp 0x409914
mov dword [ebp - 0x58], 0xe
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x70]
push edx
push 0
push 0x400
mov ecx, dword [ebp + 8]
add ecx, 0x40
push ecx
mov eax, dword [ebp + 8]
push dword [eax]
call sub.WSOCK32.DLL_recvfrom
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffff
je 0x409682
cmp dword [ebp - 0x5c], 0
jne 0x40968e
mov edx, dword [ebp + 8]
mov byte [edx + 0xc], 0
jmp 0x409914
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 0x40], 0
xor edx, edx
mov dl, byte [ebp - 0x6b]
push edx
xor ecx, ecx
mov cl, byte [ebp - 0x6c]
push ecx
xor eax, eax
mov al, byte [ebp - 0x6d]
push eax
xor edx, edx
mov dl, byte [ebp - 0x6e]
push edx
push 0x478326
mov ecx, dword [ebp + 8]
add ecx, 0x2a
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0x18
xor eax, eax
mov al, byte [ebp - 0x65]
push eax
xor edx, edx
mov dl, byte [ebp - 0x66]
push edx
xor ecx, ecx
mov cl, byte [ebp - 0x67]
push ecx
xor eax, eax
mov al, byte [ebp - 0x68]
push eax
xor edx, edx
mov dl, byte [ebp - 0x69]
push edx
xor ecx, ecx
mov cl, byte [ebp - 0x6a]
push ecx
push 0x478337
mov eax, dword [ebp + 8]
add eax, 0x33
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0x20
push 0x168
push 0
lea edx, [ebp - 0x1d8]
push edx
call fcn.00469cbc
add esp, 0xc
push 0x168
mov ecx, dword [ebp + 8]
add ecx, 0x40
push ecx
lea eax, [ebp - 0x1d8]
push eax
call fcn.00469c4c
add esp, 0xc
mov word [ebp - 0x44], 0x14
lea edx, [ebp - 0x19e]
lea eax, [ebp - 4]
call fcn.00473eac
inc dword [ebp - 0x38]
mov word [ebp - 0x44], 8
mov word [ebp - 0x44], 0x20
lea eax, [ebp - 0xc]
call fcn.00401abc
push eax
inc dword [ebp - 0x38]
mov edx, str.sercon.ini
lea eax, [ebp - 8]
call fcn.00473eac
inc dword [ebp - 0x38]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
add eax, 0x444
pop ecx
call fcn.00473fd4
lea ecx, [ebp - 0xc]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x41e6b4]
call fcn.00401f2c
mov dword [ebp - 0x60], eax
dec dword [ebp - 0x38]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x38]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00473f7c
mov word [ebp - 0x44], 8
mov word [ebp - 0x44], 0x2c
mov edx, 0x47836d
lea eax, [ebp - 0x18]
call fcn.00473eac
inc dword [ebp - 0x38]
push dword [eax]
lea eax, [ebp - 0x1c]
call fcn.00401abc
push eax
inc dword [ebp - 0x38]
mov edx, 0x478364
lea eax, [ebp - 0x14]
call fcn.00473eac
inc dword [ebp - 0x38]
push dword [eax]
mov edx, 0x47835b
lea eax, [ebp - 0x10]
call fcn.00473eac
inc dword [ebp - 0x38]
mov edx, dword [eax]
mov eax, dword [ebp - 0x60]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
lea eax, [ebp - 0x1c]
push eax
mov edx, 0x47836e
lea eax, [ebp - 0x20]
call fcn.00473eac
inc dword [ebp - 0x38]
lea edx, [ebp - 0x20]
pop eax
call fcn.00474060
push eax
dec dword [ebp - 0x38]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x38]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x38]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x38]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00473f7c
pop ecx
test cl, cl
je 0x4098d1
push dword [ebp - 4]
mov edx, str.ServerIP
lea eax, [ebp - 0x28]
call fcn.00473eac
inc dword [ebp - 0x38]
push dword [eax]
mov word [ebp - 0x44], 0x38
mov edx, 0x47836f
lea eax, [ebp - 0x24]
call fcn.00473eac
inc dword [ebp - 0x38]
mov edx, dword [eax]
mov eax, dword [ebp - 0x60]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0x38]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00473f7c
dec dword [ebp - 0x38]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00473f7c
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x4098fe
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x44], 0x50
mov edx, 3
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x44], 0x44
dec dword [ebp - 0x38]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00473f7c
mov word [ebp - 0x44], 0
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xc], 0
jne 0x40964c
mov eax, dword [ebp - 0x54]
mov dword fs:[0], eax
pop ebx
mov esp, ebp
pop ebp
ret