joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9524
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a95c6
cmp dword [ebx + 0x94], 0
jne 0x4a95c0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a9470
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a95c0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a9586
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a95c0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00430fe8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a9595
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a97e4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4cf2b4]
cmp dword [eax + 0x170], 0
je 0x4a9949
test bl, bl
jne 0x4a9897
cmp dword [esi + 0x9c], 0
jne 0x4a988c
mov eax, esi
call fcn.004ac6d4
push eax
push 0x4a96f0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a985d
mov eax, dword [0x4cf2b4]
cmp byte [eax + 0xd3], 0
je 0x4a985d
mov eax, dword [esi + 0xd8]
call fcn.00408838
mov edi, eax
cmp edi, 0
jl 0x4a985d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a9846
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a988c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00430fe8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a986c
inc dword [esi + 0x9c]
jmp 0x4a9949
cmp dword [esi + 0x9c], 0
jle 0x4a9949
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a9949
cmp dword [esi + 0x44], 0
je 0x4a98f4
mov eax, dword [0x4cf2b4]
cmp byte [eax + 0xd3], 0
je 0x4a98f4
mov eax, dword [esi + 0xd8]
call fcn.00408838
mov edi, eax
cmp edi, 0
jl 0x4a98f4
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a98dd
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a9923
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00430fe8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a9903
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x49ca6c]
call fcn.004089f8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4aa598
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4aa603
cmp byte [ebx + 0xd3], 0
jne 0x4aa603
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407298
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4aa5f0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4aa610
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040715c
jmp 0x4aa610
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040715c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4abe38
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4abea6
mov eax, esi
call fcn.00484694
test al, al
je 0x4abea6
mov eax, dword [ebx + 0x84]
call fcn.00484314
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4abea6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4abe9a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00484314
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047b3a0
jmp 0x4abea6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004abc70
pop esi
pop ebx
ret
Function at 0x4aed04
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4aee76
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4aee26
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x58], 0x44
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 0
mov word [ebp - 0x26], 0
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp byte [ebx + 8], 0
je 0x4aed7b
mov eax, dword [ebx + 0xc]
call fcn.004071e8
mov dword [ebp - 0x50], eax
cmp byte [ebx + 0x10], 0
je 0x4aed87
mov word [ebp - 0x28], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 4]
call fcn.004071e8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4aedfd
lea eax, [ebx + 0x1c]
xor edx, edx
call fcn.0040715c
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
cmp byte [ebx + 0x11], 0
je 0x4aede5
jmp 0x4aedd3
mov eax, dword [0x4c9394]
mov eax, dword [eax]
call fcn.004aab40
push 0xa
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4aedc7
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 1], 1
jmp 0x4aee1c
call sub.kernel32.dll_GetLastError_1
mov edx, eax
lea ecx, [ebp - 0x5c]
mov eax, dword [0x4ace68]
call fcn.004ae7d8
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x1c]
call fcn.0040715c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aee5b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aee7d
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00407154
ret
Function at 0x4af2cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.0040715c
call fcn.00449ae8
cmp byte [eax + 0x24], 0
je 0x4af32f
cmp byte [ebp + 0xc], 0
je 0x4af314
lea eax, [ebp - 4]
push eax
push 0x20219
push 0
mov eax, edi
call fcn.004071e8
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
jmp 0x4af348
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
mov eax, edi
call fcn.004071e8
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
jmp 0x4af348
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.004071e8
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4af3b9
xor edx, edx
push ebp
push 0x4af3b2
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0x1ff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20b]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp + 0x10]
call fcn.004071e8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4af39b
mov ecx, dword [ebp - 0xc]
shr ecx, 1
dec ecx
lea edx, [ebp - 0x20b]
mov eax, ebx
call fcn.00407298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af3b9
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b168c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407144
xor eax, eax
push ebp
push 0x4b1793
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
xor edx, edx
push ebp
push 0x4b16fa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004071e8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4b16f0
test al, 1
jne 0x4b16e3
test al, 4
je 0x4b16f0
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.004120d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b1770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b179a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00407154
lea eax, [ebp - 4]
call fcn.0040714c
ret

Function at 0x4b3f38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b3f4a
add esp, 0xfffffff0
call fcn.00405b84
mov ebx, ecx
mov byte [ebp - 1], dl
mov esi, eax
mov dl, 1
mov eax, dword [0x426214]
call fcn.00405638
mov dword [esi + 4], eax
push 0x20a
lea eax, [esi + 8]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test bl, bl
je 0x4b3f79
mov eax, esi
call fcn.004b489c
mov eax, esi
cmp byte [ebp - 1], 0
je 0x4b3f90
call fcn.00405bdc
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4b4980
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push edx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x4b49ab
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4b66d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x44], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b67ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4b67ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3d]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404c74
mov dword [ebp - 0x3d], 0x3c
mov dword [ebp - 0x39], 0x440
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x35], eax
mov eax, 0x4b67fc
mov dword [ebp - 0x31], eax
mov eax, dword [ebx + 0x20]
call fcn.004071e8
mov dword [ebp - 0x2d], eax
mov eax, dword [ebx + 0x24]
call fcn.004071e8
mov dword [ebp - 0x29], eax
xor eax, eax
mov dword [ebp - 0x21], eax
cmp byte [ebx + 0x10], 0
je 0x4b6753
mov dword [ebp - 0x21], 5
lea eax, [ebp - 0x3d]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x4b67a1
xor eax, eax
push ebp
push 0x4b679a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x11], 0
je 0x4b677f
push 0xffffffffffffffff
mov eax, dword [ebp - 5]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b67c0
mov eax, dword [ebp - 5]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
call sub.kernel32.dll_GetLastError_1
mov edx, eax
lea ecx, [ebp - 0x44]
mov eax, dword [0x4ace68]
call fcn.004ae7d8
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x1c]
call fcn.0040715c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b67d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b67f1
lea eax, [ebp - 0x44]
call fcn.0040714c
ret
Function at 0x4b6b4c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff784
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x4b6da6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b6dbc
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 4], eax
push 0x4b6dd8
mov eax, dword [ebp - 4]
push eax
call fcn.0040c1f4
mov esi, eax
test esi, esi
jne 0x4b6b98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b6db2
lea eax, [ebp - 0x20c]
xor ecx, ecx
mov edx, 0x200
call fcn.00404c74
lea eax, [ebp - 0x40a]
xor ecx, ecx
mov edx, 0x1fe
call fcn.00404c74
lea eax, [ebp - 0x608]
xor ecx, ecx
mov edx, 0x1fe
call fcn.00404c74
lea eax, [ebp - 0x806]
xor ecx, ecx
mov edx, 0x1fe
call fcn.00404c74
mov edx, dword [edi + 4]
lea eax, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.00412af4
mov edx, dword [edi + 0x20]
lea eax, [ebp - 0x40a]
mov ecx, 0xff
call fcn.00412af4
mov edx, dword [edi + 0x24]
lea eax, [ebp - 0x608]
mov ecx, 0xff
call fcn.00412af4
mov edx, dword [edi + 0x28]
lea eax, [ebp - 0x806]
mov ecx, 0xff
call fcn.00412af4
mov dword [ebp - 0x84c], 0x44
xor eax, eax
mov dword [ebp - 0x848], eax
xor eax, eax
mov dword [ebp - 0x844], eax
xor eax, eax
mov dword [ebp - 0x840], eax
xor eax, eax
mov dword [ebp - 0x820], eax
mov word [ebp - 0x81c], 0
mov word [ebp - 0x81a], 0
xor eax, eax
mov dword [ebp - 0x818], eax
xor eax, eax
mov dword [ebp - 0x830], eax
cmp byte [edi + 0x10], 0
je 0x4b6c91
mov dword [ebp - 0x820], 1
mov word [ebp - 0x81c], 1
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x84c]
push eax
push 0
push 0
push 0x4000a10
lea eax, [ebp - 0x20c]
push eax
push 0
push 1
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x806]
push eax
lea eax, [ebp - 0x40a]
push eax
call esi
test eax, eax
je 0x4b6cfa
mov bl, 1
mov eax, dword [ebp - 0x854]
mov dword [edi + 0x14], eax
cmp byte [edi + 0x11], 0
je 0x4b6ced
push 0xffffffffffffffff
mov eax, dword [ebp - 0x85c]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b6db2
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
cmp dword [edi + 0x28], 0
jne 0x4b6d9c
cmp dword [ebp - 0xc], 0
je 0x4b6d9c
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x87c]
push eax
call sub.kernel32.dll_GetComputerNameW
lea eax, [edi + 0x28]
lea edx, [ebp - 0x87c]
mov ecx, 0x10
call fcn.00407344
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x84c]
push eax
push 0
push 0
push 0x4000a10
lea eax, [ebp - 0x20c]
push eax
push 0
push 1
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x806]
push eax
lea eax, [ebp - 0x40a]
push eax
call esi
test eax, eax
je 0x4b6d9c
mov bl, 1
mov eax, dword [ebp - 0x854]
mov dword [edi + 0x14], eax
cmp byte [edi + 0x11], 0
je 0x4b6d9c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x85c]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b6db2
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b7a60
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x4b7b9d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b7b1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 0
push 0x4b7bb8
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4b7bd8
mov edx, 0x80000002
mov eax, dword [0x4aeed0]
call fcn.004af2cc
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00410b78
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, 0x4b7c50
call fcn.00410b78
mov eax, dword [ebp - 0x10]
pop edx
call fcn.004182ac
test eax, eax
jg 0x4b7aec
mov edx, 0x4b7c74
mov eax, dword [0x4b736c]
call fcn.004b8438
test al, al
je 0x4b7af4
mov eax, dword [ebp - 8]
mov byte [eax], 2
jmp 0x4b7afa
mov eax, dword [ebp - 8]
mov byte [eax], 1
call fcn.004b2030
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx]
mov edx, dword [0x4c9434]
movzx edx, byte [edx]
call fcn.004b23b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b7b7a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7ba4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00407154
lea eax, [ebp - 4]
call fcn.0040714c
ret
Function at 0x4b8438
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407144
xor eax, eax
push ebp
push 0x4b8573
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x4b84f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x444dd4]
call fcn.00445990
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b84e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00443148
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0x20019
xor ecx, ecx
mov edx, 0x4b8594
mov eax, dword [ebp - 0xc]
call fcn.00445e80
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00444248
test al, al
je 0x4b84c7
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b84ec
mov eax, dword [ebp - 0xc]
call fcn.00443118
mov eax, dword [ebp - 0xc]
call fcn.00405668
ret

Function at 0x4bc370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, edx
mov eax, ebx
call fcn.004071e8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4bc389
test al, 0x10
jne 0x4bc38d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4bc570
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4bc578
push ebx
push esi
push edi
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4bc730
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4bc6a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x1e
mov bl, 1
jmp 0x4bc623
push 0xc8
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00407308
mov eax, dword [ebp - 8]
call fcn.004071e8
push eax
call sub.kernel32.dll_DeleteFileW
dec esi
test esi, esi
jg 0x4bc623
xor ebx, ebx
push 0x4bc74c
push 0x4bc764
push 0x4bc778
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00407308
push dword [ebp - 0x10]
push 0x4bc788
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0xc]
push eax
push 0x4bc798
call fcn.004b2030
mov edx, dword [0x4c9434]
movzx edx, byte [edx]
mov cl, 1
call fcn.004b26d0
jmp 0x4bc63e
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00407308
mov eax, dword [ebp - 0x14]
call fcn.00411f54
test al, al
jne 0x4bc5aa
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00407308
mov eax, dword [ebp - 0x18]
call fcn.00411f54
test al, al
jne 0x4bc69f
push 0x4bc74c
push 0x4bc764
push 0x4bc778
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.00407308
push dword [ebp - 0x20]
push 0x4bc788
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004076fc
mov eax, dword [ebp - 0x1c]
push eax
push 0
call fcn.004b2030
mov edx, dword [0x4c9434]
movzx edx, byte [edx]
xor ecx, ecx
call fcn.004b26d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bc715
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc737
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.00407154
ret
Function at 0x4bc820
Capabilities:
Delete file
Move file

Disassembly:
push ebx
push esi
mov esi, edx
xor ebx, ebx
call fcn.00449ae8
call fcn.0044a2c4
test al, al
je 0x4bc84b
push 4
push 0
mov eax, esi
call fcn.004071e8
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4bdec4
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4bdecc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4be076
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 4]
xor edx, edx
call fcn.004071b0
lea eax, [ebp - 8]
xor edx, edx
call fcn.004071b0
xor eax, eax
push ebp
push 0x4bdff5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00449ae8
call fcn.0044a2f4
test al, al
je 0x4bdfeb
call fcn.0044b01c
lea edx, [ebp - 0x14]
call fcn.0044bfac
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00412558
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4be094
call fcn.00407618
mov esi, 3
mov edi, 0x4c9040
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00407618
mov eax, dword [ebp - 0x18]
call fcn.00411f54
test al, al
je 0x4bdfe1
push 4
push 0
mov ecx, dword [edi]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00407618
mov eax, dword [ebp - 0x1c]
call fcn.004071e8
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x4bdf90
test bl, bl
jne 0x4bdf94
xor eax, eax
jmp 0x4bdf96
mov al, 1
mov ebx, eax
lea eax, [ebp - 4]
mov edx, dword [edi]
call fcn.004071b0
push 0x4be0d0
push 0x4be0e8
push 0x4be108
push dword [ebp - 8]
push dword [edi]
push 0x4be118
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004076fc
mov eax, dword [ebp - 0x20]
push eax
push 0
call fcn.004b2030
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + 5]
xor ecx, ecx
call fcn.004b26d0
add edi, 4
dec esi
jne 0x4bdf50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be04e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be07d
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00407154
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407154
ret
Function at 0x401197
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 4]
push edi
push eax
mov edi, 0x80000002
push str.SOFTWAREMicrosoftWindowsCurrentVersionSharedDLLs
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4011c1
xor eax, eax
jmp 0x40129f
push ebx
push esi
call fcn.00401308
mov esi, eax
cmp esi, 2
jne 0x4011d6
push str.PXHELPER
jmp 0x4011f4
cmp esi, 3
je 0x4011e0
cmp esi, 4
jne 0x4011fe
call fcn.00401b34
test eax, eax
mov eax, str.PxHelp64
jne 0x4011f3
mov eax, str.PxHelp20
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x114]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x114]
push str._sdrivers_s.SYS
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401292
lea eax, [ebp - 0x14]
push eax
call fcn.00401a6e
lea eax, [ebp - 0x14]
push eax
call fcn.00401629
pop ecx
cmp esi, 3
pop ecx
je 0x401268
cmp esi, 4
jne 0x401292
lea eax, [ebp - 0x14]
push ebx
mov esi, str.LowerFilters
push eax
push esi
push str.SYSTEMCurrentControlSetControlClass4d36e965_e325_11ce_bfc1_08002be10318
push edi
call fcn.00401464
lea eax, [ebp - 0x14]
push ebx
push eax
push esi
push str.SYSTEMCurrentControlSetControlClass4D36E967_E325_11CE_BFC1_08002BE10318
push edi
call fcn.00401464
add esp, 0x28
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
pop edi
leave
ret

Function at 0x401308
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
push esi
push eax
xor esi, esi
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40139b
cmp dword [ebp - 0x84], 2
jne 0x401377
cmp dword [ebp - 0x90], 5
jne 0x401354
xor eax, eax
cmp dword [ebp - 0x8c], 1
setge al
add eax, 3
mov esi, eax
jmp 0x40139b
cmp dword [ebp - 0x90], 4
jne 0x401361
push 2
jmp 0x40139a
cmp dword [ebp - 0x90], 3
jne 0x40139b
cmp dword [ebp - 0x8c], 0x33
jl 0x40139b
push 1
jmp 0x40139a
cmp dword [ebp - 0x84], 1
jne 0x40139b
cmp dword [ebp - 0x90], 4
jg 0x401398
jne 0x401394
cmp dword [ebp - 0x8c], 0xa
jge 0x401398
push 5
jmp 0x40139a
push 6
pop esi
mov eax, esi
pop esi
leave
ret