Function at 0x41bb00
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb187
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x554008]
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 0x41bb40
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.00403af0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
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.004535b0
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 0x41bbc3
cmp byte [ebp - 0xd], 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
sete byte [ebp - 0xe]
call fcn.0044ee50
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.004686f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x74], 0
je 0x41bcf7
lea ecx, [ebp - 0x3c]
call fcn.00402fa0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x68]
call fcn.0044edb0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044efc0
push 0x30
call fcn.0049b504
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 0x471ee0
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.00403030
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.0044ef00
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.004039c0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.HostPath.0
call fcn.00468a20
lea ecx, [ebp - 0x5c]
call fcn.0044ef00
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret