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

Disassembly:
mov eax, dword [0x5a8ba4]
sub esp, 0x3f8
push ebx
xor ebx, ebx
cmp eax, ebx
push ebp
mov ebp, ecx
je 0x49105a
lea esp, [esp]
cmp eax, ebp
je 0x490b99
mov eax, dword [eax + 0x4bc]
cmp eax, ebx
jne 0x490b80
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov ecx, dword [ebp + 0x4b8]
call fcn.004e2760
test eax, eax
je 0x49105a
cmp dword [ebp + 0x47c], 2
push esi
push edi
jne 0x490ead
mov eax, dword [ebp + 0x480]
sub eax, 0x82
je 0x491065
dec eax
jne 0x490e32
mov eax, dword [0x5b4314]
mov ecx, dword [ebp + 0x4b0]
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
mov eax, dword [ebp + 0x4b0]
push ebx
push 0x3e6
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x490e32
cmp eax, ebx
jle 0x490e32
lea ecx, [esp + 0x20]
mov byte [esp + eax + 0x20], bl
call fcn.004e14e0
test eax, eax
je 0x490e32
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x18], ecx
push 0x5842b8
push edx
mov dword [esp + 0x24], ecx
call fcn.00570bff
push 0x5842b8
mov edi, 1
push ebx
mov dword [esp + 0x20], eax
mov esi, edi
call fcn.00570bff
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x490e32
lea esp, [esp]
cmp esi, 3
jge 0x490c8c
push 0x5842b8
push ebx
inc esi
call fcn.00570bff
add esp, 8
cmp eax, ebx
mov dword [esp + esi*4 + 0x10], eax
jne 0x490c70
cmp esi, 2
jl 0x490e32
mov ecx, dword [esp + 0x14]
call fcn.004e1520
test eax, eax
je 0x490e32
mov eax, dword [esp + 0x10]
push eax
call fcn.005705cb
add esp, 4
cmp eax, 0x83
je 0x490d58
mov esi, dword [0x5a3a48]
cmp esi, ebx
je 0x490e32
lea esp, [esp]
cmp dword [esi + 0x53c], ebx
je 0x490cfb
cmp dword [esi + 0x520], 3
jne 0x490cfb
lea ecx, [ebp + 0xcc]
push ecx
lea edx, [esi + 0x4b8]
push edx
call fcn.005809c6
add esp, 8
test eax, eax
je 0x490d1b
mov esi, dword [esi + 0x88c]
cmp esi, ebx
jne 0x490cd0
xor edx, edx
mov ecx, ebp
call fcn.0048fa10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov eax, dword [0x5a5504]
push eax
xor edx, edx
mov ecx, 0xb61
mov dword [0x59bcec], ebx
mov dword [0x5ae23c], edi
call fcn.0041d620
mov ecx, dword [esi]
mov edx, eax
call fcn.00502c40
xor edx, edx
mov ecx, ebp
call fcn.0048fa10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov ecx, dword [esp + 0x18]
push 0xa
push ebx
push ecx
call fcn.0057052c
add esp, 0xc
push ebx
lea esi, [ebp + 0x234]
push ebx
lea edx, [ebp + 0x130]
mov ecx, esi
mov dword [ebp + 0x464], eax
call fcn.004810d0
mov ecx, esi
call fcn.0041fb20
test eax, eax
jne 0x490e32
cmp dword [0x59b9ac], ebx
mov edx, dword [0x5a5704]
mov dword [0x5b4350], edx
je 0x490dbc
mov ecx, dword [0x5b4314]
push ebx
push 0x469a40
mov edx, 0x32a
call fcn.004675d0
mov ecx, ebp
call fcn.0048fd50
test eax, eax
je 0x490e32
mov eax, dword [0x5a5fe8]
mov dword [ebp + 0x468], eax
mov dword [0x5a5fe8], ebx
mov ecx, ebp
mov dword [ebp + 0x474], edi
call fcn.0048f760
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp + 4]
push ecx
lea edx, [esp + 0x28]
push str.Get__s__s
push edx
mov dword [ebp + 0x4ac], ebx
call esi
add esp, 0x10
mov ecx, ebp
call fcn.004900e0
cmp eax, ebx
mov dword [ebp], eax
jne 0x490e48
mov eax, dword [ebp + 0x4b8]
push eax
push ebx
push 2
mov edx, 3
lea ecx, [esp + 0x2c]
call fcn.00548f10
cmp eax, ebx
mov dword [ebp], eax
jne 0x490e48
xor edx, edx
mov ecx, ebp
call fcn.0048fa10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
push ebx
push ebx
push ebx
push ebx
mov edx, 2
mov ecx, ebp
call fcn.00536d90
mov eax, dword [ebp + 0x4b8]
mov edx, dword [eax + 0xf28]
mov ecx, dword [ebp + 0x468]
imul edx, edx, 0x64
push ecx
lea eax, [edx + eax + 0xdfc]
push eax
lea ecx, [esp + 0x28]
push str.132__s__lu_n
push ecx
call esi
lea eax, [esp + 0x30]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x490e90
sub eax, edx
push ebx
push eax
mov eax, dword [ebp + 0x4b0]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
push ebx
mov dword [ebp + 0x440], 4
mov dword [ebp + 0x458], ebx
mov dword [ebp + 0x460], ebx
call fcn.00570bc6
add esp, 4
mov dword [ebp + 0x490], eax
mov dword [ebp + 0x494], eax
call fcn.0041f070
mov dword [ebp + 0x49c], edx
mov edx, dword [ebp + 0x458]
mov dword [ebp + 0x4a0], edx
lea esi, [ebp + 0x130]
lea edx, [esp + 0x20]
mov dword [ebp + 0x498], eax
mov dword [ebp + 0x4a4], ebx
mov dword [ebp + 0x4a8], ebx
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x490f10
mov edx, 2
lea ecx, [esp + 0x20]
call fcn.0041fd10
test eax, eax
jne 0x490f5f
push ebx
push ebx
lea edx, [esp + 0x28]
mov ecx, 0x583b74
call fcn.004810d0
mov edx, 2
lea ecx, [esp + 0x20]
call fcn.0041fd10
test eax, eax
jne 0x490f5f
mov edi, edi
mov cl, byte [eax + 0x5a9798]
mov byte [esp + eax + 0x20], cl
inc eax
cmp cl, bl
jne 0x490f50
lea ecx, [esp + 0x20]
call fcn.004203c0
lea eax, [esp + 0x20]
push eax
mov edx, 0x104
mov ecx, esi
call fcn.0041ee40
lea eax, [ebp + 0x234]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x490f81
lea edi, [esp + 0x20]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x490f90
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x468]
and ecx, 3
cmp eax, ebx
push ebx
rep movsb byte es:[edi], byte [esi]
push 0x80
jbe 0x4910d9
push 3
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x43c], eax
je 0x4910fd
mov eax, dword [ebp + 0x468]
mov dword [ebp + 0x458], eax
mov dword [ebp + 0x4a0], eax
xor edx, edx
mov ecx, 0xb63
call fcn.0041d620
push eax
push 1
push 1
push 1
mov edx, 1
mov ecx, ebp
call fcn.00536d90
xor edx, edx
mov ecx, 0xb64
call fcn.0041d620
push eax
push ebx
push ebx
push ebx
xor edx, edx
mov ecx, ebp
call fcn.00536d90
cmp dword [0x59b1b4], ebx
je 0x49103e
mov edx, 0x1c
mov ecx, ebp
call fcn.0048f710
push 0x23
push 0x8012
mov eax, dword [0x5b4314]
mov ecx, dword [ebp + 0x4b0]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret
mov eax, dword [ebp + 0x4b8]
lea ecx, [ebp + 0x234]
push ecx
mov dword [ebp + 0x480], 0x83
mov ecx, dword [eax + 0xf28]
imul ecx, ecx, 0x64
lea edx, [ebp + 0x130]
push edx
lea edx, [ecx + eax + 0xdfc]
push edx
lea eax, [esp + 0x2c]
push str.130__s__s_s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x34]
add esp, 0x14
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4910b0
push ebx
sub eax, edx
mov edx, dword [ebp + 0x4b0]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
push 0x21
push 0x800f
jmp 0x491045
push 2
push ebx
push 1
push 0x40000000
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x43c], eax
jne 0x490ff2
xor edx, edx
mov ecx, 0xb62
call fcn.0041d620
push eax
xor edx, edx
mov ecx, ebp
call fcn.00490190
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f8
ret