joyce8/EMBER2024-capa huggingface dataset:
Function at 0x24cc2d5
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ecx
push ecx
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
xor ebp, ebp
push ebp
push ebp
mov esi, ecx
lea ecx, [esp + 0x18]
push ecx
push ebp
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x24cc346
push dword [esp + 0x10]
call fcn.0258532a
push dword [esp + 0x14]
mov ebx, eax
push ebp
push ebx
call fcn.025acd10
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
add esp, 0x10
push ebp
push ebp
push eax
push ebx
push 1
push dword [ecx - 0xc]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x24cc357
push ebx
call fcn.02585333
pop ecx
mov ecx, edi
call fcn.0247d745
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x24cc378
push edi
push dword [esp + 0x14]
mov ecx, esi
push ebx
call fcn.024cc42d
mov esi, eax
test esi, esi
je 0x24cc371
mov ecx, edi
call fcn.0247d745
push ebx
call fcn.02585333
pop ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0247de5b
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.02585cf8
pop ecx
pop ecx
ret 8

Function at 0x24cc39a
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6400104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x24cc408
push edi
push edi
lea ecx, [ebp - 8]
push ecx
push edi
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x24cc3fb
push dword [ebp - 8]
mov ecx, esi
call fcn.02493a7a
mov eax, dword [esi + 4]
sub eax, dword [esi]
je 0x24cc425
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push edi
push edi
push ecx
push dword [esi]
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x24cc408
mov eax, dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0247de5b
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.02585cf8
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0247ff7a
int3
Function at 0x24cc42d
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x110
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x11c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
mov ebx, ecx
push edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0x10], eax
mov dword [esp + 0x118], edi
lea eax, [edi + 1]
push eax
call fcn.0258532a
push dword [esp + 0x11c]
mov ebp, eax
push 0
push ebp
call fcn.025acd10
push edi
push esi
push dword [esp + 0x130]
push ebp
call fcn.0253f177
add esp, 0x20
mov dword [esp + 0x118], edi
lea eax, [esp + 0x118]
push eax
push ebp
push 0
push 1
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x24cc4ce
push ebp
call fcn.02585333
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.0247d745
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x24cc51a
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x14]
push 0xfde9
push ebp
mov byte [eax + ebp], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.02520fd6
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.0247dfa4
lea eax, [esp + 0x18]
cmp dword [esp + 0x14], eax
je 0x24cc511
push dword [esp + 0x14]
call fcn.025d54e1
pop ecx
push ebp
call fcn.02585333
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.02585cf8
add esp, 0x110
ret 0xc

Function at 0x24cc535
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x110
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x11c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
mov ebx, ecx
push edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0x10], eax
mov dword [esp + 0x118], edi
lea eax, [edi + 1]
push eax
call fcn.0258532a
push dword [esp + 0x11c]
mov ebp, eax
push 0
push ebp
call fcn.025acd10
push edi
push esi
push dword [esp + 0x130]
push ebp
call fcn.0253f177
add esp, 0x20
mov dword [esp + 0x118], edi
lea eax, [esp + 0x118]
push eax
push ebp
push 0
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x24cc5d6
push ebp
call fcn.02585333
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.0247d745
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x24cc622
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x14]
push 0xfde9
push ebp
mov byte [eax + ebp], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.02520fd6
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.0247dfa4
lea eax, [esp + 0x18]
cmp dword [esp + 0x14], eax
je 0x24cc619
push dword [esp + 0x14]
call fcn.025d54e1
pop ecx
push ebp
call fcn.02585333
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.02585cf8
add esp, 0x110
ret 0xc
Function at 0x24ddde5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 8], edi
call fcn.0247d9cc
push eax
lea ecx, [ebp - 8]
call fcn.0247a7ff
push edi
lea eax, [ebp - 8]
push eax
push 0x26
call fcn.024dd915
add esp, 0xc
mov dword [ebp - 0xc], edi
call fcn.0247d9cc
push eax
lea ecx, [ebp - 0xc]
call fcn.0247a7ff
mov dword [ebp - 4], edi
call fcn.0247d9cc
push eax
lea ecx, [ebp - 4]
call fcn.0247a7ff
push dword [esi + 0x34]
lea ecx, [ebp - 0xc]
push dword [ebp - 8]
call fcn.024b7cd6
mov edi, dword [ebp - 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x24dde60
mov ebx, dword [ebp + 8]
mov ecx, ebx
push edi
call fcn.0247dfa4
mov esi, dword [ebp - 4]
jmp 0x24dde7c
push dword [esi + 0x34]
lea ecx, [ebp - 4]
push dword [esi + 0xc]
call fcn.024b7cd6
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
call fcn.0247dfa4
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [esi - 0x10]
setne bl
call fcn.0247de5b
lea ecx, [edi - 0x10]
call fcn.0247de5b
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0247de5b
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x2515d81
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x24
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push edi
push dword [esp + 0x3c]
mov dword [esp + 0x18], eax
lea edi, [esp + 0xc]
xor eax, eax
mov dword [esp + 0x1c], 0x20019
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push ecx
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.02528992
add esp, 0x14
test eax, eax
jne 0x2515ea0
push ebp
push esi
mov ebp, ebx
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x24], ebx
call fcn.0247d9cc
push eax
lea ecx, [esp + 0x28]
call fcn.0247a7ff
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
push ebx
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x2515e87
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push esi
call fcn.0247dc50
push esi
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.0247deda
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
push edi
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.0252999e
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.0253e383
push 0x4403aa8
lea ecx, [esp + 0x28]
call fcn.0247dfa4
inc ebp
mov dword [esp + 0x20], 0x400
jmp 0x2515dff
lea ecx, [esp + 0x10]
call fcn.024b7c93
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
call fcn.0247de5b
pop esi
pop ebp
jmp 0x2515ea2
mov ebx, eax
lea ecx, [esp + 8]
call fcn.024b7c93
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop edi
pop ebx
xor ecx, esp
call fcn.02585cf8
add esp, 0x24
ret
Function at 0x2515ebe
Capabilities:
Get hostname
Get user security identifier

Disassembly:
sub esp, 0x20
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov ecx, eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
call fcn.0247d745
push 0x10
pop edi
xor ebx, ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], ebx
call fcn.0247d9cc
push eax
lea ecx, [esp + 0x14]
call fcn.0247a7ff
push edi
lea ecx, [esp + 0x14]
call fcn.0247dc50
push edi
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0247deda
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [esp + 0x10]
test eax, eax
je 0x251602a
push dword [esp + 0x24]
call fcn.0247deda
push 0x20
pop eax
push eax
mov dword [esp + 0x24], eax
call fcn.0258532a
mov esi, dword [esp + 0x14]
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x2515f55
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x251603b
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ebx
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x2515f86
push ebp
call fcn.02585333
pop ecx
jmp 0x2515f4a
push dword [esp + 0x20]
push ebx
push ebp
call fcn.025acd10
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
add esp, 0xc
push esi
call fcn.0247dc50
push esi
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0247deda
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0x2c]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea ecx, [esp + 0x10]
push dword [esp + 0x18]
test eax, eax
jne 0x2515fde
call fcn.0247deda
jmp 0x2515f7d
call fcn.0247deda
push ebp
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x2515f7d
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push ebp
call sub.ADVAPI32.dll_ConvertSidToStringSidW
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.024b5000
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
mov dword [esp + 0x20], ebx
call fcn.02585333
pop ecx
test edi, edi
jne 0x251603d
jmp 0x2515f4a
push 0xffffffffffffffff
call fcn.0252999e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x10]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.0247de5b
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.02585cf8
add esp, 0x20
ret
Function at 0x25211fe
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ecx
push ecx
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
push 0xf0000040
push 0x18
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x2521230
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x252133a
push ebp
push edi
mov edi, 0x94
push edi
call fcn.0258532a
push edi
push ebx
push eax
mov dword [esi + 0x10], eax
call fcn.025acd10
mov eax, dword [esi + 0x10]
push 0x80
push 0x44055b0
push edi
mov dword [eax], 0x206
mov dword [eax + 4], 0xa400
mov eax, dword [esi + 0x10]
mov dword [eax + 8], 0x31415352
mov dword [eax + 0xc], 0x400
mov dword [eax + 0x10], 0x10001
mov eax, dword [esi + 0x10]
add eax, 0x14
push eax
call fcn.0253f177
add esp, 0x20
lea ebp, [esi + 4]
push ebp
push ebx
push ebx
push edi
push dword [esi + 0x10]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x252131b
lea edi, [esi + 8]
push edi
push 0x800001
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x252131b
lea ebx, [esi + 0xc]
push ebx
push 0
push 0
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateKey]
test eax, eax
je 0x252131b
lea eax, [esp + 0x10]
xor ebp, ebp
push eax
push ebp
push ebp
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x252131b
push dword [esp + 0x10]
call fcn.0258532a
push dword [esp + 0x14]
mov dword [esi + 0x14], eax
push ebp
push eax
call fcn.025acd10
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x14]
push ebp
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
jne 0x2521323
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x2521338
mov eax, dword [esi + 0x14]
add eax, 0xc
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov dword [esi + 0x1c], eax
xor eax, eax
pop edi
pop ebp
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.02585cf8
pop ecx
pop ecx
ret
Function at 0x252134a
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x6400104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0xf0000040
push 0x18
push ebx
mov esi, ecx
mov dword [ebp - 8], ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x25213c1
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x25213c1
push ebx
push dword [ebp + 0xc]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x25213c1
lea eax, [esi + 4]
push eax
push 1
push dword [ebp - 8]
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x25213c1
xor eax, eax
jmp 0x25213d5
cmp dword [ebp - 8], ebx
je 0x25213cf
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.02585cf8
mov esp, ebp
pop ebp
ret 8
Function at 0x2527b94
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x6400104]
xor eax, ebp
mov dword [ebp + 0x94], eax
push edi
mov edi, 0x114
lea eax, [ebp - 0x80]
push edi
push 0
push eax
call fcn.025acd10
add esp, 0xc
mov dword [ebp - 0x80], edi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2527bf8
cmp dword [ebp - 0x7c], 5
push esi
jne 0x2527be4
xor esi, esi
inc esi
cmp dword [ebp - 0x78], esi
jae 0x2527be6
xor esi, esi
push edi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.025acd10
add esp, 0xc
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
pop edi
call fcn.02585cf8
lea esp, [ebp + 0x98]
pop ebp
ret

Function at 0x25294d4
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push ebp
mov ecx, dword [esp + 0x2c]
push esi
push edi
mov ebp, dword [esp + 0x3c]
lea edi, [esp + 0x14]
mov dword [esp + 0x10], eax
xor eax, eax
stosd dword es:[edi], eax
push 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
stosd dword es:[edi], eax
mov dword [esp + 0x2c], 0x20019
stosd dword es:[edi], eax
mov eax, dword [ebx]
xor edi, edi
mov dword [ebx + 4], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
push eax
push edx
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.02528992
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x252959e
lea eax, [esp + 0x28]
push eax
push edi
push dword [esp + 0x18]
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x2529595
push dword [esp + 0x28]
mov ecx, ebx
call fcn.02493a7a
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
je 0x2529642
lea eax, [esp + 0x28]
push eax
push dword [ebx]
push dword [esp + 0x18]
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x252960e
lea ecx, [esp + 0x14]
call fcn.024b7c93
cmp byte [esp + 0x48], 0
jne 0x2529622
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push 0x20219
push dword [esp + 0x24]
push dword [eax]
call fcn.02528918
mov esi, eax
test esi, esi
jne 0x2529622
lea eax, [esp + 0x28]
push eax
push edi
push dword [esp + 0x18]
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x2529619
push dword [esp + 0x28]
mov ecx, ebx
call fcn.02493a7a
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
je 0x2529642
lea eax, [esp + 0x28]
push eax
push dword [ebx]
push dword [esp + 0x18]
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x2529619
lea ecx, [esp + 0x14]
call fcn.024b7c93
jmp 0x2529624
lea ecx, [esp + 0x14]
call fcn.024b7c93
mov edi, esi
lea ecx, [esp + 0x14]
call fcn.024b7c93
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.02585cf8
add esp, 0x20
ret
mov ecx, ebx
call fcn.0247ff7a
int3
Function at 0x2537c8e
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x9c
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xb4]
mov ebp, ecx
push 0xfde9
push dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x24]
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edi
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
call fcn.02521090
push dword [esp + 0x1c]
lea ecx, [esp + 0x14]
call fcn.024ae5ff
lea eax, [esp + 0x20]
cmp dword [esp + 0x1c], eax
je 0x2537d02
push dword [esp + 0x1c]
call fcn.025d54e1
pop ecx
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
push eax
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa4]
push eax
push ebx
push ebx
push 1
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x2537da6
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
add eax, dword [ebp + 0x1c]
push eax
mov dword [ecx], eax
call fcn.0258532a
mov ecx, dword [esp + 0x18]
mov dword [edi], eax
push dword [ecx]
push ebx
push eax
call fcn.025acd10
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
push dword [edi]
call fcn.0253f177
mov eax, dword [esi - 0xc]
mov ecx, dword [esp + 0x38]
mov edi, dword [ebp + 0x1c]
push eax
push esi
push dword [esp + 0xc8]
add edi, dword [ecx]
push edi
mov dword [esp + 0xd4], eax
call fcn.0253f177
add esp, 0x30
lea eax, [esp + 0xa4]
push dword [esp + 0xa0]
push eax
push edi
push ebx
push 1
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x2537dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.0247de5b
mov ecx, dword [esp + 0xb0]
add ecx, 0xfffffff0
call fcn.0247de5b
mov ecx, dword [esp + 0xa8]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.02585cf8
add esp, 0x9c
ret 0xc
Function at 0x2537de2
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 0x98
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
push esi
push edi
push 0xfde9
push dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
mov ebp, ecx
lea eax, [esp + 0x24]
xor edi, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
call fcn.02521090
push dword [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.024ae5ff
lea eax, [esp + 0x1c]
cmp dword [esp + 0x18], eax
je 0x2537e52
push dword [esp + 0x18]
call fcn.025d54e1
pop ecx
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
push eax
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
push eax
push edi
push edi
push 1
push edi
push dword [ebp + 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x2537edc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x9c]
push eax
mov dword [ecx], eax
call fcn.0258532a
mov ecx, dword [esp + 0x18]
mov dword [ebx], eax
push dword [ecx]
push edi
push eax
call fcn.025acd10
mov eax, dword [esi - 0xc]
push eax
push esi
push dword [esp + 0xb4]
mov dword [esp + 0xbc], eax
push dword [ebx]
call fcn.0253f177
add esp, 0x20
lea eax, [esp + 0xa0]
push dword [esp + 0x9c]
push eax
push dword [ebx]
push edi
push 1
push edi
push dword [ebp + 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x2537ee4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0247de5b
mov ecx, dword [esp + 0xac]
add ecx, 0xfffffff0
call fcn.0247de5b
mov ecx, dword [esp + 0xa4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.02585cf8
add esp, 0x98
ret 0xc
Function at 0x253b58d
Capabilities:
Set registry value

Disassembly:
sub esp, 0x18
mov eax, dword [0x6400104]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push esi
push edi
push dword [esp + 0x48]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x18]
xor eax, eax
mov dword [esp + 0x14], 0x20006
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
xor edi, edi
push eax
push ebp
push ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.02528992
mov esi, eax
add esp, 0x14
test esi, esi
je 0x253b607
cmp byte [esp + 0x4c], 0
je 0x253b603
push dword [esp + 0x48]
push ebp
push ebx
call fcn.024b8bf8
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x253b652
push dword [esp + 0x48]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call fcn.02528992
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x253b652
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x38]
je 0x253b679
push eax
push dword [esp + 0x3c]
push dword [esp + 0x4c]
push edi
push dword [esp + 0x30]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.024b7c93
lea ecx, [esp + 0x14]
call fcn.024b7c93
lea ecx, [esp + 0x38]
call fcn.0247fe0d
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.02585cf8
add esp, 0x18
ret
lea ecx, [esp + 0x38]
call fcn.0247ff7a
int3