joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f510
Capabilities:
Contain obfuscated stackstrings
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov edi, ecx
cmp dword [eax], 0xa070
je 0x40f545
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 4
push 0x20
push str.9F15E8B42592E073F0A14AFF69039F7D
mov edx, 0x20
mov dword [ebp - 0x40], 0x208
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0x6610
mov dword [ebp - 0x38], 0x20
call fcn.00424960
add esp, 8
lea eax, [ebp - 0x40]
push esi
push 0
push 0
push 0x2c
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x40f531
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x34333231
push eax
push 1
push dword [esi]
mov dword [ebp - 0x10], 0x38373635
mov dword [ebp - 0xc], 0x32313039
mov dword [ebp - 8], 0x36353433
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 4

Function at 0x40f5d0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40f61a
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret
Function at 0x40f760
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xa070
mov eax, ecx
push edi
mov edi, edx
mov dword [ebp - 0x10], eax
jne 0x40f870
test eax, eax
je 0x40f870
test edi, edi
je 0x40f870
cmp dword [edi], 0
je 0x40f870
push ebx
call fcn.0040f5d0
mov ebx, eax
test ebx, ebx
jne 0x40f7bc
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
lea edx, [ebp - 8]
push esi
mov dword [ebp - 0xc], eax
mov ecx, ebx
lea eax, [ebp + 8]
mov dword [ebp - 8], 0
push eax
xor esi, esi
call fcn.0040f510
test al, al
je 0x40f844
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 1
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x40f844
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x40f844
push 0x454788
push eax
call fcn.00424def
mov esi, eax
add esp, 8
test esi, esi
je 0x40f844
push dword [edi]
mov edx, dword [ebp - 0xc]
mov ecx, esi
push dword [ebp - 0x10]
call fcn.00424960
add esp, 8
push dword [ebp - 0xc]
push edi
push esi
push 0
push 1
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x40f844
push esi
call fcn.00424a4f
add esp, 4
xor esi, esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x40f852
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 4

Function at 0x40f890
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xa070
push ebx
push edi
mov ebx, edx
mov edi, ecx
jne 0x40f949
test edi, edi
je 0x40f949
cmp dword [ebx], 0
je 0x40f949
push esi
call fcn.0040f5d0
mov esi, eax
test esi, esi
jne 0x40f8e5
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp + 8]
mov dword [ebp - 8], 0
push eax
lea edx, [ebp - 8]
mov byte [ebp - 9], 0
mov ecx, esi
call fcn.0040f510
test al, al
je 0x40f91a
push ebx
push edi
push 0
push 1
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
setne bl
jmp 0x40f91d
mov bl, byte [ebp - 9]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x40f92b
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 4
Function at 0x40fa20
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452423
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
sub esp, 0x1c
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
push 0
push 0
push 0
push 0x46db14
push ebx
call fcn.00409ac0
push 0x258
lea eax, [ebp - 0x278]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0043e2c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00409cd0
push 0x250
mov esi, eax
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.0043e2c0
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x28], edx
cmp edx, 0xffffffff
je 0x40fae2
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x24], 1
call fcn.00401800
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp edx, 0xffffffff
je 0x40fba0
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [ebp - 0x278], 0x10
je 0x40fb3f
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
push 0x46d658
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00409c70
lea ecx, [ebp - 0x1c]
call fcn.00409cd0
mov edx, edi
mov ecx, eax
call fcn.0040fa20
call fcn.0040b920
mov edx, dword [ebp - 0x28]
jmp 0x40fb55
mov ecx, dword [ebp - 0x25c]
xor eax, eax
add eax, dword [ebp - 0x258]
adc ecx, 0
add dword [edi], eax
adc dword [edi + 4], ecx
cmp edx, 0xffffffff
je 0x40fba0
lea eax, [ebp - 0x278]
push eax
push edx
call esi
test eax, eax
je 0x40fb90
lea ecx, [ebp - 0x278]
call fcn.00401800
test al, al
je 0x40fb7f
mov edx, dword [ebp - 0x28]
jmp 0x40faf5
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x40fba0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40fba0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x28], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00409b80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret
Function at 0x4100d0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, ecx
push esi
mov ebx, edx
call edi
test eax, eax
jne 0x410153
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x410153
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 5
je 0x41010f
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
test eax, eax
jne 0x410153
test bl, 2
je 0x41012a
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
push 4
push ecx
push esi
call fcn.0040c400
push esi
call edi
test eax, eax
jne 0x410153
test bl, 1
je 0x41014a
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41014a
mov eax, 2
pop edi
pop esi
pop ebx
pop ebp
ret 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x410160
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, ecx
push esi
mov ebx, edx
call edi
test eax, eax
jne 0x4101e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4101e3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 5
je 0x41019f
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
test eax, eax
jne 0x4101e3
test bl, 2
je 0x4101ba
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
push 5
push ecx
push esi
call fcn.0040c400
push esi
call edi
test eax, eax
jne 0x4101e3
test bl, 1
je 0x4101da
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x4101da
mov eax, 2
pop edi
pop esi
pop ebx
pop ebp
ret 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x410260
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4102ac
test eax, eax
je 0x4102ac
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4102ac
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
xor edx, edx
call fcn.00424a0b
mov esp, ebp
pop ebp
ret
Function at 0x4102c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x41030e
test eax, eax
je 0x41030e
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0xffff
push ecx
push 2
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ax, word [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffff
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret

Function at 0x410330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x41037a
test eax, eax
je 0x41037a
push 0
lea ecx, [ebp - 0xc]
mov byte [ebp - 5], 0xff
push ecx
push 1
lea ecx, [ebp - 5]
mov dword [ebp - 0xc], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or al, 0xff
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret
Function at 0x410680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x4106cd
test eax, eax
je 0x4106cd
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8

Function at 0x4106e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4524d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x41080b
test eax, eax
je 0x41080b
mov ecx, edi
mov dword [ebp - 0x14], 0
call fcn.00409b90
mov ecx, ebx
call fcn.00410240
push 0x454788
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 2]
push ecx
call fcn.00424def
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4107f8
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, ecx
shr eax, 1
push edx
mov dword [ebp - 0x1c], eax
mov word [esi + eax*2], dx
lea eax, [ebp - 0x14]
push eax
push ecx
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4107f8
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x14]
mov byte [esi + eax + 1], 0
mov eax, dword [ebx + 4]
test al, 0x20
je 0x4107b1
mov eax, esi
xor esi, esi
push esi
push eax
call fcn.00409c20
mov ecx, edi
call fcn.00409c00
mov edi, eax
jmp 0x4107fa
test al, 0x40
je 0x4107c9
push dword [ebp - 0x1c]
push esi
call fcn.0040b2d0
mov ecx, edi
call fcn.00409c00
mov edi, eax
jmp 0x4107fa
test eax, 0x180
je 0x4107e4
sub esp, 8
push esi
call fcn.0040b340
mov ecx, edi
call fcn.00409c00
mov edi, eax
jmp 0x4107fa
sub esp, 0xc
push esi
call fcn.0040b280
mov ecx, edi
call fcn.00409c00
mov edi, eax
jmp 0x4107fa
xor edi, edi
test esi, esi
je 0x410807
push esi
call fcn.00424a4f
add esp, 4
mov eax, edi
jmp 0x41080d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
Function at 0x410860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [edx]
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0xffffffff
je 0x4109b9
test esi, esi
je 0x4109b9
cmp edi, 1
jge 0x4108a7
mov ecx, ebx
call fcn.0040b9b0
mov edi, eax
test edi, edi
je 0x4109b9
mov eax, dword [edx + 4]
mov dword [ebp - 8], 0
test al, 0x60
je 0x4108e1
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + edi]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
pop edi
sbb eax, eax
and eax, dword [ebp - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
test eax, 0x188
je 0x410979
push 0
push 0
push 0
push 0
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4109b9
push 0x454788
push eax
call fcn.00424def
add esp, 8
mov esi, eax
push 0
push 0
push dword [ebp - 0x10]
push esi
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x410955
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x410955
mov edi, dword [ebp - 8]
jmp 0x410957
xor edi, edi
test esi, esi
je 0x410964
push esi
call fcn.00424a4f
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
push 0x454788
push edi
call fcn.00424def
add esp, 8
mov esi, eax
push 0
push 0
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, dword [ebp - 8]
jmp 0x410957
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8

Function at 0x4109d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x410a1d
test eax, eax
je 0x410a1d
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
Function at 0x410b30
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452508
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebx + 8]
push 0x44
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0043e2c0
add esp, 0xc
mov dword [ebp - 0x68], 0x44
mov eax, 5
mov dword [ebp - 0x3c], 1
xorps xmm0, xmm0
mov word [ebp - 0x38], ax
mov ecx, esi
movups xmmword [ebp - 0x7c], xmm0
call fcn.0040b9b0
neg eax
mov ecx, edi
sbb eax, eax
and eax, esi
mov dword [ebp - 0x88], eax
call fcn.0040b9b0
mov ecx, dword [ebp - 0x6c]
neg eax
sbb eax, eax
and eax, edi
mov dword [ebp - 0x80], eax
call fcn.0040b9b0
neg eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x84], eax
call fcn.00409a40
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x6c], 0
call esi
mov ecx, eax
call fcn.00410e70
xor edi, edi
call esi
mov ecx, eax
call fcn.00410e70
test eax, eax
je 0x410c27
lea ecx, [ebp - 0x6c]
call fcn.00410d10
mov edi, eax
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x410c44
push eax
push 0x7d00
lea ecx, [ebp - 0x20]
call fcn.00409f90
lea ecx, [ebp - 0x20]
call fcn.00409cd0
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push dword [ebp - 0x84]
push 0
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test edi, edi
je 0x410c77
mov ecx, dword [ebp - 0x6c]
call fcn.00410dd0
test esi, esi
je 0x410c87
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x20]
call fcn.00409b80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x410f4f
xor al, al
ret
shr eax, 4
and al, 1
ret
Function at 0x4111c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x47d00c]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 7
mov edi, ecx
mov dword [esp + 0x24], 0
push 0
push edi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x41120d
or esi, 0xffffffff
jmp 0x411212
cmp esi, 0xffffffff
jne 0x41123e
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x41124a
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41124a
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x411262
test esi, esi
je 0x411262
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x26c]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
xor ecx, esp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret

Function at 0x411280
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4525d8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x47d00c]
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, edx
mov esi, ecx
cmp byte [ebp + 8], 0
je 0x411352
push ecx
push 0x20019
push str.HKLM64SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0040c6e0
push esi
push str.ProgramFilesDir
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0040c880
mov ecx, esi
call fcn.00409e50
test al, al
je 0x411300
push 1
push str.C:Program_Files
mov ecx, esi
call fcn.00409c20
push 0
push 0x104
mov ecx, edi
call fcn.00409f90
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x411348
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.__x86_
mov ecx, esi
call fcn.00409cd0
push eax
mov ecx, edi
call fcn.00409c70
lea ecx, [ebp - 0x14]
call fcn.0040c740
jmp 0x41137e
push 0
push 0x104
call fcn.00409f90
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 1
mov ecx, esi
call fcn.00409cd0
push eax
mov ecx, edi
call fcn.00409c20
mov al, 1
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.00424a0b
mov esp, ebp
pop ebp
ret 4
Function at 0x411c90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push ecx
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.00409a90
lea ecx, [ebp - 0x10]
call fcn.00409c00
test eax, eax
jne 0x411cd0
xor edi, edi
jmp 0x411d61
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x411ce8
or esi, 0xffffffff
xor edi, edi
jmp 0x411d50
cmp esi, 0xffffffff
jne 0x411cf1
xor edi, edi
jmp 0x411d50
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x411d50
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409b50
test al, al
jne 0x411d41
mov ecx, dword [ebp - 0x234]
call fcn.00411aa0
movzx eax, al
push 0xa
add edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x23c]
push eax
push esi
call ebx
test eax, eax
jne 0x411d16
pop ebx
cmp esi, 0xffffffff
je 0x411d60
test esi, esi
je 0x411d60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
lea ecx, [ebp - 0x10]
call fcn.00409b80
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00424a0b
mov esp, ebp
pop ebp
ret