Function at 0x422450
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499993
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x254], esi
push str.tvnviewer
lea ecx, [ebp - 0x24c]
call fcn.0043a0d0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x24]
mov eax, dword [ecx]
push dword [ebp - 0x248]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x248]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
test ecx, ecx
je 0x4224fb
mov eax, dword [ebp - 0x240]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x4224f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422863
push edx
push ecx
call fcn.00471cb1
add esp, 8
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 1
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 2
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 3
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x422612
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x22c]
lea ecx, [ebp - 0x22c]
call dword [eax + 4]
push str.TightVNC
push dword [ebp - 0x228]
lea eax, [ebp - 0x23c]
push str._s_s
push eax
call fcn.0043a5e0
add esp, 0x10
jmp 0x42262b
push str.TightVNC
lea eax, [ebp - 0x23c]
push 0x4b3864
push eax
call fcn.0043a5e0
add esp, 0xc
push dword [ebp - 0x238]
lea ecx, [ebp - 0x24c]
call fcn.00425e90
push 0
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x24c]
call fcn.0043a180
mov eax, dword [esi + 0x6c]
lea ecx, [esi + 0x6c]
mov dword [ebp - method.AutoLock.virtual_0], vtable.AutoLock.0
mov dword [ebp - 0x240], ecx
call dword [eax + 4]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x14]
mov eax, dword [ecx]
push dword [ebp - 0x238]
call dword [eax + 4]
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x42268e
mov eax, dword [ecx]
push 1
call dword [eax + 8]
push 0x6c
call fcn.0047217f
add esp, 4
mov dword [ebp - 0x258], eax
mov cl, byte [esi + 8]
lea edi, [eax + 4]
mov ebx, dword [esi + 0x18]
mov dword [eax], vtable.FileLogger.0
mov dword [ebp - 0x25c], edi
mov byte [edi + 4], 1
mov byte [ebp - 0x250], cl
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
lea eax, [edi + 0x24]
mov dword [edi], vtable.FileAccount.0
mov dword [ebp - 0x260], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00421760
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
push str.tvnviewer
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 0xb
call fcn.0043a0d0
lea eax, [edi + 0x50]
mov word [edi + 0x44], 0x100
mov dword [edi + 0x48], 0
push eax
mov dword [edi + 0x4c], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push dword [ebp - 0x250]
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.004354c0
mov eax, dword [ebp - 0x254]
mov esi, dword [ebp - 0x258]
mov dword [eax + 0x34], esi
lea ecx, [eax + 0x6c]
mov byte [ebp - 4], 0xe
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp - 0x228]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
test edx, edx
je 0x422800
mov ecx, dword [ebp - 0x220]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4227d8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422868
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov edx, dword [ebp - 0x238]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
test edx, edx
je 0x422843
mov ecx, dword [ebp - 0x230]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x422839
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42286d
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471ca0
mov esp, ebp
pop ebp
ret 0xc
call fcn.0047d9a1
call fcn.0047d9a1
call fcn.0047d9a1
int3