Function at 0x454a30
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5250
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x628040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x260], edi
mov dword [edi + 0x40dc], 0
call esi
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov dword [edi + 0x240f0], edx
call esi
mov ecx, eax
mov dword [ebp - 4], 0
mov eax, 0x10624dd3
mul ecx
push 6
push 1
shr edx, 6
push 2
mov dword [edi + 0x240f4], edx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
jne 0x454ad7
push 0x6239c8
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 2
push eax
call fcn.00598448
cmp dword [edi - 0x54], 0
jne 0x454b12
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x234], xmm0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00472eb6
mov edx, dword [edi - 0x74]
lea ecx, [edi - 0x74]
push 0
push 0x64
push eax
lea eax, [ebp - 0x234]
push eax
push 0x40000000
push 0
push 0
call dword [edx + 0x54]
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, 2
movdqu xmmword [ebp - 0x224], xmm0
push esi
mov word [ebp - 0x224], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp byte [edi + 0x4018], 0
mov word [ebp - 0x222], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
je 0x454f04
lea ecx, [edi - 0x74]
call fcn.004553b0
movzx eax, al
test eax, eax
je 0x454b76
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
push 0x6239b8
push eax
call fcn.00598448
movzx eax, byte [edi + 0x4018]
dec eax
je 0x454dd7
dec eax
je 0x454ce3
dec eax
je 0x454ba9
push 0x6239c8
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 3
push eax
call fcn.00598448
push 0xfc
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 0x1000105
push 0
push eax
call fcn.00598070
mov eax, dword [ebp - 0x220]
add esp, 0xc
mov dword [ebp - 0x110], eax
mov ax, word [ebp - 0x222]
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x114]
push 0
push 0xa
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xa
je 0x454c17
push 0x6239c8
lea eax, [ebp - 0x278]
mov dword [ebp - 0x278], 3
push eax
call fcn.00598448
push 0
push 4
lea eax, [ebp - 0x114]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x454c4b
push 0x6239c8
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 3
push eax
call fcn.00598448
cmp byte [ebp - 0x114], 5
je 0x454c6f
push 0x6239c8
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 3
push eax
call fcn.00598448
cmp byte [ebp - 0x113], 0
jne 0x454c93
push 0x6239c8
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 3
push eax
call fcn.00598448
cmp byte [ebp - 0x111], 1
jne 0x454ca3
mov esi, 6
jmp 0x454cad
movsx esi, byte [ebp - 0x110]
add esi, 2
push 0
push esi
lea eax, [ebp - 0x114]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, esi
je 0x454ed1
push 0x6239c8
lea eax, [ebp - 0x264]
mov dword [ebp - 0x264], 3
push eax
call fcn.00598448
push 0xfe
lea eax, [ebp - 0x112]
mov word [ebp - 0x114], 0x104
push 0
push eax
call fcn.00598070
mov ax, word [ebp - 0x222]
add esp, 0xc
mov word [ebp - 0x112], ax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x114]
push 0
push 9
push eax
push dword [edi + 8]
mov byte [ebp - 0x10c], 0
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 9
je 0x454d57
push 0x6239c8
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 3
push eax
call fcn.00598448
push 0
push 8
lea eax, [ebp - 0x114]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 8
je 0x454d8b
push 0x6239c8
lea eax, [ebp - 0x274]
mov dword [ebp - 0x274], 3
push eax
call fcn.00598448
cmp byte [ebp - 0x114], 0
je 0x454daf
push 0x6239c8
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x25c], 3
push eax
call fcn.00598448
cmp byte [ebp - 0x113], 0x5a
je 0x454ed1
push 0x6239c8
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 3
push eax
call fcn.00598448
mov ecx, dword [ebp + 8]
movzx eax, si
push eax
mov eax, dword [ebp + 0xb]
movzx eax, al
push eax
mov eax, dword [ebp + 0xa]
movzx eax, al
push eax
movzx eax, ch
push eax
movzx eax, cl
push eax
push str.CONNECT__d._d._d._d:_d_HTTP_1.0_r_nUser_Agent:_WHPlatform_0.1_r_n_r_n
lea eax, [ebp - 0x214]
push 0x200
push eax
call fcn.005974fe
lea esi, [ebp - 0x214]
add esp, 0x20
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x454e16
push 0
sub esi, ecx
lea eax, [ebp - 0x214]
push esi
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
je 0x454e51
push 0x6239c8
lea eax, [ebp - 0x248]
mov dword [ebp - 0x248], 3
push eax
call fcn.00598448
push 0
push 0x200
lea eax, [ebp - 0x214]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x454e7e
cmp ecx, 0x200
jae 0x454ecc
mov byte [ebp + ecx - 0x214], 0
xor eax, eax
test ecx, ecx
jle 0x454eb1
cmp byte [ebp + eax - 0x214], 0x20
jne 0x454eac
cmp byte [ebp + eax - 0x213], 0x32
jne 0x454eac
cmp byte [ebp + eax - 0x212], 0x30
jne 0x454eac
cmp byte [ebp + eax - 0x211], 0x30
je 0x454ed1
inc eax
cmp eax, ecx
jl 0x454e84
push 0x6239c8
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 3
push eax
call fcn.00598448
call fcn.00596bbf
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0x10
push 0
push 0x373
push dword [edi - 0x54]
mov byte [edi + 6], 2
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x33
push 0x373
push dword [edi - 0x54]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
jmp 0x454f78
push 0x33
push 0x373
push dword [edi - 0x54]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
push 0x10
lea eax, [ebp - 0x224]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x454f74
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x454f74
push 0x6239c8
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 2
push eax
call fcn.00598448
mov ecx, dword [ebp - 0x260]
push 0
lea ecx, [ecx - 0x74]
call fcn.004550c0
mov eax, 0x454f6c
ret
mov byte [edi + 6], 1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005952cc
mov esp, ebp
pop ebp
ret 8