joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408408
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x434404], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x408425
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x408453
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x40842e
mov dword [ecx*4 + 0x434400], eax
inc ecx
cmp ecx, 0x100
jne 0x408427
jmp 0x408419
cmp edx, ebx
je 0x40846c
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x434400]
jmp 0x408453
pop ebx
not eax
pop esi
pop ebp
ret 0xc
Function at 0x402d64
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x57bf70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.004da323
mov ebx, eax
cmp ebx, esi
je 0x402dd1
lea ecx, [ebp - 0x20c]
call fcn.0044b7f0
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473c5e
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x402def
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00402d64
cmp eax, esi
jne 0x402e36
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], 0x100
call ebx
test eax, eax
je 0x402dd9
lea ecx, [ebp - 0x20c]
call fcn.0044b7f0
push dword [ebp - 0x214]
mov ecx, edi
call fcn.004c8a15
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.0044b7f0
mov eax, esi
jmp 0x402dc0

Function at 0x404453
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [eax + 0x190]
test al, al
jns 0x404475
or eax, 0xffffffff
jmp 0x40447a
mov eax, dword [0x579134]
mov edx, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x290]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x57a588
call fcn.0048267c
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x404517
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x404517
cmp edi, ebx
je 0x4044cc
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x200]
push eax
push 0x57a640
call fcn.0048267c
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp - 8], 2
jne 0x404520
test ebx, ebx
je 0x404503
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
test al, 0x40
je 0x404517
cmp dword [ebp - 4], 0
je 0x404503
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x224]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x404519
mov eax, dword [esi]
push 5
push 0
push edi
mov ecx, esi
call dword [eax + 0x1d0]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], 3
jne 0x404517
test edi, edi
je 0x404517
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x15c]
test eax, eax
je 0x404517
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x164]
test eax, eax
je 0x404517
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x218]
mov eax, dword [esi]
push 0
push 1
push 5
push edi
mov ecx, esi
call dword [eax + 0x328]
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
jmp 0x404519
Function at 0x40684f
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push 0x30
mov eax, 0x528514
call fcn.005054c1
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
push esi
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x406957
push 0x2c
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
je 0x406957
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push ebx
call esi
test eax, eax
je 0x406942
cmp dword [ebp - 0x38], 1
je 0x406957
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4068f3
push dword [ebp - 0x24]
call edi
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x406942
cmp dword [ebp - 0x38], 1
je 0x406942
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
ja 0x406942
cmp dword [ebp - 0x38], 3
je 0x4068c5
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x406942
jmp 0x40693c
push 0x3e8
call edi
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x406942
cmp dword [ebp - 0x38], 1
je 0x406942
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
ja 0x406942
cmp dword [ebp - 0x38], 1
jne 0x40690c
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x18]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004cdfac
call fcn.00505599
ret
Function at 0x40a188
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x51c392
call fcn.005054f4
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.004197fa
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004dc6c6
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00403c17
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.0049dcb5
cmp eax, ebx
jne 0x40a21f
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004f50fe
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0041f596
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0040e04c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00423df1
xor eax, eax
call fcn.00505599
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0048fe9e
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x57fb74
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00473c1b
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.004a0cd1
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.004f17e9
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004ed3df
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0048fe9e
call fcn.004c6316
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40a1e2
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40a2d1
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004f50fe
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40a1ef
lea ecx, [ebp - 0x20]
call fcn.00462bc3
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x40a2f3
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004f50fe
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0041f596
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0040e04c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00423df1
xor eax, eax
inc eax
jmp 0x40a217
Function at 0x4221b7
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x52a32b
call fcn.005054c1
mov edi, dword [ebp + 8]
push edi
call fcn.0046f830
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
call fcn.004524a5
pop ecx
mov byte [ebp - 4], 1
call fcn.004f260b
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004cdfac
push dword [edi]
mov byte [ebp - 0xd], bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422202
mov byte [ebp - 0xd], 1
mov eax, dword [edi]
push ebx
push ebx
push 4
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x422223
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x422256
push dword [edi]
call fcn.00488156
pop ecx
push ebx
call fcn.00503400
pop ecx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x55a4f0
call fcn.00425ed1
mov byte [ebp - 4], 2
push edi
mov byte [ebp - 4], bl
call fcn.00462a5e
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00505599
ret 4
Function at 0x423a49
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x57bf70]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x529cef
call fcn.005054c1
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x1c], esi
call fcn.00503570
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
xor eax, eax
cmp byte [ebp + 0x214], bl
push str.InstallDir
setne al
push str.SoftwareAdvancedSystemRepairPro
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0x104
add eax, 0x80000001
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov word [ebp + eax*2], cx
push esi
lea ecx, [ebp]
call fcn.00425ed1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00473c5e
add ebp, 0x20c
leave
ret

Function at 0x424e6a
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x57bf70]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x529cae
call fcn.005054c1
xor eax, eax
mov dword [ebp - 4], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 0x206
push eax
lea eax, [ebp + 2]
xor ecx, ecx
push eax
mov word [ebp], cx
call fcn.00503570
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
lea ecx, [ebp]
call fcn.00425ed1
lea eax, [ebp - 0x10]
push 0x559088
push eax
mov esi, edi
mov dword [ebp - 0x18], ebx
call fcn.0047dc46
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x214]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
call fcn.004c2fad
add esp, 0x10
mov byte [ebp - 4], 3
call fcn.004f260b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004cdfac
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.004cdfac
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x214]
call fcn.004cdfac
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00473c5e
add ebp, 0x20c
leave
ret
Function at 0x427950
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [esi + 0x34], ebx
ja 0x427964
cmp dword [esi + 0x30], 0x40
jbe 0x427a68
mov edi, dword [esi + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebp
test eax, eax
jne 0x427a6d
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x427a6d
mov byte [esi + 0x38], 1
mov eax, dword [edi + 0x3c]
mov edi, dword [esi + 0x34]
xor ecx, ecx
lea edx, [eax + 0xf8]
cmp edi, ecx
jb 0x427a68
ja 0x4279af
mov ecx, dword [esi + 0x30]
cmp ecx, edx
jbe 0x427a68
mov edx, dword [esi + 0x28]
add eax, edx
push 0xf8
push eax
mov dword [esi + 0x24], eax
call ebp
test eax, eax
jne 0x427a6d
mov eax, dword [esi + 0x24]
cmp dword [eax], 0x4550
jne 0x427a6d
mov ecx, 0x2000
test word [eax + 0x16], cx
jne 0x4279e5
mov byte [esi + 0x44], 1
mov edx, eax
movzx eax, word [edx + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x427a01
mov dword [esi + 0x40], 1
add edx, 0x78
jmp 0x427a18
mov ecx, 0x20b
cmp ax, cx
jne 0x427a1b
mov dword [esi + 0x40], 2
add edx, 0x88
mov dword [esi + 0x20], edx
cmp dword [esi + 0x20], ebx
je 0x427a6d
mov eax, dword [esi + 0x24]
movzx ecx, word [eax + 6]
mov dword [esi + 0x3c], ecx
test ecx, ecx
je 0x427a6d
movzx edx, word [eax + 0x14]
mov ebx, dword [esi + 0x34]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub ecx, dword [esi + 0x28]
add ecx, edx
lea edi, [ecx + eax + 0x18]
xor ecx, ecx
cmp ebx, ecx
jb 0x427a68
ja 0x427a56
mov ecx, dword [esi + 0x30]
cmp ecx, edi
jbe 0x427a68
pop edi
mov ebx, 1
lea edx, [edx + eax + 0x18]
pop ebp
mov eax, ebx
mov dword [esi + 0x1c], edx
pop ebx
ret
mov ebx, 2
pop edi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x42d4c5
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 4
mov eax, 0x52806d
call fcn.005054c1
mov edi, ecx
mov ebx, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov esi, ebx
call fcn.0041fab3
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
mov dword [ebp - 0x10], 1
je 0x42d582
mov esi, dword [ebx]
call fcn.004c644e
test al, al
je 0x42d582
mov eax, dword [ebx]
push edi
push dword [ebp + 0x10]
push dword [eax]
call fcn.005035f0
mov eax, dword [ebx]
add esp, 0xc
lea ecx, [ebp + 0x10]
push ecx
mov dword [ebp + 0x10], edi
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x42d53f
mov edi, dword [ebp + 0x10]
jmp 0x42d57b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x42d579
mov edi, dword [ebp + 0x10]
mov esi, dword [ebx]
call fcn.004c644e
test al, al
je 0x42d579
mov eax, dword [ebx]
mov eax, dword [eax]
lea ecx, [ebp + 0x10]
push ecx
push eax
mov eax, dword [ebp + 8]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x42d582
xor edi, edi
mov esi, dword [ebx]
call fcn.004c644e
mov eax, ebx
call fcn.00505599
ret 0xc
Function at 0x42f6ad
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52915f
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x57bf70]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
push edi
mov eax, dword [0x57bf70]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
and dword [esp + 0x1c], 0
push 0x24c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00503570
lea eax, [esp + 0x20]
push str..
push eax
mov esi, edi
call fcn.0047dc46
add esp, 0x14
and dword [esp + 0x280], 0
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
or dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004cdfac
cmp dword [esp + 0x10], 0xffffffff
je 0x42f82d
lea eax, [esp + 0x48]
push 0x55907c
push eax
call fcn.00503f36
pop ecx
pop ecx
test eax, eax
je 0x42f80c
lea eax, [esp + 0x48]
push 0x559080
push eax
call fcn.00503f36
pop ecx
pop ecx
test eax, eax
je 0x42f80c
lea eax, [esp + 0x18]
push 0x559088
push eax
mov esi, edi
call fcn.0047dc46
mov dword [esp + 0x288], 1
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov esi, eax
call fcn.0047dc46
add esp, 0x10
mov byte [esp + 0x280], 3
lea ecx, [esp + 0x18]
call fcn.004cdfac
test byte [esp + 0x1c], 0x10
je 0x42f7e2
push dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.0042f6ad
pop ecx
pop ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x80
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [esp + 0x280], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004cdfac
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f74f
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0xc], 0
je 0x42f83b
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00473c5e
mov esp, ebp
pop ebp
ret

Function at 0x430ce8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x57bf70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x430d1d
xor eax, eax
jmp 0x430d70
lea eax, [ebp - 0x210]
push eax
call fcn.00502ec2
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x430d4e
push 0x559088
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005075f5
add esp, 0xc
test eax, eax
jne 0x430d19
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005075f5
add esp, 0xc
test eax, eax
jne 0x430d19
lea eax, [ebp - 0x210]
push eax
call fcn.004253c7
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00473c5e
leave
ret
Function at 0x4327d5
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x5288d1
call fcn.005054c1
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
push 2
push edi
push edi
push 0x40000000
lea esi, [ebp + 0xc]
call fcn.004225b8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432828
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004cdfac
call fcn.00505599
ret

Function at 0x4360be
Capabilities:
Enumerate processes

Disassembly:
push 0x234
mov eax, 0x5284e4
call fcn.0050552a
and dword [ebp - 0x23c], 0
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.00503570
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x240], esi
and dword [ebp - 4], 0
cmp esi, 0xffffffff
je 0x436143
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x43613f
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00504265
pop ecx
pop ecx
test eax, eax
je 0x43615a
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43611d
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x436152
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.005055ad
ret
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x436169
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x436154
Function at 0x436510
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5280f4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x57bf70]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
push 0xc
mov dword [esp + 0x18], esi
call fcn.0047d781
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, esi
je 0x436569
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
jmp 0x43656b
xor eax, eax
mov byte [esp + 0x30], 0
mov dword [ebp], eax
mov dword [esp + 0x30], esi
mov esi, dword [ebx]
mov edi, dword [ebp]
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 4]
je 0x4365b6
mov eax, dword [edi]
push esi
push eax
call fcn.00503955
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x4365b3
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00503570
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
push 5
add edx, 0xfffffff3
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
lea ecx, [ebx + 8]
push ecx
lea edx, [esp + 0x20]
push edx
add ecx, 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.004fd8b2
mov esi, dword [ebp]
test eax, eax
jne 0x436636
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 4]
je 0x436652
mov eax, dword [esi]
push edi
push eax
call fcn.00503955
mov ecx, dword [esi + 4]
add esp, 8
mov dword [esi], eax
cmp edi, ecx
jbe 0x43661e
mov edx, edi
sub edx, ecx
push edx
add ecx, eax
push 0
push ecx
call fcn.00503570
add esp, 0xc
mov dword [esi + 4], edi
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
cmp dword [esi + 4], 0
je 0x436652
mov eax, dword [esi]
push 0
push eax
call fcn.00503955
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], 0
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
Function at 0x43793f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x5232c4
call fcn.005054f4
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.004197fa
mov edi, dword [0x57fbf0]
mov ebx, dword [0x57fbf4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004dc6c6
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00403c17
mov dword [ebp - 0x1c], esi
mov esi, vtable.CBitmap.0
mov dword [ebp - 0x20], esi
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0049dcb5
test eax, eax
jne 0x4379df
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.004f50fe
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.0041f596
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0040e04c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00423df1
xor eax, eax
call fcn.00505599
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048fe9e
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x57fb74
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.00473c1b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0046a92c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0048fe9e
call fcn.004c6316
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4379a2
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x437a60
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.004f50fe
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4379b0
lea ecx, [ebp - 0x20]
call fcn.00462bc3
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x437a82
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.004f50fe
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.0041f596
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0040e04c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00423df1
xor eax, eax
inc eax
jmp 0x4379d9