joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4279a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533cc2
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x894], edi
call fcn.004edf00
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004edf00
add esp, 0x18
lea eax, [ebp - 0x218]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x53fb84
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x898], eax
cmp eax, 0xffffffff
je 0x427bf5
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [eax + eax]
test byte [ebp - 0x890], 0x10
je 0x427a96
cmp word [ebp - 0x864], 0x2e
je 0x427a96
lea eax, [ebp - 0x864]
push eax
push dword [ebp - 0x894]
lea eax, [ebp - 0x628]
push 0x53fb4c
push eax
call fcn.00420180
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.004279a0
add esp, 0x18
jmp 0x427bce
push 0x53fb90
lea eax, [ebp - 0x864]
push eax
call edi
test eax, eax
je 0x427bce
push 0x53fb94
lea eax, [ebp - 0x864]
push eax
call edi
test eax, eax
je 0x427bce
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004edf00
lea eax, [ebp - 0x864]
push eax
push dword [ebp - 0x894]
lea eax, [ebp - 0x420]
push 0x53fb4c
push eax
call fcn.00420180
add esp, 0x1c
mov dword [ebp - 0x630], 0
xor eax, eax
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427b20
sub eax, edx
lea ecx, [ebp - 0x640]
sar eax, 1
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00416d80
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
cmp eax, dword [esi + 8]
je 0x427b7c
movups xmm0, xmmword [ebp - 0x640]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x630]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x640], ax
jmp 0x427b91
lea ecx, [ebp - 0x640]
push ecx
push eax
mov ecx, esi
call fcn.004194f0
mov edx, dword [ebp - 0x62c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x427bce
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427bc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c10
push edx
push ecx
call fcn.00461701
add esp, 8
lea eax, [ebp - 0x890]
push eax
push dword [ebp - 0x898]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427a50
push dword [ebp - 0x898]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
call fcn.004f6f4a
int3
Function at 0x428130
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4282d2
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4281b1
cmp eax, 2
jne 0x428192
push str.Key_not_found._n
call fcn.00419e30
add esp, 4
jmp 0x4282d2
push str.Error_opening_key._n
call fcn.00419e30
add esp, 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
lea edi, [ebx + eax*2]
je 0x4281d4
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4282af
lea esi, [ebp - 0x20c]
sub esi, edi
nop word [eax + eax]
mov edx, 0x208
mov eax, edi
nop word [eax + eax]
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x42824e
movzx ecx, word [esi + eax]
test cx, cx
je 0x42824e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x428230
lea ecx, [eax - 2]
test edx, edx
push ebx
push dword [ebp - 0x218]
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
call fcn.00428130
add esp, 8
test eax, eax
je 0x4282a9
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x428220
mov esi, dword [ebp - 0x218]
xor eax, eax
mov word [edi - 2], ax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
test eax, eax
jne 0x42819f
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0046170f
mov esp, ebp
pop ebp
ret
Function at 0x42a540
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533f52
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x10], ebx
jne 0x42a57d
xor al, al
jmp 0x42a69c
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042ef00
add esp, 8
cmp dword [ebp - 0x18], 3
mov dword [ebp - 4], 0
jb 0x42a5f6
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42a5b2
test al, 0x10
jne 0x42a5f6
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042eaf0
add esp, 0xc
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ebx, 1
mov ecx, eax
cmovae edx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 0x10
jb 0x42a5de
mov ecx, dword [eax]
push dword [ebp - 0x18]
push edx
push dword [eax + 0x10]
push ecx
call fcn.00407430
add esp, 0x10
mov byte [ebp - 0x41], 0
test al, al
je 0x42a5fa
mov byte [ebp - 0x41], 1
test bl, 1
je 0x42a60a
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffe
call fcn.004055c0
cmp byte [ebp - 0x41], 0
je 0x42a616
mov byte [ebp - 0x41], 1
jmp 0x42a669
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042eaf0
or ebx, 2
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x48], ebx
call fcn.0042a540
add esp, 0x10
test al, al
je 0x42a658
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 0x41], 1
test eax, eax
jne 0x42a65c
mov byte [ebp - 0x41], 0
test bl, 2
je 0x42a669
lea ecx, [ebp - 0x40]
call fcn.004055c0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42a699
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42a68f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a6b6
push edx
push ecx
call fcn.00461701
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
call fcn.004f6f4a
int3
Function at 0x42a6c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533f9f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
cmp dword [eax + 0x10], ebx
jne 0x42a6fd
xor al, al
jmp 0x42a7d9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042f000
add esp, 8
cmp dword [ebp - 0x18], 3
mov dword [ebp - 4], 0
jb 0x42a75b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a732
test al, 0x10
jne 0x42a75b
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042ebe0
lea ecx, [ebp - 0x28]
mov ebx, 1
push ecx
push eax
call fcn.00439d70
add esp, 0x14
mov byte [ebp - 0x41], 0
test al, al
je 0x42a75f
mov byte [ebp - 0x41], 1
test bl, 1
je 0x42a76f
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffe
call fcn.00419810
cmp byte [ebp - 0x41], 0
je 0x42a779
mov bl, 1
jmp 0x42a7cf
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042ebe0
or ebx, 2
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x48], ebx
call fcn.0042a6c0
add esp, 0x10
test al, al
je 0x42a7bb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 0x41], 1
test eax, eax
jne 0x42a7bf
mov byte [ebp - 0x41], 0
test bl, 2
je 0x42a7cc
lea ecx, [ebp - 0x40]
call fcn.00419810
mov bl, byte [ebp - 0x41]
lea ecx, [ebp - 0x28]
call fcn.00419810
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
Function at 0x4318c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53476b
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov dword [ebp - 4], 0
jb 0x43191c
mov eax, dword [edi]
lea ecx, [ebp - 0x198]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x431a89
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x43193d
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1a4], eax
cmp eax, 0xffffffff
je 0x431a89
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1a0], eax
cmp eax, 0xffffffff
je 0x431a7d
push 0
push 0
push 0
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x1a0]
call fcn.004ff308
add esp, 4
mov dword [ebp - 0x1a8], eax
lea ecx, [ebp - 0x1ac]
push 0
push ecx
push dword [ebp - 0x1a0]
push eax
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x431a6f
mov ecx, dword [ebp - 0x1a8]
mov ax, word [ecx]
mov dl, byte [ecx + 2]
mov word [ebp - 0x19c], ax
cmp al, 0xef
jne 0x4319fc
cmp byte [ebp - 0x19b], 0xbb
jne 0x431a60
cmp dl, 0xbf
jne 0x431a60
mov eax, dword [ebp - 0x1a0]
add eax, 0xfffffffd
push eax
lea eax, [ecx + 3]
push eax
jmp 0x431a67
cmp al, 0xff
jne 0x431a60
cmp byte [ebp - 0x19b], 0xfe
jne 0x431a60
push ecx
call fcn.004ff2ed
add esp, 4
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3a8
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00429a60
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00431ad0
push 0x3a8
push eax
push esi
mov byte [ebp - 4], 2
call fcn.00429ba0
add esp, 0x20
lea ecx, [ebp - 0x40]
call fcn.00419810
lea ecx, [ebp - 0x58]
call fcn.00419810
jmp 0x431aa8
push dword [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404d10
push dword [ebp - 0x1a8]
call fcn.004ff2ed
add esp, 4
push dword [ebp - 0x1a4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
Function at 0x431ad0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5347a2
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x53fb10
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416d80
cmp dword [edi + 0x14], 8
mov eax, edi
mov dword [ebp - 4], 0
jb 0x431b3c
mov eax, dword [edi]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x431c15
cmp dword [edi + 0x14], 8
jb 0x431b5b
mov edi, dword [edi]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x431c15
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x431c09
push 0
push 0
push 0
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
call fcn.004ff308
add esp, 4
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x284]
push 0
push ecx
push edi
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x431bfb
mov ecx, dword [ebp - 0x280]
movzx eax, word [ecx]
cmp al, 0xff
jne 0x431bef
shr eax, 8
cmp al, 0xfe
jne 0x431bef
lea eax, [edi - 2]
shr eax, 1
push eax
lea eax, [ecx + 2]
push eax
jmp 0x431bf3
shr edi, 1
push edi
push ecx
lea ecx, [ebp - 0x28]
call fcn.00416d80
push dword [ebp - 0x280]
call fcn.004ff2ed
add esp, 4
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
Function at 0x433af0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5349f1
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 8
mov dword [ebp - 0x160], esi
call fcn.00433050
mov edi, eax
add esp, 4
test edi, edi
jne 0x433b4c
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
mov dword [esi + 0x10], eax
mov byte [esi], al
jmp 0x433ce5
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004edf00
add esp, 0xc
mov dword [ebp - 0x160], 0x104
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x114]
push eax
push edi
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
test eax, eax
je 0x433c9b
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x144], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433bd0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x144]
call fcn.00404d10
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0042a2a0
lea ecx, [ebp - 0x12c]
add esp, 8
cmp ecx, eax
je 0x433c3a
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x168], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
jmp 0x433c58
movq xmm0, qword [ebp - 0x11c]
movq qword [ebp - 0x168], xmm0
movups xmm0, xmmword [ebp - 0x12c]
movups xmmword [ebp - 0x178], xmm0
lea ecx, [ebp - 0x15c]
call fcn.004055c0
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x433cb9
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x433c8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433d02
push edx
push ecx
call fcn.00461701
add esp, 8
jmp 0x433cb9
movq xmm0, qword [ebp - 0x11c]
movq qword [ebp - 0x168], xmm0
movups xmm0, xmmword [ebp - 0x12c]
movups xmmword [ebp - 0x178], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x178]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x168]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
call fcn.004f6f4a
int3
Function at 0x439030
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.default.0x4391b7
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x11c]
lea ecx, [eax - 4]
cmp ecx, 6
ja case.0x439081.7
jmp dword [ecx*4 + 0x439278]
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x4390c6
cmp eax, 0xa
je 0x4390b3
cmp eax, 0x5a
jne case.default.0x4391b7
mov eax, 6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
cmp eax, 2
jne 0x4390e4
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne case.default.0x4391b7
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x439195
sub eax, 1
je 0x439182
sub eax, 1
jne case.default.0x4391b7
cmp byte [ebp - 6], 1
jne 0x439140
cmp word [ebp - 0x144], 9
jne 0x439140
mov eax, 9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x43915f
mov eax, 0xa
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je case.default.0x4391b7
mov eax, 0xb
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov eax, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov eax, 7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
cmp eax, 3
ja case.default.0x4391b7
jmp dword [eax*4 + 0x439294]
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 0xe
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov eax, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov eax, 0x11
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x118], 0
jne 0x439251
mov eax, 0x12
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
cmp eax, 3
jae 0x43924c
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
cmp eax, 6
jbe case.default.0x4391b7
mov eax, 0x13
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
Function at 0x4392b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push eax
xor edi, edi
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4392f2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004edf00
add esp, 0xc
mov dword [ebp - 0x214], edi
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x439373
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x439373
lea edx, [ebp - 0x210]
lea edi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x439350
sub edx, edi
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.00416d80
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046170f
mov esp, ebp
pop ebp
ret

Function at 0x439390
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4393e8
push edi
push dword [ebp + 0x10]
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.004ed400
movzx eax, word [ebp + 8]
add esp, 0xc
push edi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
ret