joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438a60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5c4104]
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 edi, edx
mov dword [ebp - 0x21c], edi
mov ebx, ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x22c], 0
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x438abd
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x438ad2
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x438ad4
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0051edd0
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x438b47
push dword [ebp - 0x21c]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x438b47
add esi, 0xfffffff0
push esi
call fcn.00405650
add esp, 4
lea ecx, [ebp - 0x220]
add eax, 0x10
mov dword [ebx], eax
call fcn.00404e00
jmp 0x438c6a
lea eax, [ebp - 0x228]
mov dword [ebp - 0x21c], 0
push eax
push 4
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x228], 0
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x438b92
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x438bd8
mov eax, dword [0x5c914c]
test eax, eax
jne 0x438bb7
push str.QueryFullProcessImageNameW
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5c914c], eax
mov dword [ebp - 0x224], 0x104
test eax, eax
je 0x438bd8
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push 0
push edi
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438bf0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.00405730
mov esi, dword [ebp - 0x220]
add esi, 0xfffffff0
push esi
call fcn.00405650
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438c6a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x438c68
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x438c68
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x438c6a
call edx
mov eax, ebx
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.0051ac8e
mov esp, ebp
pop ebp
ret
Function at 0x439300
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x439370
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret

Function at 0x43ed40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x43ed71
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x43ed60
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x442180
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x442356
push ebx
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x442355
cmp eax, 0x29
jne 0x4421b8
cmp dword [esi + 0x10], 0
jne 0x442355
test dword [esi + 0x50], 0x10000000
je 0x442361
cmp eax, 0x2e
jne 0x442215
push 5
lea ecx, [esi + 0x24]
call fcn.00442570
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x442209
cmp word [eax], 0x5c
jne 0x442206
add eax, 2
cmp eax, ecx
je 0x442206
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4421f2
movzx edx, word [eax]
cmp edx, 0x28
je 0x442204
cmp edx, 0x29
je 0x442204
test cl, 0x10
jne 0x442206
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x442204
cmp ecx, 0x7d
jne 0x442206
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.00440880
jmp 0x442342
cmp eax, 0x5c
jne 0x44227c
mov ecx, esi
call fcn.00442130
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x442248
cmp word [esi + 0x48], 0x62
jne 0x442248
push 4
lea ecx, [esi + 0x24]
call fcn.00442570
mov ecx, esi
call fcn.00442130
jmp 0x442349
test eax, eax
je 0x442270
cmp word [esi + 0x48], 0x42
jne 0x442270
push 4
lea ecx, [esi + 0x24]
call fcn.00442570
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00442130
jmp 0x442349
mov ecx, esi
call fcn.00443440
jmp 0x442342
cmp eax, 0x5b
jne 0x44229e
mov ecx, esi
call fcn.00442130
mov ecx, esi
call fcn.004433f0
cmp dword [esi + 0x4c], 0x5d
je 0x44233b
jmp 0x44235a
cmp eax, 0x28
jne 0x4422ce
mov ecx, esi
call fcn.00442130
mov ecx, esi
call fcn.00443510
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x442361
mov ecx, esi
call fcn.00442130
test bl, bl
je 0x442349
jmp 0x442342
cmp eax, 0x5e
jne 0x4422e6
push 2
lea ecx, [esi + 0x24]
call fcn.00442570
mov ecx, esi
call fcn.00442130
jmp 0x442349
cmp eax, 0x24
jne 0x4422fe
push 3
lea ecx, [esi + 0x24]
call fcn.00442570
mov ecx, esi
call fcn.00442130
jmp 0x442349
cmp eax, 0x2a
je 0x44236f
cmp eax, 0x2b
je 0x44236f
cmp eax, 0x3f
je 0x44236f
cmp eax, 0x7b
je 0x44236f
cmp eax, 0x7d
jne 0x442320
test dword [esi + 0x50], 0x10000000
je 0x442368
cmp eax, 0x5d
jne 0x44232e
test dword [esi + 0x50], 0x10000000
je 0x44235a
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00443760
mov ecx, esi
call fcn.00442130
mov ecx, esi
call fcn.004435d0
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x442190
pop ebx
mov al, cl
pop esi
ret
push 4
call fcn.00500a99
push 5
call fcn.00500a99
push 6
call fcn.00500a99
push 0xa
call fcn.00500a99
int3

Function at 0x44d840
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], vtable.MD5_CTX.0
xorps xmm0, xmm0
mov dword [ecx + 0x18], 0
mov eax, ecx
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
movups xmmword [ecx + 0x5c], xmm0
movups xmmword [ecx + 0x6c], xmm0
movups xmmword [ecx + 0x7c], xmm0
movups xmmword [ecx + 0x8c], xmm0
mov byte [ecx + 0x5c], 0x80
ret
Function at 0x44d9f0
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 0x16]
nop dword [eax]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x44da10
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x5c]
shr edx, 3
mov ecx, 0x38
and edx, 0x3f
mov eax, 0x78
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovb eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.0044d920
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.0044d920
lea ecx, [edi + 1]
mov edi, 4
lea edx, [esi + 6]
nop dword [eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 4], al
movzx eax, byte [edx - 4]
mov byte [ecx - 3], al
movzx eax, byte [edx - 3]
mov byte [ecx - 2], al
sub edi, 1
jne 0x44da80
xor eax, eax
mov edi, esi
xorps xmm0, xmm0
mov ecx, 0x27
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
mov dword [esi + 0x18], eax
xor ecx, ebp
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
movups xmmword [ebx], xmm0
pop edi
movups xmmword [ebx + 0x10], xmm0
pop esi
movups xmmword [ebx + 0x20], xmm0
movups xmmword [ebx + 0x30], xmm0
mov byte [ebx], 0x80
pop ebx
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret 4

Function at 0x44e2d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
mov eax, edx
push 3
push SysReAllocStringLen
push ecx
mov dword [eax], 0
mov dword [ebp - 4], eax
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44e343
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
test eax, eax
je 0x44e37f
cmp eax, 0xffffffff
je 0x44e37f
add eax, 8
push 0x5c78c0
push eax
call fcn.0051ac69
mov ebx, dword [ebp - 4]
mov ecx, eax
add esp, 8
mov dword [ebx], ecx
test ecx, ecx
jne 0x44e34c
push esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
add eax, 8
push eax
push 0
push ecx
call fcn.0051edd0
add esp, 0xc
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push dword [edi]
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, dword [edi]
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f460
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d14
call fcn.0051aff0
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], edx
mov dword [ebp - 0x2d14], eax
test eax, eax
je 0x44f5e1
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
push edi
push 0x5a06e4
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.0044ed60
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44f5c4
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2cfc]
movq qword [ebp - 0x2d08], xmm0
push 0
push eax
mov dword [ebp - 0x2d00], 0
mov dword [ebp - 0x2d08], 0
mov dword [ebp - 0x2d04], 0
call fcn.0051edd0
add esp, 0xc
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44f5b9
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.0051edd0
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.00472530
mov ecx, dword [ebp - 0x2d10]
xor eax, eax
add esp, 8
mov edx, 0x80070057
cmp ecx, 0x7fffffff
cmova eax, edx
test eax, eax
js 0x44f5b1
push SysReAllocString
lea eax, [ebp - 0x5ec]
mov edx, ecx
push eax
push ecx
mov ecx, dword [ebp - 0x2d14]
call fcn.0044eeb0
test eax, eax
mov eax, 1
cmove esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x44f5ce
inc edi
cmp edi, 0x10
jl 0x44f494
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret
Function at 0x450050
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f8
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x4f4], ebx
push edi
mov edi, edx
mov dword [ebp - 0x4f8], edi
test ebx, ebx
je 0x450272
push esi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0051edd0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x4e0]
add esp, 0xc
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x45022b
xor edi, edi
mov dword [ebp - 0x4e4], 0x104
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x450217
nop dword [eax]
lea eax, [ebp - 0x4e8]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call esi
test eax, eax
jne 0x4501e1
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x4e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4501d9
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0051edd0
add esp, 8
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.0044ff30
add esp, 4
test eax, eax
je 0x4501d9
cmp byte [ebp - 0x68], 0
je 0x45019b
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x4501d9
lea ecx, [ebp - 0x68]
mov edx, 0x64
lea esi, [ebp - 0xcc]
mov eax, ecx
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffff9a]
test eax, eax
je 0x4501cb
mov al, byte [esi + ecx]
test al, al
je 0x4501cb
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4501b0
jmp 0x4501cf
test edx, edx
jne 0x4501d0
dec ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ecx], 0
push dword [ebp - 0x4e8]
call ebx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4e4]
mov dword [ebp - 0x4e4], 0x104
push eax
lea eax, [ebp - 0x2d4]
inc edi
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4500f0
push dword [ebp - 0x4e0]
call ebx
mov ebx, dword [ebp - 0x4f4]
mov edi, dword [ebp - 0x4f8]
cmp byte [ebp - 0x68], 0
pop esi
je 0x450272
xor edx, edx
mov eax, 0x80070057
cmp edi, 0x7fffffff
cmova edx, eax
test edx, edx
js 0x45025b
push SysReAllocString
lea eax, [ebp - 0x68]
mov edx, edi
push eax
push ecx
mov ecx, ebx
call fcn.0044eeb0
mov edx, eax
xor eax, eax
test edx, edx
pop edi
setns al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret
Function at 0x450e20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x18]
mov eax, edi
mov dword [ebp - 4], eax
test ecx, ecx
je 0x450e57
cmp word [ecx], 0
je 0x450e57
lea eax, [ebp - 4]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x450eae
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
test edx, edx
je 0x450e97
push 0
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x450eae
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x450e91
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x450ebc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4518b0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.0051edd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x451914
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404e80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret

Function at 0x451cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.0051edd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x451d54
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404e80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret

Function at 0x451f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.0051edd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x451f94
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00404e80
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret
Function at 0x452cf0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push eax
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x452d20
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.0053b895
mov esi, eax
add esp, 4
test esi, esi
jne 0x452d37
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x452d78
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x5a023c
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x452d78
mov ecx, dword [ebp - 8]
mov ebx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
push esi
call fcn.00529806
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452e50
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x452fc2
push edi
mov edi, dword [sym.imp.Secur32.dll_GetUserNameExW]
lea eax, [ebp - 8]
push eax
push 0
push 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call edi
test al, al
je 0x452ea2
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, eax
push esi
push eax
call fcn.0053b895
mov esi, eax
add esp, 4
test esi, esi
je 0x452fba
lea eax, [ebp - 8]
push eax
push esi
push 2
call edi
test al, al
je 0x452fba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x452fb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x452fb1
push dword [ebp - 0x10]
call fcn.0053b895
mov edi, eax
add esp, 4
test edi, edi
je 0x452fb1
mov eax, dword [ebp - 0xc]
add eax, eax
push ebx
push eax
call fcn.0053b895
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x452f3e
push esi
call fcn.00529806
push edi
call fcn.00529806
add esp, 8
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x452f92
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x452f92
push dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x64
call fcn.004092e0
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0
push esi
call fcn.00529806
push edi
call fcn.00529806
push ebx
call fcn.00529806
mov eax, dword [ebp - 0x14]
add esp, 0xc
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00529806
add esp, 4
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x452fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c4104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push 0x208
push ebx
push eax
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
call fcn.0051edd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x453023
push esi
mov ecx, 0xb
lea eax, [ebp - 0x214]
mov esi, str._system32Shell32.dll
lea edx, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00452cf0
add esp, 4
pop esi
test eax, eax
je 0x45307a
cmp dword [ebp - 0x210], 0x60002
jb 0x45307a
cmp dword [ebp - 0x214], 0x295a01c8
mov eax, 1
cmovae ebx, eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0051ac8e
mov esp, ebp
pop ebp
ret