joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429189
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
push 0x118
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
mov dword [ebp - 0xa8], 0x11c
call fcn.00596530
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
call esi
test eax, eax
jne 0x4291ef
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
test eax, eax
je 0x4292aa
mov eax, dword [ebp - 0x98]
sub eax, edi
je 0x4292aa
dec eax
je 0x4292aa
dec eax
jne 0x4292aa
mov eax, dword [ebp - 0xa4]
cmp eax, 0xa
jne 0x429229
cmp dword [ebp - 0xa0], edi
jne 0x4292aa
mov al, 5
jmp 0x4292ac
cmp eax, 6
jne 0x429251
mov eax, dword [ebp - 0xa0]
cmp eax, 2
je 0x42923e
cmp eax, 3
jne 0x429242
mov al, 3
jmp 0x4292ac
cmp eax, 1
jne 0x42924b
mov al, 2
jmp 0x4292ac
cmp eax, edi
jne 0x4292aa
jmp 0x429247
cmp eax, 5
jne 0x4292aa
cmp dword [ebp - 0xa0], 2
jne 0x42929f
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0xcc], 0x24
lea edi, [ebp - 0xc8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x4292aa
cmp byte [ebp + 0x72], 1
jne 0x4292aa
cmp word [ebp - 0xcc], 9
jmp 0x4292a6
cmp dword [ebp - 0xa0], 1
mov al, 1
je 0x4292ac
mov al, 4
mov ecx, dword [ebp + 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.0058f3cf
add ebp, 0x78
leave
ret

Function at 0x429311
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x294], eax
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp - 0x290], ax
lea eax, [ebp - 0x28e]
push eax
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x298]
push eax
push 0x5d0be4
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push 0x80000000
mov dword [ebp - 0x298], 1
mov dword [ebp - 0x29c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42941b
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42941b
push ebx
push edi
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.00596530
add esp, 0xc
push 0x3f
pop ebx
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x290]
call fcn.00475e02
pop edi
pop ebx
test eax, eax
je 0x42941b
mov eax, esi
push 0x2e
push eax
call fcn.0059289e
pop ecx
pop ecx
test eax, eax
je 0x42941b
add eax, 2
push 0x2e
push eax
call fcn.0059289e
pop ecx
pop ecx
test eax, eax
je 0x42941b
xor ecx, ecx
mov word [eax], cx
mov eax, esi
push eax
push 0x5db9e0
push dword [ebp + 0xc]
push dword [ebp - 0x294]
call fcn.0058f42f
xor eax, eax
add esp, 0x10
inc eax
jmp 0x42941d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0058f3cf
leave
ret
Function at 0x429472
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x194], eax
or dword [ebp - 0x7c], 0xffffffff
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00596530
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.lastdefbrowser
mov ebx, str.Softwarehao123JuziBrowser
push ebx
push 0x80000001
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x80], esi
call edi
test eax, eax
je 0x429531
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429531
push 0x208
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.lastdefbrowser
push ebx
push 0x80000002
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x80], esi
call edi
test eax, eax
je 0x429531
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp word [ebp - 0x74], 0
je 0x429580
call fcn.004a7f16
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429580
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x74]
call fcn.004a97e6
cmp eax, esi
je 0x42957d
cmp eax, 5
je 0x429574
cmp eax, 7
je 0x429574
cmp eax, 9
jle 0x429580
cmp eax, 0xc
jle 0x429574
cmp eax, 0xf
jne 0x429580
mov dword [ebp - 0x7c], 2
jmp 0x429580
mov dword [ebp - 0x7c], esi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058f3cf
add ebp, 0x198
leave
ret
Function at 0x42b23b
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x208
mov word [ebp - 0x290], ax
xor esi, esi
lea eax, [ebp - 0x28e]
push esi
push eax
call fcn.00596530
add esp, 0xc
push 0x104
lea eax, [ebp - 0x290]
push eax
push esi
call fcn.0045c3b3
mov edi, eax
mov eax, dword [0x6b44cc]
xor edx, edx
call fcn.0045c4d3
xor eax, eax
push 0x7e
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push esi
push eax
call fcn.00596530
push 0x38
lea eax, [ebp - 0x2c8]
push esi
push eax
mov dword [ebp - 0x2cc], 0x3c
call fcn.00596530
lea eax, [ebp - 0x84]
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x290]
add esp, 0x18
mov dword [ebp - 0x2b8], 0x3f
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x42b2e3
lea ecx, [ebp - 0x2cc]
push ecx
sub eax, edx
sar eax, 1
push esi
push eax
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push str.baidu.com
lea eax, [ebp - 0x84]
call fcn.004268ca
pop ecx
pop edi
pop esi
test eax, eax
je 0x42b322
mov al, 1
jmp 0x42b399
push str.google.com.hk
lea eax, [ebp - 0x84]
call fcn.004268ca
pop ecx
test eax, eax
je 0x42b33b
mov al, 2
jmp 0x42b399
push str.so.com
lea eax, [ebp - 0x84]
call fcn.004268ca
pop ecx
test eax, eax
jne 0x42b397
push str.so.360.cn
lea eax, [ebp - 0x84]
call fcn.004268ca
pop ecx
test eax, eax
jne 0x42b397
push str.sogou.com
lea eax, [ebp - 0x84]
call fcn.004268ca
pop ecx
test eax, eax
je 0x42b37e
mov al, 4
jmp 0x42b399
push str.soso.com
lea eax, [ebp - 0x84]
call fcn.004268ca
neg eax
sbb al, al
pop ecx
add al, 6
jmp 0x42b399
mov al, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058f3cf
leave
ret

Function at 0x42b3fd
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, dword [0x63f564]
push edi
mov dword [ebp - 0xc], 0x423742
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esi]
push 0x40
push 4
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
add eax, 0xc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x42b47e
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
je 0x42b47e
mov dword [0x6393d0], eax
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
add eax, 0xc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x42b47e
xor eax, eax
inc eax
jmp 0x42b480
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x42b52b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b54f
xor eax, eax
jmp 0x42b646
mov eax, 0xcd44
mov word [ebp - 0x10], ax
mov eax, 0x11d0
mov word [ebp - 0xe], ax
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
pop edi
xor ebx, ebx
push 0x30
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x14], 0xaac56b
mov byte [ebp - 0xc], 0x8c
mov byte [ebp - 0xb], 0xc2
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], 0xc0
mov byte [ebp - 8], 0x4f
mov byte [ebp - 7], 0xc2
mov byte [ebp - 6], 0x95
mov byte [ebp - 5], 0xee
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
call fcn.00596530
lea eax, [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x60], 0x30
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x38], edi
call sub.WINTRUST.dll_WinVerifyTrust
test eax, eax
jl 0x42b5e9
xor eax, eax
inc eax
jmp 0x42b646
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call sub.WINTRUST.dll_CryptCATAdminAcquireContext
test eax, eax
je 0x42b548
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
xor edi, edi
call fcn.0042b484
add esp, 0xc
test eax, eax
je 0x42b63b
push ebx
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call sub.WINTRUST.dll_CryptCATAdminEnumCatalogFromHash
cmp eax, ebx
je 0x42b632
push ebx
push eax
push dword [ebp - 0x18]
inc edi
call sub.WINTRUST.dll_CryptCATAdminReleaseCatalogContext
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push dword [ebp - 0x18]
call sub.WINTRUST.dll_CryptCATAdminReleaseContext
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0058f3cf
leave
ret
Function at 0x42b9c1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x42bac2
push str.NtQueryInformationProcess
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 3
cmp eax, ebx
je 0x42bac2
mov dword [ebp - 0x30], ebx
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], ebx
cmp eax, ebx
je 0x42ba6c
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x42ba6c
lea eax, [ebp - 0x14]
push eax
push 0x18
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
call dword [ebp - 0x18]
push edi
mov dword [ebp - 0x10], eax
call esi
cmp dword [ebp - 0x10], ebx
jne 0x42bac2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x42ba71
mov ecx, dword [ebp - 8]
inc dword [ebp - 0xc]
add dword [ebp - 8], 0xc
cmp dword [ebp - 0xc], 2
mov dword [ecx], eax
jl 0x42ba22
cmp dword [ebp - 0x10], ebx
jne 0x42bac2
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
cmp edi, ebx
je 0x42babd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x42b654
push ebx
push ebx
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], edi
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call esi
push 0x493e0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
xor eax, eax
inc eax
jmp 0x42bac4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c16f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], ebx
cmp edi, ebx
je 0x42c3ad
cmp word [edi], bx
je 0x42c3ad
cmp eax, ebx
je 0x42c3ad
xor eax, eax
push 0x206
mov word [ebp - 0x294], ax
lea eax, [ebp - 0x292]
push ebx
push eax
call fcn.00596530
push edi
push str.MIMEDatabaseContent_Type
push 0x5dfc14
lea eax, [ebp - 0x294]
push 0x103
push eax
call fcn.0058f42f
push 0x7e
pop esi
xor eax, eax
push esi
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x8a]
push ebx
push eax
call fcn.00596530
add esp, 0x2c
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.Extension
lea eax, [ebp - 0x294]
push eax
inc ebx
push 0x80000000
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x2a4], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42c254
cmp word [ebp - 0x8c], ax
je 0x42c254
lea eax, [ebp - 0x8c]
push eax
jmp 0x42c38a
mov eax, str..xls
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f4], eax
mov eax, str.application_vnd.ms_powerpoint
mov dword [ebp - 0x314], str..doc
mov dword [ebp - 0x310], str.application_msword
mov dword [ebp - 0x30c], str..docx
mov dword [ebp - 0x308], str.application_vnd.openxmlformats_officedocument.wordprocessingml.document
mov dword [ebp - 0x304], str..rtf
mov dword [ebp - 0x300], str.application_rtf
mov dword [ebp - 0x2f8], str.application_vnd.ms_excel
mov dword [ebp - 0x2f0], str.application_x_excel
mov dword [ebp - 0x2ec], str..xlsx
mov dword [ebp - 0x2e8], str.application_vnd.openxmlformats_officedocument.spreadsheetml.sheet
mov dword [ebp - 0x2e4], str..ppt
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], str..pptx
mov dword [ebp - 0x2d8], str.application_vnd.openxmlformats_officedocument.presentationml.presentation
mov dword [ebp - 0x2d4], str..pps
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], str..ppsx
mov dword [ebp - 0x2c8], str.application_vnd.openxmlformats_officedocument.presentationml.slideshow
mov dword [ebp - 0x2c4], str..pdf
mov dword [ebp - 0x2c0], str.application_pdf
mov dword [ebp - 0x2bc], str..swf
mov dword [ebp - 0x2b8], str.application_x_shockwave_flash
mov dword [ebp - 0x2b4], 0x5e4364
mov dword [ebp - 0x2b0], str.application_vnd.rn_realmedia
mov dword [ebp - 0x2ac], str..flv
mov dword [ebp - 0x2a8], str.video_x_flv
xor esi, esi
push edi
push dword [ebp + esi*8 - 0x310]
call fcn.0058f69a
pop ecx
pop ecx
test eax, eax
je 0x42c383
inc esi
cmp esi, 0xe
jb 0x42c368
jmp 0x42c3a5
push dword [ebp + esi*8 - 0x314]
push 0x5db9e0
push 0x3e
push dword [ebp - 0x29c]
call fcn.0058f42f
mov dword [ebp - 0x298], ebx
add esp, 0x10
mov eax, dword [ebp - 0x298]
jmp 0x42c3af
xor eax, eax
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.0058f3cf
leave
ret
Function at 0x42c766
Capabilities:
Check if file exists

Disassembly:
push esi
push dword [esp + 8]
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c779
pop esi
ret
push edi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42c7aa
push str.DllRegisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c7a3
call eax
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
ret

Function at 0x42c7af
Capabilities:
Check if file exists

Disassembly:
push esi
push dword [esp + 8]
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42c7c2
pop esi
ret
push edi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42c7f3
push str.DllUnregisterServer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c7ec
call eax
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
ret

Function at 0x42d0e1
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push edi
xor edi, edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edi
cmp eax, edi
je 0x42d1db
push ebx
push esi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push edi
push eax
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathshao123JuziBrowser.exe
push ebx
push 0x80000001
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x78], esi
call edi
test eax, eax
jne 0x42d16a
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d1a6
cmp dword [0x63a5a8], 0
jne 0x42d1a6
push 0x208
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push ebx
push 0x80000002
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x78], esi
call edi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
pop ebx
test eax, eax
je 0x42d1d6
lea eax, [ebp - 0x70]
push eax
push 0x5db9e0
push 0x102
push dword [ebp - 0x80]
mov dword [ebp - 0x7c], 1
call fcn.0058f42f
add esp, 0x10
mov eax, dword [ebp - 0x7c]
jmp 0x42d1dd
xor eax, eax
mov ecx, dword [ebp + 0x198]
xor ecx, ebp
pop edi
call fcn.0058f3cf
add ebp, 0x19c
leave
ret
Function at 0x42d247
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x80000002
push edi
xor edi, edi
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], str.SOFTWAREHintsoft
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], str.SOFTWARESicent
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], str.SOFTWAREGoyoo
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], str.SOFTWARE_
xor esi, esi
lea eax, [ebp - 0x214]
push eax
push 1
push edi
push dword [ebp + esi*8 - 0x230]
mov dword [ebp - 0x214], edi
push dword [ebp + esi*8 - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42d339
inc esi
cmp esi, 4
jb 0x42d2a5
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.00596530
add esp, 0xc
push 0x103
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x5e4918
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d329
xor edi, edi
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0058f3cf
leave
ret
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42d326

Function at 0x42d347
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x5bc0b6
call fcn.00598f94
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x224], eax
cmp eax, edi
je 0x42d45e
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
xor esi, esi
call fcn.00596530
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
call fcn.0042d0e1
pop ecx
test eax, eax
jne 0x42d3ad
push 0x103
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 0x218]
call fcn.00593b39
pop ecx
test eax, eax
jne 0x42d3f4
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00596530
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push dword [ebp - 0x218]
call fcn.00593b39
pop ecx
test eax, eax
je 0x42d3fb
movzx esi, word [ebp - 0x218]
mov eax, dword [0x63696c]
mov ecx, 0x63696c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push esi
lea eax, [ebp - 0x219]
push eax
lea ebx, [ebp - 0x220]
mov dword [ebp - 4], edi
call fcn.00423fe0
mov esi, dword [ebp - 0x220]
test eax, eax
je 0x42d452
cmp dword [esi - 0xc], edi
je 0x42d452
push esi
push 0x5db9e0
push 0x102
push dword [ebp - 0x224]
call fcn.0058f42f
xor edi, edi
add esp, 0x10
inc edi
lea eax, [esi - 0x10]
call fcn.00407b6b
mov eax, edi
jmp 0x42d460
xor eax, eax
call fcn.00599017
ret
Function at 0x42d881
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
xor eax, eax
push esi
push edi
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], eax
je 0x42d9ad
cmp dword [ebp + 0xc], eax
je 0x42d9ad
cmp dword [ebp + 0x10], eax
je 0x42d9ad
cmp dword [ebx], eax
je 0x42d9ad
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 8
push 1
mov edi, str.Microsoft_Base_Cryptographic_Provider_v1.0
push edi
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call esi
cmp dword [ebp - 8], 0
jne 0x42d8eb
push 0xf0000048
push 1
push edi
push 0
lea eax, [ebp - 8]
push eax
call esi
cmp dword [ebp - 8], 0
je 0x42d9a8
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x10001
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42d99d
mov esi, dword [eax + 0xc]
push 6
pop ecx
add esi, 0x38
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp + 8]
push eax
xor esi, esi
push esi
push esi
push 0xa400
lea eax, [ebp - 0x28]
push eax
push 1
push dword [ebp - 8]
mov dword [ebp + 8], esi
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfoEx]
test eax, eax
je 0x42d994
push 0x100
push ebx
push dword [ebp + 0x10]
push esi
push 1
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x42d98b
mov ecx, dword [ebx]
xor eax, eax
test ecx, 0xfffffffe
jbe 0x42d984
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x10]
sub ecx, eax
mov cl, byte [ecx + esi - 1]
lea edi, [eax + edx]
mov dl, byte [edi]
mov byte [edi], cl
mov ecx, dword [ebx]
sub ecx, eax
mov byte [ecx + esi - 1], dl
mov ecx, dword [ebx]
mov edx, ecx
inc eax
shr edx, 1
cmp eax, edx
jb 0x42d95e
mov dword [ebp - 0xc], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [ebp - 0x10]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0xc]
jmp 0x42d9af
xor eax, eax
pop edi
pop esi
leave
ret