Function at 0x41b770
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8187
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [eax + 0x18]
xor esi, esi
mov dword [ebp - 0x14], 0
mov edi, 4
nop
mov ecx, dword [ebx + 0xc]
lea eax, [ebp - 0x14]
push edi
add eax, esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add esi, eax
sub edi, eax
cmp esi, 4
jb 0x41b7b0
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cd35c
push ecx
call fcn.0049ae30
add esp, 0xc
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
mov ecx, dword [edi + 0x18]
call fcn.004508e0
mov ebx, dword [edi + 0x18]
xor esi, esi
mov edi, 1
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0xd]
push edi
add eax, esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add esi, eax
sub edi, eax
cmp esi, 1
jb 0x41b833
cmp byte [ebp - 0xd], 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
sete byte [ebp - 0xe]
call fcn.0044e910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
push dword [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x78], vtable.HostPath.0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x157c
call fcn.004657c0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 0
je 0x41b967
lea ecx, [ebp - 0x3c]
call fcn.00402f80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x68]
call fcn.0044e870
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044ea80
push 0x30
call fcn.00497c04
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov ebx, dword [eax + 0x9c]
mov edi, dword [eax + 0x20]
lea eax, [ecx + 8]
push eax
push 4
push ecx
push 0x46ef60
push 0
mov dword [ecx], vtable.Thread.0
mov byte [ecx + 0xc], 0
push 0
mov byte [ecx + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
push esi
mov esi, ecx
mov byte [ebp - 4], 7
mov dword [ecx], vtable.OutgoingRfbConnectionThread.0
lea ecx, [esi + 0x10]
call fcn.00403010
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x20], eax
mov al, byte [ebp - 0xe]
mov byte [esi + 0x24], al
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 5
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x18]
cmp eax, 0xffffffff
push esi
setne al
add ecx, 0x60
mov byte [esi + 0xc], al
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x4c]
call fcn.0044e9c0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.004039a0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.HostPath.0
call fcn.00465af0
lea ecx, [ebp - 0x5c]
call fcn.0044e9c0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.004039a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret