Function at 0x420bb0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c194d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x68
mov eax, dword [0x501040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x28], eax
call fcn.004215d0
mov edi, eax
lea esi, [edi + 0x40]
push esi
mov dword [ebp - 0x5c], esi
call fcn.00474979
add esp, 4
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00421a60
push esi
mov byte [ebp - 0x5d], al
mov dword [ebp - 4], 0xffffffff
call fcn.00474995
add esp, 4
cmp byte [ebp - 0x5d], 0
je 0x420dad
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
call fcn.004215d0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
movzx ecx, word [eax + 6]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 0x64]
movzx eax, ax
mov dword [ebp - 0x5c], eax
movzx ecx, word [ecx + 0x22]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x68]
movzx eax, ax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x38], esi
lea eax, [edi + 0x40]
mov word [ebp - 0x34], cx
push eax
call fcn.00474987
add esp, 4
lea eax, [ebp - 0x38]
push eax
call fcn.00422b50
push eax
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004233d0
mov esi, dword [eax + 4]
test esi, esi
je 0x420cd5
cmp esi, dword [edi + 4]
je 0x420cd5
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420ccd
lock inc dword [eax + 4]
mov edi, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
jmp 0x420cd9
xor edi, edi
xor esi, esi
mov eax, dword [ebp - 0x68]
add eax, 0x40
mov dword [ebp - 0x20], esi
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x5c], edi
call fcn.004749a3
add esp, 4
mov dword [ebp - 4], 2
test edi, edi
je 0x420d81
mov eax, dword [edi]
lea ecx, [ebp - 0x58]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x5c]
add edx, 4
mov dword [edi + 0x130], eax
call fcn.00458f70
lea ecx, [edi + 0x134]
mov dword [ebp - 0x5c], eax
cmp ecx, eax
je 0x420d58
call fcn.004013d0
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x134], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x144], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x58]
call fcn.004013d0
mov ecx, dword [ebp - 0x6c]
lea eax, [edi + 0x134]
push eax
push dword [edi + 0x130]
lea ecx, [ecx + 0x774]
call fcn.00445680
mov dword [edi + 0x14c], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x420dad
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x420dad
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x420dad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x64]
cmp word [edi + 0x20], 2
jne 0x420dc8
push dword [edi + 0x24]
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x40]
push eax
call fcn.0041a0b0
jmp 0x420dec
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x4ef459
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00408f20
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x60]
call fcn.00407270
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x420e2f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420e25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f60
push ecx
push edx
call fcn.00472bfe
add esp, 8
mov edx, edi
lea ecx, [ebp - 0x58]
lea edx, [edx + 4]
call fcn.00456700
lea edx, [edi + 0x20]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00456700
push 0x10
mov byte [ebp - 4], 5
call fcn.00472c0c
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [eax], 0x41e410
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
push ecx
push 0
push eax
push 0x4235e0
push 0
push 0
call fcn.004a09bc
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x420f6f
cmp dword [esi + 0x84], 0
jne 0x420f65
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x80], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x84], eax
cmp ecx, 0xf
jbe 0x420eee
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420ee4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f6a
push ecx
push edx
call fcn.00472bfe
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x420f1e
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420f14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f6a
push ecx
push edx
call fcn.00472bfe
add esp, 8
mov al, 1
jmp 0x420f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047299a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.004a074e
call fcn.004a0a6d
call fcn.004a074e
push 6
mov dword [ebp - 0x20], 0
call fcn.00473f18
int3