joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cd60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0047b398
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x47d479
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x47cf4e
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100137df
Capabilities:
Generate random numbers via winapi

Disassembly:
call fcn.100b0a27
sub byte [eax], al
add byte [eax - 0x64846fe], al
sub esp, dword [ebx + 0x14]
xchg esp, eax
or esi, dword [ebp + 0xd508a03]
sbb eax, 0x6e64b0a0
dec ebx
jae 0x1001385c
dec edi
lds esi, [edx - 0x7b1f398d]
out dx, al
out dx, eax
ljmp 0xfdb3
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x10120740], 1
je 0x10013871
mov esi, 0x8000ffff
jmp 0x10013899
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [0x10120730]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x100138be
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.10078a45
mov esi, eax
test esi, esi
jge 0x100138be
mov eax, dword [0x1011faf4]
cmp eax, 0x1011faf4
je 0x100138be
test byte [eax + 0x3c], 2
je 0x100138be
push esi
push 0x100034d8
push 0xa
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.10078a45
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x408f61
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x247c], ebx
jne 0x408f94
cmp dword [edi + 0x58], ebx
je 0x408f94
xor ecx, ecx
jmp 0x408f97
xor ecx, ecx
inc ecx
cmp dword [ebp + 0xc], ebx
jne 0x408fda
mov eax, dword [edi + 0x2478]
cmp eax, ebx
je 0x408faa
cmp ecx, ebx
je 0x408fda
mov edx, dword [edi]
push eax
push ecx
push edi
call dword [edx + 0x10]
mov esi, eax
cmp esi, ebx
jne 0x408fce
push 1
call fcn.0040e455
pop ecx
test eax, eax
je 0x408fda
mov eax, 0x80070204
jmp 0x409108
call fcn.0044911c
mov eax, esi
jmp 0x409108
cmp dword [edi + 0x247c], ebx
je 0x40900d
push 0x104
lea eax, [esp + 0x15c]
push eax
push 0x80
push dword [edi + 0x20]
call dword [sym.imp.user32.dll_LoadStringA]
mov esi, dword [edi + 0x24]
lea eax, [esp + 0x158]
push eax
call fcn.0040b82d
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.0044911c
mov dword [esp + 0xc], eax
cmp eax, ebx
jl 0x4090f2
mov esi, str.Download_Status:_Download_Complete
call fcn.0044911c
mov eax, dword [edi]
lea ecx, [esp + 0x50]
push ecx
push edi
call dword [eax + 0x1c]
mov dword [esp + 0xc], eax
cmp eax, ebx
jl 0x409067
push dword [ebp + 0xc]
mov eax, dword [edi]
push 1
lea ecx, [esp + 0x58]
push ecx
push edi
call dword [eax + 0x18]
mov dword [esp + 0xc], eax
cmp eax, ebx
jge 0x409104
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x4090ff
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0xf
pop eax
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x10
call esi
push 0x74
push ecx
push ebx
mov edi, eax
call esi
push 0x72
mov ecx, eax
lea edx, [esp + 0x1c]
call fcn.0042c409
pop ecx
mov ecx, edi
mov edx, eax
call fcn.0042c495
call fcn.0042c52b
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00403353
push ebx
push 1
lea ecx, [esp + 0x18]
call fcn.00403353
push 0xfffffffffffffffb
call fcn.0044911c
pop ecx
call fcn.0044911c
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
jmp 0x4090ff
push 0xffffffffffffffc3
call fcn.0044911c
pop ecx
mov esi, str.Download_Status:_Download_Failed
call fcn.0044911c
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00449589
mov esp, ebp
pop ebp
ret 8
Function at 0x40af30
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
mov esi, dword [ebp + 0xb4]
push edi
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x498ee4]
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x38], eax
call fcn.0044911c
mov dword [esi + 0x3c], eax
xor eax, eax
mov byte [ebp - 0x7c], bl
lea edi, [ebp - 0x7b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp - 0x68], ebx
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.SunJavaUpdateRecheckUpdateEvent
lea eax, [ebp - 0x7c]
push ebx
mov dword [ebp - 0x64], eax
push ebx
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0xc
call dword [sym.imp.kernel32.dll_CreateEventA]
push dword [esi + 0x20]
mov edi, dword [sym.imp.kernel32.dll_ResetEvent]
mov dword [esi + 0x40], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x38]
call edi
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0x40b51a
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
cmp eax, ebx
je 0x40b018
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.user32.dll_LoadStringA]
mov ebx, 0x104
push ebx
lea eax, [esi + 0x58]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x5c]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0040b1fe
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00449589
add ebp, 0xac
leave
ret 4
Function at 0x40ddd4
Capabilities:
Create thread
Delete registry value

Disassembly:
push 0x38
mov eax, 0x469a55
call fcn.00451654
call fcn.0044911c
test eax, eax
je 0x40df16
xor edi, edi
push edi
lea esi, [ebp - 0x24]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x2c], 0
call fcn.0044911c
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0044911c
pop ecx
pop ecx
test eax, eax
jne 0x40de28
lea esi, [ebp - 0x20]
call fcn.0040aac1
xor eax, eax
inc eax
jmp 0x40df16
mov ebx, dword [ebp - 0x10]
push str.UpdateDetected
lea eax, [ebp - 0x40]
push eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x3c], ebx
call fcn.00432cac
neg eax
sbb eax, eax
inc eax
jne 0x40de65
push str.UpdAvailElapsed
lea eax, [ebp - 0x40]
push eax
call fcn.00432cac
neg eax
sbb eax, eax
inc eax
jne 0x40de65
lea esi, [ebp - 0x40]
call fcn.00432c60
jmp 0x40de18
push str.SendUDPing
lea eax, [ebp - 0x40]
push eax
lea edi, [ebp - 0x24]
call fcn.00432cac
neg eax
sbb esi, esi
push str.SendUAPing
lea eax, [ebp - 0x40]
push eax
inc esi
call fcn.00432cac
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [ebp - 0x3c], ebx
cmp esi, edi
jne 0x40dec3
cmp eax, edi
jne 0x40dec3
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.UpdateDetected
push ebx
call esi
push str.UpdAvailNotifyCnt
push ebx
call esi
push str.UpdAvailNotifyTime
push ebx
call esi
push str.UpdAvailElapsed
push ebx
call esi
jmp 0x40de5b
lea esi, [ebp - 0x40]
call fcn.00432c60
cmp dword [0x499f70], edi
jne 0x40de18
xor ebx, ebx
inc ebx
cmp dword [ebp + 8], edi
jne 0x40df00
push 0x499f70
push edi
push edi
push fcn.0040da89
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateThread]
cmp eax, edi
je 0x40df0c
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x40df0c
push edi
mov dword [0x499f70], ebx
call fcn.0040da89
lea esi, [ebp - 0x20]
call fcn.0040aac1
mov eax, ebx
call fcn.0045172c
ret
Function at 0x410602
Capabilities:
Delete registry key

Disassembly:
push 0x38
mov eax, 0x469a55
call fcn.00451654
mov eax, dword [ebp + 8]
xor ebx, ebx
xor edi, edi
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x2c], bl
cmp eax, ebx
jne 0x41066e
cmp dword [ebp + 0x10], ebx
jne 0x41064b
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
lea eax, [ebp - 0x40]
call fcn.00432c29
mov eax, dword [ebp - 0x38]
mov dword [ebp + 8], eax
jmp 0x410660
push str.SetJavaUpdateStringKey_was_called_with_a_NULL_value_for_the_key__so_defaulting_to_trying_jucheck_key
call fcn.004295a9
pop ecx
lea eax, [ebp + 8]
push eax
call fcn.0044911c
pop ecx
cmp dword [ebp + 8], ebx
je 0x410671
mov dword [ebp - 0x10], 1
jmp 0x410671
mov dword [ebp + 8], eax
xor esi, esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.004128e4
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], ebx
je 0x4106a2
push dword [ebp + 0x10]
lea ebx, [ebp - 0x24]
call fcn.0044911c
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4106ef
cmp dword [ebp + 0x10], ebx
jne 0x4106ba
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4106e8
push dword [ebp + 0x10]
mov dword [ebp - 0x24], 1
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x20]
call fcn.0044911c
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call fcn.00432d36
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp - 0x10], ebx
je 0x4106fc
lea esi, [ebp - 0x40]
call fcn.00432c60
lea esi, [ebp - 0x20]
call fcn.0040aac1
mov eax, edi
call fcn.0045172c
ret
Function at 0x4108ea
Capabilities:
Delete file
Delete registry value
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x40c]
xor ebx, ebx
push eax
mov esi, SysStringLen
push ebx
lea edx, [ebp - 0x408]
mov ecx, str.LocalFileName
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x410], ebx
mov byte [ebp - 0x414], bl
mov dword [ebp - 0x40c], 0x400
call fcn.004102c8
pop ecx
pop ecx
test eax, eax
je 0x410956
cmp dword [ebp - 0x40c], ebx
je 0x410956
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea edi, [ebp - 0x408]
call fcn.0044911c
test eax, eax
je 0x410979
mov eax, edi
push eax
mov ecx, edi
call fcn.004117f9
pop ecx
mov eax, edi
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
call fcn.0044911c
push ebx
push str.PreDownldStatus
push ebx
call fcn.00410602
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push 0x80
lea eax, [ebp - 0x408]
push eax
push ebx
push esi
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x424], esi
call edi
test eax, eax
jne 0x410a42
mov esi, 0x20019
inc dword [ebp - 0x40c]
push esi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x428]
call fcn.00432c29
cmp eax, ebx
jne 0x410a20
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x444], eax
push esi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x430], bl
call fcn.00432c29
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x440], ecx
cmp eax, ebx
jne 0x410a20
push str.VersionXmlURL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x80
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x40c]
push dword [ebp - 0x424]
call edi
test eax, eax
je 0x4109bc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449589
leave
ret
Function at 0x4117f9
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x5cc]
sub esp, 0x64c
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp + 0x5c8], eax
mov eax, dword [ebp + 0x5d4]
push ebx
push esi
push edi
push 0x3c
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x3c4], bl
call fcn.0044b630
lea eax, [ebp - 0x3c]
add esp, 0xc
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x50], 0x400
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.wininet.dll_InternetCrackUrlA]
mov edi, 0x104
cmp eax, ebx
je 0x4118a1
push pe_nt_image_headers32
lea eax, [ebp + 0x3c4]
push eax
push edi
lea eax, [ebp + 0x4c4]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.0044911c
lea eax, [ebp + 0x4c4]
push 0x47a3ec
push eax
call fcn.0044b9c0
add esp, 0x2c
test eax, eax
je 0x4118ea
mov eax, esi
mov dword [ebp - 0x40], ebx
cmp byte [esi], bl
je 0x4118d2
mov cl, byte [eax]
cmp cl, 0x20
je 0x4118b6
cmp cl, 9
jne 0x4118bf
push eax
call dword [sym.imp.user32.dll_CharNextA]
jmp 0x4118aa
mov ecx, dword [ebp - 0x40]
movsx edx, byte [eax]
imul ecx, ecx, 0x1f
add ecx, edx
inc eax
mov dword [ebp - 0x40], ecx
cmp byte [eax], bl
jne 0x4118aa
push dword [ebp - 0x40]
lea eax, [ebp + 0x4c4]
push str.jupdate__x
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
push dword [ebp - 0x44]
push edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
mov esi, dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [ebp + 0x4c4]
push eax
push dword [ebp - 0x44]
call esi
lea eax, [ebp + 0x3c4]
push eax
push dword [ebp - 0x44]
call esi
mov ecx, dword [ebp + 0x5c8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449589
add ebp, 0x5cc
leave
ret
Function at 0x4150a2
Capabilities:
Delete file

Disassembly:
push 0x48
mov eax, 0x46916e
call fcn.004516bd
cmp dword [0x49a024], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov ebx, str.CheckFileIntegrity
mov edi, str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_wrappers_common_UpdateUtils.cpp
mov esi, 0x49a024
jg 0x41511c
test eax, eax
jne 0x4150d8
mov eax, 0x4791b8
test ecx, ecx
jne 0x4150e1
mov ecx, 0x4791b8
push eax
push ecx
push str.Verify_integrity_of___s__file_from___s_...
lea ecx, [ebp - 0x48]
call fcn.0044911c
add esp, 0xc
and dword [ebp - 4], 0
push ebx
push 0x94
push edi
push 1
mov edx, eax
mov ecx, esi
call fcn.0042432e
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00403353
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x415129
mov dword [ebp - 0x54], 1
jmp 0x415133
push eax
call fcn.004295d7
pop ecx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
push 0xffffffffffffffff
call fcn.0044911c
cmp dword [ebp - 0x54], 0
pop ecx
mov dword [ebp - 0x4c], eax
je 0x41514b
test eax, eax
je 0x4151b0
mov ecx, dword [ebp - 0x50]
push 0
call fcn.0044911c
pop ecx
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4151b0
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_DeleteFileA]
cmp dword [0x49a024], 3
jg 0x4151b0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x41517b
mov eax, 0x4791b8
push eax
push str.Integrity_verification_failed_for___s_
lea ecx, [ebp - 0x2c]
call fcn.0044911c
pop ecx
pop ecx
push ebx
push 0xab
push edi
push 3
mov edx, eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0042432e
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403353
mov eax, dword [ebp - 0x4c]
call fcn.00451740
ret

Function at 0x419557
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x467c4a
call fcn.004516bd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
dec ecx
push 4
neg ecx
sbb ecx, ecx
mov esi, edx
pop edx
and ecx, 0xfffffffc
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
add ecx, edx
lea eax, [ebp - 0x54]
push eax
or ecx, 1
push ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x4195e4
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.0044911c
push eax
lea eax, [ebp - 0x4c]
push str.encryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.0044911c
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0044911c
push 0x48627c
mov eax, esi
push eax
call fcn.0044911c
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.004128e4
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.0044911c
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, edi
call fcn.00451740
ret
Function at 0x41961b
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x60
mov eax, 0x467c4a
call fcn.004516bd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x54], ebx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
mov esi, edx
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x419699
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x30]
call fcn.0044911c
push eax
lea eax, [ebp - 0x4c]
push str.decryption_failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.0044911c
add esp, 0x14
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0044911c
push 0x48627c
mov eax, esi
push eax
call fcn.0044911c
mov edi, dword [ebp - 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov esi, dword [ebp - 0x54]
mov eax, edi
call fcn.004128e4
push dword [ebp - 0x54]
mov eax, dword [edi]
push dword [ebp - 0x50]
push eax
call fcn.0044911c
add esp, 0xc
push dword [ebp - 0x50]
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, edi
call fcn.00451740
ret

Function at 0x419742
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0x6c
mov eax, 0x467c15
call fcn.004516bd
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 0xc], ecx
jne 0x419771
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ecx
mov byte [edi], cl
jmp 0x41986a
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea edx, [ebp - 0x68]
push edx
push ecx
mov ebx, 0x40000001
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
push eax
call esi
test eax, eax
jne 0x4197cf
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x64]
call fcn.0044911c
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
push str.binary2string__phase1__failed__sysError
push eax
call fcn.0044911c
add esp, 0x14
mov byte [ebp - 4], 1
lea esi, [ebp - 0x78]
call fcn.0044911c
push 0x48627c
mov eax, esi
push eax
call fcn.0044911c
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00419aed
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4197fc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x6c]
call esi
test eax, eax
jne 0x41983e
call dword [sym.imp.kernel32.dll_GetLastError]
push 0
push eax
lea esi, [ebp - 0x48]
call fcn.0044911c
push eax
lea eax, [ebp - 0x64]
push str.binary2string__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.0044911c
add esp, 0x14
mov byte [ebp - 4], 4
jmp 0x4197ba
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.00419aed
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea esi, [ebp - 0x2c]
mov byte [edi], 0
call fcn.0040319c
push 0
push 1
mov ecx, esi
call fcn.00403353
mov eax, edi
call fcn.00451740
ret