Function at 0x43f740
Capabilities:
Access peb ldr_data
Get hostname
Get kernel32 base address
Rebuild import table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5459
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x55800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.vncClient.0
mov dword [edi + 0x268], 0
mov dword [edi + 0x1d4], 0
mov dword [edi + 0x1dc], 0
mov dword [edi + 0x1d8], 0
mov dword [edi + 0x24c], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1d0], 0
mov byte [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov byte [edi + 0x1f0], 0
mov byte [edi + 0x26c], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
mov byte [edi + 0x1fc], 0
mov dword [edi + 0x200], 0
mov byte [edi + 0x204], 0
mov dword [edi + 0x208], 0
mov byte [edi + 0x1e0], 0
mov dword [edi + 0x1e4], 0
mov dword [edi + 0x20c], 6
mov dword [edi + 0x210], 0xffffffff
mov dword [edi + 0x214], 0xffffffff
mov dword [edi + 0x218], 2
mov dword [edi + 0x21c], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x224], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x248], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28c], 0
mov dword [edi + 0x290], 0
push ecx
lea ecx, [edi + 0x2a8]
mov dword [edi + 0x294], 0
mov dword [edi + 0x298], 0
call fcn.004290d0
mov dword [edi + method.vncClient::ClientUpdateTracker.virtual_0], vtable.vncClient::ClientUpdateTracker.0
mov dword [edi + 0x2d0], 0
push 0x518188
call fcn.004dad37
add esp, 4
mov dword [edi + 0x2dc], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [edi + 0x2d8], eax
lea esi, [edi + 0x2e8]
mov dword [ebp - 0x10], esi
mov eax, dword [0x53def4]
mov byte [esi], 0
mov dword [esi + 4], 0xa00000
mov dword [esi + 8], 0x200000
mov dword [esi + 0xc], 0x200000
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xa00000
mov dword [esi + 0x18], 0x200000
mov dword [esi + 0x1c], 0x200000
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0x1300000f
mov dword [esi + 0x2c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x50]
mov word [esi + 0x48], 0
mov dword [esi + 0x4c], 0
call fcn.0041adc0
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 4
call fcn.0041adc0
mov dword [edi + 0x528], 0
mov dword [edi + 0x52c], 0
mov dword [edi + 0x530], 0
mov dword [edi + 0x534], 0
push str.USER32
mov dword [edi + 0x668], 0
mov dword [edi + 0x66c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x66c], eax
test eax, eax
je 0x43f9ec
push 0x54368c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x668], eax
mov dword [edi + 0x680], 0
mov dword [edi + 0x684], 0xf
mov byte [edi + 0x670], 0
push 0x543698
push 9
push 0x558c50
mov byte [ebp - 4], 7
call fcn.0041c840
xor eax, eax
mov dword [edi + 8], 0
push 0xc8
mov dword [edi + 0x198], 0
mov dword [edi + 0x274], 0
mov dword [edi + 0x29c], 0
mov byte [edi + 0x2a1], 0
mov dword [edi + 0x2a2], eax
mov dword [edi + 0x278], eax
mov dword [edi + 0x2e0], eax
mov dword [edi + 0x2d4], eax
mov dword [edi + 0x2d0], edi
mov dword [edi + 0x2e4], eax
mov dword [edi + 0x288], 1
mov dword [edi + 0x358], eax
mov dword [edi + 0x168], eax
mov dword [edi + 0x16c], eax
mov dword [edi + 0x170], eax
mov dword [edi + 0x174], eax
mov word [edi + 0x540], ax
mov byte [edi + 0x542], al
mov dword [edi + 0x380], eax
call fcn.004cbf3d
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.CZipUnZip32.0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 1
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 1
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0x88], 0
mov dword [eax + 0x8c], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x98], 1
mov dword [eax + 0x9c], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov byte [eax + 0xa0], 0x31
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], 0
mov dword [edi + 0x384], eax
mov dword [edi + 0x4e8], 0
mov dword [edi + 0x4ec], 0
mov dword [edi + 0x4f0], 0
mov dword [edi + 0x4f4], 0
mov dword [edi + 0x4f8], 0
mov dword [edi + 0x4fc], 0
mov word [edi + 0x500], 0
mov byte [edi + 0x503], 0
mov dword [edi + 0x504], 0xffffffff
mov byte [edi + 0x508], 0
mov dword [edi + 0x50c], 0
mov dword [edi + 0x510], 0
mov dword [edi + 0x514], 0
mov word [edi + 0x518], 0
mov byte [edi + 0x51a], 0
mov dword [edi + 0x51c], 0
push 0x38
mov dword [edi + 0x520], 0
mov dword [edi + 0x524], 0
mov dword [edi + 0x368], 0
mov dword [edi + 0x36c], 0
mov dword [edi + 0x374], 0
mov dword [edi + 0x370], 0
mov dword [edi + 0x378], 0
mov dword [edi + 0x37c], 0
mov dword [edi + 0x664], 0
mov dword [edi + 0x54c], 0
mov dword [edi + 0x550], 0
mov dword [edi + 0x544], 0
mov dword [edi + 0x548], 0
mov byte [edi + 0x559], 0
mov dword [edi + 0x660], 0
call fcn.004cbf3d
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 8
push 0x4000
mov dword [esi], vtable.TextChat.0
mov dword [esi + 0xc], 0
mov dword [esi + 4], edi
mov byte [esi + 0x10], 0
mov byte [esi + 0x30], 0
call fcn.004cbf7b
push 0x4000
push 0
push eax
mov dword [esi + 0x14], eax
call fcn.004cddb0
push 0x4000
call fcn.004cbf7b
push 0x4000
push 0
push eax
mov dword [esi + 0x18], eax
call fcn.004cddb0
push 0x4000
call fcn.004cbf7b
push 0x4000
push 0
push eax
mov dword [esi + 0x1c], eax
call fcn.004cddb0
add esp, 0x44
push 0x80
call fcn.004cbf7b
push 0x80
push 0
push eax
mov dword [esi + 0x20], eax
call fcn.004cddb0
push 0x80
call fcn.004cbf7b
push 0x80
push 0
push eax
mov dword [esi + 0x24], eax
call fcn.004cddb0
push 0x4000
call fcn.004cbf7b
push 0x4000
push 0
push eax
mov dword [esi + 0x28], eax
call fcn.004cddb0
add esp, 0x30
mov dword [ebp - 0x10], 0x80
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x43fdd4
cmp dword [ebp - 0x10], 0x80
jb 0x43fdd4
mov eax, dword [esi + 0x24]
mov byte [eax + 0x7c], 0x2e
mov eax, dword [esi + 0x24]
mov byte [eax + 0x7d], 0x2e
mov eax, dword [esi + 0x24]
mov byte [eax + 0x7e], 0x2e
mov eax, dword [esi + 0x24]
mov byte [eax + 0x7f], 0
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x43fdfa
push 0x30
push 0x5687e0
mov edx, 0x5682e0
call fcn.00425e00
add esp, 8
mov dword [esi + 0x34], 0xffffffff
mov eax, edi
mov dword [edi + 0x554], esi
mov byte [edi + 0x558], 1
mov dword [edi + 0x19c], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x190], 0
mov word [edi + 0x194], 0
mov dword [edi + 0x688], 0
mov word [edi + 0x68c], 0
mov byte [edi + 0x502], 0
mov dword [edi + 0x4e0], 0
mov dword [edi + 0x4e4], 0
mov dword [edi + 0x35c], 0
mov dword [edi + 0x360], 0
mov dword [edi + 0x364], 0
mov dword [edi + 0x27c], 0
mov dword [edi + 0x280], 0
mov dword [edi + 0x284], 0
mov byte [edi + 0x160], 0
mov dword [edi + 0x53c], 1
mov dword [edi + 4], 0
mov dword [edi + 0x154], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret