joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1008a2e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi], vtable.CAlexaOptionsWindow.0
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x3c]
mov dword [esp + 0x18], edi
mov dword [esi + 0x38], edi
call fcn.1000bcf0
mov al, byte [esp + 0x20]
mov dword [esi + 0x48], edi
mov byte [esi + 0x4c], al
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x10011ec0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x10011ee0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x10011ef4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x10011f20
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x10011f36
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10011f43
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x100125e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x100c6580]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x1001265f
xor eax, eax
cmp ecx, ebx
je 0x10012647
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x10012683
cmp ecx, ebx
je 0x1001266a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.1007219d
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x100126ea
jmp 0x100126b0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.100125e0
mov edi, eax
cmp edi, ebx
jne 0x10012739
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x100126b0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x100126fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.10011d30
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10012720
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.1007219d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10012748
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007219d
mov esp, ebp
pop ebp
ret 4
Function at 0x10014270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x1008abf0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100c6580]
xor eax, ebp
mov dword [ebp + 0x404], 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 + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x100142f2
call fcn.100048f0
mov edi, eax
jmp 0x100143d4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001430b
call fcn.100048f0
jmp 0x100143cb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x10014326
call fcn.100048f0
jmp 0x100143cb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x1001435c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1001434a
lea ecx, [ebp]
call fcn.100239c0
lea ecx, [ebp - 0x20]
call fcn.100038d0
mov eax, 0x8007000e
jmp 0x100143e6
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.10012f40
mov dword [ebp - 4], 1
jmp 0x10014388
mov eax, dword [ebp]
test eax, eax
jne 0x10014396
mov edi, 0x8007000e
jmp 0x100143cd
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x100143af
call fcn.100048f0
jmp 0x100143cb
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10014030
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x100143e4
lea ecx, [ebp]
call fcn.100239c0
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 + 0x404]
xor ecx, ebp
call fcn.1007219d
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10015520
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1008ae00
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100c6580]
xor eax, ebp
mov dword [ebp + 0x208], 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 + 0x214]
mov ebx, ecx
mov byte [ebx + 0x1200], 0
mov eax, dword [eax + 8]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.1000ad20
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10015636
mov eax, dword [esi]
test eax, eax
je 0x10015602
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call edi
test eax, eax
jbe 0x10015602
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp + 2]
push edx
mov word [ebp], cx
call fcn.10072920
push 0x38
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.10072920
lea ecx, [ebp]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0x104
mov eax, dword [esi]
add esp, 0x18
test eax, eax
je 0x100155e0
push eax
call edi
jmp 0x100155e2
xor eax, eax
lea edx, [ebp - 0x50]
push edx
push 0x10000000
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp dword [ebp - 0x44], 3
sete cl
mov byte [ebx + 0x1200], cl
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10015636
mov eax, dword [esi]
test eax, eax
je 0x1001561d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001562d
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1007219d
add ebp, 0x20c
mov esp, ebp
pop ebp
ret 4
Function at 0x100197f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1008b619
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor edi, edi
mov dword [esp + 0x14], edi
mov ebp, dword [esp + 0x3c]
mov ecx, ebp
mov dword [esp + 0x34], edi
call fcn.10002790
mov eax, dword [esi + 0x8c]
mov ebx, dword [esi + 0x78]
mov dword [esp + 0x34], edi
mov edi, dword [eax]
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], edi
lea ecx, [ecx]
mov eax, dword [esi + 0x8c]
mov esi, dword [esi + 0x78]
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x10019865
cmp ebx, esi
je 0x1001986a
call fcn.1007260f
cmp edi, dword [esp + 0x28]
je 0x100198dd
test ebx, ebx
jne 0x100198d5
call fcn.1007260f
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10019885
call fcn.1007260f
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi + 4]
lea eax, [edi + 8]
push eax
push ecx
push esi
mov ecx, ebp
call fcn.1001aff0
push 1
mov ecx, ebp
mov edi, eax
call fcn.10018230
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov dword [edx], edi
test ebx, ebx
jne 0x100198d9
call fcn.1007260f
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, dword [eax + 0x14]
jne 0x100198c4
call fcn.1007260f
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov edi, eax
jmp 0x10019850
mov eax, dword [ebx]
jmp 0x1001987b
mov eax, dword [ebx]
jmp 0x100198b6
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x10019a60
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x1008b693
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100c6580]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov dword [esp + 0x238], 0
mov word [esp + 0x24], ax
call fcn.10072920
mov edx, dword [esp + 0x240]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
add esp, 8
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], edx
mov eax, dword [esp + 0x238]
test eax, eax
je 0x10019ae7
add eax, 8
push eax
call ebx
lea eax, [esp + 0x14]
push eax
call fcn.10034e30
add esp, 8
mov eax, dword [esp + 0x10]
mov byte [esp + 0x22c], 1
test eax, eax
je 0x10019b41
mov eax, dword [eax]
test eax, eax
je 0x10019b41
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x10019b41
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esp
test eax, eax
je 0x10019b30
add eax, 8
push eax
call ebx
mov ecx, esi
call fcn.10019900
mov edi, eax
test edi, edi
jge 0x10019bc6
mov eax, dword [esp + 0x234]
test eax, eax
je 0x10019b50
mov eax, dword [eax]
jmp 0x10019b52
xor eax, eax
push 0
push 0
push 0x104
lea edx, [esp + 0x24]
push edx
push eax
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
mov edi, eax
test edi, edi
jl 0x10019bc6
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.1000ad20
mov ecx, esi
call fcn.10019900
mov edi, eax
test edi, edi
jl 0x10019bc6
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.1000ad20
push ecx
mov ecx, dword [esp + 0x23c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x23c]
mov dword [esp + 0x1c], esp
test eax, eax
je 0x10019bbe
add eax, 8
push eax
call ebx
call fcn.10034b70
add esp, 8
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x10019c10
lea edx, [esi + 8]
push edx
call ebx
test eax, eax
jne 0x10019c08
test esi, esi
je 0x10019c08
mov eax, dword [esi]
test eax, eax
je 0x10019bef
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10019bff
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x234]
test esi, esi
je 0x10019c4f
lea eax, [esi + 8]
push eax
call ebx
test eax, eax
jne 0x10019c4f
test esi, esi
je 0x10019c4f
mov eax, dword [esi]
test eax, eax
je 0x10019c36
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10019c46
push eax
call fcn.10071dac
add esp, 4
push esi
call fcn.10071d3c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1007219d
add esp, 0x220
ret 4
Function at 0x10019ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10019f36
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x10019f05
cmp eax, 2
jne 0x10019f21
mov eax, dword [esp + 0x14]
test esi, esi
je 0x10019f30
test eax, eax
je 0x10019f2b
test al, 1
jne 0x10019f21
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x10019f30
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x1001cfa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008ba60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [0x100c8824]
mov edx, dword [eax + 0xc]
mov ecx, 0x100c8824
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x30]
push 8
push 0
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x38], 1
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x1001d015
push eax
call fcn.100035f0
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x1001d021
xor eax, eax
jmp 0x1001d035
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001d026
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.1000b120
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x100213b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.1001f730
mov dword [esp + 0x20], eax
cmp dword [esi + 0x10c0], eax
jne 0x100213dd
mov dword [esi + 0x10c0], 0
mov ecx, dword [esi + 0x78]
mov ebx, dword [ecx]
add esi, 0x60
mov edi, dword [esi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
nop
mov ebp, dword [esi + 0x18]
mov eax, dword [esi]
test edi, edi
je 0x100213fd
cmp edi, eax
je 0x10021402
call fcn.1007260f
cmp ebx, ebp
je 0x10021462
test edi, edi
jne 0x10021447
call fcn.1007260f
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x1002141b
call fcn.1007260f
mov edx, dword [esp + 0x20]
cmp edx, dword [ebx + 0x10]
jne 0x1002144f
test edi, edi
jne 0x1002144b
call fcn.1007260f
cmp ebx, dword [edi + 0x18]
jne 0x10021437
call fcn.1007260f
add ebx, 0xc
push ebx
mov ecx, esi
call fcn.1001e250
mov ebx, dword [esi + 0x18]
jmp 0x100213e5
mov eax, dword [edi]
jmp 0x10021411
mov edi, dword [edi]
jmp 0x1002142d
lea ecx, [esp + 0x14]
call fcn.1001a8b0
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x100213f0
mov ecx, dword [esp + 0x20]
call fcn.10042db0
mov esi, dword [esp + 0x10]
push 0
push eax
mov eax, dword [esi + 4]
push 0x416
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.10042cf0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x24], eax
call fcn.1001e250
mov ecx, dword [esi + 0x2c]
push edi
call fcn.100180d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x10023e20
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x1008c410
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100c6580]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x90]
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], esi
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp], 0
mov byte [ebp - 4], 1
test esi, esi
jle 0x10023f32
lea eax, [esi + 1]
mov edx, 2
mul edx
mov byte [ebp - 4], 2
test edx, edx
ja 0x10023eb5
cmp eax, 0xffffffff
jbe 0x10023ebf
push 0x80070057
call fcn.100035f0
cmp eax, 0x80
jbe 0x10023ee2
push eax
lea ecx, [ebp]
call fcn.10012560
jmp 0x10023ee8
lea eax, [ebp + 4]
mov dword [ebp], eax
mov eax, dword [ebp]
test eax, eax
jne 0x10023f04
lea ecx, [ebp + 4]
test ecx, ecx
je 0x10023f00
lea ecx, [ebp]
call fcn.100239c0
mov edi, edi
xor eax, eax
jmp 0x10023f64
lea edx, [esi + 1]
push edx
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x10023f32
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x10023f26
lea ecx, [ebp]
call fcn.100239c0
lea ecx, [ebp - 0x18]
call fcn.100038d0
xor eax, eax
jmp 0x10023f64
mov edx, dword [ebp]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test esi, esi
jne 0x10023f49
mov esi, 1
jmp 0x10023f52
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x10023f62
lea ecx, [ebp]
call fcn.100239c0
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 + 0x84]
xor ecx, ebp
call fcn.1007219d
add ebp, 0x88
mov esp, ebp
pop ebp
ret 4
Function at 0x100245c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x1002461d
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x10], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x10024657
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x1002468a
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
Function at 0x10032640
Capabilities:
Acquire debug privileges

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push 4
push str.SeCreateGlobalPrivilege
push esi
call fcn.100325c0
push 4
push str.SeBackupPrivilege
push esi
mov edi, eax
call fcn.100325c0
push 4
push str.SeCreatePagefilePrivilege
push esi
call fcn.100325c0
push 4
push str.SeCreateSymbolicLinkPrivilege
push esi
call fcn.100325c0
push 4
push str.SeDebugPrivilege
push esi
call fcn.100325c0
push 4
push str.SeImpersonatePrivilege
push esi
call fcn.100325c0
add esp, 0x48
push 4
push str.SeIncreaseBasePriorityPrivilege
push esi
call fcn.100325c0
push 4
push str.SeIncreaseQuotaPrivilege
push esi
call fcn.100325c0
push 4
push str.SeLoadDriverPrivilege
push esi
call fcn.100325c0
push 4
push str.SeManageVolumePrivilege
push esi
call fcn.100325c0
push 4
push str.SeProfileSingleProcessPrivilege
push esi
call fcn.100325c0
push 4
push str.SeRemoteShutdownPrivilege
push esi
call fcn.100325c0
add esp, 0x48
push 4
push str.SeRestorePrivilege
push esi
call fcn.100325c0
push 4
push str.SeSecurityPrivilege
push esi
call fcn.100325c0
push 4
push str.SeSystemEnvironmentPrivilege
push esi
call fcn.100325c0
push 4
push str.SeSystemProfilePrivilege
push esi
call fcn.100325c0
push 4
push str.SeSystemtimePrivilege
push esi
call fcn.100325c0
push 4
push str.SeTakeOwnershipPrivilege
push esi
call fcn.100325c0
add esp, 0x48
mov eax, edi
pop edi
pop esi
ret