Function at 0x4a916c
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x10
test dx, 0xffff
jne 0x4a9e3f
cmp eax, 0x20
je 0x4a9e3f
mov eax, dword [0x4fa8dc]
cmp eax, 0xffffffff
je 0x4a9e3f
push 0
push 0xff
push 0x5162eb
push eax
call sub.WSOCK32.dll_recv
cmp eax, 1
jle 0x4a9e3f
mov byte [eax + 0x5162eb], 0
push 0
push 0
mov ecx, dword [0x4fd9ec]
push ecx
mov eax, dword [0x4fa8dc]
push eax
call sub.WSOCK32.dll_WSAAsyncSelect
xor edx, edx
mov dword [0x4fa8c0], edx
push 0x5162eb
call fcn.004a9028
test eax, eax
je 0x4a9e3f
mov ebx, 0x5162eb
jmp 0x4a91f9
inc ebx
cmp byte [ebx], 0x20
je 0x4a91f8
cmp byte [ebx], 0
je 0x4a9e3f
push 0x20
push ebx
call fcn.00401278
add esp, 8
mov esi, eax
test esi, esi
je 0x4a9e3f
mov byte [esi], 0
mov dword [ebp - 8], ebx
lea ebx, [esi + 1]
jmp 0x4a9228
inc ebx
cmp byte [ebx], 0x20
je 0x4a9227
cmp byte [ebx], 0
je 0x4a9e3f
push 0x20
push ebx
call fcn.00401278
add esp, 8
mov esi, eax
test esi, esi
je 0x4a925a
mov byte [esi], 0
inc esi
jmp 0x4a924e
inc esi
cmp byte [esi], 0x20
je 0x4a924d
cmp byte [esi], 0
jne 0x4a925a
xor esi, esi
mov edi, ebx
push edi
call fcn.004a9084
test eax, eax
je 0x4a9e3f
mov eax, dword [ebp - 8]
push eax
call fcn.00409a14
pop ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
sub edx, 0x64
je 0x4a929b
sub edx, 0xa
je 0x4a929b
sub edx, 0xa
je 0x4a970e
sub edx, 0xa
je 0x4a9a3a
jmp 0x4a9e3f
cmp dword [0x4fa8c8], 0
jne 0x4a92aa
cmp dword [ebp - 0xc], 0x64
je 0x4a92b9
cmp dword [0x4fa8cc], 0
jne 0x4a92f1
cmp dword [ebp - 0xc], 0x6e
jne 0x4a92f1
mov esi, 0x4fa8f3
mov edi, 0x5162eb
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0
push 0x5162eb
call fcn.00401318
pop ecx
push eax
push 0x5162eb
mov edx, dword [0x4fa8dc]
push edx
call sub.WSOCK32.dll_send
jmp 0x4a9e3f
cmp dword [ebp - 0xc], 0x64
jne 0x4a9350
test byte [0x4f9f4c], 0x20
jne 0x4a92b9
xor esi, esi
mov ebx, dword [0x4f2764]
test ebx, ebx
je 0x4a93a5
cmp dword [ebx + 0x51c], 0
je 0x4a9344
cmp dword [ebx + 0x53c], 0
jne 0x4a9344
push 0x5163eb
lea eax, [ebx + 0x4b8]
push eax
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4a9344
inc esi
cmp esi, 3
jg 0x4a92b9
mov ebx, dword [ebx + 0x870]
test ebx, ebx
jne 0x4a9310
jmp 0x4a93a5
cmp dword [ebp - 0xc], 0x6e
jne 0x4a93a5
test byte [0x4f9f4c], 0x10
jne 0x4a92b9
mov ebx, dword [0x4f2764]
test ebx, ebx
je 0x4a93a5
cmp dword [ebx + 0x51c], 0
je 0x4a939b
cmp dword [ebx + 0x53c], 0
je 0x4a939b
push 0x5163eb
lea eax, [ebx + 0x4b8]
push eax
call fcn.004014a8
add esp, 8
test eax, eax
je 0x4a92b9
mov ebx, dword [ebx + 0x870]
test ebx, ebx
jne 0x4a936d
cmp dword [0x4f7ca0], 0
je 0x4a941d
push 0x5163eb
push edi
push 0x4fa905
push 0x515f04
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x515f04
call fcn.00408b88
pop ecx
push 0x4fa90f
push 0x515f04
call fcn.004829ec
test eax, eax
je 0x4a941d
mov esi, 0x4fa915
mov edi, 0x5162eb
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
push 0x5162eb
call fcn.00401318
pop ecx
push eax
push 0x5162eb
mov edx, dword [0x4fa8dc]
push edx
call sub.WSOCK32.dll_send
jmp 0x4a9e3f
cmp dword [ebp - 0xc], 0x6e
jne 0x4a94bd
cmp byte [0x4f4788], 0
je 0x4a92b9
push 2
push 0x4f4788
call fcn.0041f620
test eax, eax
je 0x4a92b9
cmp dword [0x4f4fc8], 0
je 0x4a94bd
push edi
mov esi, 0x508130
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push edi
mov esi, 0x515718
mov edi, 0x4f4788
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0x453710
push 0x82
mov eax, dword [0x4fd9ec]
push eax
call fcn.00451600
mov esi, eax
test esi, esi
jle 0x4a92b9
call fcn.00426e14
mov ebx, eax
test ebx, ebx
je 0x4a92b9
lea eax, [ebx + 0x3f0]
push edi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea esi, [ebx + 0x4b8]
push esi
mov edi, 0x5163eb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebx + 0x454]
push esi
mov edi, esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov ax, word [0x4fa8d4]
mov word [ebx + 0x520], ax
mov dword [ebx + 0x51c], 5
mov dword [ebx + 0x530], 3
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x534], edx
mov eax, dword [0x4f4988]
mov dword [ebx + 0x858], eax
dec eax
jge 0x4a958a
mov dword [ebx + 0x858], 1
jmp 0x4a959d
cmp dword [ebx + 0x858], 0x14
jle 0x4a959d
mov dword [ebx + 0x858], 0x14
lea esi, [ebx + 0x540]
push esi
mov edi, 0x4f4788
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebx + 0x640]
push esi
mov edi, esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebx + 0x740]
mov esi, eax
mov edi, 0x4f4888
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0xc], 0x6e
jne 0x4a9636
mov dword [ebx + 0x524], 1
mov dword [ebx + 0x53c], 1
jmp 0x4a9646
xor eax, eax
mov dword [ebx + 0x524], eax
xor edx, edx
mov dword [ebx + 0x53c], edx
cmp dword [0x4fb7f4], 0
je 0x4a9685
mov dword [0x4f2768], ebx
xor ecx, ecx
mov dword [0x4fba24], ecx
push 0
push 0xc
push 0x4fa924
call fcn.004ca178
mov esi, eax
xor eax, eax
mov dword [0x4f2768], eax
test esi, esi
jne 0x4a9685
push 0
push ebx
call fcn.00426f4c
jmp 0x4a92b9
mov eax, dword [0x4fa8dc]
mov dword [ebx + 0x86c], eax
mov dword [0x4fa8dc], 0xffffffff
push eax
call fcn.004ef808
cmp dword [ebp - 0xc], 0x6e
jne 0x4a96ae
push ebx
call fcn.00428218
jmp 0x4a9702
cmp dword [0x4fb0a8], 0
je 0x4a96ed
cmp dword [0x4fb100], 1
jne 0x4a96ce
mov edx, dword [0x4fb0b4]
push edx
call fcn.0041f778
jmp 0x4a96ed
cmp dword [0x4fb100], 2
jne 0x4a96ed
push 1
push 0x513c45
push 0
push 0
call fcn.0045a910
push eax
call fcn.004d74c0
push 0
push 0
push 0x420
mov ecx, dword [0x4fd9ec]
push ecx
call sub.USER32.dll_PostMessageA
push 1
call fcn.004a8dbc
jmp 0x4a9e46
test esi, esi
je 0x4a9e3f
mov ebx, esi
push 0x20
push ebx
call fcn.00401278
add esp, 8
mov esi, eax
test esi, esi
je 0x4a9e3f
mov byte [esi], 0
mov dword [ebp - 4], ebx
lea ebx, [esi + 1]
jmp 0x4a9739
inc ebx
cmp byte [ebx], 0x20
je 0x4a9738
cmp byte [ebx], 0
je 0x4a9e3f
mov esi, ebx
push esi
call fcn.004a9110
cmp dword [0x4fa8c4], 0
jne 0x4a9790
mov esi, 0x4fa92f
mov edi, 0x5162eb
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0
push 0x5162eb
call fcn.00401318
pop ecx
push eax
push 0x5162eb
mov edx, dword [0x4fa8dc]
push edx
call sub.WSOCK32.dll_send
jmp 0x4a9e3f
test byte [0x4f9f4c], 8
jne 0x4a9758
cmp dword [0x4f4990], 0
je 0x4a97b0
push 0
push 0
push esi
call fcn.00469e6c
test eax, eax
jne 0x4a9758
cmp dword [0x4f7ca0], 0
je 0x4a9828
push 0x5163eb
push edi
push 0x4fa941
push 0x515f04
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x515f04
call fcn.00408b88
pop ecx
push 0x4fa94b
push 0x515f04
call fcn.004829ec
test eax, eax
je 0x4a9828
mov esi, 0x4fa951
mov edi, 0x5162eb
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
push 0x5162eb
call fcn.00401318
pop ecx
push eax
push 0x5162eb
mov edx, dword [0x4fa8dc]
push edx
call sub.WSOCK32.dll_send
jmp 0x4a9e3f
call fcn.00469bb8
mov ebx, eax
test ebx, ebx
je 0x4a9758
lea eax, [ebx + 4]
push esi
push edi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea edi, [ebx + 0xcc]
push esi
push edi
mov esi, edi
mov edi, 0x5163eb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea eax, [ebx + 0x68]
push esi
push edi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov ax, word [0x4fa8d4]
mov word [ebx + 0x404], ax
mov dword [ebx + 0x3fc], 1
mov dword [ebx + 0x420], 1
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x424], edx
push 0xa
lea ecx, [ebp - 0x10]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0040af3c
add esp, 0xc
mov dword [ebx + 0x414], eax
push esi
mov edi, esi
mov esi, 0x515f04
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x50d1f7
push 0x50d0f7
push 0x50cff7
push 0x50cff4
push 0x515f04
call fcn.00405b58
add esp, 0x14
push 0x50d1f7
push 0x50d0f7
push 0x4fa960
lea esi, [ebx + 0x230]
push esi
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0
push 0
lea eax, [ebx + 0x130]
push eax
push esi
call fcn.004626c4
push esi
call fcn.0041f478
test eax, eax
je 0x4a9980
push 0
push ebx
call fcn.00469ccc
jmp 0x4a9758
cmp dword [0x4fb7f4], 0
je 0x4a99bf
mov dword [0x4f6958], ebx
xor edx, edx
mov dword [0x4fba24], edx
push 0
push 0xc
push 0x4fa966
call fcn.004ca178
mov esi, eax
xor eax, eax
mov dword [0x4f6958], eax
test esi, esi
jne 0x4a99bf
push 0
push ebx
call fcn.00469ccc
jmp 0x4a9758
mov eax, dword [0x4fa8dc]
mov dword [ebx + 0x438], eax
mov dword [0x4fa8dc], 0xffffffff
push eax
call fcn.004ef808
cmp dword [0x4fb0a8], 0
je 0x4a9a19
cmp dword [0x4fb110], 1
jne 0x4a99fa
mov edx, dword [0x4fb0b4]
push edx
call fcn.0041f778
jmp 0x4a9a19
cmp dword [0x4fb110], 2
jne 0x4a9a19
push 1
push 0x513c45
push 0
push 4
call fcn.0045a910
push eax
call fcn.004d74c0
push 0
push 0
push 0x413
mov ecx, dword [0x4fd9ec]
push ecx
call sub.USER32.dll_PostMessageA
push 1
call fcn.004a8dbc
jmp 0x4a9e46
test esi, esi
je 0x4a9e3f
cmp byte [esi], 0
je 0x4a9e3f
push esi
call fcn.004a9110
cmp dword [0x4fa8c8], 0
jne 0x4a9a92
mov esi, 0x4fa971
mov edi, 0x5162eb
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0
push 0x5162eb
call fcn.00401318
pop ecx
push eax
push 0x5162eb
mov edx, dword [0x4fa8dc]
push edx
call sub.WSOCK32.dll_send
jmp 0x4a9e3f
cmp dword [0x4f7ca0], 0
je 0x4a9b0a
push 0x5163eb
push edi
push 0x4fa983
push 0x515f04
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x515f04
call fcn.00408b88
pop ecx
push 0x4fa98d
push 0x515f04
call fcn.004829ec
test eax, eax
je 0x4a9b0a
mov esi, 0x4fa993
mov edi, 0x5162eb
mov eax, edi
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
push 0x5162eb
call fcn.00401318
pop ecx
push eax
push 0x5162eb
mov edx, dword [0x4fa8dc]
push edx
call sub.WSOCK32.dll_send
jmp 0x4a9e3f
push esi
mov edi, esi
mov esi, 0x515f04
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x50d1f7
push 0x50d0f7
push 0x50cff7
push 0x50cff4
push 0x515f04
call fcn.00405b58
add esp, 0x14
push 0x50d1f7
push 0x50d0f7
push 0x4fa9a2
push 0x515f04
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0x515f04
call fcn.0041f478
test eax, eax
jne 0x4a9a5a
mov esi, dword [0x4f2764]
test esi, esi
je 0x4a9bf1
cmp dword [esi + 0x53c], 0
je 0x4a9be7
cmp dword [esi + 0x51c], 3
jne 0x4a9be7
push 0x5163eb
lea eax, [esi + 0x4b8]
push eax
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x4a9be7
push 0x515f04
lea edx, [esi + 0x640]
push edx
push 0x4fa9a8
push 0x5188dc
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 1
push 0x5188dc
call fcn.0041f620
test eax, eax
je 0x4a9a5a
jmp 0x4a9bf1
mov esi, dword [esi + 0x870]
test esi, esi
jne 0x4a9b89
test esi, esi
je 0x4a9a5a
call fcn.004cebdc
mov ebx, eax
test ebx, ebx
je 0x4a9a5a
lea eax, [ebx + 4]
lea edx, [esi + 0x3f0]
push esi
mov esi, eax
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebx + 0xcc]
lea edx, [esi + 0x4b8]
push esi
mov esi, eax
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea eax, [ebx + 0x68]
lea edx, [esi + 0x454]
push esi
mov esi, eax
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
lea edi, [ebx + 0x130]
add esi, 0x640
push esi
push edi
mov eax, edi
mov edi, esi
mov esi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea eax, [ebx + 0x230]
push edi
mov esi, eax
mov edi, 0x515f04
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push edi
call fcn.00401318
pop ecx
mov esi, eax
test esi, esi
je 0x4a9d19
cmp byte [ebx + esi + 0x12f], 0x5c
je 0x4a9d19
push 0x4fa9af
lea eax, [ebx + 0x130]
push eax
call fcn.0040123c
add esp, 8
mov dx, word [0x4fa8d4]
mov word [ebx + 0x40c], dx
mov dword [ebx + 0x424], 1
mov dword [ebx + 0x3fc], 1
mov dword [ebx + 0x428], 3
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x42c], ecx
lea eax, [ebx + 0x230]
push eax
lea edx, [ebx + 0x130]
push edx
push 0x4fa9b2
push 0x515f04
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0
push 0x8000
push 0x515f04
call fcn.00406b7c
add esp, 0xc
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a9d96
push 0
push ebx
call fcn.004ced48
jmp 0x4a9a5a
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.00406d00
add esp, 8
mov edx, dword [ebp - 0x22]
mov dword [ebx + 0x418], edx
push esi
call fcn.0040471c
pop ecx
mov eax, dword [0x4fa8dc]
mov dword [ebx + 0x44c], eax
mov dword [0x4fa8dc], 0xffffffff
push eax
call fcn.004ef808
mov edx, dword [ebx + 0x418]
push edx
mov ecx, dword [0x4fac34]
shl ecx, 2
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
add ecx, 0x4fab6c
push ecx
push 0x4fa9b8
push 0x515f04
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0
push 0x515f04
call fcn.00401318
pop ecx
push eax
push 0x515f04
mov eax, dword [ebx + 0x44c]
push eax
call sub.WSOCK32.dll_send
push 0x21
push 0x414
mov edx, dword [0x4fd9ec]
push edx
mov ecx, dword [ebx + 0x44c]
push ecx
call sub.WSOCK32.dll_WSAAsyncSelect
push 1
call fcn.004a8dbc
jmp 0x4a9e46
push 1
call fcn.004a8dbc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4