joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d9b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.0046a870
test eax, eax
jne 0x42da02
push 0x30
push 0x497944
push 0x49c7d0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42db6c
push 0x3c
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], 0x44
push 0
push eax
mov dword [ebp - 0x74], 0
call fcn.00470180
xorps xmm0, xmm0
push 0x49c854
movdqu xmmword [ebp - 0x34], xmm0
call fcn.0046a680
push eax
push 0x49c854
call fcn.0046a810
add esp, 0x18
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0046a380
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42da64
call fcn.0046a850
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.0046a2c0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42db4a
push 0x49c8ac
call fcn.0046a680
push eax
push 0x49c8ac
call fcn.0046a810
mov dword [ebp - 0x1c], eax
push 0x49c878
mov byte [ebp - 4], 4
call fcn.0046a680
push eax
push 0x49c878
call fcn.0046a810
add esp, 0x18
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0046a380
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.0046a380
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x42daff
call fcn.0046a850
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x42db0f
call fcn.0046a850
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x42db1f
call fcn.0046a850
push 0x30
push 0x497944
lea ecx, [ebp - 0x20]
call fcn.0046a2c0
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x42db5c
call fcn.0046a850
jmp 0x42db5c
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42db6c
call fcn.0046a850
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x42db7f
call fcn.0046a850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e7b0
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.0046efa9
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 0x42e882
cmp dword [ebp - 8], 3
jne 0x42e882
lea eax, [edi*8]
cmp dword [ebp - 0xc], eax
jne 0x42e882
lea eax, [ebx + edi*4]
push eax
push edi
push 0x103a
push dword [ebp + 8]
call esi
xor esi, esi
test edi, edi
je 0x42e87e
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x42e879
push 0x60
push dword [0x4bd894]
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 0x42e850
mov byte [ebp - 1], 1
push ebx
call fcn.0047017a
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e8a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
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 ebx, eax
xor ecx, ecx
mov edx, 4
lea eax, [ebx + ebx]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046efa9
add esp, 4
mov edi, eax
lea ecx, [edi + ebx*4]
push ecx
push ebx
push 0x103b
push dword [ebp + 8]
call esi
xor esi, esi
test ebx, ebx
je 0x42e928
jmp 0x42e900
push dword [0x4bd894]
push 0x60
push 0
push esi
push 0x101d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [edi + esi*4], eax
inc esi
cmp esi, ebx
jb 0x42e900
lea eax, [ebx*8]
push eax
push edi
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.0047017a
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42f510
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4890b8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x42f5dc
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42f5dc
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push esi
push eax
call fcn.0042f5f0
add esp, 0xc
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0046a870
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.0046a870
lea ecx, [ebp + 8]
lea eax, [eax*2 + 2]
push eax
call fcn.0046a2c0
push eax
push esi
call fcn.004709a0
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], 0xffffffff
test ecx, ecx
je 0x42f5dc
call fcn.0046a850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Get file size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00430650
mov bl, byte [ebp + 0xc]
lea ecx, [esi + 0xf8]
mov edi, dword [ebp + 8]
push edi
mov byte [esi + 4], 0
mov byte [esi + 5], bl
call fcn.00402120
mov dword [esi + 0xfc], 0
test edi, edi
je 0x430045
cmp word [edi], 0
je 0x430045
mov dword [esi], 0
jmp 0x43004b
mov dword [esi], 0x17d78400
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x10]
mov eax, dword [0x4bdb6c]
cmovb ecx, dword [ebp - 0x10]
add eax, 8
mov dword [esi + 8], ecx
push eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [0x4bdb70]
mov ecx, dword [0x4bdb6c]
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
push eax
push 0
lea eax, [ebp - 8]
push eax
call fcn.00444990
mov eax, dword [0x4bdb6c]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
push 0
test eax, eax
je 0x4301d3
push eax
push 0
push 0x4000004
push 0
mov dword [esi + 0xc], 0xffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor ecx, ecx
mov dword [esi + 0x10], eax
pop edi
test eax, eax
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
test bl, bl
je 0x430213
push 3
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
jne 0x430228
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x430228
push 0
push 0
push 3
push 0
push 1
mov byte [esi + 4], 1
push connect
jmp 0x43021e
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x43023b
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 4]
mov dword [ebp - 8], 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x1c], eax
test bl, bl
je 0x430284
xor eax, eax
cmp byte [esi + 4], al
push 0
push 0
sete al
push 0
lea eax, [eax*2 + 2]
push eax
push 0
push dword [esi + 0xc]
jmp 0x4301ba
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4bc1dc]
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
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x218], 0
call fcn.00470180
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 dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x4319f3
push 0
call fcn.0046a680
push eax
push 0
jmp 0x431a7d
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], 0x4a277c
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 0x431a57
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.0046a680
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0046a810
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
pop esi
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret

Function at 0x4339e0
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 0x433a5e
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.0046a870
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.0046a870
mov ecx, edi
lea eax, [eax*2 + 2]
push eax
call fcn.0046a2c0
push eax
push esi
call fcn.004709a0
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 0x433de0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bc1dc]
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 0x433e6f
lea esp, [esp]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.00433de0
add esp, 8
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
push dword [ebp - 0x210]
call esi
test eax, eax
je 0x433e40
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]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
inc eax
pop ebx
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
Function at 0x434a30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
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.0046efa9
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.0046a680
push eax
push edi
call fcn.0046a810
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
call fcn.0047017a
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x435590
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x4bdbac], 0
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x6c], 0
jne 0x4355d4
push 5
push 0x4bdbac
push 0xe
mov eax, 0x2e
push 0x400
mov word [0x4bdbac], 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 0x497310
push eax
call fcn.004314d0
mov dx, word [0x4bdbac]
lea eax, [ebp - 0x68]
add esp, 0x10
lea esp, [esp]
movzx ecx, word [eax]
cmp ecx, 0x30
je 0x43560d
cmp cx, dx
jne 0x435612
add eax, 2
jmp 0x435600
cmp word [eax], 0
je 0x435633
mov ecx, dword [ebp + 0x14]
jmp 0x435620
test ecx, ecx
jle 0x435633
cmp word [eax], dx
je 0x43562a
dec ecx
add eax, 2
cmp word [eax], 0
jne 0x435620
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x68]
push eax
call fcn.0046a680
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0046a810
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop esi
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
Function at 0x435840
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
push 5
mov word [ebp - 0x28], ax
mov word [ebp - 0x1c], ax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x34]
push eax
push 0x11
push edi
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1a], xmm0
movq qword [ebp - 0xe], xmm0
call esi
push 5
lea eax, [ebp - 0x40]
push eax
push 0x12
push edi
call esi
push 5
lea eax, [ebp - 0x28]
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 - 0x10]
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.00472e54
mov dword [ebx], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00472e54
mov dword [ebx + 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00472e54
mov dword [ebx + 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00472d95
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00472d95
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00472e54
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [ebx + 0x14], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret

Function at 0x4359a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bc1dc]
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 0x4359cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x435a90
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 0x435aa0
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x49d07c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00472de8
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 0x435a84
push 0x4984dc
mov ecx, edi
call fcn.0046a4e0
push dword [ebp - 0x210]
mov ecx, edi
call fcn.0046a4e0
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x435a8f
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.0046f8ce
mov esp, ebp
pop ebp
ret
push 0x4984dc
mov ecx, edi
call fcn.0046a4e0
push dword [ebp - 0x210]
mov ecx, edi
call fcn.0046a4e0
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.0046f8ce
mov esp, ebp
pop ebp
ret
Function at 0x435ae0
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]
mov dword [ebp - 4], 0
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.0046efa9
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.0046a680
push eax
push edi
call fcn.0046a810
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
call fcn.0047017a
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4361e0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
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 edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 2
push dword [ebp - 0x14]
call edi
mov esi, dword [ebp - 0x1c]
push esi
call fcn.00470594
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push esi
push ebx
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x4362ab
xor edi, edi
cmp edi, dword [ebx]
jae 0x4362a7
lea esi, [ebx + 8]
mov edi, edi
push dword [esi - 4]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x43629d
mov eax, dword [esi]
test al, 4
je 0x43629d
test eax, 0xffffffef
jne 0x4362a5
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x436280
cmp edi, dword [ebx]
setne byte [ebp - 0xd]
push ebx
call fcn.0047055c
add esp, 4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xd]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret

Function at 0x4362f0
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x43630a
call dword [sym.imp.KERNEL32.dll_GetVersion]
shr eax, 8
cmp al, 2
jb 0x43630a
mov al, 1
ret
xor al, al
ret
Function at 0x436c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4898c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4bc1dc]
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 connect
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x436dac
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 0x436da5
cmp dword [ebp - 0x10], 4
jne 0x436da5
push dword [ebp - 0x14]
call fcn.0046a780
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x436d38
mov ecx, esi
call fcn.0046a770
jmp 0x436d3a
xor eax, eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436d93
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x436d93
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
mov dword [edi], esi
test esi, esi
je 0x436d6e
mov ecx, esi
call fcn.0046a570
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x436d80
mov ecx, esi
call fcn.0046a850
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], 0xffffffff
test esi, esi
je 0x436da5
mov ecx, esi
call fcn.0046a850
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 0x436e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489911
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4bc1dc]
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 - 0x14], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call fcn.0046a780
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
test esi, esi
je 0x436e70
mov ecx, esi
call fcn.0046a770
jmp 0x436e72
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 0x436e9b
mov dword [edi], esi
test esi, esi
je 0x436e99
mov ecx, esi
call fcn.0046a570
jmp 0x436ea1
mov dword [edi], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], 1
test esi, esi
je 0x436eb7
mov ecx, esi
call fcn.0046a850
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