joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a0a30
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x7a1bf0]
cmp byte [eax + 0xb1], 0
jne 0x5a0aa8
cmp dword [0x7a1c10], 0
jne 0x5a0a65
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x7129c4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x7a1c10], eax
cmp dword [0x7a1c0c], 0
jne 0x5a0a80
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x7a1c0c], eax
cmp dword [0x7a1c14], 0
jne 0x5a0aa8
lea eax, [ebp - 4]
push eax
push 0
push 0
mov eax, dword [0x7129c0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x7a1c14], eax
pop ecx
pop ebp
ret

Function at 0x5a0ba8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.005a0b40
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x5a0bc9
xor eax, eax
call fcn.005a0b78
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x5a0be3
mov al, 1
call fcn.005a0b78
mov esp, ebp
pop ebp
ret

Function at 0x5a1808
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x178], 0
je 0x5a18ea
mov eax, dword [ebp - 4]
cmp dword [eax + 0x98], 0
jne 0x5a18e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x178]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x5a1708
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
cmp dword [eax + 8], 0
je 0x5a18e1
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0xffffffec
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0x20], eax
test byte [ebp - 0x20], 8
je 0x5a189b
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x5a18e1
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0044fa34
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5a18b0
mov eax, dword [ebp - 4]
inc dword [eax + 0x98]
mov esp, ebp
pop ebp
ret
Function at 0x5a1bb4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x7a1bf0]
cmp dword [eax + 0x178], 0
je 0x5a1d75
cmp byte [ebp - 5], 0
jne 0x5a1c97
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa0], 0
jne 0x5a1c89
mov eax, dword [ebp - 4]
call fcn.005a5444
push eax
push 0x5a1aa0
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x5a1c4c
mov eax, dword [0x7a1bf0]
cmp byte [eax + 0xd7], 0
je 0x5a1c4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xdc]
call fcn.004094f4
cmp eax, 0
jl 0x5a1c4c
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xdc]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
push eax
call sub.user32.dll_ShowWindow
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5a1c2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x5a1c89
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 1
cmc
sbb eax, eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0044fa34
push eax
call sub.user32.dll_ShowOwnedPopups
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5a1c61
mov eax, dword [ebp - 4]
inc dword [eax + 0xa0]
jmp 0x5a1d75
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa0], 0
jle 0x5a1d75
mov eax, dword [ebp - 4]
dec dword [eax + 0xa0]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa0], 0
jne 0x5a1d75
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x5a1d0d
mov eax, dword [0x7a1bf0]
cmp byte [eax + 0xd7], 0
je 0x5a1d0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xdc]
call fcn.004094f4
cmp eax, 0
jl 0x5a1d0d
mov dword [ebp - 0xc], eax
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xdc]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
push eax
call sub.user32.dll_ShowWindow
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5a1ced
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x5a1d4a
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 1
cmc
sbb eax, eax
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.0044fa34
push eax
call sub.user32.dll_ShowOwnedPopups
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5a1d22
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, dword [ebp - 4]
add eax, 0xdc
mov ecx, 1
mov edx, dword [0x590ce0]
call fcn.004096a0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x5a2ba0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xb0], 0
je 0x5a2c2a
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd7], 0
jne 0x5a2c2a
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 8]
call fcn.004073e4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5a2c11
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5a2c3b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x90]
call fcn.0040763c
jmp 0x5a2c3b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x90]
call fcn.0040763c
mov esp, ebp
pop ebp
ret

Function at 0x5a4a00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x88], 0
je 0x5a4a8a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
call fcn.004fc448
test al, al
je 0x5a4a8a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
call fcn.004fbeb0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5a4a8a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [eax]
call dword [edx + 0x108]
test al, al
je 0x5a4a7a
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
call fcn.004fbeb0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
call fcn.004f0340
jmp 0x5a4a8a
mov cl, 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x78]
mov eax, dword [ebp - 4]
call fcn.005a47c8
pop ecx
pop ebp
ret
Function at 0x5aa250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x8c], 0
jne 0x5aa2f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004fbeb0
mov ecx, eax
mov dl, 1
mov eax, dword [0x509d50]
call fcn.004f4bb0
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0050f33c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + 0x2a4], eax
mov dword [edx + 0x2a0], 0x5a9a9c
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.004fbeb0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.004fbeb0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c], 0
jne 0x5aa38d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004fbeb0
mov ecx, eax
mov dl, 1
mov eax, dword [0x509d50]
call fcn.004f4bb0
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0050f33c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2a4], edx
mov dword [eax + 0x2a0], 0x5a9b0c
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004fbeb0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004fbeb0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x5aa413
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004fbeb0
mov ecx, eax
mov dl, 1
mov eax, dword [0x50a78c]
call fcn.004f4bb0
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004fbeb0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004fbeb0
push eax
call sub.user32.dll_ShowWindow
mov esp, ebp
pop ebp
ret
Function at 0x5efc38
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407340
mov eax, dword [ebp - 8]
call fcn.00407340
xor eax, eax
push ebp
push 0x5efe4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 5
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00424020
test al, al
je 0x5efe21
xor eax, eax
push ebp
push 0x5efe15
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x10], 0
je 0x5efd39
lea eax, [ebp - 0x49]
xor ecx, ecx
mov edx, 0x3c
call fcn.00405008
xor eax, eax
mov dword [ebp - 0x41], eax
mov dword [ebp - 0x49], 0x3c
mov eax, dword [ebp - 4]
call fcn.004080c4
mov dword [ebp - 0x39], eax
mov eax, dword [ebp - 8]
call fcn.004080c4
mov dword [ebp - 0x35], eax
mov eax, 0x5efe60
mov dword [ebp - 0x3d], eax
cmp byte [ebp + 0x14], 0
je 0x5efce5
xor eax, eax
mov dword [ebp - 0x2d], eax
lea eax, [ebp - 0x49]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x5efe0b
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0xc], 0
je 0x5efe0b
cmp dword [ebp - 0x11], 0
je 0x5efe0b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x11]
mov dword [eax], edx
cmp byte [ebp + 0xc], 0
je 0x5efe0b
push 0xffffffffffffffff
mov eax, dword [ebp - 0x11]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x11]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5efe0b
lea eax, [ebp - 0x90]
xor ecx, ecx
mov edx, 0x44
call fcn.00405008
mov dword [ebp - 0x90], 0x44
cmp byte [ebp + 0x14], 0
je 0x5efd68
mov dword [ebp - 0x64], 1
mov word [ebp - 0x60], 0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push 0x5efe78
push dword [ebp - 4]
push 0x5efe88
push dword [ebp - 8]
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.004083a8
mov eax, dword [ebp - 0xa4]
call fcn.004080c4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x5efe07
mov byte [ebp - 0xd], 0
cmp byte [ebp + 0xc], 0
je 0x5efdec
push 0xffffffffffffffff
mov eax, dword [ebp - 0xa0]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0xa0]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x9c]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp + 8], 0
je 0x5efe0b
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xa0]
mov ecx, 0x10
call fcn.00404b64
jmp 0x5efe0b
mov byte [ebp - 0xd], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5efe25
mov byte [ebp - 0xd], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5efe52
lea eax, [ebp - 0xa4]
call fcn.0040725c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004072bc
ret
Function at 0x5f880c
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x5f8814
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x5f8a83
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov al, byte [ebp - 1]
sub al, 2
jae 0x5f8a58
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
mov edx, 0x5f8aa0
call fcn.00408320
mov eax, dword [ebp - 0x78]
call fcn.005edc8c
cmp byte [ebp - 1], 0
jne 0x5f887f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x7c]
mov edx, 0x5f8ad8
call fcn.00408320
mov eax, dword [ebp - 0x7c]
call fcn.005edc8c
jmp 0x5f889a
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x80]
mov edx, 0x5f8b10
call fcn.00408320
mov eax, dword [ebp - 0x80]
call fcn.005edc8c
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jne 0x5f88b9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x10]
mov edx, dword [0x7a1cc0]
call fcn.00408320
jmp 0x5f88d7
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push 0x5f8b44
mov eax, dword [ebp - 8]
push dword [eax + 4]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004083a8
cmp byte [ebp - 1], 1
jne 0x5f88ec
lea eax, [ebp - 0x14]
mov edx, 0x5f8b54
call fcn.00407684
jmp 0x5f88f9
lea eax, [ebp - 0x14]
mov edx, 0x5f8b84
call fcn.00407684
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00424020
test al, al
je 0x5f8a3a
xor eax, eax
push ebp
push 0x5f89f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00405008
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 0x101
mov word [ebp - 0x34], 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0x5f8bb8
push dword [ebp - 0x14]
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.004083a8
mov eax, dword [ebp - 0x84]
call fcn.004080c4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x5f89a8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 9], 1
jmp 0x5f89e6
push 0x5f8bc8
push dword [ebp - 0x10]
push 0x5f8bb8
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x8c]
call fcn.00429534
push dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 4
call fcn.004083a8
mov eax, dword [ebp - 0x88]
call fcn.005edc8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5f8a58
lea eax, [ebp - 0x98]
mov ecx, dword [ebp - 0x10]
mov edx, 0x5f8c58
call fcn.00408320
mov eax, dword [ebp - 0x98]
call fcn.005edc8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f8a8a
lea eax, [ebp - 0x98]
mov edx, 9
call fcn.004072bc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004072bc
ret
Function at 0x5fb2ac
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5fb3b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040725c
mov dl, 1
mov eax, dword [0x4ba180]
call fcn.004bb2cc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5fb382
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.004bb3b4
mov edx, 0x5fb3d0
mov eax, dword [ebp - 8]
call fcn.004bc7e0
test al, al
je 0x5fb362
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0x20019
mov edx, 0x5fb3d0
mov eax, dword [ebp - 8]
call fcn.004bb640
test al, al
je 0x5fb33b
mov ecx, dword [ebp - 4]
mov edx, 0x5fb448
mov eax, dword [ebp - 8]
call fcn.004bbec8
jmp 0x5fb36c
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x18]
call fcn.00429534
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x5fb460
call fcn.00408320
mov eax, dword [ebp - 0x14]
call fcn.005edc8c
jmp 0x5fb36c
mov eax, 0x5fb4c0
call fcn.005edc8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fb389
mov eax, dword [ebp - 8]
call fcn.0040554c
ret
Function at 0x60082c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x60085a
mov eax, ebx
call fcn.006012e8
cmp dword [ebx + 0x40], 0
je 0x600853
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6008cb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6008bd
cmp dword [ebx + 8], 0
je 0x60087c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x60088e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6008bd
cmp dword [ebx + 8], 0
je 0x60086f
cmp eax, 3
je 0x6008a1
dec eax
jne 0x60086f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x60086f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x60086f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6008e9
cmp dword [ebx + 0x14], 0xcc
je 0x6008e9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006008f4
pop ebx
ret

Function at 0x615014
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and eax, 1
test al, al
je 0x615043
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x615046
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x61502a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x7a1d08], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x61501f
mov byte [0x7a2108], 1
mov esp, ebp
pop ebp
ret

Function at 0x615074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp byte [0x7a2108], 0
jne 0x615097
call fcn.00615014
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x6150d6
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x7a1d08]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x6150aa
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x61f28c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408248
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004080c4
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x61f2cc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408248
jmp 0x61f2d4
mov eax, dword [ebp - 4]
call fcn.0040725c
mov esp, ebp
pop ebp
ret

Function at 0x61f4f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040725c
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x61f542
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00408248
mov eax, dword [ebp - 0xc]
inc eax
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004080c4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextW
mov esp, ebp
pop ebp
ret
Function at 0x61fe14
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407340
xor eax, eax
push ebp
push 0x61fe9c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x61fe5c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004080c4
push eax
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
jmp 0x61fe86
cmp dword [ebp - 8], 0
je 0x61fe86
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
push 4
mov eax, dword [ebp - 4]
call fcn.004080c4
push eax
mov eax, dword [0x7171b4]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61fea3
lea eax, [ebp - 4]
call fcn.0040725c
ret

Function at 0x61feac
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407340
xor eax, eax
push ebp
push 0x61ffe3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 7], 0
push 1
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x5ed0a4]
call fcn.004096a0
add esp, 4
mov eax, dword [ebp - 0x10]
call fcn.0040725c
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0x1fffff
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x10], 1
lea eax, [ebp - 0x10]
call fcn.005ed0e0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x61ff67
push 0x14
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov dword [ebp - 0xc], eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 7], al
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 7], al
cmp dword [ebp - 0xc], 0
jne 0x61ff73
cmp byte [ebp - 7], 0
je 0x61ff9a
mov dword [ebp - 0x1c], 0xc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xffffffff
push ebp
lea edx, [ebp - 0x1c]
mov cl, byte [ebp - 6]
mov eax, dword [ebp - 4]
call fcn.0061fe14
pop ecx
mov byte [ebp - 7], al
cmp byte [ebp - 5], 0
je 0x61ffb0
push 6
mov eax, dword [ebp - 4]
call fcn.004080c4
push eax
call sub.kernel32.dll_SetFileAttributesW
cmp dword [ebp - 0xc], 0
je 0x61ffbf
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFree_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61ffea
lea eax, [ebp - 0x10]
mov edx, dword [0x5ed0a4]
call fcn.004097c4
lea eax, [ebp - 4]
call fcn.0040725c
ret