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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5662e4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d60c4]
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 [0x5e1d58]
test eax, eax
jne 0x432a09
push 0x20
call fcn.0052b79c
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0047bdb0
mov ecx, dword [ebp - 0x14]
mov dword [0x5e1d58], eax
cmp byte [eax + 6], 0
je 0x432b9f
cmp dword [0x5d95ec], 0
jne 0x432b9f
cmp dword [0x5d95f0], 0
je 0x432b9f
push 2
lea ecx, [ebp - 0xd]
call fcn.00432810
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 [0x5d95fc]
shr eax, 8
test esi, esi
je 0x432b73
cmp byte [ebp - 0x18], 0
jne 0x432a80
cmp byte [ebp - 0x1c], 0
jne 0x432a80
test al, al
je 0x432b73
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 0x432b83
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.0052d430
mov eax, dword [esi + 0xc]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
je 0x432acb
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x432ad5
push eax
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x432ae5
push eax
call edi
push 0x3e8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x432b12
inc dword [esi + 0x1e8]
cmp dword [esi + 0x1e8], 3
jle 0x432b1c
mov byte [esi + 0x1ec], 0
jmp 0x432b46
mov dword [esi + 0x1e8], 0
cmp byte [esi + 0x1ec], 0
je 0x432b46
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.0052d430
add esp, 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x432b50
push eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [0x5d95ec], 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 [0x5d95ec], 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 0x4337d0
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 0x433830
cmp ebx, 0xffffffff
je 0x433830
test edi, edi
je 0x43382d
cmp edi, 0xffffffff
jne 0x433839
mov dword [ebp - 4], ebx
test edi, edi
je 0x433845
cmp edi, 0xffffffff
je 0x433845
test ebx, ebx
je 0x433842
cmp ebx, 0xffffffff
jne 0x43384e
mov dword [ebp - 4], edi
test ebx, ebx
je 0x4338c5
cmp ebx, 0xffffffff
je 0x4338c5
test edi, edi
je 0x4338c5
cmp edi, 0xffffffff
je 0x4338c5
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 0x4338c5
cmp esi, edx
jne 0x4338d3
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 0x4338c1
cmp eax, 1
jne 0x4338d3
mov edi, ebx
jmp 0x4338d3
mov eax, dword [ebp - 4]
mov edi, eax
test eax, eax
je 0x433917
cmp edi, 0xffffffff
je 0x433917
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 0x43390a
cmp esi, 0xffffffff
je 0x43390a
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 0x5d6df8
call fcn.0041d510
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437640
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.0041c440
add edi, 0xfffffff8
test edi, edi
jle 0x43772c
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.0041c730
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 0x437671
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.0041c730
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 0x43b400
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5d60c4]
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.0052d9b0
push 0x104
push esi
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.0053bde6
add esp, 0x1c
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43b446
sub esi, ecx
inc esi
cmp esi, 0x105
jae 0x43b4cb
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.0052b789
mov esp, ebp
pop ebp
ret
call fcn.0052b928
int3
Function at 0x43cf60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5669c7
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5d60c4]
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 + 0x26c], 0
je 0x43cfa3
xor esi, esi
jmp 0x43cfc6
mov eax, dword [edi + 0x264]
push ecx
mov ecx, dword [edi + 0x260]
mov esi, dword [eax]
call fcn.00486ad0
mov ecx, dword [edi + 0x264]
push eax
call dword [esi + 0xec]
mov esi, eax
lea ecx, [ebp - 0x114]
call fcn.00426610
test eax, eax
je 0x43d15d
mov ecx, 0x5b9638
lea edx, [ebp - 0x114]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x43d004
test al, al
je 0x43d000
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x43d004
add edx, 2
add ecx, 2
test al, al
jne 0x43cfe4
xor eax, eax
jmp 0x43d009
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43d01b
mov eax, dword [0x5e44e8]
cmp dword [eax + 0x748], 0
je 0x43d061
cmp esi, 1
jne 0x43d061
call fcn.00426720
test eax, eax
je 0x43d074
mov eax, dword [0x5e44e8]
cmp dword [eax + 0x748], 0
jne 0x43d074
mov ecx, dword [edi + 0x264]
mov eax, dword [ecx]
call dword [eax + 0x100]
test eax, eax
je 0x43d06a
mov ecx, dword [edi + 0x264]
mov eax, dword [ecx]
call dword [eax + 0xf8]
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 2
cmp esi, 2
je 0x43d15d
mov eax, 1
jmp 0x43d15f
push 0x28
call fcn.0052b79c
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x5e44e8]
mov ebx, dword [edi + 0x268]
cmp dword [ecx + 0xa44], 0
mov ecx, dword [edi + 0x260]
setne byte [ebp - 0x115]
add ebx, 0x25c
call fcn.00486ad0
mov ecx, dword [ebp - 0x120]
mov edi, eax
mov ecx, dword [ecx + 0x264]
mov edx, dword [ecx]
call dword [edx + 0xf8]
mov ecx, dword [0x5e44e8]
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.0053a752
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 0x437020
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 0x43d06a
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.0052b789
mov esp, ebp
pop ebp
ret
Function at 0x440610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5d60c4]
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.0052d9b0
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 0x440673
push ecx
push 1
xor dl, dl
mov cl, bl
call fcn.004329b0
add esp, 4
xor dl, dl
mov cl, bl
push 3
call fcn.004329b0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0052b789
mov esp, ebp
pop ebp
ret
Function at 0x447990
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566edd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5d60c4]
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 0x447b18
cmp dword [edi + 0x4b0], 0
jne 0x447a77
cmp dword [edi + 0x58c], 0
jne 0x447a77
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 0x447b18
cmp dword [edi + 0x590], 0
jne 0x447b18
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 0x447acd
cmp eax, dword [edi + 0x59c]
je 0x447b18
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.00447790
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.0052b789
mov esp, ebp
pop ebp
ret
Function at 0x4497e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x2000
xor bl, bl
mov dword [ebp - 4], 0
xor esi, esi
call fcn.0052b7da
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 4]
push eax
push 0x2000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x449823
cmp dword [ebp - 4], eax
je 0x449829
mov bl, 1
jmp 0x449829
cmp dword [ebp - 4], 0
je 0x44984c
push 0
push 0
push 0
call fcn.004d5f40
push dword [ebp - 4]
push edi
push eax
call fcn.004d5f40
mov ecx, dword [ebp + 0xc]
add esp, 0x18
mov dword [esi + ecx], eax
add esi, 4
jmp 0x449801
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
call fcn.0052b797
add esp, 4
or eax, 0xffffffff
test bl, bl
cmovne esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x449910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov bl, 1
push edi
cmp byte [esi + 0x721], 0
je 0x449935
cmp byte [esi + 0x720], 0
je 0x449940
call fcn.00449a50
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 0x449952
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edi, 0x2000
jg 0x449935
cmp dword [ebp + 0xc], 2
jne 0x449991
push 1
push 0
push edi
push dword [esi + 0x708]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x449a09
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.004881a0
cmp eax, 0xffffffff
sete bl
jne 0x449a22
cmp dword [ebp + 0xc], 0
mov ecx, 0x2000
mov edx, dword [esi + 0x700]
mov dword [esp + 0xc], ecx
jne 0x4499c4
xor bh, bh
jmp 0x4499e9
push edi
push edx
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x704]
call fcn.004d5e00
add esp, 0x10
test eax, eax
jne 0x449a09
mov edx, dword [esi + 0x704]
mov bh, 1
mov ecx, dword [esp + 0xc]
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 0x449a30
mov ecx, esi
mov byte [esi + 0x720], 1
call fcn.00449a50
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.00449a50
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 0x44a380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5670dd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5d60c4]
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 0x44a4eb
mov eax, dword [0x5e44e8]
mov edi, dword [esi + 0x3a0]
imul ebx, dword [eax + 0x758], 0x3e8
cmp dword [eax + 0xe64], 0
je 0x44a413
cmp dword [edi + 8], 0xffffffff
je 0x44a403
push ebx
mov ecx, edi
call fcn.00487120
cmp dword [edi + 0xc], 0xffffffff
je 0x44a41b
push ebx
mov ecx, edi
call fcn.00487180
jmp 0x44a41b
push ebx
mov ecx, edi
call fcn.004871e0
cmp byte [esi + 0x739], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov byte [esi + 0x73a], 0
mov dword [ebp - 0x14], 0
mov word [ebp - 0x1c], 0x607
je 0x44a446
mov word [ebp - 0x1c], 0x707
mov ecx, dword [esi + 0x3a0]
lea eax, [ebp - 0x1c]
push 7
push 0xc
push eax
call fcn.00487740
mov eax, dword [esi + 0x724]
cmp eax, 0xffffffff
je 0x44a475
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x724], 0xffffffff
mov eax, dword [esi + 0x700]
test eax, eax
je 0x44a492
push eax
call fcn.0052b797
add esp, 4
mov dword [esi + 0x700], 0
mov eax, dword [esi + 0x704]
test eax, eax
je 0x44a4af
push eax
call fcn.0052b797
add esp, 4
mov dword [esi + 0x704], 0
add esi, 0x111
push 0x5c
push esi
call fcn.0053b054
push 9
inc eax
push str._UVNCDIR_
push eax
call fcn.00539a10
add esp, 0x14
test eax, eax
jne 0x44a4eb
push 0x2c
push esi
call fcn.0053b054
add esp, 8
test eax, eax
je 0x44a4e4
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.0052b789
mov esp, ebp
pop ebp
ret
Function at 0x44b1e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56722d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d60c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x258], 0
jne 0x44b32f
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.0052d9b0
add esp, 0xc
cmp edi, 0x142
ja 0x44b328
mov eax, dword [0x5e44e8]
mov ecx, dword [esi + 0x3a0]
push edi
cmp dword [eax + 0xe64], 0
lea eax, [esi + 0x111]
push eax
je 0x44b2cf
call fcn.00487d10
jmp 0x44b2d4
call fcn.00487f70
test eax, eax
je 0x44b328
mov eax, dword [0x5e44e8]
cmp dword [eax + 0x790], 0
je 0x44b328
cmp byte [ebp + 0x1c], 0
je 0x44b328
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0x44b190
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
Function at 0x44b720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5672a4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d60c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [ebp + 8]
mov byte [esi + 0x3a4], al
test al, al
je 0x44b788
mov ecx, dword [esi + 0x3a8]
test ecx, ecx
je 0x44b76a
push ecx
call fcn.00446f10
mov dword [esi + 0x3a8], 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 4
push 0x24
call fcn.0052b79c
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov eax, dword [0x5e1fcc]
mov edi, dword [0x5d9290]
mov dword [ebp + 8], eax
mov byte [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x20], eax
test edi, edi
jne 0x44b7ea
push 0x30
call fcn.0052b79c
mov edi, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov dword [0x5d9290], edi
cmp dword [0x5d9294], 0
jne 0x44b86b
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x42b
push eax
mov dword [0x5d9294], eax
call esi
push 0x423
push dword [ebp + 8]
mov dword [edi], eax
call esi
push 0x424
push dword [ebp + 8]
mov dword [edi + 4], eax
call esi
push 0x425
push dword [ebp + 8]
mov dword [edi + 8], eax
call esi
push 0x426
push dword [ebp + 8]
mov dword [edi + 0xc], eax
call esi
push 0x427
push dword [ebp + 8]
mov dword [edi + 0x10], eax
call esi
push 0x428
push dword [ebp + 8]
mov dword [edi + 0x14], eax
call esi
mov esi, dword [ebp - 0x10]
mov dword [edi + 0x18], eax
xor eax, eax
mov dword [edi + 0x24], eax
mov word [edi + 0x28], ax
mov byte [edi + 0x2a], al
mov edi, dword [0x5d9290]
test edi, edi
jne 0x44b884
push 0x30
call fcn.0052b79c
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [0x5d9290], edi
mov eax, 1
nop dword [eax]
cmp byte [edi + eax + 0x24], 0
je 0x44b8a1
inc eax
cmp eax, 7
jl 0x44b890
xor eax, eax
jmp 0x44b8a9
mov byte [edi + eax + 0x24], 1
mov eax, dword [edi + eax*4]
mov dword [ebx + 0x14], eax
test edi, edi
jne 0x44b8c5
push 0x30
call fcn.0052b79c
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [0x5d9290], edi
mov eax, dword [edi]
mov dword [ebx + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push 0x428270
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3a8], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4