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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x431c67
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0051a9e0
add esp, 8
test eax, eax
je 0x431d3a
mov byte [eax], 0
push str.uvnckeyboardhelper.exe
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0051f428
lea eax, [ebp - 0x108]
push 0x59bd00
push eax
call fcn.0052cccd
add esp, 0x14
test eax, eax
je 0x431d3a
push eax
call fcn.0052ce09
add esp, 4
mov dword [ebp - 0x144], 0x3c
lea eax, [ebp - 0x108]
mov dword [ebp - 0x140], 0
xorps xmm0, xmm0
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x144]
movlpd qword [ebp - 0x120], xmm0
push eax
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], str.runas
mov dword [ebp - 0x130], 0x569fe8
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x431d3a
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret
Function at 0x431d50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548d54
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [0x5bb8f8]
test eax, eax
jne 0x431da9
push 0x20
call fcn.0051946c
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00479de0
mov ecx, dword [ebp - 0x14]
mov dword [0x5bb8f8], eax
cmp byte [eax + 6], 0
je 0x431f3f
cmp dword [0x5b318c], 0
jne 0x431f3f
cmp dword [0x5b3190], 0
je 0x431f3f
push 2
lea ecx, [ebp - 0xd]
call fcn.00431bb0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
shr eax, 8
push 0xa2
mov dword [ebp - 0x18], eax
call esi
shr eax, 8
push 0x5b
mov dword [ebp - 0x1c], eax
call esi
mov esi, dword [0x5b319c]
shr eax, 8
test esi, esi
je 0x431f13
cmp byte [ebp - 0x18], 0
jne 0x431e20
cmp byte [ebp - 0x1c], 0
jne 0x431e20
test al, al
je 0x431f13
cmp byte [esi + 0x1ec], 0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x20], al
mov eax, dword [ebp + 8]
mov byte [ebp - 0x1f], bl
mov dword [ebp - 0x1c], eax
je 0x431f23
lea ebx, [esi + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x1e0]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x1c]
call fcn.0051aed0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x431e6b
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x431e75
push eax
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x431e85
push eax
call edi
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x431eb2
inc dword [esi + 0x1e8]
cmp dword [esi + 0x1e8], 3
jle 0x431ebc
mov byte [esi + 0x1ec], 0
jmp 0x431ee6
mov dword [esi + 0x1e8], 0
cmp byte [esi + 0x1ec], 0
je 0x431ee6
push 0x3e8
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x1e4]
push dword [esi + 0x20]
push 0
call fcn.0051aed0
add esp, 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x431ef0
push eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x5b318c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push 0
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [0x5b318c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432b70
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor eax, eax
push edi
push eax
push eax
push 3
push eax
push 3
push 0xc0000000
push str.c:_video0.dat
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], eax
call esi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str.c:_video1.dat
mov ebx, eax
call esi
mov edi, eax
test ebx, ebx
je 0x432bd0
cmp ebx, 0xffffffff
je 0x432bd0
test edi, edi
je 0x432bcd
cmp edi, 0xffffffff
jne 0x432bd9
mov dword [ebp - 4], ebx
test edi, edi
je 0x432be5
cmp edi, 0xffffffff
je 0x432be5
test ebx, ebx
je 0x432be2
cmp ebx, 0xffffffff
jne 0x432bee
mov dword [ebp - 4], edi
test ebx, ebx
je 0x432c65
cmp ebx, 0xffffffff
je 0x432c65
test edi, edi
je 0x432c65
cmp edi, 0xffffffff
je 0x432c65
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push ebx
call esi
push 0
push edi
mov dword [ebp - 0x18], eax
call esi
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
cmp esi, edx
cmove ecx, ebx
mov dword [ebp - 4], ecx
cmp eax, edx
jne 0x432c65
cmp esi, edx
jne 0x432c73
mov esi, dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x432c61
cmp eax, 1
jne 0x432c73
mov edi, ebx
jmp 0x432c73
mov eax, dword [ebp - 4]
mov edi, eax
test eax, eax
je 0x432cb7
cmp edi, 0xffffffff
je 0x432cb7
push 0
push 0
push 0
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x432caa
cmp esi, 0xffffffff
je 0x432caa
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push esi
mov dword [ebp - 0xc], eax
call ebx
push edi
call ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.VideoDriver::videoMemory_GetSharedMemory_:_Error_video.dat__n
push 0
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov edx, 1
call fcn.0041d6e0
add edi, 0xfffffff8
test edi, edi
jle 0x4367fc
lea esi, [ebx + 6]
add esi, edi
dec edi
shr edi, 3
inc edi
mov dl, byte [esi]
movzx ecx, byte [esi - 6]
movzx eax, byte [esi - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 1]
mov dword [ebp - 8], ecx
movzx ecx, byte [esi - 2]
shl ecx, 8
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 8]
call fcn.0041d9d0
movzx eax, byte [ebp - 5]
lea esi, [esi - 8]
mov byte [esi + 2], al
movzx eax, byte [ebp - 6]
mov byte [esi + 3], al
mov eax, dword [ebp - 8]
mov byte [esi + 4], ah
mov byte [esi + 5], al
movzx eax, byte [ebp - 1]
mov byte [esi + 6], al
movzx eax, byte [ebp - 2]
mov byte [esi + 7], al
mov eax, dword [ebp - 4]
mov byte [esi + 8], ah
mov byte [esi + 9], al
movzx eax, byte [esi - 6]
xor byte [esi + 2], al
movzx eax, byte [esi - 5]
xor byte [esi + 3], al
movzx eax, byte [esi - 4]
xor byte [esi + 4], al
movzx eax, byte [esi - 3]
xor byte [esi + 5], al
movzx eax, byte [esi - 2]
xor byte [esi + 6], al
movzx eax, byte [esi - 1]
xor byte [esi + 7], al
mov dl, byte [esi]
movzx eax, byte [esi + 1]
xor byte [esi + 8], dl
xor byte [esi + 9], al
sub edi, 1
jne 0x436741
movzx edx, byte [ebx]
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 5]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 6]
mov dword [ebp - 8], edx
movzx edx, byte [ebx + 4]
shl edx, 8
or edx, ecx
lea ecx, [ebp - 8]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 7]
shl edx, 8
or edx, eax
mov dword [ebp - 4], edx
call fcn.0041d9d0
movzx eax, byte [ebp - 6]
mov ecx, dword [ebp + 8]
mov byte [ebx + 1], al
movzx eax, byte [ebp - 7]
mov edx, dword [ebp - 5]
mov byte [ebx + 2], al
movzx eax, byte [ebp - 8]
mov byte [ebx + 3], al
movzx eax, byte [ebp - 1]
mov byte [ebx + 4], al
movzx eax, byte [ebp - 2]
mov byte [ebx + 5], al
mov eax, dword [ebp - 4]
mov byte [ebx], dl
mov byte [ebx + 7], al
mov byte [ebx + 6], ah
movzx eax, byte [ecx]
xor al, dl
mov byte [ebx], al
movzx eax, byte [ecx + 1]
xor byte [ebx + 1], al
movzx eax, byte [ecx + 2]
xor byte [ebx + 2], al
movzx eax, byte [ecx + 3]
xor byte [ebx + 3], al
movzx eax, byte [ecx + 4]
xor byte [ebx + 4], al
movzx eax, byte [ecx + 5]
xor byte [ebx + 5], al
movzx eax, byte [ecx + 6]
xor byte [ebx + 6], al
movzx eax, byte [ecx + 7]
xor byte [ebx + 7], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a540
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x105
lea eax, [ebp - 0x10c]
mov esi, ecx
push 0
push eax
call fcn.0051b450
push 0x104
push esi
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.0052e02d
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43a586
sub esi, ecx
inc esi
cmp esi, 0x105
jae 0x43a60b
mov byte [ebp + esi - 0x10c], al
xorps xmm0, xmm0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x124], eax
mov eax, 0x614
mov word [ebp - 0x11c], ax
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x120], 0
movlpd qword [ebp - 0x11a], xmm0
mov dword [ebp - 0x112], 0
mov dword [ebp - 0x128], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp - 4]
test eax, eax
pop esi
sete al
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret
call fcn.00519849
int3
Function at 0x43c1a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549457
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5b0008]
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 edi, ecx
mov dword [ebp - 0x120], edi
cmp dword [edi + 0x278], 0
je 0x43c1e3
xor esi, esi
jmp 0x43c206
mov eax, dword [edi + 0x270]
push ecx
mov ecx, dword [edi + 0x26c]
mov esi, dword [eax]
call fcn.004840d0
mov ecx, dword [edi + 0x270]
push eax
call dword [esi + 0xec]
mov esi, eax
lea ecx, [ebp - 0x114]
call fcn.00425b90
test eax, eax
je 0x43c39d
mov ecx, 0x569fe8
lea edx, [ebp - 0x114]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x43c244
test al, al
je 0x43c240
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x43c244
add edx, 2
add ecx, 2
test al, al
jne 0x43c224
xor eax, eax
jmp 0x43c249
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43c25b
mov eax, dword [0x5be08c]
cmp dword [eax + 0x748], 0
je 0x43c2a1
cmp esi, 1
jne 0x43c2a1
call fcn.00425ca0
test eax, eax
je 0x43c2b4
mov eax, dword [0x5be08c]
cmp dword [eax + 0x748], 0
jne 0x43c2b4
mov ecx, dword [edi + 0x270]
mov eax, dword [ecx]
call dword [eax + 0x100]
test eax, eax
je 0x43c2aa
mov ecx, dword [edi + 0x270]
mov eax, dword [ecx]
call dword [eax + 0xf8]
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 2
cmp esi, 2
je 0x43c39d
mov eax, 1
jmp 0x43c39f
push 0x28
call fcn.0051946c
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x5be08c]
mov ebx, dword [edi + 0x274]
cmp dword [ecx + 0xa44], 0
mov ecx, dword [edi + 0x26c]
setne byte [ebp - 0x115]
add ebx, 0x25c
call fcn.004840d0
mov ecx, dword [ebp - 0x120]
mov edi, eax
mov ecx, dword [ecx + 0x270]
mov edx, dword [ecx]
call dword [edx + 0xf8]
mov ecx, dword [0x5be08c]
push edi
lea esi, [eax - 1]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ecx + 0x750]
neg esi
sbb esi, esi
inc esi
mov dword [eax], vtable.vncAcceptDialog.0
mov dword [eax + 8], ecx
call fcn.0052cbc2
mov edi, dword [ebp - 0x11c]
add esp, 4
mov dword [edi + 0x18], eax
mov al, byte [ebp - 0x115]
mov byte [edi + 0x24], al
lea eax, [ebp - 0x11c]
push eax
push 0
push edi
push 0x436130
push 0
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 4], esi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [edi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x120]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x120], 1
je 0x43c2aa
xor eax, eax
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.00519459
mov esp, ebp
pop ebp
ret
Function at 0x43f2f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x100
lea eax, [ebp - 0x104]
mov bl, cl
push 0
push eax
call fcn.0051b450
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
movzx eax, bl
test byte [ebp + eax - 0x104], 1
je 0x43f353
push ecx
push 1
xor dl, dl
mov cl, bl
call fcn.00431d50
add esp, 4
xor dl, dl
mov cl, bl
push 3
call fcn.00431d50
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00519459
mov esp, ebp
pop ebp
ret
Function at 0x43f370
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x288
mov eax, dword [0x5b0008]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
push 0x100
lea eax, [esp + 0x18c]
mov edi, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x43f3d1
push 0x100
push str.Host_name_unavailable
push 0x100
push edi
call fcn.0052c878
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
mov byte [edi], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
push 0
lea eax, [esp + 0x194]
movlpd qword [esp + 0x3c], xmm0
push eax
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 6
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x43f5d6
mov eax, dword [0x5be08c]
cmp dword [eax + 0xe64], 0
jne 0x43f4e7
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43f4da
nop dword [eax + eax]
mov eax, dword [esi + 4]
sub eax, 2
jne 0x43f4ca
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
push dword [esp + 0x44]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [esp + 0x8c]
push 0x59d2f0
push eax
call fcn.004232c0
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f488
sub eax, edx
lea edx, [esp + 0x88]
lea ecx, [edx + 1]
mov dword [esp + 0x18], ecx
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43f4a0
sub edx, dword [esp + 0x18]
add eax, edx
cmp eax, 0x100
jge 0x43f4ca
lea eax, [esp + 0x88]
push eax
push 0x100
push edi
call fcn.0051f428
add esp, 0xc
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x43f450
mov eax, dword [0x5be08c]
cmp dword [eax + 0xe64], 0
je 0x43f5d6
mov esi, dword [esp + 0x14]
test esi, esi
je 0x43f5d6
cmp dword [esi + 4], 0x17
jne 0x43f5cb
push 0x2e
lea eax, [esp + 0x5c]
mov dword [esp + 0x1c], 0x2e
push 0
push eax
call fcn.0051b450
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push dword [esi + 0x10]
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
push 0x100
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.0051b450
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x90]
push 0x100
push eax
call fcn.0052c878
push 0x59d2f4
lea eax, [esp + 0x9c]
push 0x100
push eax
call fcn.0051f428
mov edx, edi
add esp, 0x1c
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43f583
sub edx, ecx
lea ecx, [esp + 0x88]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f5a0
sub ecx, dword [esp + 0x1c]
lea eax, [ecx + edx]
cmp eax, 0x100
jge 0x43f5cb
lea eax, [esp + 0x88]
push eax
push 0x100
push edi
call fcn.0051f428
add esp, 0xc
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x43f4f3
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
Function at 0x4463d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54994d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5b0008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x450]
mov ecx, dword [edi + 0x374]
mov edx, dword [edi + 0x37c]
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x89c]
add eax, ecx
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x8a4]
add eax, ecx
mov ecx, dword [edi + 0x370]
add eax, edx
mov edx, dword [edi + 0x378]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x898]
add eax, ecx
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x68]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [eax + 0x8a0]
add eax, ecx
add eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
call esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x446558
cmp dword [edi + 0x4b0], 0
jne 0x4464b7
cmp dword [edi + 0x58c], 0
jne 0x4464b7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [edi + 0x4b0], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x594], 0
je 0x446558
cmp dword [edi + 0x590], 0
jne 0x446558
lea eax, [ebp - 0x28]
push eax
call esi
mov eax, dword [edi + 0x378]
add eax, dword [edi + 0x370]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [edi + 0x37c]
sub eax, dword [edi + 0x374]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
cmp ecx, dword [edi + 0x598]
jne 0x44650d
cmp eax, dword [edi + 0x59c]
je 0x446558
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov esi, eax
mov dword [ebp - 0x34], 0x5e
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x28]
mov dword [edi + 0x598], edx
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x59c], edx
mov dword [edi + 0x590], 1
call fcn.004461d0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00519459
mov esp, ebp
pop ebp
ret
Function at 0x448660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
cmp byte [esi + 0x721], 0
je 0x448687
cmp byte [esi + 0x720], 0
je 0x448692
call fcn.004487b0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
test edi, edi
jns 0x4486a4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0x2000
jg 0x448687
cmp dword [ebp + 0xc], 2
jne 0x4486e3
push 1
push 0
push edi
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x448763
add dword [esi + 0x71c], edi
mov al, bl
inc dword [esi + 0x714]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x3a0]
push edi
push dword [esi + 0x700]
call fcn.00484cd0
cmp eax, 0xffffffff
sete bl
jne 0x44877c
cmp dword [ebp + 0xc], 0
mov ecx, 0x2000
mov edx, dword [esi + 0x700]
mov dword [esp + 0x10], ecx
jne 0x448716
xor bh, bh
jmp 0x448743
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
push edx
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x704]
call sym.winvnc.exe_uncompress2
add esp, 0x10
test eax, eax
jne 0x448763
mov edx, dword [esi + 0x704]
mov bh, 1
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esi + 0x718]
test bh, bh
push eax
cmovne edi, ecx
push edi
push edx
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44878a
mov ecx, esi
mov byte [esi + 0x720], 1
call fcn.004487b0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
mov byte [esi + 0x720], 1
call fcn.004487b0
mov edi, dword [esi + 0x718]
mov al, bl
add dword [esi + 0x71c], edi
inc dword [esi + 0x714]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x449040
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549b4d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5b0008]
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 eax, dword [esi]
call dword [eax + 0x28]
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x66
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [esi + 0x73a], 0
je 0x4491a9
mov eax, dword [0x5be08c]
mov edi, dword [esi + 0x3a0]
imul ebx, dword [eax + 0x758], 0x3e8
cmp dword [edi + 8], 0xffffffff
je 0x4490ba
push ebx
mov ecx, edi
call fcn.004845e0
cmp dword [edi + 0xc], 0xffffffff
je 0x4490c8
push ebx
mov ecx, edi
call fcn.004846a0
cmp byte [esi + 0x739], 0
xorps xmm0, xmm0
mov ecx, dword [esi + 0x3a0]
movq qword [ebp - 0x1c], xmm0
mov byte [esi + 0x73a], 0
mov dword [ebp - 0x14], 0
mov word [ebp - 0x1c], 0x607
je 0x4490f9
mov word [ebp - 0x1c], 0x707
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
jne 0x449109
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x449117
push eax
push 7
push 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.00484950
mov eax, dword [esi + 0x724]
cmp eax, 0xffffffff
je 0x449133
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x724], 0xffffffff
mov eax, dword [esi + 0x700]
test eax, eax
je 0x449150
push eax
call fcn.00519467
add esp, 4
mov dword [esi + 0x700], 0
mov eax, dword [esi + 0x704]
test eax, eax
je 0x44916d
push eax
call fcn.00519467
add esp, 4
mov dword [esi + 0x704], 0
add esi, 0x111
push 0x5c
push esi
call fcn.0052d29b
push 9
inc eax
push str._UVNCDIR_
push eax
call fcn.005274a0
add esp, 0x14
test eax, eax
jne 0x4491a9
push 0x2c
push esi
call fcn.0052d29b
add esp, 8
test eax, eax
je 0x4491a2
mov byte [eax], 0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.00519459
mov esp, ebp
pop ebp
ret