joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
push edi
mov edi, ecx
jne 0x458752
cmp dword [edi + 8], 0
jne 0x458784
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 4
push 0
push 0x402240
push 1
push str.NtMapViewOfSection
push 0x5c7cbc
call fcn.004554b0
push 1
push 0x405070
push 1
push str.NtUnmapViewOfSection
push 0x5c7cbc
mov ecx, edi
call fcn.004554b0
mov eax, dword [edi]
push ebx
push esi
push 1
mov eax, dword [eax]
push 0x2000
push 0x10000
push 0
push eax
mov dword [ebp - 0x64], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [edi + 8]
mov ebx, 0x10000
shl esi, 6
add esi, 0x50
mov dword [ebp - 0x68], eax
sub ebx, esi
lea eax, [ebp - 8]
push eax
call fcn.004588f0
movzx ecx, word [ebp - 8]
add esp, 4
mov dword [ebp - 8], ecx
cmp ecx, ebx
ja 0x4587b5
mov eax, 0x800
mov ebx, 0x1000
cmp esi, eax
ja 0x4587e8
nop word [eax + eax]
mov ebx, eax
shr eax, 1
cmp eax, esi
jae 0x4587e0
push 0x40
push 0x1000
lea eax, [esi + 0xfff]
neg ebx
and eax, 0xfffff000
and ebx, ecx
push eax
mov eax, ebx
and eax, 0xfffff000
add eax, dword [ebp - 0x68]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
and ebx, 0xfff
add eax, ebx
mov dword [ebp - 0x68], eax
jne 0x458838
pop esi
pop ebx
mov eax, 7
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 4
push 0x518
push 0
push 0x634c70
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0x10
call fcn.0056aed0
mov ebx, dword [ebp - 0x68]
lea eax, [ebp - 0x60]
add esp, 0xc
mov ecx, edi
push eax
push esi
push ebx
call fcn.00458910
test eax, eax
jne 0x4588da
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x10
lea eax, [ebp - 0x60]
push eax
push ebx
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4588d5
cmp dword [ebp - 0xc], 0x10
jne 0x4588d5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20
push esi
push ebx
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [edi]
push 0
push 0x518
push 0x634c70
push str.g_originals
call fcn.004545d0
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 4
mov eax, 0x2a
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.004016cd
mov esp, ebp
pop ebp
ret 4
Function at 0x4591d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e7a2
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x68]
mov ebx, dword [ebp + 0xc]
push 0
push str.D:BTImportsOpenChromeChrome_src_base_file_version_info_win.cc
mov dword [ebp - 0x20], esi
push eax
mov dword [ebp - 0x50], ebx
call fcn.004593e0
add esp, 8
lea ecx, [ebp - 0x4c]
push eax
call fcn.00459410
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x459235
mov ebx, dword [ebx]
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x20]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x45924c
mov dword [esi], eax
jmp 0x4593a9
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp edi, 0x7fffffff
ja 0x4593cf
cmp edi, 0x1000
jb 0x4592ae
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x4593d4
push eax
lfence
call fcn.00406b5e
add esp, 4
test eax, eax
je 0x4593d9
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4592bc
push edi
lfence
call fcn.00406b5e
add esp, 4
mov ebx, eax
push edi
lea eax, [ebx + edi]
mov dword [ebp - 0x1c], ebx
push 0
push ebx
mov dword [ebp - 0x14], eax
call fcn.0056aed0
lea eax, [ebx + edi]
add esp, 0xc
mov dword [ebp - 0x18], eax
push ebx
push edi
push dword [ebp - 0x20]
mov byte [ebp - 4], 1
push dword [ebp - 0x50]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4592f7
mov dword [esi], 0
jmp 0x4593a1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], 0
push eax
lea eax, [ebp - 0x50]
push eax
push 0x5c0a74
push ebx
call sub.VERSION.dll_VerQueryValueW
neg eax
sbb eax, eax
and eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
je 0x4592ec
push 0x1c
call fcn.00406b5e
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x45939d
mov eax, dword [ebp - 0x54]
movzx edx, word [eax + 2]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x14]
mov dword [edi], 0x5c0a48
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x54]
mov dword [edi + 0x10], ebx
push eax
push 0x5c0aa8
push ebx
mov word [edi + 0x14], cx
mov word [edi + 0x16], dx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x24], 0
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x54]
mov dword [edi + 0x18], eax
jmp 0x45939f
xor edi, edi
mov dword [esi], edi
lea ecx, [ebp - 0x1c]
call fcn.00414fa0
lea ecx, [ebp - 0x4c]
call fcn.0045a290
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0047f6a0
call fcn.0047ea50
call fcn.0056e2db
int3
Function at 0x45bbf0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x101
ja 0x45bc54
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x45bc54
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x463400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x418], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x6359c4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x635324]
cmp eax, dword [ecx + 4]
jg 0x46352a
cmp byte [0x635320], 0
jne 0x46350d
lea eax, [ebp - 0x420]
mov byte [0x635320], 1
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push 0x80000002
mov dword [ebp - 0x420], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46350d
push 0x410
push eax
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x414]
push eax
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x41c], 0x410
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.Debugger
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x463501
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4634e0
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
mov ecx, 0x62c700
call fcn.00409db0
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x62c700
mov ecx, esi
call fcn.0040b170
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret
push 0x635324
call fcn.0040b37e
add esp, 4
cmp dword [0x635324], 0xffffffff
jne 0x46343d
push 0x5af790
call fcn.004060ec
push 0x635324
call fcn.0040b56b
add esp, 8
jmp 0x46343d
Function at 0x465d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor bl, bl
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
cmp dword [esi + 0x10], 0
je 0x465ea8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x465d7d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465ea8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x465d96
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x465ea8
push 0
push str.ime_shared
lea eax, [ebp - 0x40]
push 0x25
push eax
call fcn.00447330
push 0
push str.ime_shared
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0x24
push eax
call fcn.00447330
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push ebx
push edi
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00465ed0
add esp, 0x30
test al, al
jne 0x465e10
push ebx
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00465ed0
add esp, 0x10
test al, al
jne 0x465e10
push ebx
push edi
push esi
call fcn.004678c0
add esp, 0xc
test al, al
jne 0x465e10
xor bl, bl
jmp 0x465e12
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x465e50
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x465e46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ec6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x465ea8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x465e9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ec6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
call fcn.0056e2db
int3
Function at 0x46b2f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp esi, 0x804
ja 0x46b32d
je case.0x46b326.1027
lea eax, [esi - 0x403]
cmp eax, 0x2a
ja case.0x46b326.1032
movzx eax, byte [eax + 0x46b380]
jmp dword [eax*4 + 0x46b378]
cmp esi, 0xc0a
je case.0x46b326.1027
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 3
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x46b366
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x46c630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi + 0x28], 0
mov dword [ebp - 4], 0
jne 0x46c6f9
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov byte [edi + 0x2a], al
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x28], 1
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x34], 0
test ecx, ecx
je 0x46c6f9
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov dword [edi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [edi + 0x2c], 0
mov dword [edi + 0x30], eax
je 0x46c6f9
test eax, eax
je 0x46c6f9
cmp byte [edi + 0x2a], 0
lea esi, [edi + 0x20]
push esi
push 0
push edi
mov ecx, 0x51d950
mov dword [esi], 0
mov eax, 0x46c820
cmovne eax, ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi], 0
mov dword [edi + 0x24], eax
je 0x46c6f9
test eax, eax
je 0x46c6f9
mov byte [edi + 0x29], 1
mov bl, byte [edi + 0x29]
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46fa50
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
jne 0x46faea
push str.dwmapi.dll
call fcn.004396f0
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x46fae6
push str.DwmInvalidateIconicBitmaps
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmSetIconicThumbnail
push dword [esi + 0x20]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmSetIconicLivePreviewBitmap
push dword [esi + 0x20]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmSetWindowAttribute
push dword [esi + 0x20]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmGetWindowAttribute
push dword [esi + 0x20]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmExtendFrameIntoClientArea
push dword [esi + 0x20]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmDefWindowProc
push dword [esi + 0x20]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x24], 1
pop esi
ret
Function at 0x475b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0a48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 8
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0xc], 0
call fcn.00406b5e
mov edi, eax
add esp, 4
test edi, edi
je 0x475bb4
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004287bb
add esp, 4
mov dword [edi + 4], eax
jmp 0x475bb6
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov edi, dword [edi + 4]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
call fcn.00475cd0
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
movzx edi, ax
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x475c42
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x475c42
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
cmp dword [ebx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov word [ebx + 0x40], ax
jne 0x475c62
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
and eax, 0x13
or eax, 4
mov dword [ebx + 0xc], eax
and ecx, eax
jne 0x475c85
cmp byte [ebp + 0xc], 0
je 0x475c71
push ebx
call fcn.00550cd1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x475c91
mov esi, str.ios_base::badbit_set
jmp 0x475ca1
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.0048a0d0
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.004838c0
push 0x6140f0
lea eax, [ebp - 0x2c]
push eax
call fcn.00569fb7
int3
Function at 0x477bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0ca6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
lea ecx, [edi + 4]
mov byte [edi], 0
call fcn.00462840
mov word [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea esi, [edi + 0x6c]
mov byte [edi + 0x34], 0
xorps xmm0, xmm0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
movq qword [edi + 0x40], xmm0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov word [edi + 0x68], 0
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x40
mov dword [ebp - 0x10], esi
lfence
call fcn.00406b5e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov byte [edi + 0x74], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4787f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cac9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov ecx, esi
mov dword [ebp - 0x18], 0
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x5b4480
mov dword [ebp - 4], 0
mov word [esi], ax
call fcn.00409db0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x5c02fc
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x4788a6
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x4788a6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478885
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00409db0
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
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.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x47b6b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b6c0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 8
Function at 0x47d080
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cda0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
mov dword [edi], 0x5c5864
test eax, eax
je 0x47d0f1
cmp eax, 0xffffffff
je 0x47d0f1
push 0
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0x1388
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x47d0f1
push 0
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x38]
mov dword [ebp - 4], 0
cmp eax, 8
jb 0x47d10d
inc eax
lea ecx, [edi + 0x24]
push eax
push dword [edi + 0x24]
call fcn.0040a5e0
xor eax, eax
mov dword [edi + 0x34], 0
lea ecx, [edi + 0x14]
mov dword [edi + 0x38], 7
mov word [edi + 0x24], ax
call fcn.0047d2d0
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x47d143
mov eax, dword [ebx]
push 1
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5b1854]
mov ecx, ebx
call esi
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], 1
test eax, eax
je 0x47d16d
cmp eax, 0xffffffff
je 0x47d16d
call fcn.00413e80
push dword [edi + 0xc]
call fcn.00415030
add esp, 4
mov dword [edi + 0xc], 0
mov eax, dword [edi + 8]
mov dword [ebp - 4], 2
test eax, eax
je 0x47d197
cmp eax, 0xffffffff
je 0x47d197
call fcn.00413e80
push dword [edi + 8]
call fcn.00415030
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi + 4]
mov dword [ebp - 4], 3
test eax, eax
je 0x47d1c1
cmp eax, 0xffffffff
je 0x47d1c1
call fcn.00413e80
push dword [edi + 4]
call fcn.00415030
add esp, 4
mov dword [edi + 4], 0
mov dword [edi], method.ATL::CComClassFactory.virtual_0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d4f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1400
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00454670
test al, al
je 0x47d566
push 0x1388
push dword [esi]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x47d552
cmp dword [ebp - 0x14], 0x103
jne 0x47d566
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esi + 0x24]
mov dword [esi + 0x24], 0
test edi, edi
je 0x47d586
mov ecx, edi
call fcn.0047d690
push 0x1c
push edi
call fcn.0040a1a2
add esp, 8
lea ecx, [esi + 0x34]
call fcn.004445a0
mov eax, dword [esi + 0x30]
mov dword [ebp - 4], 0
test eax, eax
je 0x47d5a5
push eax
call fcn.0040a1b5
add esp, 4
mov edi, dword [esi + 0x24]
test edi, edi
je 0x47d5be
mov ecx, edi
call fcn.0047d690
push 0x1c
push edi
call fcn.0040a1a2
add esp, 8
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], 1
test eax, eax
je 0x47d5e8
cmp eax, 0xffffffff
je 0x47d5e8
call fcn.00413e80
push dword [esi + 0x1c]
call fcn.00415030
add esp, 4
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 2
test eax, eax
je 0x47d612
cmp eax, 0xffffffff
je 0x47d612
call fcn.00413e80
push dword [esi + 0x18]
call fcn.00415030
add esp, 4
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], 3
test eax, eax
je 0x47d63c
cmp eax, 0xffffffff
je 0x47d63c
call fcn.00413e80
push dword [esi + 0x14]
call fcn.00415030
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], 4
test eax, eax
je 0x47d666
cmp eax, 0xffffffff
je 0x47d666
call fcn.00413e80
push dword [esi + 0x10]
call fcn.00415030
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, esi
call fcn.00454400
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.004016cd
mov esp, ebp
pop ebp
ret