joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421cd0
Capabilities:
Access the windows event log
Set file attributes

Disassembly:
mov eax, dword [0x4339fc]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
mov ebp, 0x1519a5
lea esp, [esp]
mov dword [0x433664], 0x8e46a7b8
cmp eax, 0x3dc
jne 0x421d1a
push 0
push str.gajaracuvegipozatoxesom
call esi
push str.kimezufiyutodojaxejuweg
push 0
push 0
call edi
mov eax, dword [0x4339fc]
dec ebp
jne 0x421cf0
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
xor esi, esi
mov ebp, 0xec58acac
lea ebx, [ebx]
cmp eax, 0x997
jne 0x421d42
push 0
push 0
call edi
mov eax, dword [0x4339fc]
cmp esi, 0x846373
jne 0x421d59
mov eax, dword [0x431ad0]
add eax, 0xa231
mov dword [0x4339fc], eax
cmp eax, 0x141
jne 0x421d70
mov dword [0x433238], ebp
mov dword [0x43323c], 0xffffffff
inc esi
cmp esi, 0x123c962
jl 0x421d30
call fcn.00421970
pop edi
pop esi
xor eax, eax
pop ebp
ret 0x10
Function at 0x403c60
Capabilities:
Terminate process

Disassembly:
movss xmm1, dword [0x4ad304]
movss xmm0, dword [0x4ad10c]
mov eax, dword [0x4ad4ac]
subss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x4ad4ac], eax
movss xmm0, dword [0x4ad304]
addss xmm0, dword [0x49eed8]
push dword [0x4ae408]
movss dword [0x4ad304], xmm0
call fcn.00412de0
mov ax, word [0x4ad470]
add esp, 4
mov ecx, dword [0x4ad158]
cwde
imul ecx, eax
push 1
mov word [0x4ad470], cx
inc dword [0x4ad158]
call fcn.00455862
int3
Function at 0x43abb0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [0x4ad0b8]
mov edx, ecx
movss xmm0, dword [0x4ad190]
movsd xmm1, qword [0x4ad1f0]
cvtps2pd xmm0, xmm0
movd xmm2, eax
cvtdq2pd xmm2, xmm2
addsd xmm1, xmm0
ucomisd xmm2, xmm1
movss xmm2, dword [0x49eed8]
lahf
test ah, 0x44
jp 0x43ac14
movss xmm0, dword [str.XvRM_eN]
addss xmm0, dword [0x4ad2c0]
movss dword [0x4ad2c0], xmm0
movss xmm0, dword [str.XvRM_eN]
subss xmm0, xmm2
movss dword [str.XvRM_eN], xmm0
mov dword [edx], 0
movss xmm0, dword [str.XvRM_eN]
addss xmm0, xmm2
movss dword [str.XvRM_eN], xmm0
movss xmm1, dword [str.XvRM_eN]
movsx eax, word [0x4ad15c]
addss xmm1, dword [0x4a1064]
add eax, 0x701627dd
addss xmm1, dword [0x4a0bfc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x43ac8f
movss xmm0, dword [0x4ad20c]
addss xmm0, xmm2
movss dword [0x4ad20c], xmm0
movss xmm0, dword [0x4ad20c]
addss xmm0, dword [0x4ad120]
cvttss2si eax, xmm0
mov dword [0x4ad32c], eax
movsd xmm3, qword [0x49eee0]
mov dword [edx + 4], 0
mov ax, word [0x4ad4b4]
movsx ecx, ax
mov eax, dword [0x4ad3a8]
sub ecx, eax
mov word [0x4ad4b4], cx
mov dword [edx + 8], 0x67452301
movsd xmm0, qword [0x4ad0f0]
addsd xmm0, xmm3
movsd qword [0x4ad0f0], xmm0
movsd xmm0, qword [0x4ad0f0]
ucomisd xmm0, qword [0x4a1c60]
lahf
test ah, 0x44
jp 0x43ad11
movss xmm1, dword [0x4ad224]
mov eax, dword [0x4ad0c8]
subss xmm1, dword [0x4a1394]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [0x4ad0c8], eax
jmp 0x43ad3e
mov ax, word [0x4ad15c]
movsx ecx, ax
mov eax, dword [0x4ad3f8]
sub ecx, eax
lea eax, [ecx - 0x4267e6ed]
movzx ecx, word [0x4ad34c]
imul ecx, eax
mov word [0x4ad34c], cx
inc dword [0x4ad3f8]
mov dword [edx + 0xc], 0xefcdab89
movss xmm1, dword [0x4ad1a8]
movsx eax, word [0x4ad2c4]
movd xmm0, eax
movsx eax, word [0x4ad3c4]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [0x4ad11c], xmm1
dec word [0x4ad3c4]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [0x4ad148]
movsd xmm1, qword [0x4ad4d0]
movsd xmm0, qword [0x4ad4d0]
addsd xmm0, xmm3
movd xmm2, eax
cvtdq2pd xmm2, xmm2
movsd qword [0x4ad4d0], xmm0
dec dword [0x4ad148]
comisd xmm1, xmm2
jbe 0x43add4
inc word [0x4ad1c0]
movsx eax, word [0x4ad1c0]
sub eax, 0x7eb9167a
mov dword [0x4ad03c], eax
mov dword [edx + 0x14], 0x10325476
movss xmm0, dword [str.XvRM_eN]
cvtps2pd xmm1, xmm0
movsd xmm0, qword [0x4ad138]
addsd xmm0, qword [0x49f4e8]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [str.XvRM_eN], xmm0
ret
Function at 0x485486
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048527a

Function at 0x4876e4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00486ebe

Function at 0x4876ef
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004870f9

Function at 0x4913e4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00490fe9

Function at 0x4913ef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049116a
Function at 0x40895d
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4085d8
pop edi
call fcn.00408981
xor dword [edx], edi
dec ecx
and ecx, ecx
inc edx
sub ecx, 0x8e34270
add ecx, 0xe96a3b6b
cmp edx, eax
jne fcn.0040895d
ret
Function at 0x40f854
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e700]
jne 0x40f85e
repz ret
jmp fcn.00416d2c

Function at 0x41b02b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040df0a
and dword [ebp - 4], 0
cmp dword [0x42fd0c], 0
mov ebx, eax
jne 0x41b0dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41b18d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41b18d
push eax
call fcn.0040de98
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42fd0c], eax
call esi
push eax
call fcn.0040de98
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42fd10], eax
call esi
push eax
call fcn.0040de98
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42fd14], eax
call esi
push eax
call fcn.0040de98
pop ecx
mov dword [0x42fd1c], eax
test eax, eax
je 0x41b0dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040de98
pop ecx
mov dword [0x42fd18], eax
mov eax, dword [0x42fd18]
cmp eax, ebx
je 0x41b134
cmp dword [0x42fd1c], ebx
je 0x41b134
push eax
call fcn.0040df13
push dword [0x42fd1c]
mov esi, eax
call fcn.0040df13
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41b134
test edi, edi
je 0x41b134
call esi
test eax, eax
je 0x41b12b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41b12b
test byte [ebp - 0xc], 1
jne 0x41b134
or dword [ebp + 0x10], 0x200000
jmp 0x41b16d
mov eax, dword [0x42fd10]
cmp eax, ebx
je 0x41b16d
push eax
call fcn.0040df13
pop ecx
test eax, eax
je 0x41b16d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41b16d
mov eax, dword [0x42fd14]
cmp eax, ebx
je 0x41b16d
push eax
call fcn.0040df13
pop ecx
test eax, eax
je 0x41b16d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42fd0c]
call fcn.0040df13
pop ecx
test eax, eax
je 0x41b18d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41b18f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e8f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x42dc94], 0x7cd
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x42dc90], 0x2490
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x41e95a
xor eax, eax
mov dword [0x42dc90], 0x1c53
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x41e9f7
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x41e991
mov dword [0x42dc90], 0x1a90
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x41e95a
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x41e952
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x41e952
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x41e952
xor eax, eax
mov dword [0x42dc94], 0x154f
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
je 0x41e930
jmp 0x41e952
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
jne 0x41e952
xor eax, eax
mov dword [0x42dc90], 0x1c11
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x41e952
mov eax, 1
mov dword [0x42dc94], 0x1352
mov dword [ebp - 0x18], eax
jmp 0x41e952
Function at 0x420890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x42dc98], 0
mov dword [0x42dc9c], 0
mov dword [0x42dca8], 0
mov edi, dword [0x42dc90]
add edi, 0xffffd9a3
mov dword [0x42dc90], edi
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jne 0x4208f0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x420901
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x42dc98], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x42dc9c], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x42dca0], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x42dc94]
add edx, 0xffffef36
mov dword [0x42dc90], edx
mov cl, byte [0x42dca0]
mov edx, dword [0x42dc9c]
mov byte [ebx + edx], cl
mov dword [0x42dc94], 0x1e89
mov edx, dword [0x42dc98]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x42dc9c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x42dca8], ecx
mov edx, dword [0x42dc90]
add edx, 0xfffffcf5
mov dword [0x42dc90], edx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x42dc94], 0x1b26
mov dword [0x42dc90], 0x492
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x420a0d
mov eax, dword [0x42dc98]
mov ecx, dword [0x42dc9c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
jmp 0x420901
jmp 0x4208e8
Function at 0x420a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x42dc90], 0x184c
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.0041f5b0
mov ecx, 0x2334
lea edx, [0x41f540]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x94], esi
mov dword [esp + 0x88], 0x16d800
mov esi, dword [0x42dc7c]
mov dword [esp + 0x6c], esi
mov esi, dword [0x42dc80]
mov dword [esp + 0x5c], esi
mov esi, dword [0x42dc84]
mov dword [esp + 0x4c], esi
mov esi, dword [0x42dc88]
mov dword [esp + 0x54], esi
mov esi, dword [0x42dc8c]
mov dword [esp + 0x70], esi
mov dword [0x42dc94], 0x17b2
mov dword [0x42dc90], 0x26bb
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
je 0x420b15
jmp 0x420b35
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [0x42dc90], edx
add edx, 0x62c
mov dword [esp + 0x60], eax
mov dword [0x42dc94], edx
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x68], eax
call fcn.0041e8f0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x420b57
jmp 0x420b8b
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
je 0x420ad7
mov eax, 0xe8b
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x420abe
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0041ed60
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x42dc94], 0x1fcd
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x44768e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [sym.imp.mfc140u.dll_AfxGetModuleState]
push edi
xor edi, edi
mov dword [ebp - 0x24], 0x447bf0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call esi
mov ebx, str.SpyxxProcessPacket
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x44775e
call esi
push edi
mov eax, dword [eax + 8]
push eax
mov eax, dword [0x47f6a0]
push edi
push dword [eax + 0x20]
push edi
push edi
push edi
push edi
push 0x40000000
push edi
push ebx
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x47f8dc], eax
test eax, eax
je 0x44775e
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call esi
mov dword [0x47c650], eax
test eax, eax
je 0x44775e
push edi
push edi
push edi
push edi
call esi
mov dword [0x47c64c], eax
test eax, eax
je 0x44775e
push dword [0x47f8dc]
push 0x10000
push 0x447765
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
mov dword [0x47c648], eax
cmp eax, 0xffffffff
je 0x44775e
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
inc eax
jmp 0x447760
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448b96
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46d014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
push 0x40cdd8
push ebx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x448c24
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, eax
test edi, edi
je 0x448c24
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push ebx
push ebx
push 0x10
neg esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x1c]
push eax
sbb esi, esi
mov dword [ebp - 0x14], 1
push ebx
push dword [ebp - 0x18]
and esi, 2
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
neg eax
sbb esi, esi
not esi
and esi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x448c26
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467073
leave
ret

Function at 0x448c35
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x46d014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x24], eax
push ebx
xor esi, esi
push esi
push 0x1fffff
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x448cf8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], esi
push eax
push 0x40cdd8
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x448cf8
lea eax, [ebp - 0x1c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x448cf8
xor eax, eax
mov dword [ebp - 8], esi
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x448cf8
cmp dword [ebp - 0x20], edi
jne 0x448cf8
xor esi, esi
inc esi
mov ecx, esi
call fcn.00448b96
test eax, eax
je 0x448cf8
mov eax, dword [ebp - 0x24]
push ebx
push edi
push 0x400
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467073
leave
ret 4
Function at 0x449344
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x468ae5
call fcn.00467f79
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x44937e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [0x47b800]
mov dword [0x480c74], eax
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 4], eax
test eax, eax
je 0x449459
push eax
push 0
push dword [0x480c74]
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov ecx, dword [ebp + 8]
mov dword [0x47b800], eax
call fcn.00449047
mov edi, 0x47c690
test eax, eax
jne 0x4493b2
push 0x40cf38
push 0x20
pop edx
mov ecx, edi
call fcn.00442ee2
mov eax, dword [0x47b800]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [esi + 4]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push 0x80000004
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x449431
cmp eax, 0xea
jne 0x449459
push dword [esi + 4]
push 0
push dword [0x480c74]
call edi
mov eax, dword [0x47b800]
add eax, eax
push eax
push 0
push dword [0x480c74]
mov dword [0x47b800], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x47b800]
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x47c690
push 0x80000004
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 5
jne 0x4493db
push 0xffffffffffffffff
push 0x2030
push 0x27bb
call dword [sym.imp.mfc140u.dll_AfxMessageBox_1]
push dword [esi + 4]
push 0
push dword [0x480c74]
call edi
and dword [esi + 4], 0
push 4
mov dword [0x47f88c], 1
call dword [sym.imp.mfc140u.dll_operator]
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x44947e
mov ecx, dword [esi + 4]
mov dword [eax], ecx
jmp 0x449480
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi], eax
call fcn.00467f53
ret 4
Function at 0x45d783
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, eax
cmp dword [esi + 0x84], eax
jle 0x45d801
push edi
mov edi, eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xac]
mov edx, dword [edi + eax + 4]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 8]
jne 0x45d7b4
sub ecx, dword [ebp - 0xc]
xor eax, eax
push eax
sar ecx, 1
lea eax, [ebp - 4]
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
push eax
lea eax, [ebp - 4]
push eax
push 4
push 0x426630
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc ebx
add edi, 0x2c
push 0
pop eax
cmp ebx, dword [esi + 0x84]
jl 0x45d79f
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x464b0c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
push eax
push 0x64
push 2
push esi
dec edi
mov ebx, ecx
push edi
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x464b41
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x464b5c
mov eax, dword [ebp - 4]
cmp eax, edi
jb 0x464b5c
mov eax, edi
push 0x2e
pop ecx
mov word [esi + eax*2 - 2], cx
mov word [esi + eax*2 - 4], cx
mov word [esi + eax*2 - 6], cx
xor ecx, ecx
pop edi
mov word [esi + eax*2], cx
pop esi
pop ebx
leave
ret 4

Function at 0x464b69
Capabilities:
Check if file exists
Get file attributes
Identify system language via api

Disassembly:
push 0x1c
mov eax, 0x46a2f5
call fcn.00467fad
mov dword [ebp - 0x24], edx
mov eax, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x464c35
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x464c35
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
and eax, 0x3ff
or eax, 0x400
mov dword [ebp - 0x14], 0x409
mov dword [ebp - 0x18], eax
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [ebp - 4], esi
mov edi, esi
mov eax, esi
test edi, edi
jle 0x464be1
mov ecx, dword [ebp + edi*4 - 0x1c]
cmp dword [ebp + eax*4 - 0x1c], ecx
je 0x464bdd
inc eax
cmp eax, edi
jl 0x464bd2
cmp eax, edi
jl 0x464c0f
mov eax, dword [ebp - 0x24]
push dword [eax]
mov eax, dword [ebp - 0x28]
push dword [ebp + edi*4 - 0x1c]
push dword [eax]
lea eax, [ebp - 0x20]
push 0x428614
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
add esp, 0x14
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x464c17
inc edi
cmp edi, 3
jb 0x464bc8
jmp 0x464c24
push esi
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
jmp 0x464c37
xor eax, eax
call fcn.00467f68
ret
Function at 0x46658c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x46d014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x480c68]
push esi
test eax, eax
jne 0x4665d4
push 0x4287cc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4665f5
push 0x4287e8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x480c68], eax
jmp 0x4665dd
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4665f5
push 0x800
push 0
push 0x428640
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x466660
push edi
mov edi, 0x105
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x46665d
cmp eax, edi
jae 0x46665d
cmp word [ebp + eax*2 - 0x212], 0x5c
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
je 0x466638
push 0x428804
lea eax, [ebp - 0x210]
push edi
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x46665d
push 0x428640
lea eax, [ebp - 0x210]
push edi
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x46665d
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x46665f
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00467073
leave
ret