joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dc80
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub esp, 0x16c
mov eax, dword [0x489348]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
xor ebx, ebx
cmp dword [esp + 0x174], ebx
je 0x41dda7
push 0x104
lea eax, [esp + 0x64]
push eax
push ebx
mov dword [esi + 0xe118], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41dd0d
lea ecx, [esp + 0x60]
push 0x5c
push ecx
call fcn.0045cab0
add esp, 8
cmp eax, ebx
je 0x41ddc5
mov byte [eax], bl
lea eax, [esp + 0x60]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41dce0
mov edx, dword [str.16bithlp.exe]
mov ecx, dword [0x47dbe4]
mov dword [eax], edx
mov edx, dword [0x47dbe8]
mov dword [eax + 4], ecx
mov cx, word [0x47dbec]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
push 0x44
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.00462100
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x80]
push edx
push ebx
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor ecx, ecx
test eax, eax
mov eax, 0x48b3f0
jne 0x41dd5e
push str.._vncdesktop.cpp_:_set_ddihooks_Failed_n
call fcn.00401000
add esp, 4
jmp 0x41ddbf
push str.._vncdesktop.cpp_:_set_ddihooks_OK_n
call fcn.00401000
mov eax, dword [esp + 0xc]
add esp, 4
push 0x2710
push eax
mov dword [esi + 0xe0f8], 1
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 8]
mov dword [esi + 0xe118], ecx
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0045c77f
add esp, 0x16c
ret 4
mov eax, dword [esi + 0xe118]
cmp eax, ebx
je 0x41ddc5
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esi + 0xe118], ebx
mov dword [esi + 0xe0f8], ebx
mov ecx, dword [esp + 0x16c]
pop ebx
xor ecx, esp
call fcn.0045c77f
add esp, 0x16c
ret 4

Function at 0x41e6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470948
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esi], vtable.rfb::ClippedUpdateTracker.0
mov dword [esi + 4], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
call fcn.00455330
mov edx, dword [esp + 0x34]
mov dword [esi + 8], eax
mov ecx, dword [edx]
lea ebx, [esp + 0xc]
call fcn.00455ed0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 8
Function at 0x41e7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471208
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x30]
lea ebx, [esp + 0xc]
call fcn.00455ed0
mov eax, dword [esp + 0x30]
mov esi, eax
mov eax, dword [eax + 8]
push eax
call fcn.0045d511
push esi
call fcn.0045d511
add esp, 8
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 4
Function at 0x423ac0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, eax
push str.._vncencoder.cpp_:_remote_palette_data_requested_n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
cmp byte [esi + 0x13], 0
jne 0x423af5
mov eax, esi
call fcn.00423c80
test eax, eax
je 0x423c4b
cmp byte [esi + 0x23], 0
jne 0x423c4b
cmp byte [esi + 0x13], 0
mov ecx, 9
mov eax, 0x48b3f0
je 0x423bca
push str.._vncencoder.cpp_:_generating_BGR233_palette_data_n
call fcn.00401000
mov cl, byte [esi + 0x30]
mov eax, dword [esi + 0xc]
mov ebx, 1
shl ebx, cl
lea ebp, [esi + 0xc]
add esp, 4
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
test eax, eax
je 0x423b45
push eax
call fcn.0045d511
add esp, 4
lea eax, [ebx*4]
push eax
call fcn.0045d5ee
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x423c30
xor edi, edi
test ebx, ebx
jle 0x423c30
lea ebp, [eax + 1]
lea ecx, [ecx]
movzx ecx, byte [esi + 0x3c]
movzx ebx, word [esi + 0x38]
mov eax, edi
sar eax, cl
add ebp, 4
and eax, ebx
imul eax, eax, 0xff
cdq
idiv ebx
mov byte [ebp - 5], al
movzx ecx, byte [esi + 0x3a]
movzx ebx, word [esi + 0x34]
mov eax, edi
sar eax, cl
and eax, ebx
imul eax, eax, 0xff
cdq
idiv ebx
mov byte [ebp - 3], al
movzx ecx, byte [esi + 0x3b]
movzx ebx, word [esi + 0x36]
mov eax, edi
sar eax, cl
inc edi
and eax, ebx
imul eax, eax, 0xff
cdq
idiv ebx
cmp edi, dword [esp + 0x14]
mov byte [ebp - 4], al
jl 0x423b70
jmp 0x423c2c
push str.._vncencoder.cpp_:_generating_8_bit_palette_data_n
call fcn.00401000
mov ecx, 0xff
mov eax, ecx
mov edx, ecx
add esp, 4
mov word [esp + 0x20], cx
mov word [esp + 0x1c], ax
lea eax, [esi + 0xc]
lea ecx, [esp + 0x18]
push ecx
add esi, 0x10
push esi
push eax
mov byte [esp + 0x27], 1
mov byte [esp + 0x24], 0x20
mov byte [esp + 0x25], 0x18
mov byte [esp + 0x26], 0
mov word [esp + 0x2a], dx
mov byte [esp + 0x2e], 0x10
mov byte [esp + 0x2f], 8
mov byte [esp + 0x30], 0
mov dword [esp + 0x1c], eax
call dword [0x48aa90]
add esp, 0xc
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x423c57
push str.._vncencoder.cpp_:_failed_to_obtain_colour_map_data__n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
lea eax, [edx*4]
push eax
push ebp
push ecx
call fcn.00462180
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8
Function at 0x4250d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x470218
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
xor edi, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x5c], 6
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esp + 0x14], edi
push 0x414
mov dword [esi], vtable.vncEncodeTight.0
mov dword [esi + 0x197c], edi
mov dword [esi + 0x1980], edi
call fcn.0045cadd
mov dword [esi + 0x1974], eax
mov dword [esi + 0x1984], edi
add esp, 4
mov dword [esi + 0x1960], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x428d40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x470218
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x5c], 6
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esp + 0x14], ebx
push 0x20001
mov dword [esi], vtable.vncEncodeUltra.0
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], 0x20000
call fcn.0045cadd
add esp, 4
mov dword [esi + 0x74], eax
cmp eax, ebx
jne 0x428e03
push str.._vncEncodeUltra.cpp_:_Memory_error
lea ecx, [ebx + 9]
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
mov ecx, dword [esi + 0x8c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + ecx + 8]
push ecx
call fcn.0045cadd
add esp, 4
mov dword [esi + 0x78], eax
cmp dword [esi + 0x74], ebx
jne 0x428e46
push str.._vncEncodeUltra.cpp_:_Memory_error
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
mov eax, esi
mov byte [esi + 0xa0], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4296c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x470218
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x5c], 6
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esp + 0x14], ebx
push 0x20001
mov dword [esi], vtable.vncEncodeZlib.0
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov byte [esi + 0xc4], bl
mov dword [esi + 0xd4], 0x20000
call fcn.0045cadd
add esp, 4
mov dword [esi + 0x78], eax
cmp eax, ebx
jne 0x42979b
push str.._vncEncodeZlib.cpp_:_Memory_error
lea ecx, [ebx + 9]
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
mov ecx, dword [esi + 0xd4]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + ecx + 8]
push ecx
call fcn.0045cadd
add esp, 4
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x78], ebx
jne 0x4297de
push str.._vncEncodeZlib.cpp_:_Memory_error
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x42ab40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x470218
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
xor edi, edi
or eax, 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x5c], 6
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esp + 0x14], edi
push 0x20001
mov dword [esi], vtable.vncEncodeZlibHex.0
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], 0x20000
mov dword [esi + 0x80], eax
mov dword [esi + 0xb8], eax
call fcn.0045cadd
add esp, 4
mov dword [esi + 0xe8], eax
cmp eax, edi
jne 0x42ac11
push str.._vncEncodeZlibHex.cpp_:_Memory_error
lea ecx, [edi + 9]
mov eax, 0x48b3f0
call fcn.00401000
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x433530
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47061e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x489348]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x5c], 6
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esp + 0x18], ebx
push 0x10
mov dword [esi], vtable.vncEncodeZRLE.0
call fcn.0045c88a
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 1
cmp eax, ebx
je 0x4335ce
push eax
call fcn.0042c4b0
jmp 0x4335d0
xor eax, eax
mov byte [esp + 0x18], bl
push 0x20
mov dword [esi + 0x78], eax
call fcn.0045c88a
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 2
cmp eax, ebx
je 0x4335f6
push eax
call fcn.0044c1c0
jmp 0x4335f8
xor eax, eax
mov byte [esp + 0x18], bl
push 0x4004
mov dword [esi + 0x74], eax
call fcn.0045cadd
mov dword [esi + 0x7c], eax
add esp, 4
mov dword [esi + 0x70], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x434400
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x434456
mov cl, byte [esi]
mov eax, dword [esi + 4]
push 0
push eax
movzx edx, cl
push 0
push edx
mov byte [esp + 0x10], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [esi]
push ecx
push str.fake__d_down_n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 8
mov byte [esi + 8], 1
pop ecx
ret

Function at 0x434460
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4344b9
mov eax, dword [esi + 4]
mov cl, byte [esi]
push 0
or eax, 2
push eax
movzx edx, cl
push 0
push edx
mov byte [esp + 0x10], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [esi]
push ecx
push str.fake__d_up_n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 8
mov byte [esi + 9], 1
pop ecx
ret
Function at 0x4344c0
Capabilities:
Log keystrokes

Disassembly:
push ecx
cmp byte [esi + 8], 0
je 0x43450a
mov eax, dword [esi + 4]
mov cl, byte [esi]
push 0
or eax, 2
push eax
movzx eax, cl
push 0
push eax
mov byte [esp + 0x10], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
mov edx, dword [esi]
push edx
push str.fake__d_up_n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 8
pop ecx
ret
cmp byte [esi + 9], 0
je 0x43454e
mov eax, dword [esi + 4]
mov cl, byte [esi]
push 0
push eax
movzx eax, cl
push 0
push eax
mov byte [esp + 0x10], cl
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
mov edx, dword [esi]
push edx
push str.fake__d_down_n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 8
pop ecx
ret
Function at 0x4350a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx esi, bl
push esi
call edi
shr eax, 0xf
and eax, 1
je 0x43511b
push 0x47f414
push str.down
push esi
push str.._vnckeymap.cpp_:_setshiftstate__d_____s___s__n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 0x10
push 0
push 2
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push ebx
call dword [sym.imp.USER32.dll_keybd_event]
push esi
call edi
test eax, 0x8000
mov eax, str.down
jne 0x435102
mov eax, 0x47f414
push eax
push esi
push str.._vnckeymap.cpp_:_new_state__d___s__n
mov ecx, 9
mov eax, 0x48b3f0
call fcn.00401000
add esp, 0xc
pop edi
pop esi
pop ecx
ret

Function at 0x4372b0
Capabilities:
Move file

Disassembly:
mov eax, dword [0x48b408]
push esi
test eax, eax
jne 0x4372dc
mov byte [0x48b3f8], al
push str.Error_opening_log_file_n
xor ecx, ecx
mov eax, 0x48b3f0
mov byte [0x48b3f9], 1
call fcn.00401000
add esp, 4
pop esi
ret
cmp byte [0x48b40c], 0
mov byte [0x48b3f8], 1
jne 0x437351
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4372f0
sub eax, edx
add eax, 5
push eax
call fcn.0045cadd
mov esi, eax
add esp, 4
test esi, esi
je 0x437351
mov ecx, dword [0x48b408]
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x437313
mov eax, esi
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x437320
mov ecx, dword [str..bak]
mov dword [eax], ecx
mov dl, byte [0x47f4cc]
push 1
mov byte [eax + 4], dl
mov eax, dword [0x48b408]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push esi
call fcn.0045d506
add esp, 4
mov eax, dword [0x48b404]
test eax, eax
je 0x43736b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x48b404], 0
mov ecx, dword [0x48b408]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x48b404], eax
cmp eax, 0xffffffff
jne 0x4373c2
mov edx, dword [0x48b408]
push edx
push str.Error_opening_log_file__s_n
xor ecx, ecx
mov eax, 0x48b3f0
mov byte [0x48b3f9], 1
mov byte [0x48b3f8], 0
call fcn.00401000
mov eax, dword [0x48b404]
add esp, 8
cmp byte [0x48b40c], 0
je 0x4373da
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
ret
Function at 0x437bf0
Capabilities:
Find taskbar

Disassembly:
push esi
lea esi, [edi + 0xbb4]
push esi
push str.._vncmenu.cpp_:__vncMenu::AddTrayIcon___UserName___s_n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
add esp, 8
mov ecx, 0x47a387
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437c33
test dl, dl
je 0x437c2f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437c33
add eax, 2
add ecx, 2
test dl, dl
jne 0x437c13
xor eax, eax
jmp 0x437c38
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437c9e
mov ecx, str.SYSTEM
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437c63
test dl, dl
je 0x437c5f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437c63
add eax, 2
add ecx, 2
test dl, dl
jne 0x437c43
xor eax, eax
jmp 0x437c68
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437c9e
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x437ca0
mov eax, dword [edi + 0xcdc]
push eax
push str.._vncmenu.cpp_:__vncMenu::AddTrayIcon___User_exists__traywnd_is_not_found_reset_when_counter_reach__i20_n
xor ecx, ecx
mov eax, 0x48b3f0
call fcn.00401000
add esp, 8
inc dword [edi + 0xcdc]
pop esi
ret
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x148]
call eax
test eax, eax
jne 0x437cb9
push eax
push eax
mov eax, edi
call fcn.00437e90
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
test eax, eax
je 0x437c9e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c0]
call eax
test eax, eax
je 0x437cdb
call fcn.004042b0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c8]
call eax
test eax, eax
je 0x437c9e
pop esi
jmp fcn.004375a0
Function at 0x437d00
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x110
mov eax, dword [0x489348]
xor eax, esp
mov dword [esp + 0x10c], eax
push 0x100
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
je 0x437d53
mov ecx, dword [esp + 0x114]
push ecx
push str.Host_name_unavailable
push edi
call fcn.0045d9c0
add esp, 0xc
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0045c77f
add esp, 0x110
ret
push ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov ebp, eax
test ebp, ebp
jne 0x437d91
mov eax, dword [esp + 0x118]
push eax
push str.IP_address_unavailable
push edi
call fcn.0045d9c0
add esp, 0xc
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0045c77f
add esp, 0x110
ret
mov byte [edi], 0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
mov dword [esp + 4], 0
je 0x437e71
push ebx
push esi
xor ebx, ebx
lea esp, [esp]
xor edx, edx
xor esi, esi
cmp dx, word [ebp + 0xa]
jge 0x437e0d
lea ebx, [ebx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + eax]
movzx edx, byte [ecx + esi]
push edx
lea eax, [esp + 0x14]
push 0x47bee0
push eax
call fcn.0045c8ef
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437de2
mov ecx, dword [esp + 0x120]
sub eax, edx
sub ecx, eax
dec ecx
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.0045db40
movsx eax, word [ebp + 0xa]
inc esi
add esp, 0xc
cmp esi, eax
jl 0x437dc0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437e12
sub eax, edx
mov byte [edi + eax - 1], cl
mov ecx, dword [ebp + 0xc]
cmp dword [ebx + ecx + 4], 0
je 0x437e52
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x437e30
sub eax, edx
mov edx, dword [esp + 0x120]
sub edx, eax
dec edx
push edx
push 0x47bee4
push edi
call fcn.0045db40
add esp, 0xc
mov eax, dword [esp + 0xc]
inc eax
lea ebx, [eax*4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebx + eax], 0
jne 0x437db0
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
pop ebp
xor ecx, esp
call fcn.0045c77f
add esp, 0x110
ret

Function at 0x439490
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10c
mov eax, dword [0x489348]
xor eax, esp
mov dword [esp + 0x108], eax
lea eax, [esp + 4]
push eax
call fcn.004043b0
lea ecx, [esp + 4]
push ecx
push 0
push str.UseRegistry
push str.admin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x43951e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edx, [esp + 4]
push edx
push 0x4a6718
push 0
push 0x20019
push 0
push 0
push 0
push str.SoftwareUltraVnc
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x43951d
mov ecx, dword [0x4a6718]
lea eax, [esp + 4]
push eax
push 0x4a671c
push 0
push 0x2001f
push 0
push 0
push 0
push str.mslogon
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0045c77f
add esp, 0x10c
ret