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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x574d36
test ebx, ebx
jne 0x479b33
xor eax, eax
jmp 0x47a041
cmp dword [ebx + 0x36c], 2
jne 0x479e2b
mov edx, dword [ebx + 0x370]
sub edx, 0x82
je 0x479b56
dec edx
je 0x479bbf
jmp 0x479e1c
mov dword [ebx + 0x370], 0x83
lea ecx, [ebx + 0x234]
push ecx
lea eax, [ebx + 0x130]
push eax
imul edx, dword [0x557490], 0x64
add edx, 0x5573c8
push edx
push str.130__s__s_s_n
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x14
push 0
push edi
call fcn.005395b8
pop ecx
push eax
push edi
push dword [ebx + 0x398]
call sub.WSOCK32.dll_send
push 0x21
push 0x40f
push dword [0x55b3c8]
push dword [ebx + 0x398]
call sub.WSOCK32.dll_WSAAsyncSelect
xor eax, eax
jmp 0x47a041
push 0
push 0
push dword [0x55b3c8]
push dword [ebx + 0x398]
call sub.WSOCK32.dll_WSAAsyncSelect
push 0
push 0x2000
push edi
push dword [ebx + 0x398]
call sub.WSOCK32.dll_recv
mov esi, eax
cmp esi, 0xffffffff
je 0x479e1c
test esi, esi
jle 0x479e1c
mov byte [edi + esi], 0
push edi
call fcn.004c502b
test eax, eax
je 0x479e1c
xor esi, esi
lea eax, [ebp - 0x14]
xor edx, edx
mov dword [eax], edx
inc esi
add eax, 4
cmp esi, 4
jl 0x479c11
push 0x551c36
push edi
call fcn.00539970
add esp, 8
xor ecx, ecx
mov esi, ecx
mov dword [ebp + ecx*4 - 0x14], eax
jmp 0x479c3b
cmp esi, 3
jge 0x479c53
push 0x551c39
push 0
call fcn.00539970
add esp, 8
inc esi
mov dword [ebp + esi*4 - 0x14], eax
test eax, eax
jne 0x479c36
cmp esi, 2
jl 0x479e1c
push dword [ebp - 0x10]
call fcn.004c5084
test eax, eax
je 0x479e1c
push dword [ebp - 0x14]
call fcn.00542dbc
pop ecx
mov esi, eax
cmp esi, 0x83
je 0x479cf0
mov esi, dword [0x54cbf4]
test esi, esi
je 0x479cbf
cmp dword [esi + 0x538], 0
je 0x479cb5
cmp dword [esi + 0x51c], 3
jne 0x479cb5
lea eax, [ebx + 0xcc]
push eax
lea edx, [esi + 0x4b8]
push edx
call fcn.0053977c
add esp, 8
test eax, eax
je 0x479cbf
mov esi, dword [esi + 0x87c]
test esi, esi
jne 0x479c89
test esi, esi
je 0x479e1c
mov dword [0x558960], 1
push dword [0x54d29c]
push 0
push 0xb61
call fcn.0041c35b
push eax
push dword [esi]
call fcn.004dfd6c
jmp 0x479e1c
push 0xa
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0xc]
call fcn.00544304
add esp, 0xc
mov dword [ebx + 0x35c], eax
cmp dword [0x556164], 0
jne 0x479d30
jmp 0x479d18
mov eax, dword [ebp - 4]
mov byte [eax], 0x5f
push 0x20
lea edx, [ebx + 0x234]
push edx
call fcn.00539518
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x479d12
push 0
push 0
lea edx, [ebx + 0x130]
push edx
lea esi, [ebx + 0x234]
push esi
call fcn.0046e7cb
push esi
call fcn.0041c667
test eax, eax
jne 0x479e1c
mov eax, dword [0x54f35c]
mov dword [0x55b55c], eax
cmp dword [0x54fcb0], 0
je 0x479d7d
push 0x45d125
push 0x32a
push dword [0x55b3c8]
call fcn.0045a0bc
push ebx
call fcn.00478dd8
test eax, eax
je 0x479e1c
mov edx, dword [0x54fc1c]
mov dword [ebx + 0x360], edx
xor ecx, ecx
mov dword [0x54fc1c], ecx
push 0
call fcn.00548d28
pop ecx
mov dword [ebx + 0x394], eax
push esi
lea eax, [ebx + 4]
push eax
push str.Get__s__s
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
push ebx
call fcn.00479102
mov esi, eax
mov dword [ebx], esi
test esi, esi
jne 0x479de2
push 0
push 2
push 3
push edi
call fcn.00519cb1
mov esi, eax
mov dword [ebx], esi
test esi, esi
je 0x479e1c
push dword [ebx + 0x360]
imul eax, dword [0x557490], 0x64
add eax, 0x5573c8
push eax
push str.132__s__lu_n
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
push 0
push edi
call fcn.005395b8
pop ecx
push eax
push edi
push dword [ebx + 0x398]
call sub.WSOCK32.dll_send
jmp 0x479e2b
push 0
push ebx
call fcn.0047896f
xor eax, eax
jmp 0x47a041
mov dword [ebx + 0x33c], 4
xor edx, edx
mov dword [ebx + 0x350], edx
xor ecx, ecx
mov dword [ebx + 0x358], ecx
push 0
call fcn.00548d28
pop ecx
mov esi, eax
mov dword [ebx + 0x37c], esi
mov dword [ebx + 0x380], esi
call sub.KERNEL32.dll_GetTickCount
mov dword [ebx + 0x384], eax
mov eax, dword [ebx + 0x350]
mov dword [ebx + 0x388], eax
xor edx, edx
mov dword [ebx + 0x38c], edx
xor ecx, ecx
mov dword [ebx + 0x390], ecx
lea eax, [ebx + 0x130]
push edi
mov esi, edi
mov edi, 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
push 2
push edi
call fcn.0041c947
test eax, eax
jne 0x479ef8
push 0
push 0
push edi
push 0x551c54
call fcn.0046e7cb
push 2
push edi
call fcn.0041c947
test eax, eax
jne 0x479ef8
push edi
mov esi, edi
mov edi, 0x553318
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
cmp byte [edi], 0
je 0x479f19
push edi
call fcn.005395b8
pop ecx
cmp byte [edi + eax - 1], 0x5c
je 0x479f19
push 0x551c58
push edi
call fcn.005394dc
add esp, 8
lea eax, [ebx + 0x130]
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 eax, [ebx + 0x234]
push eax
push edi
call fcn.005394dc
add esp, 8
cmp dword [ebx + 0x360], 0
jbe 0x479fa8
push 0x180
push 0x20
push 0x8901
push edi
call fcn.0053fb14
add esp, 0x10
mov dword [ebx + 0x338], eax
test eax, eax
jge 0x479f94
push 1
push ebx
push 0
push 0xb62
call fcn.0041c35b
push eax
call fcn.0047962b
xor eax, eax
jmp 0x47a041
mov eax, dword [ebx + 0x360]
mov dword [ebx + 0x350], eax
mov dword [ebx + 0x388], eax
jmp 0x479fe0
push 0x180
push 0x20
push 0x8301
push edi
call fcn.0053fb14
add esp, 0x10
mov dword [ebx + 0x338], eax
test eax, eax
jge 0x479fe0
push 1
push ebx
push 0
push 0xb62
call fcn.0041c35b
push eax
call fcn.0047962b
xor eax, eax
jmp 0x47a041
push 0
push 0xb63
call fcn.0041c35b
push eax
push 1
push 1
push 1
push 1
push ebx
call fcn.0050c318
push 0
push 0xb64
call fcn.0041c35b
push eax
push 0
push 0
push 0
push 0
push ebx
call fcn.0050c318
cmp dword [0x54a710], 0
je 0x47a027
push 0x1c
push ebx
call fcn.00478b09
push 0x23
push 0x412
push dword [0x55b3c8]
push dword [ebx + 0x398]
call sub.WSOCK32.dll_WSAAsyncSelect
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4