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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00488900
mov ebx, eax
test ebx, ebx
jne 0x489458
xor eax, eax
jmp 0x489cda
mov dword [ebx + 0x74], 0xb4
cmp si, 0x20
jne 0x489477
push 8
push dword [ebx + 0x70]
push ebx
call fcn.004889b8
xor eax, eax
jmp 0x489cda
shr esi, 0x10
test si, 0xffff
je 0x489493
push 7
push dword [ebx + 0x70]
push ebx
call fcn.004889b8
xor eax, eax
jmp 0x489cda
push 0x3e7
lea edx, [ebp - 0x41c]
push edx
call fcn.0042e3f0
xor esi, esi
push 0
lea eax, [esi + 1]
mov edx, 0x3e7
sub edx, eax
push edx
lea ecx, [ebp - 0x41c]
add ecx, esi
push ecx
push dword [ebx + 0x7c]
call sub.WSOCK32.dll_recv
mov edi, eax
cmp edi, 0xffffffff
je 0x4894ef
test edi, edi
jne 0x4894e5
test esi, esi
jne 0x4894ef
push 8
push dword [ebx + 0x70]
push ebx
call fcn.004889b8
xor eax, eax
jmp 0x489cda
add esi, edi
cmp esi, 0x3b5
jl 0x4894a6
push 0
push 0
push dword [0x56cee8]
push dword [ebx + 0x7c]
call sub.WSOCK32.dll_WSAAsyncSelect
cmp dword [ebx + 0x78], 2
jne 0x48969d
mov eax, dword [ebx + 0x6c]
cmp eax, 2
je 0x48951c
cmp eax, 3
jne 0x489687
xor edi, edi
lea eax, [ebp - 0x41c]
jmp 0x489527
inc eax
cmp byte [eax], 0x20
je 0x489526
push 0x20
push eax
call fcn.0054c230
add esp, 8
test eax, eax
je 0x489551
jmp 0x48953e
inc eax
cmp byte [eax], 0x20
je 0x48953d
cmp byte [eax], 0
je 0x489551
push eax
call fcn.00555124
pop ecx
mov edi, eax
cmp dword [ebx + 0x6c], 2
jne 0x48958b
cmp edi, 0x191
je 0x489567
cmp edi, 0x197
jne 0x48958b
push 5
push ebx
call fcn.00488f9e
test eax, eax
je 0x489584
mov dword [ebx + 0x6c], 3
mov eax, 1
jmp 0x489cda
xor eax, eax
jmp 0x489cda
cmp edi, 0xc8
jne 0x489687
mov esi, dword [0x55d264]
test esi, esi
je 0x4895e0
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x70]
jne 0x4895d6
cmp dword [ebx + 0x68], 0
jne 0x4895d6
mov edx, dword [ebx + 0x7c]
mov dword [esi + 4], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
push 0
push dword [esi + 4]
call fcn.00526236
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x1db0]
test esi, esi
jne 0x4895a1
mov esi, dword [0x55f1e0]
test esi, esi
je 0x48962b
mov eax, dword [esi + 0x52c]
cmp eax, dword [ebx + 0x70]
jne 0x489621
cmp dword [ebx + 0x68], 0
jne 0x48962b
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x884], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
push esi
call fcn.0043985e
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x88c]
test esi, esi
jne 0x4895ea
mov esi, dword [0x56b89c]
test esi, esi
je 0x489687
mov eax, dword [esi + 0x340]
cmp eax, dword [ebx + 0x70]
jne 0x48967d
cmp dword [ebx + 0x68], 0
jne 0x48967d
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x3c4], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
cmp dword [esi + 0x374], 0
je 0x48966d
push esi
call fcn.005029cd
jmp 0x489673
push esi
call fcn.00503117
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x3cc]
test esi, esi
jne 0x489635
mov edi, 0x5b
push edi
push dword [ebx + 0x70]
push ebx
call fcn.004889b8
xor eax, eax
jmp 0x489cda
cmp dword [ebx + 0x78], 0
jne 0x4897fc
xor edi, edi
cmp dword [ebx + 0x6c], 2
jne 0x4897eb
mov al, byte [ebp - 0x41b]
sub al, 0x5a
je 0x4896da
dec al
je 0x4897d1
dec al
je 0x4897d8
dec al
je 0x4897df
jmp 0x4897e6
mov esi, dword [0x55d264]
test esi, esi
je 0x489723
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x70]
jne 0x489719
cmp dword [ebx + 0x68], 0
jne 0x489719
mov edx, dword [ebx + 0x7c]
mov dword [esi + 4], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
push 0
push dword [esi + 4]
call fcn.00526236
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x1db0]
test esi, esi
jne 0x4896e4
mov esi, dword [0x55f1e0]
test esi, esi
je 0x48976e
mov eax, dword [esi + 0x52c]
cmp eax, dword [ebx + 0x70]
jne 0x489764
cmp dword [ebx + 0x68], 0
jne 0x48976e
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x884], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
push esi
call fcn.0043985e
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x88c]
test esi, esi
jne 0x48972d
mov esi, dword [0x56b89c]
test esi, esi
je 0x4897ca
mov eax, dword [esi + 0x340]
cmp eax, dword [ebx + 0x70]
jne 0x4897c0
cmp dword [ebx + 0x68], 0
jne 0x4897c0
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x3c4], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
cmp dword [esi + 0x374], 0
je 0x4897b0
push esi
call fcn.005029cd
jmp 0x4897b6
push esi
call fcn.00503117
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x3cc]
test esi, esi
jne 0x489778
mov edi, 0x5b
jmp 0x4897eb
mov edi, 0x5b
jmp 0x4897eb
mov edi, 0x5c
jmp 0x4897eb
mov edi, 0x5d
jmp 0x4897eb
mov edi, 0x5e
push edi
push dword [ebx + 0x70]
push ebx
call fcn.004889b8
xor eax, eax
jmp 0x489cda
xor edi, edi
mov eax, dword [ebx + 0x6c]
sub eax, 2
je 0x48981c
dec eax
je 0x48987f
dec eax
je 0x4898b6
dec eax
je 0x489be6
jmp 0x489cce
mov dl, byte [ebp - 0x41b]
sub dl, 1
jb 0x48982d
dec dl
je 0x489851
jmp 0x489875
push 4
push ebx
call fcn.00488f9e
test eax, eax
je 0x48984a
mov dword [ebx + 0x6c], 4
mov eax, 1
jmp 0x489cda
xor eax, eax
jmp 0x489cda
push 3
push ebx
call fcn.00488f9e
test eax, eax
je 0x48986e
mov dword [ebx + 0x6c], 3
mov eax, 1
jmp 0x489cda
xor eax, eax
jmp 0x489cda
mov edi, 0x5f
jmp 0x489cce
cmp byte [ebp - 0x41b], 0
jne 0x4898ac
push 4
push ebx
call fcn.00488f9e
test eax, eax
je 0x4898a5
mov dword [ebx + 0x6c], 4
mov eax, 1
jmp 0x489cda
xor eax, eax
jmp 0x489cda
mov edi, 0x5b
jmp 0x489cce
mov al, byte [ebp - 0x41b]
sub al, 1
jb 0x4898dd
sub al, 2
je 0x489bbe
dec al
je 0x489bc8
dec al
je 0x489bd2
jmp 0x489bdc
mov esi, dword [0x55d264]
test esi, esi
je 0x489926
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x70]
jne 0x48991c
cmp dword [ebx + 0x68], 0
jne 0x48991c
mov edx, dword [ebx + 0x7c]
mov dword [esi + 4], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
push 0
push dword [esi + 4]
call fcn.00526236
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x1db0]
test esi, esi
jne 0x4898e7
mov esi, dword [0x55f1e0]
test esi, esi
je 0x489a61
mov eax, dword [esi + 0x52c]
cmp eax, dword [ebx + 0x70]
jne 0x489a53
cmp dword [ebx + 0x68], 0
jne 0x48996f
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x884], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
push esi
call fcn.0043985e
mov eax, 1
jmp 0x489cda
cmp dword [ebx + 0x68], 1
jne 0x489a61
cmp byte [ebp - 0x419], 1
jne 0x489a61
xor edx, edx
mov dword [esi + 0x878], edx
mov dword [ebx + 0x6c], 5
xor ecx, ecx
mov cl, byte [ebp - 0x415]
push ecx
xor eax, eax
mov al, byte [ebp - 0x416]
push eax
xor edx, edx
mov dl, byte [ebp - 0x417]
push edx
xor ecx, ecx
mov cl, byte [ebp - 0x418]
push ecx
push 0x563f87
lea eax, [ebp - 0x34]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x18
xor edx, edx
mov dl, byte [ebp - 0x414]
shl edx, 8
xor ecx, ecx
mov cl, byte [ebp - 0x413]
add dx, cx
mov word [esi + 0x51c], dx
push 0x21
push 0x8032
push dword [0x56cee8]
push dword [ebx + 0x7c]
call sub.WSOCK32.dll_WSAAsyncSelect
push dword [esi + 0x530]
movzx eax, word [esi + 0x51c]
push eax
lea edx, [ebp - 0x34]
push edx
call sub.WSOCK32.dll_inet_addr
push eax
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [esi + 0x3f0]
push ecx
push 0x563f94
lea eax, [ebp - 0x41c]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x18
push dword [esi + 0x888]
push 0
lea edx, [ebp - 0x41c]
push edx
call fcn.00525f63
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x88c]
test esi, esi
jne 0x489934
mov esi, dword [0x56b89c]
test esi, esi
je 0x489abd
mov eax, dword [esi + 0x340]
cmp eax, dword [ebx + 0x70]
jne 0x489ab3
cmp dword [ebx + 0x68], 0
jne 0x489ab3
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x3c4], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
cmp dword [esi + 0x374], 0
je 0x489aa3
push esi
call fcn.005029cd
jmp 0x489aa9
push esi
call fcn.00503117
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x3cc]
test esi, esi
jne 0x489a6b
mov esi, dword [0x5642cc]
test esi, esi
je 0x489cce
mov eax, dword [esi + 0x340]
cmp eax, dword [ebx + 0x70]
jne 0x489bab
cmp dword [ebx + 0x68], 1
jne 0x489bab
cmp byte [ebp - 0x419], 1
jne 0x489bab
xor edx, edx
mov dword [esi + 0x3a4], edx
mov dword [ebx + 0x6c], 5
xor ecx, ecx
mov cl, byte [ebp - 0x415]
push ecx
xor eax, eax
mov al, byte [ebp - 0x416]
push eax
xor edx, edx
mov dl, byte [ebp - 0x417]
push edx
xor ecx, ecx
mov cl, byte [ebp - 0x418]
push ecx
push 0x563fbc
lea eax, [ebp - 0x34]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x18
xor edx, edx
mov dl, byte [ebp - 0x414]
shl edx, 8
xor ecx, ecx
mov cl, byte [ebp - 0x413]
add dx, cx
mov word [esi + 0x34c], dx
push 0x21
push 0x8032
push dword [0x56cee8]
push dword [ebx + 0x7c]
call sub.WSOCK32.dll_WSAAsyncSelect
push dword [esi + 0x3b0]
push dword [esi + 0x340]
push dword [esi + 0x35c]
mov ax, word [esi + 0x34c]
push eax
lea edx, [ebp - 0x34]
push edx
call sub.WSOCK32.dll_inet_addr
push eax
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [esi + 0x234]
push ecx
add esi, 4
push esi
call fcn.00502cf2
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x3b4]
test esi, esi
jne 0x489acb
jmp 0x489cce
mov edi, 0x60
jmp 0x489cce
mov edi, 0x61
jmp 0x489cce
mov edi, 0x62
jmp 0x489cce
mov edi, 0x5b
jmp 0x489cce
mov al, byte [ebp - 0x41b]
sub al, 1
jb 0x489c0d
sub al, 2
je 0x489cb4
dec al
je 0x489cbb
dec al
je 0x489cc2
jmp 0x489cc9
mov esi, dword [0x55f1e0]
test esi, esi
je 0x489c61
mov eax, dword [esi + 0x52c]
cmp eax, dword [ebx + 0x70]
jne 0x489c57
cmp dword [ebx + 0x68], 1
jne 0x489c57
cmp byte [ebp - 0x419], 1
jne 0x489c57
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x884], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
push esi
call fcn.0043966c
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x88c]
test esi, esi
jne 0x489c17
mov esi, dword [0x5642cc]
test esi, esi
je 0x489cce
mov eax, dword [esi + 0x340]
cmp eax, dword [ebx + 0x70]
jne 0x489ca8
cmp dword [ebx + 0x68], 1
jne 0x489ca8
cmp byte [ebp - 0x419], 1
jne 0x489ca8
mov edx, dword [ebx + 0x7c]
mov dword [esi + 0x3a8], edx
mov dword [ebx + 0x7c], 0xffffffff
push ebx
call fcn.00488888
push esi
call fcn.0048d083
mov eax, 1
jmp 0x489cda
mov esi, dword [esi + 0x3b4]
test esi, esi
jne 0x489c6b
jmp 0x489cce
mov edi, 0x60
jmp 0x489cce
mov edi, 0x61
jmp 0x489cce
mov edi, 0x62
jmp 0x489cce
mov edi, 0x5b
push edi
push dword [ebx + 0x70]
push ebx
call fcn.004889b8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8