joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fd84
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45fd96
add esp, 0xfffffff0
call fcn.00403dac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042225c
mov eax, dword [0x47aae0]
mov dword [eax + 4], ebx
mov dword [eax], 0x460128
mov eax, dword [0x47aaf0]
mov dword [eax + 4], ebx
mov dword [eax], 0x460134
mov eax, ebx
call fcn.00460140
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416e30]
call fcn.00403a18
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416e30]
call fcn.00403a18
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416e30]
call fcn.00403a18
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416e30]
call fcn.00403a18
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416e30]
call fcn.00403a18
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45bbd8
push eax
push 0
push 0
mov eax, dword [0x47ac88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427748]
call fcn.00428f9c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427748]
call fcn.00428f9c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427748]
call fcn.00428f9c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460570
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460440
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460440
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460440
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45fed3
call fcn.00403e04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460224
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4603cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4603b0
mov dl, 1
mov eax, dword [0x41749c]
call fcn.00403a18
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048b4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46039f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00452fa8
test al, al
je 0x460392
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4603e0
lea eax, [ebp - 0x254]
call fcn.00409b6c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460392
xor eax, eax
push ebp
push 0x46038b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x460418
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460374
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b24
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460374
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460392
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460295
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041bd50
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4603d6
lea eax, [ebp - 0x260]
call fcn.004048b4
ret

Function at 0x460d48
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47e5b4]
cmp byte [eax + 0xad], 0
jne 0x460db9
cmp dword [0x47e5cc], 0
jne 0x460d7a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x460d04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47e5cc], eax
cmp dword [0x47e5c8], 0
jne 0x460d95
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47e5c8], eax
cmp dword [0x47e5d0], 0
jne 0x460db9
push esp
push 0
push 0
push 0x460ca8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47e5d0], eax
pop edx
ret
Function at 0x460f8c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460fa3
add esp, 0xfffffff0
call fcn.00403dac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042225c
mov eax, dword [0x47ac6c]
cmp word [eax + 2], 0
jne 0x460fcb
mov eax, dword [0x47ac6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462a3c
mov eax, dword [0x47ad38]
cmp word [eax + 2], 0
jne 0x460fe5
mov eax, dword [0x47ad38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462c48
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416e30]
call fcn.00403a18
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416e30]
call fcn.00403a18
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416e30]
call fcn.00403a18
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x428258]
call fcn.0042f94c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46119c
mov eax, dword [0x47ab60]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042fd20
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x463318
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47ab60]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d530
test eax, eax
je 0x4610ec
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409510
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d564
test eax, eax
je 0x461100
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b24
mov byte [ebx + 0xd4], 0
push ebx
push 0x46259c
call fcn.004233d8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x47aa0c]
cmp byte [eax], 0
jne 0x461151
mov eax, ebx
call fcn.004612e0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004634f4
mov eax, ebx
call fcn.00464054
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461191
call fcn.00403e04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461560
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47e5b4]
cmp dword [eax + 0x30], 0
je 0x46160a
cmp dword [ebx + 0x94], 0
jne 0x461604
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4614f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461604
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_GetWindowLongA
test al, 8
je 0x4615ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461604
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.004196cc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4615d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462324
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x462359
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004049a4
jmp 0x462366
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404908
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4636d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463746
mov eax, esi
call fcn.0044dc24
test al, al
je 0x463746
mov eax, dword [ebx + 0x84]
call fcn.0044d8b0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463746
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46373a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d8b0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00445cd0
jmp 0x463746
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00463514
pop esi
pop ebx
ret
Function at 0x472990
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
xor ebx, ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d68
mov eax, dword [ebp - 8]
call fcn.00404d68
xor eax, eax
push ebp
push 0x472b75
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 2
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor ecx, ecx
xor edx, edx
call fcn.00472464
test eax, eax
jle 0x4729fa
mov byte [ebp - 0xd], 1
jmp 0x472b4a
lea ecx, [ebp - 0x19]
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.0046478c
mov eax, 0x64
call fcn.00402cac
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x18]
call fcn.00409510
mov dword [ebp - 0x78], 0xf000c
xor eax, eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00404d78
push eax
call sub.winspool.drv_OpenPrinterA
cmp dword [ebp - 0x14], 0
je 0x472b42
mov dword [ebp - 0x20], 0x80
push 4
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.winspool.drv_SetPrinterA
test eax, eax
jne 0x472a89
push 0x472b88
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0x14]
push eax
call sub.winspool.drv_ClosePrinter
jmp 0x472b4a
mov eax, dword [ebp - 0x14]
push eax
call sub.winspool.drv_DeletePrinter
test eax, eax
jne 0x472acb
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
lea eax, [ebp - 0x84]
mov edx, 0x472ba4
call fcn.00404bc4
mov eax, dword [ebp - 0x84]
call fcn.00404d78
push eax
call sub.kernel32.dll_OutputDebugStringA
mov byte [ebp - 0xd], 3
mov eax, dword [ebp - 0x14]
push eax
call sub.winspool.drv_ClosePrinter
jmp 0x472b4a
mov eax, dword [ebp - 0x14]
push eax
call sub.winspool.drv_ClosePrinter
lea ecx, [ebp - 0x88]
xor edx, edx
mov al, byte [ebp + 8]
call fcn.00472bc4
mov byte [ebp - 0xd], 0
cmp byte [ebp + 0xc], 0
je 0x472b42
cmp byte [ebp - 0x19], 0
jne 0x472b42
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 0x18]
call fcn.00404aac
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 8]
call fcn.00472d68
test al, al
jne 0x472b42
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
call fcn.00404aac
mov byte [ebp - 0xd], 4
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x18]
call fcn.00404aac
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00473814
mov eax, dword [ebp - 0x18]
call fcn.00402cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472b7c
lea eax, [ebp - 0x90]
mov edx, 4
call fcn.004048d8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048d8
ret
Function at 0x472bc4
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.00404d68
xor eax, eax
push ebp
push 0x472d27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004048b4
mov dl, 1
mov eax, dword [0x41749c]
call fcn.00403a18
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
call fcn.004048b4
lea eax, [ebp - 0x10]
call fcn.0046456c
test al, al
jne 0x472c2e
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x472cc7
lea eax, [ebp - 0x14]
call fcn.004643ac
cmp dword [ebp - 8], 0
je 0x472c7b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00404cc4
jne 0x472c7b
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00404cc4
jne 0x472c7b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x472c7b
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004642a4
test al, al
jne 0x472ca0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x472ca0
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x18], 0
je 0x472cf4
mov eax, dword [ebp - 0x18]
call fcn.00464628
test al, al
je 0x472cf4
cmp byte [ebp - 1], 0
je 0x472cf4
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x472cf4
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x472d3c
call fcn.00409bec
mov eax, dword [ebp - 0x1c]
call fcn.00404d78
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0x14]
call fcn.00403a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d2e
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004048d8
lea eax, [ebp - 0x10]
call fcn.004048b4
lea eax, [ebp - 8]
call fcn.004048b4
ret
Function at 0x472d68
Capabilities:
Check os version
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d68
mov eax, dword [ebp - 8]
call fcn.00404d68
xor eax, eax
push ebp
push 0x472f57
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA
push 0x472f68
call sub.kernel32.dll_OutputDebugStringA
cmp dword [ebp - 0x9c], 5
jb 0x472eae
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404d78
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004644e0
test eax, eax
jne 0x472f06
lea eax, [ebp - 0xa4]
push eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0
lea edx, [ebp - 0xac]
xor ecx, ecx
mov eax, 0x472f84
call fcn.00409bec
mov eax, dword [ebp - 0xa4]
call fcn.00404d78
push eax
call sub.kernel32.dll_OutputDebugStringA
push 0
call sub.kernel32.dll_Sleep_1
push 0x7d0
call sub.kernel32.dll_Sleep_1
push 0
call sub.kernel32.dll_Sleep_1
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404d78
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004644e0
test eax, eax
jne 0x472f06
lea eax, [ebp - 0xb0]
push eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0
lea edx, [ebp - 0xac]
xor ecx, ecx
mov eax, 0x472fc4
call fcn.00409bec
mov eax, dword [ebp - 0xb0]
call fcn.00404d78
push eax
call sub.kernel32.dll_OutputDebugStringA
mov byte [ebp - 9], 0
jmp 0x472f21
mov eax, dword [ebp - 4]
call fcn.00404d78
push eax
push 0
push 0
call sub.winspool.drv_DeletePrinterDriverA
test eax, eax
jne 0x472f06
lea eax, [ebp - 0xb4]
push eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa8], 0
lea edx, [ebp - 0xac]
xor ecx, ecx
mov eax, 0x473018
call fcn.00409bec
mov eax, dword [ebp - 0xb4]
call fcn.00404d78
push eax
call sub.kernel32.dll_OutputDebugStringA
mov byte [ebp - 9], 0
jmp 0x472f21
cmp dword [ebp - 8], 0
je 0x472f21
push 0x473050
call sub.kernel32.dll_OutputDebugStringA
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00473074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472f5e
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004048d8
lea eax, [ebp - 0xa4]
call fcn.004048b4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048d8
ret
Function at 0x473578
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
xor ecx, ecx
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d68
mov eax, dword [ebp - 0x1c]
call fcn.00404d68
lea eax, [ebp - 0x180]
mov edx, dword [0x407aec]
call fcn.00405360
xor eax, eax
push ebp
push 0x47379b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, 0x104
call fcn.00402cac
mov dword [ebp - 0xc], eax
push 0x104
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404aac
mov eax, dword [ebp - 0xc]
call fcn.00402cc8
mov edx, dword [ebp - 0x10]
mov eax, 0x4737b4
call fcn.00404ebc
mov edx, eax
lea eax, [ebp - 0x10]
mov ecx, 0x104
call fcn.00404e18
lea eax, [ebp - 0x10]
mov edx, 0x4737c8
call fcn.00404b80
mov eax, dword [ebp - 0x10]
call fcn.004091b0
test al, al
je 0x47374f
lea eax, [ebp - 0x184]
mov ecx, 0x4737d8
mov edx, dword [ebp - 0x10]
call fcn.00404bc4
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x180]
mov edx, 0x3f
call fcn.00409258
test eax, eax
jne 0x47374f
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x10]
call fcn.00404bc4
mov edx, dword [ebp - 0x188]
mov ecx, 0x4737ec
mov eax, dword [ebp - 4]
call fcn.00473374
test al, al
je 0x47373c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x16c]
call fcn.0040494c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4736c7
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
mov eax, 0x4737fc
call fcn.00404ebc
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.00404e18
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x4737fc
lea eax, [ebp - 0x18c]
mov edx, 3
call fcn.00404c38
mov eax, dword [ebp - 0x18c]
call fcn.00404d78
push eax
call sub.kernel32.dll_DeleteFileA
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x47380c
lea eax, [ebp - 0x190]
mov edx, 3
call fcn.00404c38
mov eax, dword [ebp - 0x190]
call fcn.00404d78
push eax
call sub.kernel32.dll_DeleteFileA
inc dword [ebp - 8]
lea eax, [ebp - 0x180]
call fcn.004092a8
test eax, eax
je 0x473673
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4737a2
lea eax, [ebp - 0x190]
mov edx, 4
call fcn.004048d8
lea eax, [ebp - 0x180]
mov edx, dword [0x407aec]
call fcn.00405430
lea eax, [ebp - 0x1c]
call fcn.004048b4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004048d8
lea eax, [ebp - 4]
call fcn.004048b4
ret
Function at 0x473bdc
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d68
mov eax, dword [ebp - 8]
call fcn.00404d68
xor eax, eax
push ebp
push 0x473c91
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x426778]
call fcn.00426878
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x473c6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00426918
mov cl, 1
mov edx, 0x473ca4
mov eax, dword [ebp - 0xc]
call fcn.00426980
test al, al
je 0x473c59
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00427044
mov eax, dword [ebp - 0xc]
call fcn.004268e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473c76
mov eax, dword [ebp - 0xc]
call fcn.00403a48
ret

Function at 0x4767d4
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
xor edx, edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476908
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x378], 0
je 0x4768e0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x37c], 0
jle 0x476821
mov eax, dword [ebp - 4]
cmp dword [eax + 0x37c], 0x14
jl 0x47682e
mov eax, dword [ebp - 4]
mov dword [eax + 0x37c], 3
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x37c], 0x3e8
push eax
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00403384
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 0x101
xor eax, eax
mov dword [ebp - 0x44], eax
mov word [ebp - 0x20], 0
lea edx, [ebp - 0x6c]
mov eax, dword [0x47ad18]
mov eax, dword [eax]
call fcn.00463030
push dword [ebp - 0x6c]
push 0x47691c
mov eax, dword [ebp - 4]
push dword [eax + 0x378]
push 0x476930
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404c38
lea edx, [ebp - 0x70]
mov eax, dword [0x47ad18]
mov eax, dword [eax]
call fcn.00463030
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0xc]
call fcn.00409370
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d78
push eax
push 0
push 8
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404d78
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47690f
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004048d8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004048d8
ret