joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2762
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x517ba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
lea ecx, [eax + 4]
mov byte [eax], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push 0x186a0
mov byte [ebp - 4], 1
call fcn.00422680
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0xc
mov byte [ebp - 4], 4
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.004a4441
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x44], eax
push 0xc
mov byte [ebp - 4], 5
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call fcn.004a4441
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x4c], eax
lea ebx, [edi + 0x54]
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a4441
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, dword [ebx + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
imul ecx
mov byte [ebp - 4], 8
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa
jae 0x437868
push 0xa
mov ecx, ebx
call fcn.0043a560
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0x12
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x84]
push esi
call ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], 0
lea esi, [edi + 0xb0]
push esi
call ebx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea esi, [edi + 0xe0]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x18], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a4441
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
push 0x18
mov byte [ebp - 4], 0xf
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004a4441
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 8], eax
mov eax, edi
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 0x457be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4866
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x517ba0]
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.0041eed0
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 0x457dea
nop dword [eax]
push dword [0x5174cc]
lea eax, [ebp - 0x218]
push 0x4f2dac
push eax
call fcn.004b8550
add esp, 0xc
test eax, eax
jne 0x457dae
mov eax, dword [0x5174cc]
lea esi, [ebp - 0x218]
lea esi, [esi + eax*2]
push esi
call fcn.0049fbd0
push eax
push esi
call fcn.0049fd60
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.00448db0
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x23c], xmm0
cmp byte [ecx + 0xd], 0
jne 0x457d0e
add ecx, 0x10
call fcn.0049f770
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.0049f770
push esi
push eax
call fcn.004abd57
add esp, 8
test eax, eax
jns 0x457d91
cmp dword [edi + 4], 0xccccccc
je 0x457e08
mov ebx, dword [edi]
mov dword [ebp - 0x230], edi
push 0x14
mov byte [ebp - 4], 1
mov dword [ebp - 0x22c], 0
call fcn.004a4441
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 0x457d5f
call fcn.0049fad0
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.004200b0
mov ebx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 4], 4
test ecx, ecx
je 0x457da7
call fcn.0049fda0
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 0x457c70
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.004a4433
mov esp, ebp
pop ebp
ret 4
call fcn.004202a0
int3

Function at 0x4581f0
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 0x45eb30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4be0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x517ba0]
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 0x45ece2
xor esi, esi
test eax, eax
je 0x45ebd4
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 0x45ece2
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 0x45ec7b
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0045eb30
mov esi, eax
test esi, esi
jne 0x45ecdc
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 0x45ec30
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45ec92
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.004567d0
mov ecx, dword [ebp - 0x21c]
mov esi, eax
test ecx, ecx
je 0x45ecbc
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.004a4433
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x45ecbc
push eax
jmp 0x45ecba
Function at 0x45eeb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x517ba0]
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 0x45ef5c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x45ef5c
call fcn.00456140
mov edi, eax
jmp 0x45f07b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x45ef7f
call fcn.00456140
jmp 0x45f06e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x45ef9d
call fcn.00456140
jmp 0x45f06e
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 0x45efbe
mov edi, 0x8007000e
jmp 0x45f070
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x45f0b4
jb 0x45efdc
cmp eax, 0xffffffff
ja 0x45f0b4
cmp eax, 0x400
jbe 0x45eff1
push eax
lea ecx, [ebp - 0x418]
call fcn.0043aec0
jmp 0x45f017
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x45f017
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x45f02e
mov edi, 0x8007000e
jmp 0x45f070
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 0x45f04e
call fcn.00456140
jmp 0x45f06e
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.0045ed10
mov edi, eax
test esi, esi
je 0x45f07b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x45f094
lea ecx, [ebp - 0x418]
call fcn.0043c3a0
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.004a4433
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00408150
int3
Function at 0x462690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x517ba0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 0x206
mov dword [ebp - 0x210], esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004a7410
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 0x4626fe
push 0
call fcn.0049fbd0
push eax
push 0
jmp 0x462788
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], 0x4f0bcc
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 0x462762
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.0049fbd0
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0049fd60
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
pop esi
call fcn.004a4433
mov esp, ebp
pop ebp
ret

Function at 0x4647a0
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 0x46481e
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.0049fdc0
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.0049fdc0
mov ecx, edi
lea eax, [eax*2 + 2]
push eax
call fcn.0049f770
push eax
push esi
call fcn.004a7c70
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 0x464d20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x517ba0]
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 0x464daf
nop dword [eax]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.00464d20
add esp, 8
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
push dword [ebp - 0x210]
call esi
test eax, eax
je 0x464d80
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.004a4433
mov esp, ebp
pop ebp
ret
Function at 0x465be0
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.004a4906
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.0049fbd0
push eax
push edi
call fcn.0049fd60
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
call fcn.004a447f
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x466760
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x517ba0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x51c4b8], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 0x6c], ebx
jne 0x4667a1
push 5
push 0x51c4b8
push 0xe
mov eax, 0x2e
push 0x400
mov word [0x51c4b8], 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 0x4e26d0
push eax
call fcn.0041f010
mov di, word [0x51c4b8]
lea edx, [ebp - 0x68]
add esp, 0x10
nop dword [eax]
movzx eax, word [edx]
cmp eax, 0x30
je 0x4667dd
cmp ax, di
jne 0x4667e2
add edx, 2
jmp 0x4667d0
test ax, ax
je 0x46680c
push esi
mov esi, dword [ebp + 0x14]
nop dword [eax + eax]
test esi, esi
jle 0x46680b
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 0x4667f0
pop esi
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x68]
push eax
call fcn.0049fbd0
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0049fd60
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [ebx], eax
xor ecx, ebp
mov eax, ebx
pop edi
pop ebx
call fcn.004a4433
mov esp, ebp
pop ebp
ret
Function at 0x4669c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x517ba0]
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.004b30e4
mov dword [ebx], eax
lea eax, [ebp - 0x40]
push eax
call fcn.004b30e4
mov dword [ebx + 4], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004b30e4
mov dword [ebx + 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004bbb6c
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004bbb6c
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004b30e4
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ebx + 0x14], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a4433
mov esp, ebp
pop ebp
ret

Function at 0x466b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x517ba0]
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 0x466b4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x466c10
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 0x466c20
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4eb4f0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004b8a72
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 0x466c04
push 0x4e38ec
mov ecx, edi
call fcn.0049fa40
push dword [ebp - 0x210]
mov ecx, edi
call fcn.0049fa40
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x466c0f
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.004a4433
mov esp, ebp
pop ebp
ret
push 0x4e38ec
mov ecx, edi
call fcn.0049fa40
push dword [ebp - 0x210]
mov ecx, edi
call fcn.0049fa40
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.004a4433
mov esp, ebp
pop ebp
ret
Function at 0x466c60
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.004a4906
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.0049fbd0
push eax
push edi
call fcn.0049fd60
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
call fcn.004a447f
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x467400
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x517ba0]
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.004b1722
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 0x4674d2
push edi
xor edi, edi
cmp edi, dword [ebx]
jae 0x4674cd
lea esi, [ebx + 8]
nop
push dword [esi - 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4674c3
mov eax, dword [esi]
test eax, 0xffffffef
setne cl
test al, 4
setne al
test al, cl
jne 0x4674cb
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x4674a0
cmp edi, dword [ebx]
setne byte [ebp - 0xd]
pop edi
push ebx
call fcn.004b1707
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.004a4433
mov esp, ebp
pop ebp
ret
Function at 0x4683b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d54bd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x517ba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 3
push 0
push 0
push accept
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4684cb
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4684c4
cmp dword [ebp - 0x10], 4
jne 0x4684c4
push dword [ebp - 0x14]
call fcn.0049fcd0
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
test esi, esi
je 0x468457
mov ecx, esi
call fcn.0049fcc0
jmp 0x468459
xor eax, eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4684b2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x4684b2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
mov dword [edi], esi
test esi, esi
je 0x46848d
mov ecx, esi
call fcn.0049fad0
mov dword [ebp - 4], 1
test esi, esi
je 0x46849f
mov ecx, esi
call fcn.0049fda0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 2
test esi, esi
je 0x4684c4
mov ecx, esi
call fcn.0049fda0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [eax], 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 0x468520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d54ed
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x517ba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call fcn.0049fcd0
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x468589
mov ecx, esi
call fcn.0049fcc0
jmp 0x46858b
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4685bb
mov dword [edi], esi
test esi, esi
je 0x4685b2
mov ecx, esi
call fcn.0049fad0
mov dword [ebp - 4], 1
jmp 0x4685c8
mov dword [edi], 0
mov dword [ebp - 4], 2
test esi, esi
je 0x4685d3
mov ecx, esi
call fcn.0049fda0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret