joyce8/EMBER2024-capa huggingface dataset:
Function at 0x633040
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x6330c4
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x6330ac
mov ebx, esi
test ebx, ebx
je 0x633072
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.00408d1c
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x6330e0
call fcn.00408f70
mov eax, dword [ebp - 8]
call fcn.00408d1c
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x6330ae
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6330cb
lea eax, [ebp - 8]
call fcn.00407c58
ret

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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x638fc5
mov eax, dword [ebp - 4]
add esp, 0xfffffffc
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
push 0x639090
push 0x6390c4
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040f4e8
mov ebx, eax
test ebx, ebx
je 0x63907d
mov eax, esi
call fcn.00408d1c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x63907d
test al, 0x10
je 0x63901a
mov dword [ebp - 4], 0x2000000
jmp 0x63901f
xor eax, eax
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.00408d1c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x63907d
push 0
push 0x1000
lea eax, [ebp - 0x2008]
push eax
mov eax, dword [ebp - 8]
push eax
call ebx
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
jle 0x63907d
cmp ebx, 0xff0
jge 0x63907d
mov edx, edi
lea eax, [ebp - 0x2008]
call fcn.00638ed4
jmp 0x639086
mov eax, edi
mov edx, esi
call fcn.00408038
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6390e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x639171
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW_1
mov ebx, eax
test ebx, ebx
jle 0x639147
cmp ebx, 0x104
jge 0x639147
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00408dc0
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.00638fbc
jmp 0x639158
mov eax, 0x63918c
call fcn.005f3118
mov eax, esi
call fcn.00407c58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x639178
lea eax, [ebp - 0x20c]
call fcn.00407c58
ret
Function at 0x6391b4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x639303
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00638fbc
lea eax, [ebp - 8]
call fcn.006390e0
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.004053f4
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x639310
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00408d1c
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.00408d1c
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00408d1c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
jne 0x63925f
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x4c7
jne 0x639255
call fcn.00427c54
mov eax, 0x639328
call fcn.005f3060
cmp dword [ebp - 0x10], 0
jne 0x63926f
mov eax, 0x639354
call fcn.005f2f0c
xor edx, edx
push ebp
push 0x6392e1
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00638cac
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x63927d
cmp eax, 0xffffffff
jne 0x6392aa
mov eax, 0x6393a8
call fcn.005f3060
call fcn.00638cac
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x6392ca
mov eax, 0x6393e8
call fcn.005f3060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6392e8
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x639410
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x6394df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x638a80]
call fcn.00639508
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6394b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x6394f8
call fcn.0042363c
mov edx, dword [ebp - 8]
mov eax, dword [0x65d448]
mov eax, dword [eax]
call fcn.0058eea0
call fcn.00638cac
call sub.user32.dll_GetFocus
mov edx, dword [0x65d448]
mov edx, dword [edx]
cmp eax, dword [edx + 0x178]
jne 0x63949b
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x6394a2
call sub.user32.dll_WaitMessage
jmp 0x639475
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6394bf
mov eax, dword [ebp - 4]
call fcn.004060a0
ret
Function at 0x63f768
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x63f770
push ecx
push ebx
xor eax, eax
push ebp
push 0x63f8ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.005f3708
mov edx, dword [ebp - 0x10]
mov eax, 0x6661a4
call fcn.00408038
lea eax, [ebp - 0x14]
mov ecx, dword [0x6661a4]
mov edx, 0x63f8d4
call fcn.00408f70
mov eax, dword [ebp - 0x14]
call fcn.005fca60
mov eax, dword [0x65d554]
cmp byte [eax], 0
je 0x63f7cb
mov eax, dword [0x6661a4]
call fcn.005fc170
lea edx, [ebp - 0x18]
mov eax, dword [0x6661a4]
call fcn.00599cd0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x63f91c
call fcn.00408f70
push 0
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x63f861
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov al, 0x3b
call fcn.005a1448
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.0042216c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0059c3ec
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x70
call fcn.005a1418
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x41d304]
call fcn.00427c80
call fcn.00407354
lea eax, [ebp - 8]
call fcn.00615d44
cmp dword [ebp - 8], 0
je 0x63f892
lea eax, [ebp - 0xc]
mov ecx, 0x63f938
mov edx, dword [ebp - 4]
call fcn.00408f70
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0063f710
mov eax, dword [ebp - 0xc]
call fcn.00615da0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63f8c1
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00407cb8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00407cb8
ret

Function at 0x6423a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov byte [0x666499], 1
call fcn.005f5558
test al, al
jne 0x6423f9
push 5
mov eax, dword [0x65d448]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x65d448]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x65d45c]
mov eax, dword [eax + 0x138]
mov cl, 2
xor edx, edx
call fcn.00642144
pop ebp
ret

Function at 0x645d34
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x645d59
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x647c88
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x647cb7
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jae 0x647cc0
call fcn.0064696c
mov eax, 0xa
call fcn.0059c810
call fcn.0064696c
call fcn.00647c54
test al, al
jne 0x647c95
pop ebx
pop ebp
ret

Function at 0x6481f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, dword [0x65cea0]
cmp dword [eax], 0
je 0x6482aa
mov eax, dword [0x65cea0]
mov eax, dword [eax]
call fcn.004fa0ac
test al, al
je 0x6482aa
mov eax, dword [0x65cea0]
mov eax, dword [eax]
cmp byte [eax + 0x1fd], 0
je 0x648250
cmp byte [ebx + 0x3b1], 0
jne 0x648250
mov eax, dword [0x65d448]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x648254
xor eax, eax
jmp 0x648256
mov al, 1
mov ebx, eax
mov eax, dword [0x65cea0]
mov eax, dword [eax]
call fcn.004f9cf8
mov edx, 0xfffffff0
push edx
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x6482aa
test bl, bl
je 0x648296
push 5
mov eax, dword [0x65cea0]
mov eax, dword [eax]
call fcn.004f9cf8
push eax
call sub.user32.dll_ShowWindow
jmp 0x6482aa
push 0
mov eax, dword [0x65cea0]
mov eax, dword [eax]
call fcn.004f9cf8
push eax
call sub.user32.dll_ShowWindow
pop ebx
pop ebp
ret
Function at 0x648364
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov byte [0x666451], 0
push 0x6484ec
call sub.kernel32.dll_GetModuleHandleW_2
mov ebx, eax
push 0x648508
push ebx
call fcn.0040f4e8
mov esi, eax
test esi, esi
je 0x64840c
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 2]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x64840c
cmp word [ebp - 2], 0
je 0x64840c
mov byte [0x666451], 1
movzx eax, word [ebp - 4]
sub ax, 0x14c
je 0x6483d0
sub ax, 0xb4
je 0x6483dc
sub ax, 0x8464
je 0x6483e8
sub ax, 0x2400
je 0x6483f4
jmp 0x648400
mov byte [0x65ccd1], 1
jmp 0x6484a3
mov byte [0x65ccd1], 3
jmp 0x6484a3
mov byte [0x65ccd1], 2
jmp 0x6484a3
mov byte [0x65ccd1], 4
jmp 0x6484a3
mov byte [0x65ccd1], 0
jmp 0x6484a3
push 0x648528
push ebx
call fcn.0040f4e8
test eax, eax
je 0x648451
lea edx, [ebp - 0x2c]
push edx
call eax
push 0x648550
push ebx
call fcn.0040f4e8
mov esi, eax
test esi, esi
je 0x64845a
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x64845a
cmp dword [ebp - 8], 0
je 0x64845a
mov byte [0x666451], 1
jmp 0x64845a
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
movzx eax, word [ebp - 0x2c]
sub ax, 1
jb 0x648478
sub ax, 5
je 0x648481
sub ax, 3
je 0x64848a
sub ax, 3
je 0x648493
jmp 0x64849c
mov byte [0x65ccd1], 1
jmp 0x6484a3
mov byte [0x65ccd1], 3
jmp 0x6484a3
mov byte [0x65ccd1], 2
jmp 0x6484a3
mov byte [0x65ccd1], 4
jmp 0x6484a3
mov byte [0x65ccd1], 0
cmp byte [0x666451], 0
je 0x6484e4
call fcn.005f2148
test al, al
je 0x6484dd
push 0x648570
push ebx
call fcn.0040f4e8
test eax, eax
je 0x6484dd
push 0x6485a4
push 0x6485c4
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040f4e8
test eax, eax
jne 0x6484e4
mov byte [0x666451], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6485e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x648650
mov edx, 0x80000002
xor eax, eax
call fcn.0059b83c
test eax, eax
jne 0x648649
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x6486a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x648640
cmp dword [ebp - 0xc], 4
jne 0x648640
cmp dword [ebp - 8], 4
jne 0x648640
movzx eax, word [ebp - 0x10]
mov word [0x666468], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret
Function at 0x64884c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x648909
movzx eax, byte [ebp - 0x110]
shl eax, 0x18
movzx edx, byte [ebp - 0x10c]
shl edx, 0x10
or eax, edx
movzx edx, word [ebp - 0x108]
or eax, edx
mov dword [0x666464], eax
cmp byte [0x666450], 0
je 0x648909
mov eax, dword [ebp - 0x110]
cmp eax, 5
jb 0x6488fa
mov dword [ebp - 0x230], 0x11c
lea eax, [ebp - 0x230]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x648909
movzx eax, byte [ebp - 0x11c]
shl eax, 8
movzx edx, byte [ebp - 0x11a]
or ax, dx
mov word [0x666468], ax
movzx eax, byte [ebp - 0x116]
mov byte [0x66646a], al
movzx eax, word [ebp - 0x118]
mov word [0x66646c], ax
jmp 0x648909
cmp eax, 4
jne 0x648909
call fcn.006485e0
call fcn.006486bc
mov esp, ebp
pop ebp
ret

Function at 0x649860
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x649908
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x649924
push ebx
push 0x649934
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00408ff8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004053f4
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x6498e6
mov eax, dword [0x65d45c]
mov eax, dword [eax + 0x1c8]
call fcn.006497b8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64990f
lea eax, [ebp - 4]
call fcn.00407c58
ret
Function at 0x64a280
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x64a473
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0059b3e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.005f358c
test al, al
jne 0x64a2ed
xor eax, eax
push ebp
push 0x64a2e3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.005f3a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64a2ed
push 0
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
mov eax, dword [0x666544]
call fcn.00408d1c
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x64a31c
mov eax, dword [0x65d45c]
mov eax, dword [eax + 0x1c4]
call fcn.006497b8
push 0x80
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x660c50]
push eax
push 0
mov ecx, 0x64a484
mov edx, 0x64a488
xor eax, eax
call fcn.0041036c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, 0xfffffffc
mov ecx, 0x64997c
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x666570], eax
xor eax, eax
push ebp
push 0x64a43c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x65d448]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0059adb0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x64a4a4
call fcn.0042363c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.0059ac90
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00408f18
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00649860
mov dword [ebp - 0xc], eax
call fcn.0064993c
test al, al
jne 0x64a41c
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x64a3fa
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64a443
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x64b844
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x64baf8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x65d448]
mov eax, dword [eax]
mov edx, 0x64bb14
call fcn.0058eea0
push 5
mov eax, dword [0x65d448]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x64babf
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00642634
lea eax, [ebp - 0x10]
call fcn.0059b250
mov eax, dword [ebp - 0x10]
call fcn.004230c8
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0059adb0
mov edx, dword [ebp - 0x14]
mov eax, 0x666544
call fcn.00408038
call fcn.00649b4c
lea ecx, [ebp - 0x18]
mov edx, 0x64bb34
mov eax, dword [0x666544]
call fcn.00599dd0
mov edx, dword [ebp - 0x18]
mov eax, 0x666548
call fcn.00408038
lea ecx, [ebp - 0x1c]
mov edx, 0x64bb4c
mov eax, dword [0x666544]
call fcn.00599dd0
mov edx, dword [ebp - 0x1c]
mov eax, 0x66654c
call fcn.00408038
push 2
push 0
push 1
mov ecx, dword [0x666544]
mov dl, 1
mov eax, dword [0x59f4e4]
call fcn.0059fe58
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x64b99c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.0059fe10
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.0059fde0
cmp dword [ebp - 0xc], 0x67734d49
je 0x64b977
mov cl, 1
xor edx, edx
mov eax, dword [0x66654c]
call fcn.005a1608
jmp 0x64b986
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x666544]
call fcn.005a1608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64b9a3
mov eax, dword [ebp - 4]
call fcn.004060a0
ret
Function at 0x64bc90
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x64bdcd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x25c]
mov ecx, 0x64bde8
mov edx, ebx
call fcn.00408f70
mov eax, dword [ebp - 0x25c]
call fcn.00408d1c
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x64bda7
xor eax, eax
push ebp
push 0x64bda0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x64be04
lea eax, [ebp - 0x22c]
mov ecx, 5
call fcn.004232d8
test eax, eax
jne 0x64bd71
test byte [ebp - 0x258], 0x10
jne 0x64bd71
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x22c]
mov ecx, 0x104
call fcn.00408dc0
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408f70
mov esi, dword [ebp - 0x258]
test esi, 1
je 0x64bd69
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 4]
call fcn.00408d1c
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, dword [ebp - 4]
call fcn.00422a4c
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x64bd01
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64bda7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64bdd4
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00407cb8
lea eax, [ebp - 4]
call fcn.00407c58
ret
Function at 0x64be10
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x64bf0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00407c58
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0059a2a4
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x64bf28
call fcn.0042363c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408f70
mov eax, dword [ebp - 8]
call fcn.00408d1c
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x64beae
test esi, 0x10
jne 0x64bede
test esi, 1
je 0x64beae
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.00408d1c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 1
mov eax, dword [ebp - 8]
call fcn.00408d1c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00408d1c
push eax
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x64bed8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00408038
jmp 0x64beeb
inc edi
cmp edi, 0xa
je 0x64beeb
inc ebx
cmp ebx, 0x3e8
jne 0x64be4f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64bf15
lea eax, [ebp - 0x14]
call fcn.00407c58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407cb8
ret