joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47af2d
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20e8]
sub eax, 1
je 0x47b079
sub eax, 1
je 0x47b021
sub eax, 1
je 0x47af6e
sub eax, 1
je 0x47af67
sub eax, 1
je 0x47af67
sub eax, 1
jne 0x47b0b8
push 0
jmp 0x47b0a8
mov ecx, dword [edi + 0x20ec]
test ecx, ecx
jne 0x47af80
or eax, 0xffffffff
jmp 0x47b0ba
imul eax, dword [edi + 0x20f0], 0x64
xor edx, edx
xor ebx, ebx
div ecx
mov esi, eax
mov dword [ebp - 8], eax
cmp dword [edi + 0x20e0], ebx
jne 0x47afb0
imul eax, dword [edi + 0x20f0], 0x32
xor edx, edx
div ecx
mov esi, eax
add esi, dword [edi + 0x2124]
mov dword [ebp - 8], esi
call fcn.00403a64
push eax
lea ecx, [ebp - 4]
call fcn.00402a6b
mov eax, 0x538238
cmp dword [edi + 0x20e0], ebx
jne 0x47afd0
mov eax, 0x538298
push esi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00415254
mov esi, dword [ebp - 4]
add esp, 0xc
mov ecx, edi
push esi
push 0x43d
call fcn.0047b169
push ebx
mov ebx, dword [ebp - 8]
push ebx
push 0x402
push dword [edi + 0x2120]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, 0x64
jne 0x47b014
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esi - 0x10]
call fcn.004042e9
jmp 0x47b0b8
push 0x5381e0
push 0x43d
call fcn.0047b169
xor ebx, ebx
push ebx
push ebx
push 0x402
push dword [edi + 0x2120]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 8]
mov dword [edi + 0x20e0], 1
push eax
push 4
push edi
push 0x47aaaf
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x47b0b8
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47b0b8
push 0x538198
push 0x43d
call fcn.0047b169
mov ecx, edi
call fcn.0047b186
push 0x40d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push 1
push 0x780
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x47b186
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
lea ecx, [ebp - 0x1c]
push edi
call fcn.0041f5a5
xor eax, eax
mov edi, 0x52af20
inc eax
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push edi
lea ecx, [ebp - 8]
call fcn.00404550
mov ecx, dword [esi + 0x28]
lea edx, [ebp - 0x1c]
push edx
push 0x3e9
mov eax, dword [ecx]
call dword [eax + 0x18]
push 0x43e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x1c]
call fcn.0041f6a6
pop edi
pop esi
leave
ret
Function at 0x47bc28
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [esi]
push 0x103
push eax
push 0x52f8e0
push 0x53834c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00402af5
lea eax, [ebp - 0x210]
mov ecx, 0x574f4c
push eax
call fcn.0047b4ee
mov ecx, dword [ebp - 0x210]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00522d04
leave
ret 8
Function at 0x47bcbe
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x828], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x830], ecx
mov ecx, dword [ebp + 0x18]
push 0x10
mov dword [ebp - 0x834], ecx
mov ecx, dword [ebp + 0x1c]
pop ebx
sub eax, ebx
mov dword [ebp - 0x838], ecx
mov ecx, dword [ebp + 0x20]
push eax
mov dword [ebp - 0x83c], ecx
call fcn.00402f5d
lea esi, [ebx + eax]
mov eax, dword [edi]
sub eax, ebx
mov dword [ebp - 0x82c], esi
push eax
call fcn.00402f5d
push 0x208
lea edi, [ebx + eax]
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x14
lea eax, [ebp - 0x20c]
push edi
push 0x103
push eax
push 0x527fb4
push 0x53526c
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x47beae
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
mov ecx, dword [ebp - 0x828]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00404550
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x82c]
push eax
call fcn.00402bd6
cmp dword [ebp + 0x24], ebx
je 0x47beab
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push edi
push 0x103
push eax
push 0x527fb4
push str.rname
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x47beae
lea eax, [ebp - 0x414]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
mov ecx, dword [ebp - 0x834]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00404550
push 0x208
lea eax, [ebp - 0x61c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x61c]
push edi
push 0x103
push eax
push 0x527fb4
push 0x538364
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x47beae
lea eax, [ebp - 0x61c]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
mov ecx, dword [ebp - 0x838]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00404550
push 0x208
lea eax, [ebp - 0x824]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x824]
push edi
push 0x103
push eax
push 0x527fb4
push 0x53836c
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x47beae
lea eax, [ebp - 0x824]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
mov ecx, dword [ebp - 0x83c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.00404550
xor ebx, ebx
inc ebx
lea ecx, [edi - 0x10]
call fcn.004042e9
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 0x20
Function at 0x47c428
Capabilities:
Copy file
Delete file

Disassembly:
push 0xc
mov eax, 0x524650
call fcn.004f3f10
mov esi, ecx
mov dword [ebp - 0x18], esi
xor edi, edi
mov ecx, edi
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x47c45d
mov ecx, esi
call fcn.0047c682
test eax, eax
jne 0x47c457
xor eax, eax
inc eax
jmp 0x47c565
xor ecx, ecx
inc ecx
push 0x64
pop eax
mov dword [esi + 0xc], eax
test eax, eax
jne 0x47c475
push 2
mov ecx, esi
call fcn.0047c5c6
push 2
pop eax
jmp 0x47c565
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
test ecx, ecx
jne 0x47c495
mov ecx, esi
call fcn.0047c682
test eax, eax
jne 0x47c495
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
jmp 0x47c44f
mov dword [ebp - 4], edi
lea ebx, [esi + 0x2030]
mov ecx, ebx
call fcn.00467bbb
call fcn.00403a64
push eax
lea ecx, [ebp - 0x14]
call fcn.00402a6b
push dword [esi + 0x201c]
push str.PDown:___sh360
lea eax, [ebp - 0x14]
push eax
call fcn.00415254
add esp, 0xc
push esi
lea eax, [esi + 0x2024]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.00467b14
test eax, eax
jne 0x47c4fc
push 5
mov ecx, esi
call fcn.0047c5c6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004042e9
push 5
jmp 0x47c46f
push 0xffffffffffffffff
push dword [esi + 0x207c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, ebx
call fcn.00467bbb
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004042e9
or dword [ebp - 4], 0xffffffff
jmp 0x47c53b
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push edi
push dword [esi + 0x2020]
push dword [esi + 0x2024]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [esi + 0x2024]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
call fcn.004f3e90
ret

Function at 0x47c8b9
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c8d7
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi + 0x2098]
push eax
push 0x528004
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00413428
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.004133f1
mov ecx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c920
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.004042e9
pop esi
leave
ret
Function at 0x47c92b
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
push edi
push 0x410
xor esi, esi
mov edi, ecx
push esi
push eax
call sub.msvcrt.dll_memset
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x47c9fd
cmp eax, 0x208
ja 0x47c9fd
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x538528
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x47c9fd
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [edi + 0x14]
call fcn.0047c421
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 0xc]
lea ecx, [edi + 0x14]
push dword [ebx]
push edi
call fcn.0047c56b
cmp dword [edi + 0x20a4], esi
jne 0x47c9fd
mov ecx, edi
call fcn.0047cdaa
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
jmp 0x47c9ff
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4

Function at 0x47ca10
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0047cbdb
xor ebx, ebx
lea eax, [ebp - 0x61c]
push 0x410
push ebx
push eax
mov dword [edi + 0x20a4], ebx
call sub.msvcrt.dll_memset
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x47cac1
cmp eax, esi
ja 0x47cac1
lea eax, [ebp - 0x20c]
push eax
push ebx
push 0x538528
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x47cac1
lea ecx, [edi + 0x14]
call fcn.0047c421
push ebx
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 4]
lea ecx, [edi + 0x14]
push str.http:__seupdate.360safe.com_flash_flash.cab
push edi
call fcn.0047c56b
mov ecx, edi
cmp dword [edi + 0x20a4], ebx
je 0x47cad2
call fcn.0047c8b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
call fcn.0047d0b7
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
jmp 0x47cac3
Function at 0x47cbdb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x410
xor edi, edi
lea eax, [ebp - 0xc34]
push edi
push eax
mov ebx, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc34]
mov esi, 0x208
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x47cc25
cmp eax, esi
jbe 0x47cc56
lea eax, [ebp - 0xc38]
push eax
call fcn.0047cb70
mov dword [esp], SysReAllocStringLen
push dword [eax]
lea eax, [ebp - 0xc34]
push edi
push esi
push eax
call fcn.0041268d
mov ecx, dword [ebp - 0xc38]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call edi
push eax
lea eax, [ebp - 0xc34]
push eax
push 0x5384a4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044b53c
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
add esp, 0x18
lea ecx, [ebx + 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00404550
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0xc34]
push eax
push 0x5384d8
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0044b53c
lea eax, [ebp - 0x414]
push eax
call sub.msvcrt.dll_wcslen
add esp, 0x20
lea ecx, [ebx + 8]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00404550
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call fcn.0047ed68
mov esi, str._s__d_flash.cab
test eax, eax
jne 0x47cd18
mov esi, str._s__d_flash.exe
call edi
push eax
lea eax, [ebp - 0xc34]
push eax
push esi
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0044b53c
lea eax, [ebp - 0x61c]
push eax
call sub.msvcrt.dll_wcslen
add esp, 0x18
lea ecx, [ebx + 0xc]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00404550
push esi
lea eax, [ebp - 0x824]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0xc34]
push eax
push 0x5384d8
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0044b53c
lea eax, [ebp - 0x824]
push eax
call sub.msvcrt.dll_wcslen
add esp, 0x20
lea ecx, [ebx + 0x10]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.00404550
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x47d0b7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
lea ebx, [edi + 8]
push dword [ebx]
push dword [edi + 4]
call fcn.0047b3b6
pop ecx
pop ecx
push dword [edi + 4]
test eax, eax
jne 0x47d0ec
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, edi
call fcn.0047d215
jmp 0x47d1ee
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.flash.ini
lea eax, [ebp - 8]
push ebx
push eax
call fcn.00413428
add esp, 0xc
mov ecx, ebx
push eax
call fcn.00402bd6
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x1000
mov dword [ebp - 0xc], esi
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov dword [esp], 0x800
mov ebx, eax
push esi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
call fcn.00403a64
push eax
lea ecx, [ebp - 4]
call fcn.00402a6b
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0x800
push ebx
lea eax, [ebp - 0xc]
push eax
call fcn.0047c855
test eax, eax
je 0x47d1cd
cmp dword [ebp - 0xc], esi
je 0x47d1cd
call fcn.00403a64
push eax
lea ecx, [ebp - 8]
call fcn.00402a6b
lea eax, [ebp - 8]
push eax
call fcn.0047eb2f
lea ecx, [ebp - 8]
mov dword [esp], 0x104
call fcn.00404110
push 0x104
lea ecx, [ebp - 4]
mov esi, eax
call fcn.00404110
push esi
push eax
call fcn.00435cea
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
push 0
setle cl
mov dword [edi + 0x20a8], ecx
mov ecx, dword [edi + 0x2094]
push ebx
push 2
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 8]
xor esi, esi
inc esi
lea ecx, [ecx - 0x10]
call fcn.004042e9
jmp 0x47d1d4
mov ecx, edi
call fcn.0047d215
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.004042e9
test ebx, ebx
je 0x47d1ea
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
test esi, esi
jne 0x47d1f5
mov ecx, edi
call fcn.0047c8b9
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47d246
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8e0
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00403a64
push eax
lea ecx, [ebp - 0x888]
call fcn.00402a6b
lea eax, [ebp - 0x888]
push eax
call fcn.0047ea27
mov ebx, 0x208
lea eax, [ebp - 0x20c]
push ebx
xor esi, esi
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x10
lea ecx, [ebp - 0x888]
mov edi, 0x104
push edi
call fcn.00404110
push eax
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.00418e21
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x634]
call fcn.004108e3
push str.FlashUtil_ActiveX.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x884]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x47d423
lea eax, [ebp - 0x858]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x858]
push eax
lea ecx, [ebp - 0x634]
call fcn.00422558
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x620], 8
lea eax, [ebp - 0x634]
jb 0x47d35e
mov eax, dword [ebp - 0x634]
push eax
push str.__ws___uninstall
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.00523653
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x8e0]
push esi
push eax
call sub.msvcrt.dll_memset
xor eax, eax
or dword [ebp - 0x8b4], 1
lea edi, [ebp - 0x89c]
mov dword [ebp - 0x8e0], ebx
stosd dword es:[edi], eax
add esp, 0x1c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x8b0], ax
lea eax, [ebp - 0x89c]
push eax
lea eax, [ebp - 0x8e0]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x61c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x47d421
push 0x2710
push dword [ebp - 0x89c]
mov edi, esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47d40b
or dword [ebp - 0x88c], 0xffffffff
lea eax, [ebp - 0x88c]
push eax
push dword [ebp - 0x89c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x88c], esi
jne 0x47d40b
xor edi, edi
inc edi
push dword [ebp - 0x898]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x89c]
call esi
mov esi, edi
lea ecx, [ebp - 0x634]
call fcn.00410d88
mov ecx, dword [ebp - 0x888]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x47d504
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
push 0x37
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.004044d6
pop ecx
test eax, eax
je 0x47d53a
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x47d557
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x47d58e
mov esi, dword [ebp - 4]
push 0x45
call fcn.004044d6
pop ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push esi
test eax, eax
je 0x47d57e
call eax
jmp 0x47d584
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call fcn.00402f04
pop edi
mov eax, esi
pop esi
leave
ret 0x18

Function at 0x47d596
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x14], ecx
push 2
inc esi
xor ebx, ebx
pop edi
lea eax, [ebp - 8]
push eax
push 0x2001f
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x47d5e4
cmp eax, 5
jne 0x47d6aa
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047dc5e
inc esi
pop ecx
pop ecx
cmp esi, edi
jbe 0x47d5aa
jmp 0x47d6aa
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x47d6a1
mov eax, dword [ebp - 4]
xor ecx, ecx
inc eax
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
pop ecx
test edi, edi
je 0x47d6a1
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push ebx
push ebx
push ebx
push ebx
push eax
push edi
inc ecx
mov esi, ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0xc], ecx
jmp 0x47d691
inc esi
mov dword [ebp - 0x18], esi
call fcn.00403a64
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a6b
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push str._s_s
push eax
call fcn.00415254
mov esi, dword [ebp - 0x10]
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebp + 8]
call fcn.0047d596
mov eax, dword [ebp - 4]
lea ecx, [esi - 0x10]
inc eax
mov dword [ebp - 0xc], eax
call fcn.004042e9
mov esi, dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push dword [ebp - 8]
call ebx
test eax, eax
je 0x47d63d
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 8