joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e870
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f324
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5a6008]
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 [0x5b4770]
test eax, eax
jne 0x42e8c9
push 0x20
call fcn.0051134c
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00474710
mov ecx, dword [ebp - 0x14]
mov dword [0x5b4770], eax
cmp byte [eax + 6], 0
je 0x42ea5f
cmp dword [0x5aa134], 0
jne 0x42ea5f
cmp dword [0x5aa264], 0
je 0x42ea5f
push 2
lea ecx, [ebp - 0xd]
call fcn.0042e6d0
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 [0x5ab3d4]
shr eax, 8
test esi, esi
je 0x42ea33
cmp byte [ebp - 0x18], 0
jne 0x42e940
cmp byte [ebp - 0x1c], 0
jne 0x42e940
test al, al
je 0x42ea33
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 0x42ea43
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.00512db0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x42e98b
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42e995
push eax
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x42e9a5
push eax
call edi
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42e9d2
inc dword [esi + 0x1e8]
cmp dword [esi + 0x1e8], 3
jle 0x42e9dc
mov byte [esi + 0x1ec], 0
jmp 0x42ea06
mov dword [esi + 0x1e8], 0
cmp byte [esi + 0x1ec], 0
je 0x42ea06
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.00512db0
add esp, 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42ea10
push eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x5aa134], 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 [0x5aa134], 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 0x42f690
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 0x42f6f0
cmp ebx, 0xffffffff
je 0x42f6f0
test edi, edi
je 0x42f6ed
cmp edi, 0xffffffff
jne 0x42f6f9
mov dword [ebp - 4], ebx
test edi, edi
je 0x42f705
cmp edi, 0xffffffff
je 0x42f705
test ebx, ebx
je 0x42f702
cmp ebx, 0xffffffff
jne 0x42f70e
mov dword [ebp - 4], edi
test ebx, ebx
je 0x42f785
cmp ebx, 0xffffffff
je 0x42f785
test edi, edi
je 0x42f785
cmp edi, 0xffffffff
je 0x42f785
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 0x42f785
cmp esi, edx
jne 0x42f793
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 0x42f781
cmp eax, 1
jne 0x42f793
mov edi, ebx
jmp 0x42f793
mov eax, dword [ebp - 4]
mov edi, eax
test eax, eax
je 0x42f7d7
cmp edi, 0xffffffff
je 0x42f7d7
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 0x42f7ca
cmp esi, 0xffffffff
je 0x42f7ca
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 0x5a6c48
call fcn.0041d720
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432b10
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.0041e100
add edi, 0xfffffff8
test edi, edi
jle 0x432bfc
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.0041e3f0
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 0x432b41
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.0041e3f0
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 0x436990
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5a6008]
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.00513330
push 0x104
push esi
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.00524db0
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4369d6
sub esi, ecx
inc esi
cmp esi, 0x105
jae 0x436a5b
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.00511339
mov esp, ebp
pop ebp
ret
call fcn.00511729
int3
Function at 0x4384c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5a6008]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [0x5b6e6c]
push esi
push edi
mov edi, ecx
cmp dword [eax + 0xa60], 0
mov ecx, dword [edi + 0x26c]
jne 0x4385e3
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10
push eax
lea eax, [esp + 0x40]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [esp + 0x40]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
call esi
test eax, eax
mov ecx, str._unavailable_
cmovne ecx, eax
push ecx
call fcn.00523296
mov ecx, dword [edi + 0x26c]
add esp, 4
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0x10
push eax
lea eax, [esp + 0x24]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getpeername]
push dword [esp + 0x24]
call esi
test eax, eax
mov ecx, str._unavailable_
cmovne ecx, eax
push ecx
call fcn.00523296
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x4386b8
test eax, eax
je 0x4386b8
push eax
push ecx
call fcn.00522f90
push dword [esp + 0x18]
mov esi, eax
call fcn.00515679
add esp, 0xc
push dword [esp + 0x1c]
call fcn.00515679
add esp, 4
test esi, esi
jne 0x4386b8
push str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_rejected_n
push esi
push 0x5a6c48
call fcn.0041d720
add esp, 0xc
mov ecx, edi
push str.Local_loop_back_connections_are_disabled.
call fcn.004386d0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x10
push eax
lea eax, [esp + 0x40]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [esp + 0x40]
mov esi, dword [sym.imp.WS2_32.dll_inet_ntoa]
call esi
test eax, eax
mov ecx, str._unavailable_
cmovne ecx, eax
push ecx
call fcn.00523296
mov ecx, dword [edi + 0x26c]
add esp, 4
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0x10
push eax
lea eax, [esp + 0x24]
push eax
push dword [ecx + 8]
call dword [sym.imp.WS2_32.dll_getpeername]
push dword [esp + 0x24]
call esi
test eax, eax
mov ecx, str._unavailable_
cmovne ecx, eax
push ecx
call fcn.00523296
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4386b8
test eax, eax
je 0x4386b8
push eax
push ecx
call fcn.00522f90
push dword [esp + 0x18]
mov esi, eax
call fcn.00515679
add esp, 0xc
push dword [esp + 0x14]
call fcn.00515679
add esp, 4
test esi, esi
jne 0x4386b8
push str.vncClientThread::CheckLoopBack_:_loopback_connection_attempted___client_accepted_n
push esi
push 0x5a6c48
call fcn.0041d720
mov eax, dword [edi + 0x274]
add esp, 0xc
mov byte [eax + 0x3ac], 1
mov ecx, dword [esp + 0x4c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
Function at 0x43b530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5a6008]
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.00513330
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 0x43b593
push ecx
push 1
xor dl, dl
mov cl, bl
call fcn.0042e870
add esp, 4
xor dl, dl
mov cl, bl
push 3
call fcn.0042e870
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00511339
mov esp, ebp
pop ebp
ret

Function at 0x43b5b0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x100
lea eax, [ebp - 0x10c]
mov edi, ecx
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x43b603
push 0x100
push str.Host_name_unavailable
push 0x100
push edi
call fcn.00522f4c
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
jne 0x43b63f
push 0x100
push str.IP_address_unavailable
push 0x100
push edi
call fcn.00522f4c
add esp, 0x10
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov byte [edi], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x114], 0
cmp dword [eax], 0
je 0x43b73c
xor ecx, ecx
mov dword [ebp - 0x110], ecx
push esi
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0xa]
jge 0x43b6c3
nop dword [eax + eax]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ecx]
movzx eax, byte [eax + esi]
push eax
lea eax, [ebp - 0xc]
push 0x593b20
push eax
call fcn.00446dc0
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b691
sub eax, edx
mov ecx, 0xff
sub ecx, eax
lea eax, [ebp - 0xc]
push ecx
push eax
push 0x100
push edi
call fcn.00515301
movsx eax, word [ebx + 0xa]
inc esi
mov ecx, dword [ebp - 0x110]
add esp, 0x10
cmp esi, eax
jl 0x43b670
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b6c8
sub ecx, edx
mov byte [ecx + edi - 1], al
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x110]
cmp dword [ecx + eax + 4], 0
je 0x43b717
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b6f0
sub ecx, edx
mov eax, 0xff
sub eax, ecx
push eax
push 0x593b24
push 0x100
push edi
call fcn.00515301
mov eax, dword [ebx + 0xc]
add esp, 0x10
mov edx, dword [ebp - 0x114]
inc edx
mov dword [ebp - 0x114], edx
lea ecx, [edx*4]
cmp dword [ecx + eax], 0
mov dword [ebp - 0x110], ecx
jne 0x43b661
pop esi
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop edi
call fcn.00511339
mov esp, ebp
pop ebp
ret
Function at 0x442360
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fead
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5a6008]
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 0x4424e8
cmp dword [edi + 0x4b0], 0
jne 0x442447
cmp dword [edi + 0x58c], 0
jne 0x442447
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 0x4424e8
cmp dword [edi + 0x590], 0
jne 0x4424e8
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 0x44249d
cmp eax, dword [edi + 0x59c]
je 0x4424e8
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.00442160
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.00511339
mov esp, ebp
pop ebp
ret
Function at 0x4449b0
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 0x4449d7
cmp byte [esi + 0x720], 0
je 0x4449e2
call fcn.00444b00
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 0x4449f4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0x2000
jg 0x4449d7
cmp dword [ebp + 0xc], 2
jne 0x444a33
push 1
push 0
push edi
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x444ab3
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.0047d6f0
cmp eax, 0xffffffff
sete bl
jne 0x444acc
cmp dword [ebp + 0xc], 0
mov ecx, 0x2000
mov edx, dword [esi + 0x700]
mov dword [esp + 0x10], ecx
jne 0x444a66
xor bh, bh
jmp 0x444a93
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 0x444ab3
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 0x444ada
mov ecx, esi
mov byte [esi + 0x720], 1
call fcn.00444b00
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.00444b00
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 0x445460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5400ad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5a6008]
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 eax, dword [edi]
call dword [eax + 0x28]
mov ebx, eax
mov dword [ebp - 0x24], 0x66
push ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp byte [edi + 0x73a], 0
je 0x4455d0
mov eax, dword [0x5b6e6c]
mov ecx, dword [edi + 0x3a0]
imul eax, dword [eax + 0x758], 0x3e8
push eax
call fcn.0047d220
cmp byte [edi + 0x739], 0
xorps xmm0, xmm0
mov esi, dword [edi + 0x3a0]
movq qword [ebp - 0x1c], xmm0
mov byte [edi + 0x73a], 0
mov dword [ebp - 0x14], 0
mov word [ebp - 0x1c], 0x607
je 0x445505
mov word [ebp - 0x1c], 0x707
cmp dword [esi + 8], 0xffffffff
je 0x44553e
cmp byte [esi + 0x1a], 0
jne 0x445531
cmp byte [esi + 0x18], 0
je 0x445531
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x445531
push 1
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 7
push eax
mov ecx, esi
call fcn.0047d570
push 0xc
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0047d570
mov eax, dword [edi + 0x724]
cmp eax, 0xffffffff
je 0x44555a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x724], 0xffffffff
mov eax, dword [edi + 0x700]
test eax, eax
je 0x445577
push eax
call fcn.00511347
add esp, 4
mov dword [edi + 0x700], 0
mov eax, dword [edi + 0x704]
test eax, eax
je 0x445594
push eax
call fcn.00511347
add esp, 4
mov dword [edi + 0x704], 0
add edi, 0x111
push 0x5c
push edi
call fcn.0052401e
push 9
inc eax
push str._UVNCDIR_
push eax
call fcn.0051ddd0
add esp, 0x14
test eax, eax
jne 0x4455d0
push 0x2c
push edi
call fcn.0052401e
add esp, 8
test eax, eax
je 0x4455c9
mov byte [eax], 0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
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.00511339
mov esp, ebp
pop ebp
ret
Function at 0x445ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54018d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5a6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x258], 0
jne 0x44602a
mov eax, dword [esi]
call dword [eax + 0x28]
mov ebx, eax
mov dword [ebp - 0x14], 0x5a
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov eax, ecx
mov dword [ebp - 4], 0
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edx, 8
mov ecx, dword [ebp + 0x10]
mov edi, ecx
shl eax, 8
or edx, eax
cmp edx, 1
push 0x144
sete al
and edi, 0xff0000
mov byte [esi + 0x738], al
mov eax, ecx
shr eax, 0x10
or edi, eax
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shr edi, 8
shl eax, 8
or edi, eax
lea eax, [esi + 0x111]
push 0
push eax
call fcn.00513330
add esp, 0xc
cmp edi, 0x142
ja 0x446023
mov ecx, dword [esi + 0x3a0]
lea eax, [esi + 0x111]
push edi
push eax
call fcn.0047d6f0
test eax, eax
je 0x446023
mov eax, dword [0x5b6e6c]
cmp dword [eax + 0x790], 0
je 0x446023
cmp byte [ebp + 0x1c], 0
je 0x446023
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0x445ea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x258], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18