Function at 0x47ad30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x4c0
mov esi, esp
mov dword [esi + 0x4a8], ebp
mov dword [esi + 0x4ac], esp
mov dword [esi + 0x4b8], 0xffffffff
mov dword [esi + 0x4b4], 0x47ea30
mov edi, dword [ebp + 0x14]
lea eax, [esi + 0x4b0]
call 0x47ad6f
pop edx
mov ecx, dword fs:[0]
mov dword [esi + 0x4b0], ecx
mov dword fs:[0], eax
mov eax, connect
xor eax, dword [edi]
cmp eax, 4
setae cl
cmp eax, 1
sete al
or al, cl
cmp dword [edi + 0xc], 0x8000000a
sete cl
and cl, al
mov byte [esi + 0x34], cl
je 0x47b25d
mov dword [esi + 0x2c], edx
lea eax, [esi + 0x208]
push 0x150
push dword [ebp + 0xc]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [edi + 8]
mov ebx, dword [edi + 4]
mov eax, dword [esi + 0x308]
mov ecx, dword [esi + 0x30c]
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0x4b8], 5
mov dword [esi + 0xc], edx
push edx
mov dword [esi + 0x18], ebx
push ebx
push eax
call dword [ecx + 0x18]
add esp, 0xc
mov eax, dword [esi + 0x2f4]
cmp eax, 0x80000000
je 0x47ae5d
mov edi, dword [esi + 0x2fc]
mov ebx, dword [esi + 0xc]
sub eax, edi
cmp eax, ebx
jae 0x47ae40
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
push ebx
push edi
lea eax, [esi + 0x2f4]
push eax
call fcn.004fda90
add esp, 0xc
mov edi, dword [esi + 0x2fc]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x2f8]
add eax, edi
push ebx
push dword [esi + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, ebx
mov dword [esi + 0x2fc], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp byte [ecx + 0x245], 0
mov dword [esi + 0xc], ecx
je 0x47b327
mov ecx, dword [0x578064]
mov eax, dword [ecx]
cmp eax, 5
jne 0x47aefb
lea eax, [esi + 0x208]
mov dword [esi + 0xc8], 0x525140
mov dword [esi + 0xcc], 1
mov dword [esi + 0xd8], 0
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0x35c], eax
lea eax, [esi + 0x35c]
mov dword [esi + 0x360], 0x47e760
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], 1
sub esp, 4
lea eax, [esi + 0xc8]
push 0
push 0x2ae
push 0x52509c
push 5
push eax
call fcn.004adac0
add esp, 0x18
mov ecx, dword [0x578064]
mov eax, dword [ecx]
xor ecx, ecx
cmp eax, 4
mov eax, 0xff
setne cl
cmovbe eax, ecx
cmp al, 0xff
je 0x47af18
movzx eax, al
test eax, eax
jne 0x47af8e
lea eax, [esi + 0x310]
mov dword [esi + 0xc8], 0x52515c
mov dword [esi + 0xcc], 1
mov dword [esi + 0xd8], 0
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0x35c], eax
lea eax, [esi + 0x35c]
mov dword [esi + 0x360], fcn.004a7ba0
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], 1
sub esp, 4
lea eax, [esi + 0xc8]
push 0
push 0x2af
push 0x52509c
push 4
push eax
call fcn.004adac0
add esp, 0x18
mov eax, dword [esi + 0x210]
test eax, eax
je 0x47b3ab
mov ecx, dword [esi + 0x20c]
mov edx, dword [esi + 0x328]
mov dword [esi + 0x20], eax
mov byte [esi + 0xc8], 3
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0xc8]
mov dword [esi + 0x18], edx
call fcn.00439bd0
mov eax, dword [esi + 0x324]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esi + 0x24], eax
mov eax, dword [eax + 8]
mov dword [esi + 0x6c], ecx
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x218]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x21c]
mov dword [esi + 0x3c], eax
call fcn.004a8400
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0x68]
mov edi, dword [esi + 0x6c]
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
lea ecx, [eax + 0xc]
dec ebx
mov dword [esi + 0x60], ecx
mov ecx, dword [esi + 0x20]
and ebx, 0xfffffff8
lea edi, [edi + ebx + 8]
lea ebx, [esi + 0x310]
dec ecx
push edx
push dword [esi + 0x64]
push dword [esi + 0x3c]
push dword [esi + 0x30]
push ebx
push ecx
push dword [esi + 0x60]
push eax
push edi
lea eax, [esi + 0x35c]
push eax
mov eax, dword [esi + 0x24]
call dword [eax + 0x18]
add esp, 0x28
cmp byte [esi + 0x35c], 0x14
jne 0x47b3cc
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x4b8], 0xc
lea eax, [esi + 0x80]
push 0x20
push 0
push eax
call fcn.004fda90
add esp, 0xc
lea eax, [esi + 0x298]
mov edx, dword [esi + 0x84]
mov edi, dword [esi + 0x88]
movsd xmm0, qword [eax + 0x18]
movsd qword [edx + edi + 0x18], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [edx + edi + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edx + edi + 8], xmm1
movsd qword [edx + edi], xmm0
add edi, 0x20
mov dword [esi + 0x88], edi
mov eax, dword [esi + 0x80]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x1f
ja 0x47b11b
push 0x20
push edi
lea eax, [esi + 0x80]
push eax
call fcn.004fda90
add esp, 0xc
mov edi, dword [esi + 0x88]
mov eax, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
lea ecx, [esi + 0x2b8]
movsd xmm0, qword [ecx + 0x18]
movsd qword [edx + edi + 0x18], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [edx + edi + 0x10], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [edx + edi + 8], xmm1
movsd qword [edx + edi], xmm0
add edi, 0x20
mov ebx, dword [esi + 0x2e0]
mov ecx, dword [esi + 0x2dc]
sub eax, edi
mov dword [esi + 0x88], edi
cmp eax, ebx
jae 0x47b18f
mov dword [esi + 0x28], ecx
mov dword [esi + 0x20], ebx
push ebx
push edi
lea eax, [esi + 0x80]
push eax
call fcn.004fda90
add esp, 0xc
mov edx, dword [esi + 0x84]
mov edi, dword [esi + 0x88]
mov ebx, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [edx + edi]
mov dword [esi + 0x20], edx
push ebx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, word [esi + 0x2f0]
add edi, ebx
mov edx, 6
mov dword [esi + 0x24], edi
mov dword [esi + 0x88], edi
cmp eax, 0xc
ja 0x47b1c3
mov edx, dword [eax*4 + 0x525300]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x28], eax
mov ebx, dword [ecx + 0xc]
test ebx, ebx
je 0x47b204
mov eax, dword [esi + 0x18]
shl ebx, 2
mov ecx, dword [eax + 8]
nop dword [eax]
movzx edi, word [ecx]
mov eax, 6
cmp edi, 0xc
ja 0x47b1f4
mov eax, dword [edi*4 + 0x525300]
cmp eax, edx
je 0x47b45c
add ecx, 4
add ebx, 0xfffffffc
jne 0x47b1e0
mov eax, dword [0x578064]
xor edx, edx
mov ecx, 0xff
mov eax, dword [eax]
cmp eax, 2
setne dl
cmovbe ecx, edx
cmp cl, 0xff
je 0x47b22b
movzx eax, cl
test eax, eax
jne 0x47b896
mov eax, dword [esi + 0x28]
add dword [esi + 0x18], 8
cmp ax, 0xc
ja 0x47bab0
mov edx, dword [esi + 0x2c]
movzx eax, ax
lea ecx, [esi + 0xc8]
add edx, dword [eax*4 + 0x47c658]
jmp edx
lea ebx, [esi + 0x208]
push 0x7c
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x4b8], 4
lea eax, [esi + 0xc8]
push 1
push 0x5251c4
push 1
push 0x525054
mov dword [esi + 0xc], ebx
push ebx
push eax
call fcn.004560a0
add esp, 0x18
mov edx, dword [esi + 0x208]
movsd xmm0, qword [esi + 0xc8]
mov eax, dword [ebp + 8]
movsd xmm1, qword [esi + 0xd0]
lea ecx, [edx - 0x80000000]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, 1
cmp ecx, 4
cmovb eax, ecx
test eax, eax
je 0x47b30d
cmp eax, 1
je 0x47b383
cmp eax, 2
je 0x47b30d
lea eax, [esi + 0x20c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x20c]
test eax, eax
je 0x47b30d
push 1
push eax
mov eax, dword [esi + 0xc]
push dword [eax + 4]
call fcn.00402cf0
add esp, 0xc
mov dword [esi + 0x4b8], 0x10
mov dword [esi + 0x4b8], 0x10
push dword [ebp + 0xc]
call fcn.00474100
add esp, 4
jmp 0x47ba87
mov word [esi + 0x144], 4
mov dword [esi + 0xc8], connect
mov dword [esi + 0xcc], 0x10001
xor eax, eax
mov edx, ecx
cmp byte [ecx + 0x29], 2
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
lea ecx, [esi + 0xc8]
sete al
push eax
push ecx
push edx
call fcn.00449a50
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
mov byte [eax + 0x249], 1
mov word [ecx], 0x1908
jmp 0x47b8b7
lea ecx, [esi + 0x214]
mov dword [esi + 0x18], edx
mov dword [esi + 0x4b8], 3
call fcn.0043a700
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x47b2f2
jmp 0x47b30d
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xd4]
movsd xmm0, qword [esi + 0xcc]
mov byte [ecx], 3
movsd qword [ecx + 4], xmm0
mov dword [ecx + 0xc], eax
jmp 0x47b8b7
movsd xmm0, qword [esi + 0x35c]
movsd xmm1, qword [esi + 0x364]
lea eax, [esi + 0x3f0]
mov byte [esi + 7], 1
mov byte [esi + 8], 1
mov byte [esi + 9], 1
movsd qword [esi + 0x3f8], xmm1
movsd qword [esi + 0x3f0], xmm0
push eax
push dword [esi + 0xc]
lea eax, [esi + 0xc8]
push eax
call fcn.0044a860
add esp, 0xc
movsd xmm0, qword [esi + 0xc9]
movzx eax, byte [esi + 0xc8]
mov ecx, dword [ebp + 8]
movsd qword [esi + 0x3d0], xmm0
movsd xmm0, qword [esi + 0xd0]
mov byte [ecx], al
movsd qword [esi + 0x3d7], xmm0
movsd xmm0, qword [esi + 0x3d0]
movsd xmm1, qword [esi + 0x3d7]
movsd qword [ecx + 1], xmm0
movsd qword [ecx + 8], xmm1
jmp 0x47b8b7
cmp dword [esi + 0x210], 0
mov dword [esi + 0x4b8], 0xc
je 0x47c12b
mov eax, dword [esi + 0x324]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [ecx + edx + 8]
lea edx, [esi + 0x2e4]
push edx
push dword [esi + 0x20c]
push dword [esi + 0x24]
push dword [esi + 0x20]
push ecx
lea ecx, [esi + 0x35c]
push ecx
call dword [eax + 0x1c]
add esp, 0x18
cmp byte [esi + 0x35c], 0x14
jne 0x47b578
mov eax, dword [esi + 0x80]
test eax, eax
je 0x47b4d0
push 1
push eax
push dword [esi + 0x20]
call fcn.00402cf0
add esp, 0xc
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x210]
movsd xmm0, qword [esi + 0x208]
lea ecx, [edi + 0x224]
mov dword [esi + 0xd0], eax
movsd qword [esi + 0xc8], xmm0
call fcn.00409e40
mov eax, dword [esi + 0xd0]
mov dword [edi + 0x22c], eax
movsd xmm0, qword [esi + 0xc8]
movsd qword [edi + 0x224], xmm0
mov eax, dword [esi + 0x280]
cmp eax, reloc.WS2_32.dll_accept
je 0x47b61c
cmp eax, reloc.WS2_32.dll_bind
je 0x47b664
mov eax, dword [esi + 0x28c]
mov byte [esi + 7], 1
mov byte [esi + 8], 0
mov byte [esi + 9], 1
mov dword [esi + 0x4b8], 5
add eax, 8
push eax
lea eax, [esi + 0xc8]
push eax
call fcn.0045dd30
add esp, 8
mov ecx, dword [esi + 0xc8]
mov eax, dword [esi + 0xcc]
mov edx, dword [esi + 0xd0]
jmp 0x47b625
movsd xmm0, qword [esi + 0x35c]
movsd xmm1, qword [esi + 0x364]
lea eax, [esi + 0x400]
movsd qword [esi + 0x408], xmm1
movsd qword [esi + 0x400], xmm0
push eax
push dword [esi + 0xc]
lea eax, [esi + 0xc8]
push eax
call fcn.0044a860
add esp, 0xc
movsd xmm0, qword [esi + 0xc9]
movzx eax, byte [esi + 0xc8]
mov ecx, dword [ebp + 8]
movsd qword [esi + 0x3e0], xmm0
movsd xmm0, qword [esi + 0xd0]
mov byte [ecx], al
mov eax, dword [esi + 0x80]
movsd qword [esi + 0x3e7], xmm0
test eax, eax
movsd xmm1, qword [esi + 0x3e7]
movsd xmm0, qword [esi + 0x3e0]
movsd qword [ecx + 8], xmm1
movsd qword [ecx + 1], xmm0
je 0x47b8b7
push 1
push eax
push dword [esi + 0x20]
jmp 0x47b8af
mov eax, 4
xor ecx, ecx
xor edx, edx
mov dword [esi + 0xc8], ecx
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], edx
mov byte [esi + 7], 1
mov byte [esi + 8], 0
mov byte [esi + 9], 1
mov dword [esi + 0x4b8], 5
lea edx, [esi + 0xc8]
lea ecx, [esi + 0x2f4]
push dword [esi + 0xc]
call fcn.00479470
add esp, 4
mov ecx, dword [esi + 0x2e0]
mov eax, dword [esi + 0x2dc]
mov byte [esi + 7], 1
mov byte [esi + 8], 0
mov byte [esi + 9], 1
mov dword [esi + 0x4b8], 5
push ecx
push eax
push dword [esi + 0xc]
lea eax, [esi + 0xc8]
push eax
call fcn.0044eed0
add esp, 0x10
mov eax, dword [esi + 0xc8]
cmp eax, 0x80000000
jne 0x47b6d7
mov eax, dword [esi + 0xcc]
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0xd0]
mov edi, dword [esi + 0xd4]
mov dword [edx], eax
mov eax, dword [esi + 0xd8]
mov dword [edx + 4], ecx
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
mov al, 1
mov dword [esi + 0xc], eax
jmp 0x47bb4e
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0x324]
movzx edx, word [esi + 0xd6]
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], 1
mov dword [esi + 0x4b8], 6
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xd0]
add ecx, 8
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0xd4]
push edx
push eax
push ecx
call fcn.00458060
add esp, 0xc
test eax, eax
je 0x47bace
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], 1
push eax
lea eax, [esi + 0x35c]
push eax
call dword [edx + 0x10]
add esp, 8
cmp byte [esi + 0x35c], 0x14
jne 0x47bad8
lea ecx, [esi + 0x2f4]
mov edi, dword [esi + 0x360]
mov edx, dword [esi + 0x364]
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
mov dword [esi + 0x4b8], 8
mov eax, dword [ecx + 0x18]
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x58], eax
movsd qword [esi + 0x50], xmm0
movsd qword [esi + 0x48], xmm1
movsd qword [esi + 0x40], xmm2
push edi
mov dword [esi + 0x24], edx
call dword [edx + 0x10]
add esp, 4
mov edi, edx
mov edx, dword [esi + 0xc]
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
lea ecx, [esi + 0x40]
push edi
push eax
call fcn.00479660
add esp, 8
cmp byte [esi + 0x350], 0
je 0x47bb69
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
push eax
lea eax, [esi + 0xc8]
push eax
call dword [ecx + 0xc]
add esp, 8
lea eax, [esi + 0x464]
push 0x44
lea ecx, [esi + 0xc8]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x3c], 1
jmp 0x47bb70
mov edi, dword [esi + 0x18]
lea eax, [esi + 0x464]
lea edx, [esi + 0x35c]
mov dword [esi + 0xc8], 0x52519c
mov dword [esi + 0xcc], 3
mov dword [esi + 0xd8], 0
mov dword [esi + 0x35c], eax
mov dword [esi + 0x360], 0x47e7d0
mov dword [esi + 0xd0], edx
mov dword [esi + 0xd4], 2
mov dword [esi + 0x364], edi
mov dword [esi + 0x368], 0x44cab0
sub esp, 4
push 0
push 0x2e1
push 0x52509c
push 2
push ecx
call fcn.004adac0
add esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
mov word [eax], 0x3808
mov eax, dword [esi + 0x80]
test eax, eax
je 0x47b8b7
push 1
push eax
push ecx
call fcn.00402cf0
add esp, 0xc
mov al, 1
mov dword [esi + 0xc], eax
mov al, 1
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x324]
lock dec dword [eax]
jne 0x47b8e5
lea eax, [esi + 0x324]
mov dword [esi + 0x4b8], 0xf
push eax
call fcn.004573f0
add esp, 4
cmp dword [esi + 0x228], 0x80000000
je 0x47b906
lea ecx, [esi + 0x220]
mov dword [esi + 0x4b8], 0xe
call fcn.00458820
cmp byte [esi + 0x310], 0
jne 0x47b931
mov eax, dword [esi + 0x314]
cmp eax, 0x80000000
je 0x47b931
test eax, eax
je 0x47b931
push 1
push eax
push dword [esi + 0x318]
call fcn.00402cf0
add esp, 0xc
cmp byte [esi + 0xc], 0
je 0x47b94c
lea ecx, [esi + 0x2f4]
mov dword [esi + 0x4b8], 0xd
call fcn.00439d60
cmp byte [esi + 0x18], 0
je 0x47b9b4
mov edi, dword [esi + 0x210]
test edi, edi
je 0x47b993
mov ebx, dword [esi + 0x20c]
add ebx, 4
jmp 0x47b976
add ebx, 0xc
dec edi
je 0x47b993
mov eax, dword [ebx - 4]
cmp eax, 0x80000000
je 0x47b970
test eax, eax
je 0x47b970
push 1
push eax
push dword [ebx]
call fcn.00402cf0
add esp, 0xc
jmp 0x47b970
mov eax, dword [esi + 0x208]
test eax, eax
je 0x47b9b4
shl eax, 2
lea eax, [eax + eax*2]
push 4
push eax
push dword [esi + 0x20c]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x214]
test eax, eax
je 0x47b9cf
push 1
push eax
push dword [esi + 0x218]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x2d8]
test eax, eax
je 0x47b9ea
push 1
push eax
push dword [esi + 0x2dc]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x2e4]
test eax, eax
je 0x47ba0f
push 1
push eax
push dword [esi + 0x2e8]
call fcn.00402cf0
add esp, 0xc
mov dword [esi + 0x4b8], 2
lea ecx, [esi + 0x280]
mov byte [esi + 0x17], 0
mov dword [esi + 0x4b8], 2
call fcn.00474cb0
mov edx, dword [ebp + 0x14]
mov eax, 1
mov edi, dword [edx]
lea ecx, [edi - 0x80000000]
cmp ecx, 4
cmovb eax, ecx
test eax, eax
je 0x47ba87
lea ecx, [edx + 4]
cmp eax, 1
je 0x47ba57
cmp eax, 2
je 0x47ba87
mov eax, dword [ecx]
test eax, eax
jne 0x47ba79
jmp 0x47ba87
mov dword [esi + 0xc], ecx
lea ecx, [edx + 0xc]
mov dword [esi + 0x34], edi
mov dword [esi + 0x4b8], 1
call fcn.0043a700
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x47ba87
push 1
push eax
push dword [ecx + 4]
call fcn.00402cf0
add esp, 0xc
push 8
push 0x150
push dword [ebp + 0xc]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x4b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov word [esi + 0x464], 6
mov dword [esi + 0x4b8], 0xc
lea ecx, [esi + 0xc8]
jmp 0x47b81f
mov eax, dword [ebp + 8]
mov word [eax], 0x3208
jmp 0x47bb34
movsd xmm0, qword [esi + 0x35c]
movsd xmm1, qword [esi + 0x364]
lea ecx, [esi + 0xc8]
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], 1
movsd qword [esi + 0xd0], xmm1
movsd qword [esi + 0xc8], xmm0
call fcn.00439bd0
movzx eax, word [esi + 0x80]
mov dh, byte [esi + 0x82]
mov ecx, dword [ebp + 8]
mov word [esi + 0x38], ax
mov byte [esi + 0x3a], dh
mov byte [ecx], 0xe
movzx edi, word [esi + 0x38]
movzx edx, byte [esi + 0x3a]
mov word [ecx + 1], di
mov byte [ecx + 3], dl
mov al, 1
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x47bb4e
push 1
push eax
push dword [esi + 0x20]
call fcn.00402cf0
add esp, 0xc
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x324]
lock dec dword [eax]
je 0x47b8cc
jmp 0x47b8e5
mov dword [esi + 0x3c], 0
mov eax, bind
add eax, dword [esi + 0x280]
cmp eax, 2
jb 0x47bbb7
mov eax, dword [esi + 0x290]
mov edi, dword [esi + 0x294]
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
lea ecx, [esi + 0xc8]
lea edx, [esi + 0x40]
push dword [esi + 0xc]
push edi
push eax
call fcn.004799e0
add esp, 0xc
cmp byte [esi + 0xc8], 0x14
jne 0x47bef4
mov word [esi + 0x144], 4
mov dword [esi + 0xc8], reloc.WS2_32.dll_bind
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
push 0
lea eax, [esi + 0xc8]
push eax
push dword [esi + 0xc]
call fcn.00449a50
add esp, 0xc
mov eax, dword [esi + 0x3c]
lea ecx, [esi + 0x464]
mov dword [esi + 0x80], eax
lea eax, [esi + 0x84]
push 0x44
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0x298]
mov byte [esi + 0xa], 0
mov byte [esi + 0xb], 1
movsd xmm1, qword [eax + 0x30]
movsd xmm2, qword [eax + 0x28]
movsd xmm0, qword [eax + 0x38]
movsd qword [esi + 0x440], xmm1
movsd xmm1, qword [eax + 0x20]
movsd qword [esi + 0x438], xmm2
movsd xmm2, qword [eax + 0x18]
movsd qword [esi + 0x448], xmm0
movsd qword [esi + 0x430], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x428], xmm2
movsd xmm2, qword [eax]
movsd qword [esi + 0x420], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x410], xmm2
lea eax, [esi + 0x410]
movsd qword [esi + 0x418], xmm1
push dword [esi + 0x18]
push eax
lea eax, [esi + 0x80]
push eax
push dword [esi + 0x28]
push dword [esi + 0x20]
push dword [esi + 0x24]
push dword [esi + 0x30]
lea eax, [esi + 0xc8]
push eax
call fcn.0044dbb0
add esp, 0x20
mov edi, dword [esi + 0xc8]
test edi, edi
je 0x47bec5
movsd xmm0, qword [esi + 0xcc]
movsd xmm1, qword [esi + 0xd4]
lea ecx, [esi + 0x370]
lea eax, [esi + 0xdc]
movsd qword [esi + 0x78], xmm1
movsd qword [esi + 0x70], xmm0
push 0x60
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esi + 0x70]
movsd xmm1, qword [esi + 0x78]
mov ecx, dword [esi + 0x324]
lea eax, [esi + 0x360]
movsd qword [esi + 0x360], xmm0
movsd qword [esi + 0x368], xmm1
mov dword [esi + 0x35c], edi
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x40]
mov edi, dword [ecx + 8]
mov byte [esi + 0x13], 0
mov byte [esi + 0x14], 1
mov dword [esi + 0x4b8], 9
dec edi
and edi, 0xfffffff8
lea edx, [edx + edi + 8]
lea edi, [esi + 0x3a0]
push 0x30
push edi
push 0x20
push eax
push 0xd
push str.CLIENT_RANDOM
push edx
call dword [ecx + 0x18]
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov byte [esi + 0x13], 0
mov byte [esi + 0x14], 1
push 0
lea eax, [esi + 0x35c]
push eax
push ecx
call fcn.0044a300
mov eax, dword [esi + 0xc]
add esp, 0xc
mov byte [eax + 0x29], 2
mov byte [esi + 0x13], 0
mov byte [esi + 0x14], 1
lea ecx, [esi + 0x35c]
lea edx, [esi + 0x40]
push eax
call fcn.00479d10
add esp, 4
cmp byte [esi + 0x351], 0
lea ebx, [esi + 0x220]
je 0x47bf7c
mov edi, dword [esi + 0x324]
lea eax, [esi + 0x15c]
push 0x74
lea ecx, [esi + 0x35c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x60
push ebx
lea eax, [esi + 0xc8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esi + 0x33c]
mov eax, dword [esi + 0x34c]
movsd xmm0, qword [esi + 0x344]
movsd xmm3, qword [esi + 0x32c]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x4b8], 0xa
movsd qword [esi + 0x1e0], xmm1
movsd xmm1, qword [esi + 0x334]
mov dword [esi + 0x1f0], eax
lea eax, [esi + 0x310]
movsd qword [esi + 0x1e8], xmm0
movsd qword [esi + 0x1d0], xmm3
movsd xmm2, qword [eax]
movsd qword [esi + 0x1d8], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [esi + 0x144], xmm2
movsd xmm2, qword [esi + 0x40]
movsd qword [esi + 0x14c], xmm1
movsd xmm1, qword [esi + 0x50]
mov dword [esi + 0x154], eax
movzx eax, byte [esi + 0x350]
mov dword [esi + 0x140], ecx
mov ecx, 0x130
movsd qword [esi + 0x128], xmm2
movsd qword [esi + 0x138], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x130], xmm1
mov dword [esi + 0x158], edi
mov byte [esi + 0x1f4], al
mov byte [esi + 0x1f5], 0
call fcn.00475010
mov edi, eax
push 0x130
lea eax, [esi + 0xc8]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, 0x524fe4
jmp 0x47c0a4
movsd xmm0, qword [esi + 0xcc]
movsd xmm1, qword [esi + 0xd4]
mov eax, dword [ebp + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov al, 1
movsd qword [esi + 0x78], xmm1
movsd qword [esi + 0x70], xmm0
mov dword [esi + 0xc], eax
xor eax, eax
jmp 0x47bf29
movsd xmm0, qword [esi + 0xc8]
movsd xmm1, qword [esi + 0xd0]
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], 0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov al, 1
movsd qword [esi + 0x458], xmm1
movsd qword [esi + 0x450], xmm0
lea ecx, [esi + 0x40]
mov byte [esi + 0x1e], al
mov byte [esi + 0x1f], 1
mov dword [esi + 0x4b8], 7
call fcn.00439d60
cmp byte [esi + 0xc], 0
jne 0x47bf65
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x24]
mov byte [esi + 0x15], 0
mov byte [esi + 0x16], 1
mov dword [esi + 0x4b8], 6
call fcn.00401bb0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x47bb40
jmp 0x47bb4e
mov edi, dword [esi + 0x324]
lea eax, [esi + 0x16c]
push 0x74
lea ecx, [esi + 0x35c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [esi + 0xd8]
push 0x60
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esi + 0x33c]
mov eax, dword [esi + 0x34c]
movsd xmm0, qword [esi + 0x344]
movsd xmm3, qword [esi + 0x32c]
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x4b8], 0xb
movsd qword [esi + 0x1f0], xmm1
movsd xmm1, qword [esi + 0x334]
mov dword [esi + 0x200], eax
lea eax, [esi + 0x310]
movsd qword [esi + 0x1f8], xmm0
movsd qword [esi + 0x1e0], xmm3
movsd xmm2, qword [eax]
movsd qword [esi + 0x1e8], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [esi + 0x154], xmm2
movsd xmm2, qword [esi + 0x40]
movsd qword [esi + 0x15c], xmm1
movsd xmm1, qword [esi + 0x50]
mov dword [esi + 0x164], eax
movzx eax, byte [esi + 0x350]
mov dword [esi + 0x150], ecx
mov ecx, 0x140
movsd qword [esi + 0x138], xmm2
movsd qword [esi + 0x148], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x140], xmm1
mov dword [esi + 0x168], edi
mov byte [esi + 0x204], al
mov dword [esi + 0xc8], connect
mov byte [esi + 0x205], 0
call fcn.00475010
mov edi, eax
push 0x140
lea eax, [esi + 0xc8]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, 0x524fc8
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x2c]
mov byte [ecx], 0x14
test eax, eax
je 0x47c0c5
push 1
push eax
push dword [esi + 0x20]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x214]
lea edi, [esi + 0x280]
test eax, eax
je 0x47c0f0
push 1
push eax
push dword [esi + 0x218]
call fcn.00402cf0
add esp, 0xc
mov dword [esi + 0x4b8], 2
lea ecx, [esi + 0x2d8]
call fcn.004740d0
mov ecx, edi
mov byte [esi + 0x17], 0
mov dword [esi + 0x4b8], 2
call fcn.00474cb0
mov ecx, dword [ebp + 0x14]
mov byte [esi + 0x1d], 0
mov dword [esi + 0x4b8], 0
call fcn.0043a080
jmp 0x47ba87
push 0x5251b4
push 0
push 0
call fcn.00500690
add esp, 0xc
ud2