joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0x101f
push dword [ebp + 8]
call esi
push 0
push 0
push 0x1200
push eax
call esi
mov edi, eax
xor ecx, ecx
mov edx, 4
lea eax, [edi + edi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12e6
add esp, 4
mov byte [ebp - 1], 0
mov ebx, eax
mov dword [ebp - 8], 0xffffffff
lea eax, [edi*8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4511f2
cmp dword [ebp - 8], 3
jne 0x4511f2
lea eax, [edi*8]
cmp dword [ebp - 0xc], eax
jne 0x4511f2
lea eax, [ebx + edi*4]
push eax
push edi
push 0x103a
push dword [ebp + 8]
call esi
xor esi, esi
test edi, edi
je 0x4511ee
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x4511e9
push 0x60
push dword [0x517da4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
movzx eax, ax
push eax
push esi
push 0x101e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, edi
jb 0x4511c0
mov byte [ebp - 1], 1
push ebx
call fcn.004a0e5f
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451210
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
push 0x101f
push dword [ebp + 8]
call esi
push 0
push 0
push 0x1200
push eax
call esi
mov edi, eax
xor ecx, ecx
mov edx, 4
mov dword [ebp - 4], edi
lea eax, [edi + edi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12e6
add esp, 4
mov ebx, eax
lea ecx, [ebx + edi*4]
push ecx
push edi
push 0x103b
push dword [ebp + 8]
call esi
xor esi, esi
test edi, edi
je 0x45129c
nop
mov edi, dword [0x517da4]
push 0
push esi
push 0x101d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, dword [ebp - 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x451270
lea eax, [edi*8]
push eax
push ebx
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call fcn.004a0e5f
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451bf0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfbfd
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x451cbc
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x451cbc
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push esi
push eax
call fcn.00451cd0
add esp, 0xc
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0049c770
lea eax, [eax*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp + 8]
mov esi, eax
call fcn.0049c770
lea ecx, [ebp + 8]
lea eax, [eax*2 + 2]
push eax
call fcn.0049c120
push eax
push esi
call fcn.004a4660
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x451cbc
call fcn.0049c750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x455140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0c06
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x513b94]
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, ecx
mov esi, dword [edi]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
push dword [esi + 4]
push edi
call fcn.0041e460
xor ebx, ebx
mov dword [esi + 4], esi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
mov dword [esi], esi
push eax
lea eax, [ebp - 0x218]
mov dword [esi + 8], esi
push eax
push ebx
push dword [ebp - 0x228]
mov dword [edi + 4], 0
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x45534a
nop dword [eax]
push dword [0x5134c4]
lea eax, [ebp - 0x218]
push 0x4eedc0
push eax
call fcn.004b4f40
add esp, 0xc
test eax, eax
jne 0x45530e
mov eax, dword [0x5134c4]
lea esi, [ebp - 0x218]
lea esi, [esi + eax*2]
push esi
call fcn.0049c580
push eax
push esi
call fcn.0049c710
add esp, 0xc
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.00446430
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x23c], xmm0
cmp byte [ecx + 0xd], 0
jne 0x45526e
add ecx, 0x10
call fcn.0049c120
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.0049c120
push esi
push eax
call fcn.004a8747
add esp, 8
test eax, eax
jns 0x4552f1
cmp dword [edi + 4], 0xccccccc
je 0x455368
mov ebx, dword [edi]
mov dword [ebp - 0x230], edi
push 0x14
mov byte [ebp - 4], 1
mov dword [ebp - 0x22c], 0
call fcn.004a0e21
mov esi, eax
add esp, 4
mov dword [ebp - 0x22c], esi
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4552bf
call fcn.0049c480
push esi
push dword [ebp - 0x238]
mov dword [esi], ebx
mov ecx, edi
push dword [ebp - 0x23c]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov word [esi + 0xc], 0
mov dword [ebp - 0x22c], 0
call fcn.0041f640
mov ebx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 4], 4
test ecx, ecx
je 0x455307
call fcn.0049c750
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
inc ebx
push eax
push ebx
push dword [ebp - 0x228]
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4551d0
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.004a0e13
mov esp, ebp
pop ebp
ret 4
call fcn.0041f830
int3

Function at 0x455770
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x9c8a
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x14]
pop esi
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0x10
Function at 0x45c170
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x513b94]
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 eax, ecx
mov dword [ebp - 0x22c], eax
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
or ebx, 0x2001f
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea edx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push edx
push ebx
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x21c]
test esi, esi
jne 0x45c322
xor esi, esi
test eax, eax
je 0x45c214
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x224]
and ebx, 0x300
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
test esi, esi
jne 0x45c322
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call ebx
test eax, eax
jne 0x45c2bb
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0045c170
mov esi, eax
test esi, esi
jne 0x45c31c
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x45c270
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45c2d2
push eax
call edi
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.00453d40
mov ecx, dword [ebp - 0x21c]
mov esi, eax
test ecx, ecx
je 0x45c2fc
push ecx
call edi
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.004a0e13
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45c2fc
push eax
jmp 0x45c2fa
Function at 0x45c4f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0feb
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x45c59c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x45c59c
call fcn.004536b0
mov edi, eax
jmp 0x45c6bb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x45c5bf
call fcn.004536b0
jmp 0x45c6ae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x45c5dd
call fcn.004536b0
jmp 0x45c6ae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x45c5fe
mov edi, 0x8007000e
jmp 0x45c6b0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x45c6f4
jb 0x45c61c
cmp eax, 0xffffffff
ja 0x45c6f4
cmp eax, 0x400
jbe 0x45c631
push eax
lea ecx, [ebp - 0x418]
call fcn.00439a70
jmp 0x45c657
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x45c657
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x45c66e
mov edi, 0x8007000e
jmp 0x45c6b0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x45c68e
call fcn.004536b0
jmp 0x45c6ae
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0045c350
mov edi, eax
test esi, esi
je 0x45c6bb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x45c6d4
lea ecx, [ebp - 0x418]
call fcn.0043af50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004075e0
int3
Function at 0x45fc70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x513b94]
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
mov dword [ebp - 0x210], esi
call fcn.004a3e00
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 0x210]
push eax
push 0x12
push edi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x45fcd6
push 0
call fcn.0049c580
push eax
push 0
jmp 0x45fd60
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x22c], 0x4ecbe4
mov dword [ebp - 0x228], 0x1000
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x45fd3a
mov ecx, dword [ebp - 0x214]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x20c]
push eax
call fcn.0049c580
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0049c710
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
pop esi
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x461d90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x461e0e
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.0049c770
lea eax, [eax*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, edi
mov esi, eax
call fcn.0049c770
mov ecx, edi
lea eax, [eax*2 + 2]
push eax
call fcn.0049c120
push eax
push esi
call fcn.004a4660
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x462300
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push 0xf003f
push 0
push ebx
push edi
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x46238f
nop dword [eax]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.00462300
add esp, 8
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
push dword [ebp - 0x210]
call esi
test eax, eax
je 0x462360
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x4631b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 0
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12e6
add esp, 4
mov edi, eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
call fcn.0049c580
push eax
push edi
call fcn.0049c710
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
call fcn.004a0e5f
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x463d90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x518460], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 0x6c], ebx
jne 0x463dd1
push 5
push 0x518460
push 0xe
mov eax, 0x2e
push 0x400
mov word [0x518460], ax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 0x68]
sub esp, 8
movsd qword [esp], xmm0
push 0x4de3d0
push eax
call fcn.0041e5a0
mov di, word [0x518460]
lea edx, [ebp - 0x68]
add esp, 0x10
nop dword [eax]
movzx eax, word [edx]
cmp eax, 0x30
je 0x463e0d
cmp ax, di
jne 0x463e12
add edx, 2
jmp 0x463e00
test ax, ax
je 0x463e3c
push esi
mov esi, dword [ebp + 0x14]
nop dword [eax + eax]
test esi, esi
jle 0x463e3b
movzx eax, word [edx]
lea ecx, [esi - 1]
add edx, 2
cmp ax, di
cmove ecx, esi
mov esi, ecx
cmp word [edx], 0
jne 0x463e20
pop esi
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x68]
push eax
call fcn.0049c580
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0049c710
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [ebx], eax
xor ecx, ebp
mov eax, ebx
pop edi
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x463ff0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
push 5
push eax
push 0x11
push edi
movq qword [ebp - 0x10], xmm0
mov word [ebp - 8], 0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], 0
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], 0
call esi
push 5
lea eax, [ebp - 0x40]
push eax
push 0x12
push edi
call esi
push 5
lea eax, [ebp - 0x10]
push eax
push 0x10
push edi
call esi
push 5
lea eax, [ebp - 0x1c]
push eax
push 0xf
push edi
call esi
push 5
lea eax, [ebp - 0x28]
push eax
push 0xe
push edi
call esi
push 5
lea eax, [ebp - 0x4c]
push eax
push 0x1010
push edi
call esi
lea eax, [ebp - 0x34]
push eax
call fcn.004afad4
mov dword [ebx], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004afad4
mov dword [ebx + 4], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004afad4
mov dword [ebx + 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004b855c
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004b855c
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004afad4
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ebx + 0x14], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret

Function at 0x464150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x46417f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x464240
push 0
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0x400
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
jne 0x464250
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4e7508
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004b5462
add esp, 0xc
lea eax, [ebp - 0x20c]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0
push 0
mov ebx, eax
lea eax, [ebp - 0x210]
push eax
push 0x400
push esi
push ebx
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x464234
push 0x4df718
mov ecx, edi
call fcn.0049c3f0
push dword [ebp - 0x210]
mov ecx, edi
call fcn.0049c3f0
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x46423f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
push 0x4df718
mov ecx, edi
call fcn.0049c3f0
push dword [ebp - 0x210]
mov ecx, edi
call fcn.0049c3f0
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x464290
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 0
push 0xe
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12e6
add esp, 4
mov edi, eax
push edi
push esi
push 0xd
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call fcn.0049c580
push eax
push edi
call fcn.0049c710
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
call fcn.004a0e5f
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x464a30
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push eax
push 8
mov word [ebp - 8], 0x500
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x14]
call fcn.004ae112
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push ebx
push 2
push dword [ebp - 0x1c]
call esi
test eax, eax
je 0x464b02
push edi
xor edi, edi
cmp edi, dword [ebx]
jae 0x464afd
lea esi, [ebx + 8]
nop
push dword [esi - 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x464af3
mov eax, dword [esi]
test eax, 0xffffffef
setne cl
test al, 4
setne al
test al, cl
jne 0x464afb
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x464ad0
cmp edi, dword [ebx]
setne byte [ebp - 0xd]
pop edi
push ebx
call fcn.004ae0f7
add esp, 4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xd]
xor ecx, ebp
pop esi
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret