joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437120
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.00455d30
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x1318], eax
lea eax, [ebp - 0x1304]
push 0
push eax
call fcn.004b0810
push 0x800
lea eax, [ebp - 0xb04]
push 0
push eax
call fcn.004b0810
add esp, 0x18
lea eax, [ebp - 0x1304]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xfe
lea eax, [ebp - 0x102]
push 0
push eax
call fcn.004b0810
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x1314]
push eax
movups xmmword [ebp - 0x1314], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.004b0810
movzx eax, byte [ebp - 0x1305]
push eax
movzx eax, byte [ebp - 0x1306]
push eax
movzx eax, byte [ebp - 0x1307]
push eax
movzx eax, byte [ebp - 0x1308]
push eax
movzx eax, byte [ebp - 0x1309]
push eax
movzx eax, byte [ebp - 0x130a]
push eax
movzx eax, byte [ebp - 0x130b]
push eax
movzx eax, byte [ebp - 0x130c]
push eax
movzx eax, word [ebp - 0x130e]
push eax
movzx eax, word [ebp - 0x1310]
push eax
push dword [ebp - 0x1314]
lea eax, [ebp - 0x304]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.00423da0
lea eax, [ebp - 0x304]
add esp, 0x40
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437250
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004e51db
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1304]
push eax
lea eax, [ebp - 0xb04]
push eax
call edi
push str..tmp
lea eax, [ebp - 0xb04]
push 0x400
push eax
call fcn.004e712f
add esp, 0xc
lea eax, [ebp - 0xb04]
push eax
call ebx
test eax, eax
je 0x4372d5
inc esi
cmp esi, 0xa
jl 0x4371a2
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xb04]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4372e0
mov ecx, dword [ebp - 0x1318]
lea eax, [ebp - 0xb04]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.0040b260
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455d1a
mov esp, ebp
pop ebp
ret
Function at 0x437360
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00455d30
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4373bb
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi + 4]
test esi, esi
je 0x43748c
mov ecx, dword [edi + 8]
test ecx, ecx
jle 0x43748c
mov eax, ecx
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
mov dword [ebp - 0x1010], eax
and ecx, 0x80000fff
jns 0x4373f5
dec ecx
or ecx, 0xfffff000
inc ecx
xor edi, edi
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0x1008], 0
test eax, eax
jle 0x43745a
nop dword [eax + eax]
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004b0290
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43748c
inc edi
add esi, 0x1000
cmp edi, dword [ebp - 0x1010]
jl 0x437410
mov ecx, dword [ebp - 0x100c]
test ecx, ecx
jle 0x43748c
push ecx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004b0290
add esp, 0xc
lea eax, [ebp - 0x1008]
push 0
push eax
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455d1a
mov esp, ebp
pop ebp
ret 4
Function at 0x439f40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x59ad2c]
mov esi, dword [ebp + 8]
test al, 1
jne 0x439fac
or eax, 1
mov dword [0x59ad2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x54be30
mov dword [0x59ad20], 0x550908
mov dword [0x59ad24], eax
mov byte [0x59ad28], 0
call fcn.00455d05
mov eax, dword [0x59ad2c]
add esp, 4
test al, 2
jne 0x43a008
or eax, 2
mov dword [0x59ad30], 0x550920
mov dword [0x59ad2c], eax
xor eax, eax
push 0x54be60
mov dword [0x59ad34], 0x59ad20
mov dword [0x59ad44], 2
mov dword [0x59ad3c], 0
mov dword [0x59ad40], 0
mov dword [0x59ad48], eax
mov dword [0x59ad38], 0x59ad30
call fcn.00455d05
add esp, 4
mov eax, dword [0x59ad30]
mov ecx, 0x59ad30
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push 0x557fe0
push eax
call fcn.0040bd20
mov esi, dword [ebp - 0x24]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x43a065
xor edi, edi
jmp 0x43a118
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push 0x10
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push 0
push 0
push 0x8000c010
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
test edi, edi
jne 0x43a09c
push str.AUTH_fail__n
jmp 0x43a108
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push eax
push 0x24
push str.6804FACB_33CC_48a8_99B1_4E2A487F9638
push 0x10
lea eax, [ebp - 0x20]
push eax
call fcn.0043a2c0
mov edi, eax
test edi, edi
jne 0x43a0d1
push str.Base64_fail__n
jmp 0x43a108
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push 0
push eax
push 0
push 0
push dword [ebp - 0x2c]
push edi
push 0x8000c014
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
mov dword [ebp - 0x28], eax
call fcn.004e20ad
mov edi, dword [ebp - 0x28]
add esp, 4
test edi, edi
jne 0x43a10f
push str.Enable_fail__n
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43a137
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00455d1a
mov esp, ebp
pop ebp
ret 4
Function at 0x43b4e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x43b4f7
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
test eax, eax
jne 0x43b524
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43b51e
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x43b63d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x43b55b
cmp byte [edi + 0x18], al
je 0x43b54f
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.0041bf80
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x43b594
call fcn.0041bf80
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.0043b670
test eax, eax
jns 0x43b63a
test edi, edi
pop ebx
cmovns edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov ecx, esi
call fcn.0043b110
mov dword [ebp - 4], eax
test eax, eax
jns 0x43b5c4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.0043b670
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x43b56b
push 0
push 0
push ebx
mov ecx, esi
call fcn.0043b110
mov edi, eax
test edi, edi
jns 0x43b602
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.0043b670
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x43b980
push 0
push 0
call fcn.004e3120
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x43b56b
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43b63a
call fcn.0041bf80
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bbe0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f338
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x596334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43bc1d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.0043bcd0
test eax, eax
jne 0x43bc3e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
xor esi, esi
call fcn.0043bff0
test al, al
je 0x43bc81
lea ecx, [ebp + 8]
call fcn.0043dbe0
push 1
push str.StoreTray
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0043e720
lea ecx, [ebp + 8]
mov esi, eax
call fcn.0043def0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43bcb0
push str.StoreTray
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43d130
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x43d151
mov eax, 0x80004003
pop esi
pop ebp
ret
push ebx
push edi
push 0xf01ff
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x43d17b
push esi
mov ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
neg eax
push edi
sbb ebx, ebx
and ebx, 0x7fffbffb
add ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x43d780
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x43d7bf
pop edi
mov eax, 0x80004003
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret
push ebx
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x43d7da
mov edi, 0x80004005
jmp 0x43d811
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
push 1
push ebx
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
push ebx
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00455d1a
mov esp, ebp
pop ebp
ret
Function at 0x43f050
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004b0810
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x400
push 0x400
push eax
call fcn.00405260
push dword [eax + 4]
push dword [eax]
call fcn.004d4451
add esp, 0x20
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret

Function at 0x444a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 0
push 0x80
push 2
push 1
push 0x40000000
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.004437a0
mov edi, dword [ebp - 0xc]
test eax, eax
js 0x444af3
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x444ab3
mov esi, dword [esi]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x444ad1
call fcn.0041bf80
mov esi, eax
test esi, esi
js 0x444aec
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x444aea
call fcn.0041bf80
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x444af5
xor esi, esi
not esi
shr esi, 0x1f
jmp 0x444af5
xor esi, esi
test edi, edi
je 0x444b00
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00455d1a
mov esp, ebp
pop ebp
ret
Function at 0x447d60
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540266
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ecx + 8]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], 0
test esi, esi
je 0x447e4d
test edi, edi
je 0x447e79
mov edx, dword [ebp + 0x10]
test edx, 0xf
jne 0x447ea5
lea eax, [edx - 0x10]
cmp dword [ebp + 0xc], eax
jbe 0x447ed1
cmp byte [ecx + 0x10], 0
je 0x447efd
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edx
push eax
push edi
push 0
push 1
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov ecx, eax
test ecx, ecx
je 0x447f29
jmp 0x447e25
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret 0x10
push 0x80090003
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Key_is_not_valid
lea ecx, [ebp - 0xc0]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xc0]
push eax
call fcn.004b0217
push 0x6f8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Buffer_is_NULL
lea ecx, [ebp - 0xcc]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xcc]
push eax
call fcn.004b0217
push 0x80090005
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Data_size_is_not_a_multple_of_block_size
lea ecx, [ebp - 0xd8]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xd8]
push eax
call fcn.004b0217
push 0x80090028
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Buffer_is_too_small
lea ecx, [ebp - 0xe4]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xe4]
push eax
call fcn.004b0217
push 0x80090027
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_IV_has_not_been_set
lea ecx, [ebp - 0xf0]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xf0]
push eax
call fcn.004b0217
push 0x98
lea ecx, [ebp - 0xb0]
call fcn.0044a1f0
push 1
push 2
lea ecx, [ebp - 0xb0]
call fcn.00446670
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 1
push str.Decrypt_1_:_CryptDecrypt_failed__
push eax
call fcn.00446090
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
call esi
push eax
call fcn.00448970
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00446090
add esp, 0xc
lea eax, [ebp - 0xb0]
push str.__0x
push eax
call fcn.00446090
add esp, 8
mov ecx, eax
push 0x44aca0
call fcn.004476c0
mov edi, eax
call esi
push eax
mov ecx, edi
call fcn.00447400
push 0x55c1f4
push eax
call fcn.00446090
add esp, 8
mov dword [ebx], 0
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0xb0]
push eax
call fcn.0044b420
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00441e9c
push eax
lea ecx, [ebp - 0xfc]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xfc]
push eax
call fcn.004b0217
push 0
push 0
call fcn.004b0217
int3
Function at 0x448380
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5402e6
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ecx + 8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], 0
test edx, edx
je 0x448469
test esi, esi
je 0x448495
mov ebx, dword [ebp + 0x10]
mov eax, ebx
and eax, 0xfffffff0
add eax, 0x10
cmp dword [ebp + 0xc], eax
jb 0x4484c1
cmp byte [ecx + 0x10], 0
je 0x4484ed
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push esi
push 0
push 1
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov ecx, eax
test ecx, ecx
je 0x448519
jmp 0x448441
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret 0x10
push 0x80090003
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Key_is_not_valid
lea ecx, [ebp - 0xc0]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xc0]
push eax
call fcn.004b0217
push 0x6f8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Buffer_is_NULL
lea ecx, [ebp - 0xcc]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xcc]
push eax
call fcn.004b0217
push 0x80090028
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Buffer_is_too_small
lea ecx, [ebp - 0xd8]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xd8]
push eax
call fcn.004b0217
push 0x80090027
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_IV_has_not_been_set
lea ecx, [ebp - 0xe4]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xe4]
push eax
call fcn.004b0217
push 0x98
lea ecx, [ebp - 0xb0]
call fcn.0044a1f0
push 1
push 2
lea ecx, [ebp - 0xb0]
call fcn.00446670
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 1
push str.Encrypt_1_:_CryptEncrypt_failed__
push eax
call fcn.00446090
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
call esi
push eax
call fcn.00448970
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00446090
add esp, 0xc
lea eax, [ebp - 0xb0]
push str.__0x
push eax
call fcn.00446090
add esp, 8
mov ecx, eax
push 0x44aca0
call fcn.004476c0
mov ebx, eax
call esi
push eax
mov ecx, ebx
call fcn.00447400
push 0x55c1f4
push eax
call fcn.00446090
add esp, 8
mov dword [edi], 0
lea eax, [ebp - 0x108]
lea ecx, [ebp - 0xb0]
push eax
call fcn.0044b420
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00441e9c
push eax
lea ecx, [ebp - 0xf0]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xf0]
push eax
call fcn.004b0217
push 0
push 0
call fcn.004b0217
int3
Function at 0x448d80
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540388
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x596334]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x448dda
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0x18]
mov dword [ebx], 0
mov byte [edi + 0x10], 0
cmp dword [edi + 4], 0
mov dword [ebp - 4], 0
je 0x448f09
test ecx, ecx
je 0x448f24
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
je 0x448e09
cmp esi, 0x18
je 0x448e09
cmp esi, 0x20
jne 0x448f3f
push 0x2c
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004b0810
add esp, 0xc
mov dword [ebp - 0x44], 0x208
mov byte [ebp - 4], 1
cmp esi, 0x10
je 0x448e50
cmp esi, 0x18
je 0x448e42
cmp esi, 0x20
jne 0x448f5a
mov dword [ebp - 0x40], 0x6610
mov eax, esi
jmp 0x448e5c
mov dword [ebp - 0x40], 0x660f
mov eax, 0x18
jmp 0x448e5c
mov dword [ebp - 0x40], 0x660e
mov eax, 0x10
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0044b720
add esp, 0x10
test eax, eax
jne 0x448f75
push ebx
push 0
push 0
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x448f96
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 4
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x448fb7
jmp 0x448ed3
mov al, 1
lea ecx, [ebp - 0x44]
mov edx, 4
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x448ee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00455d1a
mov esp, ebp
pop ebp
ret 8
push str.SetKey:_Provider_is_not_valid
lea ecx, [ebp - 0x58]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0x58]
push eax
call fcn.004b0217
push str.SetKey:_Key_buffer_is_NULL
lea ecx, [ebp - 0x64]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0x64]
push eax
call fcn.004b0217
push str.SetKey:_Key_size_is_not_valid
lea ecx, [ebp - 0x70]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0x70]
push eax
call fcn.004b0217
push str.SetKey:_Key_size_is_not_valid
lea ecx, [ebp - 0x7c]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0x7c]
push eax
call fcn.004b0217
push str.SetKey:_Unable_to_copy_key
lea ecx, [ebp - 0x88]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0x88]
push eax
call fcn.004b0217
push str.SetKey:_Import_key_failed
lea ecx, [ebp - 0x94]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0x94]
push eax
call fcn.004b0217
push str.SetKey:_Set_CBC_mode_failed
lea ecx, [ebp - 0xa0]
call fcn.004469d0
push 0x581f20
lea eax, [ebp - 0xa0]
push eax
call fcn.004b0217
push 0
push 0
call fcn.004b0217
int3