Function at 0x4b2af0
Capabilities:
Check for time delay via queryperformancecounter
Connect socket
Get socket status
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x578
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x20], eax
cmp ecx, 0x3b9aca00
jne 0x4b2b40
mov edi, dword [edx + 0x48]
mov eax, dword [edx + 0x4c]
mov ecx, dword [edx + 0x50]
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], ecx
jmp 0x4b2ca4
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea edi, [esp + 0xd0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x70], edx
mov dword [esp + 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4b4b68
mov ebx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
movq xmm0, qword [0x623138]
movd esi, xmm0
pshufd xmm0, xmm0, 0x55
mov dword [esp + 4], ecx
movd edx, xmm0
mov eax, esi
or eax, edx
jne 0x4b2bfd
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x4b4b68
movq xmm0, qword [esp + 0xd0]
mov esi, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
movq qword [0x623138], xmm0
mov eax, esi
mov ecx, dword [esp + 4]
or eax, edx
je 0x4b4b66
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov dword [esp], edx
push edx
push esi
push ecx
push ebx
call fcn.004db7b0
mov edi, edx
mov ecx, eax
mul esi
imul ebx, edi, 0x3b9aca00
imul edi, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0x3b9aca00
add edi, edx
mov edx, ecx
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 4]
imul edx, dword [esp]
add edi, edx
sub esi, eax
mov edx, 0x3b9aca00
mov eax, ecx
sbb ebx, edi
mul edx
mov edi, edx
mov dword [esp + 4], eax
mov eax, esi
mov edx, 0x3b9aca00
imul ecx, ebx, 0x3b9aca00
add edi, dword [esp + 0xc]
mul edx
add edx, ecx
push dword [esp]
push dword [esp + 0x14]
push edx
push eax
call fcn.004db7b0
mov esi, eax
add esi, dword [esp + 4]
adc edx, edi
push 0
push 0x3b9aca00
push edx
push esi
call fcn.004db7b0
mov edi, dword [esp + 0x70]
mov ecx, eax
mov dword [esp + 0x48], edx
add ecx, edi
mov ecx, edx
mov edx, dword [esp + 8]
adc ecx, edx
jae 0x4b2d61
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x70], edi
cmp eax, dword [ecx + 0x5c]
jno 0x4b2d2f
lea eax, [esp + 0x7c]
lea edx, [ebp + 0x10]
lea ecx, [esp + 0x1f8]
mov dword [esp + 0xd0], 0x60c4dc
mov dword [esp + 0xd4], 2
mov dword [esp + 0xe0], 0
mov dword [esp + 0x84], getsockopt
lea esi, [esp + 0x44c]
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], 0x493590
mov dword [esp + 0x200], edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x204], 0x410d40
mov dword [esp + 0xdc], 2
jmp 0x4b2f49
mov esi, dword [ecx + 0x64]
mov eax, ecx
test esi, esi
js 0x4b4b66
mov ecx, dword [eax + 0x60]
je 0x4b2da3
mov dword [esp], ecx
xor ecx, ecx
mov edx, esi
movzx eax, byte [0x62314d]
call fcn.0048bb80
test eax, eax
je 0x4b4b66
mov ecx, dword [esp]
jmp 0x4b2da8
imul ecx, eax, 0x3b9aca00
sub esi, ecx
mov ecx, dword [esp + 0x40]
add edi, eax
adc dword [esp + 0x48], edx
add ecx, esi
cmp ecx, 0x3b9aca00
jb 0x4b2b37
mov eax, edi
and eax, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x4b2ca4
add ecx, 0xc4653600
add edi, 1
adc dword [esp + 0x48], 0
jmp 0x4b2b37
mov eax, 1
mov dword [esp], esi
push esi
push ecx
mov dword [esp + 0xc], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
xor edx, edx
mov ebx, connect
mov ecx, dword [eax + 0x80]
cmp edx, dword [eax + 0x68]
mov dword [esp + 8], ecx
jno 0x4b2de3
mov edi, connect
cmp edx, dword [eax + 0x74]
jno 0x4b2e2b
jmp 0x4b2e73
mov edi, dword [eax + 0x70]
test edi, edi
js 0x4b4b66
mov esi, dword [eax + 0x6c]
je 0x4b2e0c
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, edi
call fcn.0048bb80
test eax, eax
jne 0x4b2e11
jmp 0x4b4b66
mov eax, 1
push edi
push esi
mov dword [esp + 0x18], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
xor edx, edx
cmp edx, dword [eax + 0x74]
jo 0x4b2dde
mov ebx, dword [eax + 0x7c]
test ebx, ebx
js 0x4b4b66
mov eax, dword [eax + 0x78]
je 0x4b2e5f
mov dword [esp + 0xc], eax
xor ecx, ecx
mov edx, ebx
movzx eax, byte [0x62314d]
call fcn.0048bb80
test eax, eax
je 0x4b4b66
mov esi, eax
mov eax, dword [esp + 0xc]
jmp 0x4b2e64
mov esi, 1
push ebx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
movzx eax, byte [eax + 0x84]
mov dword [esp + 0xd0], 0x60c4dc
mov dword [esp + 0xd4], 2
mov dword [esp + 0xe0], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 8]
mov dword [esp + 0xa4], ebx
lea edx, [esp + 0x84]
mov dword [esp + 0x1f8], edx
lea edx, [esp + 0x1f8]
mov dword [esp + 0x1fc], 0x404e90
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], 2
mov dword [esp + 0xa8], esi
lea esi, [esp + 0xa8]
mov byte [esp + 0xac], al
mov dword [esp + 0x200], esi
lea esi, [esp + 0x440]
mov dword [esp + 0x204], 0x410e20
lea edx, [esp + 0xd0]
mov ecx, esi
call fcn.0040d730
mov eax, dword [esi + 8]
movq xmm0, qword [esi]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x38]
movq qword [esp + 0xb0], xmm0
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax + 8]
lock inc dword [ecx]
jle 0x4b4b66
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 8]
lea ecx, [esp + 0x3c0]
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea eax, [edi + eax + 8]
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push eax
push ecx
call dword [esi + 0xc]
add esp, 0x10
mov eax, dword [esp + 0x3c0]
mov dword [esp + 0x44], eax
neg eax
jno 0x4b30d7
movq xmm0, qword [esp + 0x3c4]
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x11c]
lea edx, [esp + 0x1f8]
mov dword [esp + str.resolve_dns_name_], 0x60cba4
mov dword [esp + 0x1fc], 2
mov dword [esp + 0x208], 0
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0xc4], 0x404e90
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], 1
movq qword [esp + 0x24], xmm0
call fcn.0040d730
lea eax, [esp + 0x24]
mov dword [esp + 0xd4], 2
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 2
mov dword [esp + 0xd0], 2
lea ecx, [esp + 0x1f8]
lea edx, [esp + 0xd0]
push eax
call fcn.00496ec0
add esp, 4
mov eax, dword [esp + 0x1fc]
mov ebx, dword [esp + 0x1f8]
lea ecx, [esp + 0x300]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x204]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x208]
push 0xb4
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp ebx, 3
mov dword [esp], ebx
jne 0x4b3b6f
mov ebx, dword [esp + 0x4c]
lock dec dword [edi]
je 0x4b30ee
jmp 0x4b30f7
mov eax, dword [esp + 0x3c4]
mov ebx, dword [esp + 0x3c8]
mov dword [esp + 0x3c], eax
lock dec dword [edi]
jne 0x4b30f7
mov ecx, edi
mov edx, esi
call fcn.00438710
test ebx, ebx
je 0x4b3ae0
xor eax, eax
mov dword [esp + 4], 4
cmp eax, dword [esp + 0x84]
mov eax, 4
jo 0x4b311e
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ebx
shl ebx, 5
mov dword [esp + 0x1e8], eax
movzx eax, al
mov dword [esp + 0x78], eax
add ebx, ecx
mov esi, ecx
mov dword [esp + 0x74], ebx
jmp 0x4b3165
add esi, 0x20
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
cmp esi, dword [esp + 0x74]
je 0x4b3bc5
movzx eax, word [esi]
mov word [esp + 0x32], 2
cmp eax, 2
je 0x4b3bbd
mov dword [esp + 0x10], eax
movzx eax, word [esi + 0xa]
cmp dword [esp + 0x1c], 0x3b9aca00
mov edi, 0x3b9aca00
mov dword [esp], esi
mov word [esp + 0x68], ax
movq xmm0, qword [esi + 2]
movq qword [esp + 0x60], xmm0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], eax
movzx eax, word [esi + 0x1c]
mov word [esp + 0x34], ax
movzx eax, word [esi + 0x1e]
mov word [esp + 0x36], ax
je 0x4b337a
mov eax, dword [esp + 0x48]
mov dword [esp + 0x304], 0
mov dword [esp + 0x300], 0
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x300]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4b4b68
mov esi, dword [esp + 0x300]
mov edi, dword [esp + 0x304]
movq xmm0, qword [0x623138]
movd edx, xmm0
pshufd xmm0, xmm0, 0x55
movd ecx, xmm0
mov eax, edx
or eax, ecx
jne 0x4b329f
lea eax, [esp + 0x300]
mov dword [esp + 0x304], 0
mov dword [esp + 0x300], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x4b4b68
mov edx, dword [esp + 0x300]
mov ecx, dword [esp + 0x304]
movq xmm0, qword [esp + 0x300]
mov eax, edx
movq qword [0x623138], xmm0
or eax, ecx
je 0x4b4b66
mov dword [esp + 0xc], ecx
push ecx
push edx
push edi
push esi
mov ebx, edx
mov dword [esp + 0x3c], edx
call fcn.004db7b0
mov dword [esp + 0x18], edi
mov edi, edx
mov ecx, eax
mov dword [esp + 0x1ec], esi
mul ebx
imul esi, edi, 0x3b9aca00
imul edi, ebx
mov ebx, dword [esp + 0x18]
add edi, edx
mov edx, ecx
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x1ec]
imul edx, dword [esp + 0xc]
add edi, edx
sub esi, eax
mov eax, ecx
mov ecx, 0x3b9aca00
sbb ebx, edi
mul ecx
mov edi, edx
mov dword [esp + 0x18], eax
mov eax, esi
mov edx, 0x3b9aca00
imul ecx, ebx, 0x3b9aca00
add edi, dword [esp + 0x50]
mul edx
add edx, ecx
push dword [esp + 0xc]
push dword [esp + 0x30]
push edx
push eax
call fcn.004db7b0
mov esi, eax
add esi, dword [esp + 0x18]
adc edx, edi
push 0
push 0x3b9aca00
push edx
push esi
call fcn.004db7b0
imul ecx, eax, 0x3b9aca00
mov edi, edx
mov edx, eax
sub esi, ecx
lea ecx, [esp + 0xd0]
push esi
push edi
call fcn.0047bf60
add esp, 8
cmp ecx, 0x3b9aca00
je 0x4b3f29
cmp dword [esp + 0x4c], 1
mov esi, edx
mov edi, ecx
je 0x4b337a
shr edi, 1
test al, 1
lea ecx, [edi + 0x1dcd6500]
cmovne edi, ecx
shrd eax, esi, 1
shr esi, 1
test byte [esp + 0x78], 0xfb
jne 0x4b3400
cmp edi, 0x3b9aca00
jne 0x4b3450
mov edx, dword [esp + 0x10]
cmp edx, 2
je 0x4b3570
movd xmm0, dword [esp + 0x60]
movzx ecx, word [esp + 0x64]
mov eax, dword [esp + 0x66]
cmp edx, 3
jne 0x4b357a
pextrw edx, xmm0, 1
mov word [esp + 0xd0], dx
mov word [esp + 0xd2], cx
lea ecx, [esp + 0x3c0]
lea edx, [esp + 0xd0]
mov dword [esp + 0xd4], eax
call fcn.0048bd60
cmp byte [esp + 0x3c0], 4
mov esi, dword [esp]
jne 0x4b377b
mov eax, dword [esp + 0x3c4]
jmp 0x4b3624
xor eax, eax
cmp eax, dword [esp + 0x84]
jo 0x4b4b66
mov esi, dword [esp + 0x8c]
test esi, esi
js 0x4b4b66
mov edi, dword [esp + 0x88]
je 0x4b3502
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, esi
call fcn.0048bb80
test eax, eax
jne 0x4b3507
jmp 0x4b4b66
mov dword [esp + 0x2c], eax
mov eax, dword [0x623128]
cmp eax, 3
jne 0x4b396f
mov edx, dword [esp + 0x10]
lea ebx, [esp + 0xd0]
mov ecx, ebx
call fcn.00481d90
movzx ecx, byte [esp + 0xd0]
cmp cl, 4
jne 0x4b34de
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xd0], 1
push ebx
push 0x8004667e
mov dword [esp + 0x14], eax
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x4b3856
test byte [esp + 0x10], 1
je 0x4b37a1
mov eax, dword [esp + 0x62]
mov ebx, dword [esp + 0x66]
movzx edx, word [esp + 0x34]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], 0x1c
mov dword [esp + 0x50], eax
mov ax, 0x17
jmp 0x4b37c0
movzx eax, byte [esp + 0xd3]
movzx ebx, word [esp + 0xd1]
mov edi, dword [esp + 0xd4]
mov esi, dword [esp]
shl eax, 0x10
or ebx, eax
jmp 0x4b3883
mov eax, 1
push esi
push edi
mov dword [esp + 0x14], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov ebx, connect
mov edi, connect
cmp eax, dword [esp + 0x90]
jo 0x4b3651
mov edi, dword [esp + 0x98]
test edi, edi
js 0x4b4b66
mov ecx, dword [esp + 0x94]
je 0x4b363d
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov edx, edi
movzx eax, byte [0x62314d]
call fcn.0048bb80
test eax, eax
je 0x4b4b66
mov ecx, dword [esp + 0x2c]
jmp 0x4b3642
mov ecx, 4
jmp 0x4b373e
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov word [esp + 0xd0], dx
movd dword [esp + 0xd2], xmm0
mov word [esp + 0xd6], cx
mov dword [esp + 0xd8], eax
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x36]
mov dword [esp + 0x1f8], 4
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], esi
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], esi
mov word [esp + 0xec], cx
lea ecx, [esp + 0xd0]
mov word [esp + 0xee], dx
lea edx, [esp + 0x1f8]
mov dword [esp + 0x1fc], ecx
lea ecx, [esp + 0x300]
call fcn.0048bd60
cmp byte [esp + 0x300], 4
mov eax, dword [esp + 0x304]
jne 0x4b3737
mov esi, dword [esp]
mov dword [esp + 0x28], eax
mov byte [esp + 0x24], 4
cmp byte [esp + 0x24], 4
jne 0x4b389e
jmp 0x4b3e56
mov eax, 1
push edi
push ecx
mov dword [esp + 0x34], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
cmp eax, dword [esp + 0x9c]
jo 0x4b36aa
mov ebx, dword [esp + 0xa4]
test ebx, ebx
js 0x4b4b66
mov ecx, dword [esp + 0xa0]
je 0x4b3696
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov edx, ebx
movzx eax, byte [0x62314d]
call fcn.0048bb80
test eax, eax
je 0x4b4b66
mov ecx, dword [esp + 0x18]
jmp 0x4b369b
mov eax, 1
push ebx
push ecx
mov dword [esp + 0x20], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x24]
mov edx, 0x27
push 0x17
push str.SOCKS_feature_disabled.unknown_scheme_
call fcn.0049b9b0
add esp, 8
test esi, esi
je 0x4b36d8
push dword [esp + 0xc]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp]
test edi, 0x7fffffff
jne 0x4b36fb
test ebx, 0x7fffffff
jne 0x4b3715
cmp byte [esp + 0x24], 4
jne 0x4b389e
jmp 0x4b3e56
push dword [esp + 0x2c]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, 0x7fffffff
je 0x4b36eb
push dword [esp + 0x18]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [esp + 0x24], 4
jne 0x4b389e
jmp 0x4b3e56
mov ecx, dword [esp + 0x300]
mov edx, ecx
mov ebx, ecx
mov esi, 2
shr edx, 8
cmp cl, 4
cmove ebx, esi
mov esi, 0x6071bc
cmove eax, esi
mov esi, dword [esp]
shr ecx, 0x18
mov byte [esp + 0x3c0], bl
mov word [esp + 0x3c1], dx
mov byte [esp + 0x3c3], cl
mov dword [esp + 0x3c4], eax
mov eax, dword [esp + 0x3c0]
mov ecx, dword [esp + 0x3c4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
cmp byte [esp + 0x24], 4
jne 0x4b389e
jmp 0x4b3e56
movzx edx, word [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x50], 0
mov dword [esp + 0x18], 0x10
mov ax, 2
xor ebx, ebx
mov word [esp + 0xd0], ax
mov eax, dword [esp + 0x50]
rol dx, 8
mov word [esp + 0xd2], dx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xe8], eax
push dword [esp + 0x18]
lea ebx, [esp + 0xd4]
push ebx
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4b3916
lea eax, [esp + 0xd0]
mov dword [esp + 0xd0], 0
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x4b3e5e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ebx, ebx
xor ecx, ecx
mov esi, dword [esp]
mov edi, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
push edi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], edi
mov dword [esp + 0x6c], ebx
shl ebx, 8
movzx eax, cl
mov dword [esp + 0x28], edi
or eax, ebx
mov dword [esp + 0x24], eax
cmp byte [esp + 0x24], 4
je 0x4b3e56
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cmp byte [esp + 4], 3
jne 0x4b3901
mov eax, dword [esp + 8]
mov dword [esp + 4], ebx
mov ebx, edi
mov edi, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x4b38c8
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4b38e6
cmp dword [edi + 8], 9
jb 0x4b38d7
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 8]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, ebx
mov ebx, dword [esp + 4]
mov esi, dword [esp]
cmp bl, 4
jne 0x4b3150
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x4b3150
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xd0], 0
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x4b3856
mov ecx, dword [esp + 0x18]
call fcn.0047dc70
xor ebx, ebx
cmp al, 0xd
jne 0x4b3979
mov ecx, dword [esp + 0x2c]
mov eax, ecx
or eax, esi
or eax, edi
jne 0x4b398b
mov eax, 0x5e37d0
mov cl, 2
jmp 0x4b3860
call fcn.004df1b0
jmp 0x4b3462
mov esi, dword [esp]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
xor ecx, ecx
jmp 0x4b3867
cmp ecx, 0x7fffffff
mov eax, accept
cmovae ecx, eax
test esi, esi
cmovne ecx, eax
mov eax, edi
mov esi, ecx
mov ecx, 0x10624dd3
mul ecx
mov ecx, 1
mov dword [esp + 0x3c0], esi
shr edx, 6
test esi, esi
mov eax, edx
cmove eax, ecx
cmp edi, 0x3e8
cmovae eax, edx
mov dword [esp + 0x3c4], eax
push 0xfc
push 0
lea eax, [esp + 0xe0]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, dword [esp + 0xc]
mov dword [esp + 0x1f8], 1
mov dword [esp + 0x1fc], edi
push 0xfc
push 0
lea eax, [esp + 0x208]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x3c0]
mov dword [esp + 0xd0], 1
mov dword [esp + 0xd4], edi
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x200]
push eax
push 0
push 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x4b3a65
mov esi, dword [esp]
cmp eax, 0xffffffff
jne 0x4b3a71
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x6c], 0
jmp 0x4b3acc
mov esi, dword [esp]
mov cl, 2
mov eax, 0x5e37fc
jmp 0x4b3ace
cmp dword [esp + 0x1f8], 1
mov cl, 4
jne 0x4b3a86
mov eax, dword [esp + 0xbc]
jmp 0x4b3ace
lea ecx, [esp + 0x300]
mov edx, edi
call fcn.00481e40
test byte [esp + 0x300], 1
je 0x4b3aa7
mov ebx, dword [esp + 0x304]
jmp 0x4b3abc
mov ebx, dword [esp + 0x304]
mov eax, dword [esp + 0xbc]
mov cl, 4
cmp bl, 4
je 0x4b3ace
mov eax, dword [esp + 0x308]
mov ecx, ebx
shr ecx, 8
mov dword [esp + 0x6c], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x6c]
cmp cl, 4
jne 0x4b3867
jmp 0x4b3e5e
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x7c]
lea edx, [esp + 0xd0]
mov dword [esp + 0xd0], 0x60cb88
mov dword [esp + 0xd4], 1
mov dword [esp + 0xe0], 0
mov dword [esp + 0x1f8], eax
lea eax, [esp + 0x1f8]
mov dword [esp + 0x1fc], 0x493590
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 1
lea ecx, [esi + 0x4c]
call fcn.0040d730
cmp dword [esp + 0x44], 0
mov dword [esi], 2
mov dword [esi + 4], 2
mov dword [esi + 0x58], 0
mov byte [esi + 0x60], 2
je 0x4b471c
push dword [esp + 0x3c]
jmp 0x4b470e
mov ebx, dword [esp + 0x14]
lea eax, [ebx + 0x10]
push 0xb4
lea ecx, [esp + 0x304]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
lock dec dword [edi]
jne 0x4b471c
mov ecx, edi
mov edx, esi
call fcn.00438710
jmp 0x4b471c
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
cmp dword [esp + 0x44], 0
je 0x4b3bde
push dword [esp + 0x3c]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp word [esp + 0x32], 2
jne 0x4b3c9a
cmp bl, 4
je 0x4b4b66
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], edi
xor ecx, ecx
mov edx, 0xd
movzx eax, byte [0x62314d]
call fcn.0048bb80
test eax, eax
je 0x4b4b66
mov ecx, dword [esp + 0x14]
mov byte [eax + 0xc], 0x72
mov dword [eax + 8], 0x6f727265
mov dword [eax + 4], 0x20746365
mov dword [eax], 0x6e6e6f43
mov dword [esp + 0xd4], 2
mov dword [esp + 0x11c], 0xd
mov dword [esp + 0x120], eax
lea eax, [esp + 0x1f0]
mov dword [esp + 0x124], 0xd
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 4
mov dword [esp + 0xd0], 2
lea edx, [esp + 0xd0]
push eax
call fcn.00496ec0
add esp, 4
jmp 0x4b471c
movzx eax, word [esp + 0xc8]
movq xmm0, qword [esp + 0xc0]
mov ecx, dword [esp + 0xc]
mov word [esp + 0x1e0], ax
mov eax, dword [esp + 0x20]
movq qword [esp + 0x1d8], xmm0
mov dword [esp + 0x24], ecx
movzx eax, byte [eax + 0x8d]
mov dword [esp + 0xd0], eax
push 4
lea eax, [esp + 0xd4]
push eax
push 1
push 6
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4b3e9b
mov eax, dword [esp + 0x38]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov ecx, dword [eax + 0x50]
cmp ecx, 0x3b9aca00
jne 0x4b4039
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
xor ebx, ebx
mov ecx, dword [eax + 0x20]
cmp ecx, 0x3b9aca00
je 0x4b3d76
mov eax, dword [esp + 0x20]
mov edi, 0x3e8
mov dword [esp + 8], edx
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mul edi
mov ebx, eax
mov eax, esi
seto byte [esp + 0x10]
mul edi
mov edi, edx
mov esi, eax
add edi, ebx
mov ebx, 0xffffffff
setb al
or al, byte [esp + 0x10]
jne 0x4b3d72
mov edx, 0x431bde83
mov eax, ecx
mul edx
mov eax, esi
shr edx, 0x12
add eax, edx
mov eax, edi
adc eax, 0
jae 0x4b4435
mov edx, dword [esp + 8]
mov dword [esp + 0xd0], ebx
push 4
lea eax, [esp + 0xd4]
push eax
push 0x1006
push 0xffff
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4b4331
mov bl, 4
mov edi, dword [esp]
xor ecx, ecx
cmp bl, 4
jne 0x4b4347
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
xor ebx, ebx
mov ecx, dword [eax + 0x30]
cmp ecx, 0x3b9aca00
je 0x4b3e19
mov eax, dword [esp + 0x20]
mov edi, 0x3e8
mov dword [esp + 8], edx
mov esi, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mul edi
mov ebx, eax
mov eax, esi
seto byte [esp + 0x10]
mul edi
mov edi, edx
mov esi, eax
add edi, ebx
mov ebx, 0xffffffff
setb al
or al, byte [esp + 0x10]
jne 0x4b3e15
mov edx, 0x431bde83
mov eax, ecx
mul edx
mov eax, esi
shr edx, 0x12
add eax, edx
mov eax, edi
adc eax, 0
jae 0x4b45f9
mov edx, dword [esp + 8]
mov dword [esp + 0xd0], ebx
push 4
lea eax, [esp + 0xd4]
push eax
push 0x1005
push 0xffff
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4b43bb
mov bl, 4
xor ecx, ecx
cmp bl, 4
je 0x4b451d
jmp 0x4b4652
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x68]
movq xmm0, qword [esp + 0x60]
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
mov word [esp + 0xc8], ax
mov eax, dword [esp + 0x10]
movq qword [esp + 0xc0], xmm0
mov word [esp + 0x32], ax
cmp dword [esp + 0x44], 0
jne 0x4b3bcc
jmp 0x4b3bde
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1fb], 0
mov word [esp + 0x1f9], 0
mov dword [esp + 0x1fc], eax
lea eax, [esp + 0x1f8]
mov dword [esp + 0xd4], 2
mov dword [esp + 0x11c], getsockopt
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 8
mov byte [esp + 0x1f8], 0
mov dword [esp + 0xd0], 2
lea edx, [esp + 0xd0]
push eax
call fcn.00496ec0
add esp, 4
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp bl, 4
je 0x4b471c
jmp 0x4b46d7
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, 0x1a
call fcn.0048bb80
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
test eax, eax
je 0x4b4b66
lea esi, [esp + 0x1f8]
mov word [eax + 0x18], 0x6573
mov dword [eax + 0x14], 0x6e6f7073
mov dword [eax + 0x10], 0x65722067
mov dword [eax + 0xc], 0x6e696461
mov dword [eax + 8], 0x65722074
mov dword [eax + 4], 0x756f2064
mov dword [eax], 0x656d6974
mov dword [esp + 0x300], 0x1a
mov dword [esp + 0x304], eax
lea eax, [esp + 0x300]
mov dword [esp + 0x308], 0x1a
mov edx, 0x16
mov ecx, esi
push eax
call fcn.004aa810
add esp, 4
movsd xmm0, qword [esp + 0x1f8]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xd4], 2
mov dword [esp + 0x11c], getsockopt
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 8
mov dword [esp + 0xd0], 2
lea edx, [esp + 0xd0]
movsd qword [esp + 0x1f8], xmm0
push esi
call fcn.00496ec0
add esp, 4
test ebx, ebx
je 0x4b4023
push edi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
cmp bl, 4
jne 0x4b46d7
jmp 0x4b471c
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x304], 0
mov dword [esp + 0x300], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x300]
mov dword [esp + 0xd0], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0xd8], ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4b4b68
mov edi, dword [esp + 0x300]
mov esi, dword [esp + 0x304]
movq xmm0, qword [0x623138]
movd edx, xmm0
pshufd xmm0, xmm0, 0x55
movd ecx, xmm0
mov eax, edx
or eax, ecx
jne 0x4b410a
lea eax, [esp + 0x300]
mov dword [esp + 0x304], 0
mov dword [esp + 0x300], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x4b4b68
mov edx, dword [esp + 0x300]
mov ecx, dword [esp + 0x304]
movq xmm0, qword [esp + 0x300]
mov eax, edx
movq qword [0x623138], xmm0
or eax, ecx
je 0x4b4b66
mov dword [esp + 8], ecx
push ecx
push edx
push esi
push edi
mov ebx, edx
mov dword [esp + 0x20], edx
call fcn.004db7b0
mov dword [esp + 0x1c], esi
mov esi, edx
mov ecx, eax
mov dword [esp + 0x78], edi
mul ebx
imul edi, esi, 0x3b9aca00
imul esi, ebx
mov ebx, dword [esp + 0x78]
add esi, edx
mov edx, ecx
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x1c]
imul edx, dword [esp + 8]
add esi, edx
sub ebx, eax
mov edx, 0x3b9aca00
mov eax, ecx
sbb edi, esi
mul edx
mov esi, edx
mov dword [esp + 0x1c], eax
mov eax, ebx
mov edx, 0x3b9aca00
imul ecx, edi, 0x3b9aca00
add esi, dword [esp + 0xc]
mul edx
add edx, ecx
push dword [esp + 8]
push dword [esp + 0x14]
push edx
push eax
call fcn.004db7b0
mov edi, eax
add edi, dword [esp + 0x1c]
adc edx, esi
push 0
push 0x3b9aca00
push edx
push edi
call fcn.004db7b0
imul ecx, eax, 0x3b9aca00
mov esi, edx
mov edx, eax
sub edi, ecx
lea ecx, [esp + 0xd0]
push edi
push esi
call fcn.0047bf60
add esp, 8
cmp ecx, 0x3b9aca00
jne 0x4b429d
movzx eax, byte [0x62314d]
xor ecx, ecx
mov edx, 0x1a
call fcn.0048bb80
test eax, eax
je 0x4b4b66
lea esi, [esp + 0x1f8]
mov word [eax + 0x18], 0x6573
mov dword [eax + 0x14], 0x6e6f7073
mov dword [eax + 0x10], 0x65722067
mov dword [eax + 0xc], 0x6e696461
mov dword [eax + 8], 0x65722074
mov dword [eax + 4], 0x756f2064
mov dword [eax], 0x656d6974
mov dword [esp + 0x300], 0x1a
mov dword [esp + 0x304], eax
mov edx, 0x16
lea eax, [esp + 0x300]
mov dword [esp + 0x308], 0x1a
mov ecx, esi
push eax
call fcn.004aa810
add esp, 4
movq xmm0, qword [esp + 0x1f8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xd0]
mov dword [esp + 0xd4], 2
mov dword [esp + 0x11c], getsockopt
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 8
mov dword [esp + 0xd0], 2
movq qword [esp + 0x1f8], xmm0
push esi
jmp 0x4b46b9
mov esi, dword [esp + 0x24]
mov edi, 0x3e8
mov dword [esp + 8], esi
mov esi, eax
mov eax, edx
mul edi
mov edx, 0x3e8
mov edi, eax
mov eax, esi
seto bl
mul edx
mov esi, edx
mov dword [esp + 0x10], eax
add esi, edi
mov edi, 0xffffffff
setb al
or al, bl
jne 0x4b42f1
mov ebx, dword [esp + 0x10]
mov edx, 0x431bde83
mov eax, ecx
mul edx
shr edx, 0x12
mov eax, ebx
add eax, edx
mov eax, esi
adc eax, 0
jae 0x4b4496
lea edx, [esp + 0xd0]
mov dword [esp + 0xd0], edi
push 4
push edx
push 0x1006
push 0xffff
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4b43d3
mov bl, 4
xor ecx, ecx
cmp bl, 4
je 0x4b43e6
jmp 0x4b4652
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp]
xor ecx, ecx
cmp bl, 4
je 0x4b3db1
mov word [esp + 0x1f9], cx
shr ecx, 0x10
mov dword [esp + 0xd4], 2
mov dword [esp + 0x11c], getsockopt
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 8
mov dword [esp + 0xd0], 2
lea edx, [esp + 0xd0]
mov byte [esp + 0x1fb], cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1fc], eax
lea eax, [esp + 0x1f8]
mov byte [esp + 0x1f8], bl
push eax
call fcn.00496ec0
add esp, 4
jmp 0x4b46c4
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ecx, ecx
cmp bl, 4
jne 0x4b4652
jmp 0x4b451d
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ecx, ecx
cmp bl, 4
jne 0x4b4652
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xd0]
push dword [esp + 0x74]
push dword [esp + 0x30]
call fcn.004b56b0
add esp, 8
mov edi, dword [esp + 0xd8]
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
cmp edi, 0x3b9aca00
jne 0x4b44f7
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], esi
jmp 0x4b4672
imul eax, edx, 0xf4240
sub ecx, eax
add esi, edx
mov edx, dword [esp + 8]
adc edi, 0
xor eax, eax
test ecx, ecx
setne al
add eax, esi
mov eax, edi
adc eax, 0
jb 0x4b3d76
xor eax, eax
test ecx, ecx
setne al
add esi, eax
adc edi, 0
xor ebx, ebx
neg edi
sbb ebx, ebx
or ebx, esi
jne 0x4b3d76
mov ebx, dword [0x5e37e0]
mov eax, dword [0x5e37e4]
mov edi, dword [esp]
mov ecx, ebx
shrd ecx, eax, 8
cmp bl, 4
je 0x4b3db1
jmp 0x4b4347
imul eax, edx, 0xf4240
sub ecx, eax
add ebx, edx
lea edx, [esp + 0xd0]
adc esi, 0
xor eax, eax
test ecx, ecx
setne al
add eax, ebx
mov eax, esi
adc eax, 0
jb 0x4b42f8
xor eax, eax
test ecx, ecx
setne al
add ebx, eax
adc esi, 0
xor edi, edi
neg esi
sbb edi, edi
or edi, ebx
jne 0x4b42f8
mov ebx, dword [0x5e37e0]
mov eax, dword [0x5e37e4]
mov ecx, ebx
shrd ecx, eax, 8
cmp bl, 4
je 0x4b43e6
jmp 0x4b4652
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x300]
push edi
push esi
push eax
call fcn.004820a0
add esp, 0xc
movzx eax, byte [esp + 0x300]
cmp al, 4
jne 0x4b47c5
cmp byte [esp + 0x1e8], 0
mov ecx, dword [esp + 4]
je 0x4b45c9
movzx eax, word [esp + 0x1e0]
mov edx, dword [esp + 0x14]
movq xmm0, qword [esp + 0x1d8]
movzx esi, word [esp + 0x34]
movzx ebx, word [esp + 0x36]
mov edi, dword [esp + 0x24]
mov word [edx + 0x12], ax
mov eax, dword [esp + 0x5c]
movq qword [edx + 0xa], xmm0
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x58]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 0x20], eax
mov word [edx + 0x24], si
movzx esi, word [esp + 0x32]
mov word [edx + 0x26], bx
mov dword [edx + 4], edi
mov word [edx + 8], si
mov dword [edx], 3
mov edx, dword [esp]
call fcn.004b58a0
cmp dword [esp + 0xb0], 0
je 0x4b45b8
push dword [esp + 0xb4]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x84]
call fcn.0049df40
jmp 0x4b4762
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4b452f
mov edx, dword [esp + 0x38]
mov edi, dword [edx + 0x18]
mov esi, dword [edx + 0x14]
cmp eax, edi
jae 0x4b47ed
cmp byte [esi + eax], 0xbf
jg 0x4b47f3
jmp 0x4b4b66
imul eax, edx, 0xf4240
sub ecx, eax
add esi, edx
mov edx, dword [esp + 8]
adc edi, 0
xor eax, eax
test ecx, ecx
setne al
add eax, esi
mov eax, edi
adc eax, 0
jb 0x4b3e19
xor eax, eax
test ecx, ecx
setne al
add esi, eax
adc edi, 0
xor ebx, ebx
neg edi
sbb ebx, ebx
or ebx, esi
jne 0x4b3e19
mov ebx, dword [0x5e37e0]
mov eax, dword [0x5e37e4]
mov ecx, ebx
shrd ecx, eax, 8
cmp bl, 4
je 0x4b451d
mov word [esp + 0x1f9], cx
shr ecx, 0x10
mov byte [esp + 0x1fb], cl
mov dword [esp + 0x1fc], eax
mov byte [esp + 0x1f8], bl
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xd0]
lea eax, [esp + 0x1f8]
mov dword [esp + 0xd4], 2
mov dword [esp + 0x11c], getsockopt
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 8
mov dword [esp + 0xd0], 2
push eax
call fcn.00496ec0
add esp, 4
mov edi, dword [esp]
mov ebx, dword [esp + 4]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp bl, 4
je 0x4b471c
cmp bl, 3
jne 0x4b471c
mov esi, dword [edi]
mov ebx, edi
mov edi, dword [edi + 4]
mov eax, dword [edi]
test eax, eax
je 0x4b46ef
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4b470d
cmp dword [edi + 8], 9
jb 0x4b46fe
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0xb0], 0
je 0x4b473b
push dword [esp + 0xb4]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x84]
neg eax
jo 0x4b4762
jb 0x4b476a
test dword [esp + 0x90], 0x7fffffff
jne 0x4b478c
test dword [esp + 0x9c], 0x7fffffff
jne 0x4b47ae
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x88]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [esp + 0x90], 0x7fffffff
je 0x4b4755
push dword [esp + 0x94]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [esp + 0x9c], 0x7fffffff
je 0x4b4762
push dword [esp + 0xa0]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4b4762
mov edx, dword [esp + 0x304]
mov ecx, dword [esp + 0x301]
mov dword [esp + 0x1fc], edx
mov dword [esp + 0x1f9], ecx
mov byte [esp + 0x1f8], al
jmp 0x4b4672
jne 0x4b4b66
cmp eax, 5
jne 0x4b452f
mov eax, 0x70747468
movzx edx, byte [esi + 4]
xor eax, dword [esi]
xor edx, 0x73
or edx, eax
jne 0x4b452f
mov eax, dword [esp + 0x84]
neg eax
jo 0x4b452f
mov eax, dword [esp + 0x20]
lea ebx, [esp + 0x1f8]
lea edx, [esp + 0x84]
mov ecx, ebx
push dword [eax + 0x58]
push dword [eax + 0x54]
push dword [ebp + 0x10]
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.004b58f0
add esp, 0x14
lea eax, [esp + 0x300]
mov dword [esp + 0xd0], 0x61ee84
mov dword [esp + 0xd4], 1
mov dword [esp + 0xe0], 0
mov dword [esp + 0x300], ebx
mov dword [esp + 0x304], 0x404e90
mov dword [esp + 0xd8], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xdc], 1
push eax
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x3c8]
push ebx
call fcn.004b5010
add esp, 0xc
cmp byte [esp + 0x3c0], 4
jne 0x4b4b66
cmp dword [esp + 0x1f8], 0
je 0x4b48ea
push dword [esp + 0x1fc]
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xd0]
call fcn.00481ec0
movzx eax, byte [esp + 0xd0]
cmp al, 4
jne 0x4b491d
mov ebx, dword [esp + 0xd4]
cmp edi, 6
jb 0x4b4956
cmp byte [esi + 5], 0xbf
jg 0x4b495f
jmp 0x4b4b66
movzx ecx, byte [esp + 0xd3]
movzx esi, word [esp + 0xd1]
mov edx, dword [esp + 0xd4]
mov byte [esp + 0x1fb], cl
mov word [esp + 0x1f9], si
mov byte [esp + 0x1f8], al
mov dword [esp + 0x1fc], edx
jmp 0x4b4672
cmp edi, 5
jne 0x4b4b66
lea ecx, [esp + 0x4a4]
mov edx, esi
push dword [ebp + 0x10]
push dword [esp + 0x84]
push dword [esp + 0x84]
push 5
call fcn.004b5bf0
add esp, 0x10
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x5c]
jmp 0x4b498e
pause
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x4b498c
test eax, eax
js 0x4b4b66
lea edx, [eax + 1]
lock cmpxchg dword [ecx + 4], edx
jne 0x4b4991
mov dword [esp + 0x458], ecx
lea edi, [esp + 0x45c]
lea esi, [esp + 0x4a4]
mov ecx, 0x12
mov edx, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x4ec]
movzx eax, word [esp + 0x32]
movq xmm0, qword [esp + 0x1d8]
mov ecx, esi
mov word [esp + 0xd0], ax
movzx eax, word [esp + 0x1e0]
movq qword [esp + 0xd2], xmm0
mov word [esp + 0xda], ax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xe8], eax
movzx eax, word [esp + 0x34]
mov word [esp + 0xec], ax
movzx eax, word [esp + 0x36]
mov word [esp + 0xee], ax
lea eax, [esp + 0x458]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.004b4b70
add esp, 8
mov edx, dword [esp + 0x38]
lea edi, [esp + 0x3c0]
mov ecx, edi
call fcn.004a5e80
lea ecx, [esp + 0xd0]
mov edx, esi
push edi
call fcn.004a6130
add esp, 4
mov esi, dword [esp + 0xd0]
lea eax, [esp + 0xd4]
push 0xc0
push eax
lea ebx, [esp + 0x200]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 3
jne 0x4b4b34
push 0xc0
push ebx
lea eax, [esp + 0x308]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx ecx, word [esp + 0x3bc]
cmp ecx, 0xc8
je 0x4b4b51
mov ebx, dword [esp + 4]
cmp ecx, 0x191
je 0x4b4ae9
mov al, 0xa
cmp ecx, 0x197
jne 0x4b4aeb
mov al, 0xb
mov ecx, dword [esp + 0x14]
mov dword [ecx], 2
mov dword [ecx + 4], 2
mov dword [ecx + 0x4c], connect
mov dword [ecx + 0x58], 0
mov byte [ecx + 0x60], al
lea ecx, [esp + 0x300]
call fcn.0048df90
mov edi, dword [esp]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp bl, 4
je 0x4b471c
jmp 0x4b46d7
mov edi, dword [esp + 0x14]
lea eax, [edi + 4]
push 0xc0
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi], esi
jmp 0x4b46c1
lea ecx, [esp + 0x300]
call fcn.0048df90
mov ecx, dword [esp + 4]
jmp 0x4b452f
ud2
call dword [sym.imp.KERNEL32.dll_GetLastError]
ud2