joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1106b000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x534], 0
mov eax, dword [esi + 4]
push edi
mov dword [ebp - 8], eax
lea edi, [esi + 0x53c]
je 0x1106b02b
xor ecx, ecx
call fcn.1106abd0
test eax, eax
jne 0x1106b02f
xor ebx, ebx
jmp 0x1106b093
cmp dword [esi + 0x530], 0
je 0x1106b071
mov eax, dword [esi + 0x538]
lea edi, [edi + eax*8]
test eax, eax
jne 0x1106b058
cmp dword [edi + 4], eax
jne 0x1106b058
mov ecx, dword [edi]
push ecx
call sub.WinSpOOl.dRv_StartPagePrinter
mov ebx, eax
test ebx, ebx
je 0x1106b08e
mov eax, dword [ebp + 0xc]
add dword [edi + 4], eax
mov ecx, dword [edi]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
push ecx
call sub.WinSpOOl.dRv_WritePrinter
jmp 0x1106b088
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
lea edx, [ebp - 4]
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
call dword [sym.imp.KeRneL32.DLl_WriteFile]
mov ebx, eax
test ebx, ebx
jne 0x1106b093
call fcn.110667d0
mov ecx, dword [ebp - 8]
push 4
mov dword [ebp - 0xc], 0x2c
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push 2
lea edx, [ebp - 0xc]
push edx
call eax
test ebx, ebx
je 0x1106b116
cmp dword [ebp + 0x10], 0
je 0x1106b0cc
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov dword [esi + 0x5c4], eax
mov dword [esi + 0x5c8], 1
cmp dword [edi + 4], 0xc000
jb 0x1106b116
cmp dword [esi + 0x530], 0
jne 0x1106b0f5
push 0x2097
push 0x111a2458
push 0x111a2e04
call fcn.11029a70
add esp, 0xc
mov dword [edi + 4], 0
cmp dword [esi + 0x538], 0
jne 0x1106b116
mov ecx, dword [edi]
push ecx
call sub.WinSpOOl.dRv_EndPagePrinter
test eax, eax
jne 0x1106b116
call fcn.110667d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1106bd80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
push esi
push edi
mov dword [ebp - 0x6c], eax
xor eax, eax
push 0x2c
mov esi, ecx
push eax
lea ecx, [ebp - 0x60]
mov edi, edx
push ecx
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x64], 0
mov word [ebp - 0x63], ax
mov byte [ebp - 0x61], al
call fcn.11162be0
push esi
push 1
lea edx, [ebp - 0x34]
push 0x30
push edx
mov dword [ebp - 0x68], 0
call fcn.11166a2f
add esp, 0x1c
test eax, eax
jle 0x1106be52
mov eax, 0x30
xor ecx, ecx
jmp 0x1106bde0
mov edx, dword [ebp + ecx - 0x34]
cmp edx, dword [ebp + ecx - 0x64]
jne 0x1106bdf7
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x1106bde0
jmp 0x1106be10
cmp dword [ebp - 0x34], 0x52494350
jne 0x1106be52
mov eax, 0x51eb851f
mul dword [ebp - 0x30]
shr edx, 5
cmp edx, 2
ja 0x1106be52
mov ax, word [ebp - 0x24]
test ax, ax
je 0x1106bead
movzx edi, ax
add edi, edi
add edi, edi
add edi, edi
push edi
call fcn.11163a11
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
push 0
push eax
push esi
call fcn.11166ccf
mov ecx, dword [ebp - 0x68]
push esi
push 1
push edi
push ecx
call fcn.11166a2f
add esp, 0x20
test eax, eax
jg 0x1106bea0
mov edi, dword [ebp - 0x70]
test edi, edi
je 0x1106be8e
cmp dword [ebp + 8], 0
jne 0x1106be75
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edi
push 0
push 0x18c0
push eax
call edx
add esp, 0x10
push esi
call fcn.11164c77
mov eax, dword [ebp - 0x68]
add esp, 4
test eax, eax
je 0x1106be8e
push eax
call fcn.11163aa5
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
push 0
push 0x30
push esi
call fcn.11166ccf
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
call fcn.11067480
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0x660], esi
lea edi, [ebx + 0x678]
mov ecx, 0xc
lea esi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + 0x6a8], eax
xor ecx, ebp
mov eax, 1
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11076ad0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11183548
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x111ec774]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.11160400
xor ebx, ebx
push 0xe8
mov dword [ebp - 4], ebx
mov dword [esi], 0x111a3a8c
call fcn.111101b0
mov edi, eax
add esp, 4
mov dword [esi + 0x1c], edi
push 0x1119f3ec
mov dword [edi + 0x48], ebx
call dword [sym.imp.KeRneL32.DLl_GlobalAddAtomA]
mov word [0x111ee828], ax
mov dword [edi + 0x7c], ebx
mov ebx, dword [sym.imp.uSEr32.dll_GetSysColor]
push 0xf
mov dword [esi + 0x20], 0x18
call ebx
push 0x14
mov dword [esi + 0x28], eax
call ebx
push 0x10
mov dword [esi + 0x2c], eax
call ebx
push 8
mov dword [esi + 0x30], eax
call ebx
push 0x16
mov dword [esi + 0x34], eax
call ebx
mov dword [esi + 0x38], eax
mov dword [edi + 0xe0], 0
mov byte [esi + 0x40], 0
mov eax, esi
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 0x110784c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 0x1c]
mov eax, dword [ebx + 0x48]
xor ecx, ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
cmp dword [eax + 0x10], ecx
jle 0x1107857d
mov dword [ebp - 8], ecx
push esi
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 8]
test byte [eax + ecx + 8], 8
je 0x11078565
mov eax, dword [eax + ecx + 4]
mov edx, dword [edi + 8]
push eax
push edx
call dword [sym.imp.uSEr32.dll_GetDlgItem]
cmp dword [ebp + 8], 0
mov edx, dword [ebp - 8]
mov esi, eax
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax + 0x24]
mov ebx, dword [ecx + edx + 0xc]
jne 0x11078585
push esi
call dword [sym.imp.uSEr32.dll_IsWindowVisible]
test eax, eax
jne 0x11078533
test bl, 0x40
jne 0x11078533
mov eax, dword [ebp - 4]
push 0x20
push eax
mov ecx, edi
call fcn.11078180
xor eax, eax
push eax
push esi
call dword [sym.imp.uSEr32.dll_ShowWindow]
cmp dword [ebp + 8], 0
je 0x11078550
mov ecx, dword [ebp - 4]
push 0x20
push ecx
mov ecx, edi
call fcn.11078210
test bl, 0x40
je 0x11078562
mov edx, dword [ebp - 4]
push pe_nt_image_headers32
push edx
mov ecx, edi
call fcn.11078210
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x48]
add dword [ebp - 8], 0x1c
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [eax + 0x10]
jl 0x110784e5
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
test bl, 0x20
jne 0x11078533
mov eax, 5
jmp 0x11078535
Function at 0x11080740
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x111ee848], ecx
inc edx
cmp edx, 0x100
jl 0x11080742
mov dword [0x111ee840], 1
ret

Function at 0x11080850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x111ee840], 0
jne 0x11080861
call fcn.11080740
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add edx, ecx
test ecx, ecx
je 0x11080890
push esi
push edi
movzx edi, byte [edx - 1]
dec edx
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x111ee848]
dec ecx
jne 0x11080872
pop edi
pop esi
pop ebp
ret

Function at 0x110808a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.11080810
Function at 0x11083a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [esi + 0xa4c], 2
cmp dword [esi + 0xa58], edi
je 0x11083c22
push ebx
mov edi, edi
mov ecx, dword [esi + 0xa34]
mov eax, dword [esi + 0xa38]
movzx eax, byte [eax + ecx + 2]
mov edx, dword [esi + 0xa48]
shl edx, 5
xor eax, edx
mov edx, dword [esi + 0xa40]
and eax, 0x1fff
mov dword [esi + 0xa48], eax
movzx eax, word [edx + eax*2]
mov edx, dword [esi + 0xa3c]
and ecx, 0x3fff
mov word [edx + ecx*2], ax
mov ecx, dword [esi + 0xa48]
mov edx, dword [esi + 0xa40]
mov bx, word [esi + 0xa34]
mov word [edx + ecx*2], bx
test eax, eax
je 0x11083ac4
mov ecx, dword [esi + 0xa34]
sub ecx, eax
cmp ecx, 0x3efa
ja 0x11083ac4
push eax
push esi
call fcn.11083170
mov edi, eax
mov eax, dword [esi + 0xa58]
add esp, 8
cmp edi, eax
jbe 0x11083ac4
mov edi, eax
mov eax, dword [esi + 0xa34]
cmp edi, 3
jb 0x11083b9b
sub eax, dword [esi + 0xa50]
lea edx, [edi - 3]
push edx
push eax
push esi
call fcn.11082e40
sub dword [esi + 0xa58], edi
add esp, 0xc
mov dword [ebp - 4], eax
cmp edi, 0x20
ja 0x11083b67
dec edi
jmp 0x11083b00
inc dword [esi + 0xa34]
mov edx, dword [esi + 0xa34]
mov ecx, dword [esi + 0xa38]
movzx ecx, byte [ecx + edx + 2]
mov eax, dword [esi + 0xa48]
mov ebx, dword [esi + 0xa3c]
shl eax, 5
xor ecx, eax
mov eax, dword [esi + 0xa40]
and ecx, 0x1fff
mov dword [esi + 0xa48], ecx
movzx ecx, word [eax + ecx*2]
and edx, 0x3fff
dec edi
mov word [ebx + edx*2], cx
movzx ecx, word [esi + 0xa34]
mov edx, dword [esi + 0xa48]
mov eax, dword [esi + 0xa40]
mov word [eax + edx*2], cx
jne 0x11083b00
mov eax, dword [ebp - 4]
jmp 0x11083bb7
add dword [esi + 0xa34], edi
mov edx, dword [esi + 0xa34]
add edx, dword [esi + 0xa38]
xor edi, edi
movzx ecx, byte [edx]
mov dword [esi + 0xa48], ecx
movzx edx, byte [edx + 1]
shl ecx, 5
xor edx, ecx
and edx, 0x1fff
mov dword [esi + 0xa48], edx
jmp 0x11083bbd
mov ecx, dword [esi + 0xa38]
movzx edx, byte [eax + ecx]
push edx
push 0
push esi
call fcn.11082e40
add esp, 0xc
dec dword [esi + 0xa58]
inc dword [esi + 0xa34]
test eax, eax
je 0x11083bf8
mov ecx, dword [esi + 0xa30]
test ecx, ecx
js 0x11083bd5
mov eax, dword [esi + 0xa38]
add eax, ecx
jmp 0x11083bd7
xor eax, eax
mov edx, dword [esi + 0xa34]
push 0
sub edx, ecx
push edx
push eax
push esi
call fcn.110836a0
mov eax, dword [esi + 0xa34]
add esp, 0x10
mov dword [esi + 0xa30], eax
cmp dword [esi + 0xa58], 0x106
jae 0x11083c14
cmp dword [esi + 0xa54], 0
jne 0x11083c14
mov eax, esi
call fcn.11083840
cmp dword [esi + 0xa58], 0
jne 0x11083a40
pop ebx
mov ecx, dword [esi + 0xa30]
pop edi
test ecx, ecx
js 0x11083c37
mov eax, dword [esi + 0xa38]
add eax, ecx
jmp 0x11083c39
xor eax, eax
mov edx, dword [esi + 0xa34]
push 1
sub edx, ecx
push edx
push eax
push esi
call fcn.110836a0
mov ecx, dword [esi + 0xa34]
add esp, 0x10
mov dword [esi + 0xa30], ecx
mov esp, ebp
pop ebp
ret
Function at 0x110869d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.110869c0
test al, al
je 0x11086a00
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
push 0
call fcn.111457a0
lea edx, [ebp - 0x108]
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x11086a12
lea eax, [ebp - 0x108]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x11086a23
mov ecx, dword [0x111a4cb8]
mov edx, dword [0x111a4cbc]
mov dword [eax], ecx
mov ecx, dword [0x111a4cc0]
mov dword [eax + 4], edx
mov dl, byte [0x111a4cc4]
mov dword [eax + 8], ecx
push edi
mov edi, dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov byte [eax + 0xc], dl
lea eax, [ebp - 0x108]
push eax
call edi
mov dword [esi], eax
test eax, eax
jne 0x11086ac9
mov eax, dword [0x111eed50]
test eax, eax
je 0x11086ac0
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KeRneL32.DLl_GetModuleFileNameA]
lea edx, [ebp - 0x20c]
push 0x5c
push edx
call fcn.11081e00
mov ecx, dword [0x111a4cb8]
mov dword [eax + 1], ecx
mov edx, dword [0x111a4cbc]
mov dword [eax + 5], edx
mov ecx, dword [0x111a4cc0]
mov dword [eax + 9], ecx
mov dl, byte [0x111a4cc4]
mov byte [eax + 0xd], dl
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call edi
mov dword [esi], eax
cmp dword [esi], 0
je 0x11086b6c
mov ecx, dword [esi]
mov edi, dword [sym.imp.KeRneL32.DLl_GetProcAddress]
push 0x111a4ca4
push ecx
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x11086b6c
mov edx, dword [esi]
push 0x111a4c8c
push edx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x11086b6c
mov eax, dword [esi]
push 0x111a4c70
push eax
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x11086b6c
mov ecx, dword [esi]
push 0x111a4c54
push ecx
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x11086b6c
mov edx, dword [esi]
push 0x111a4c38
push edx
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x11086b6c
mov eax, dword [esi]
push 0x111a4c1c
push eax
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x11086b6c
mov ecx, dword [esi]
push 0x111a4c00
push ecx
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x11086b6c
mov edx, dword [esi]
push 0x111a4be4
push edx
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x11086b6c
mov eax, dword [esi]
push 0x111a4bc8
push eax
call edi
mov dword [esi + 0x30], eax
test eax, eax
jne 0x11086b7e
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0xc], 1
xor ecx, ebp
mov al, 1
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11089430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x11089440
xor eax, eax
pop edi
pop ebp
ret
cmp dword [0x111eed5c], 0
jne 0x1108943b
push esi
call fcn.110963b0
mov esi, eax
mov eax, dword [0x111eed68]
test eax, eax
je 0x11089462
cmp esi, dword [0x111eed64]
je 0x110894b5
push 0xa
push 0x1770
call fcn.110963b0
push eax
call dword [sym.imp.KeRneL32.DLl_FindResourceA]
test eax, eax
je 0x11089503
push eax
call fcn.110963b0
push eax
call dword [sym.imp.KeRneL32.DLl_LoadResource]
mov dword [0x111eed68], eax
test eax, eax
jne 0x110894af
push 0x375
push 0x111a4fdc
push 0x111a5068
call fcn.11029a70
mov eax, dword [0x111eed68]
add esp, 0xc
mov dword [0x111eed64], esi
push eax
call dword [sym.imp.KeRneL32.DLl_LockResource]
mov esi, eax
test esi, esi
jne 0x110894d9
push 0x39b
push 0x111a4fdc
push 0x11195ad8
call fcn.11029a70
add esp, 0xc
test edi, 0x10000
je 0x110894e7
and edi, 0xfffeffff
movzx eax, word [esi]
test ax, ax
je 0x11089503
nop
movzx eax, ax
cmp edi, eax
je 0x11089509
movzx eax, word [esi + 4]
add esi, 4
test ax, ax
jne 0x110894f0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi + 2]
pop esi
pop edi
pop ebp
ret

Function at 0x11089520
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
push 0
mov ecx, 0x111eed60
call fcn.111103d0
cmp dword [0x111eed58], 0
mov esi, eax
je 0x1108955d
cmp dword [esi + 0x11c], 0
jne 0x1108955d
call dword [sym.imp.KeRneL32.DLl_GetCurrentThreadId]
push eax
push 0
push 0x11088ab0
push 2
call dword [sym.imp.uSEr32.dll_SetWindowsHookExA]
mov dword [esi + 0x11c], eax
pop esi
ret
Function at 0x1108c440
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x1108c47c
pop edi
mov dword [ebx], esi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.aDvapi32.DLL_IsValidSid]
test eax, eax
jne 0x1108c49a
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
push 2
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.aDvapi32.DLL_GetAclInformation]
test eax, eax
je 0x1108c487
push edi
call dword [sym.imp.aDvapi32.DLL_GetLengthSid]
cmp dword [ebp + 0x18], 0
je 0x1108c4c3
mov ecx, dword [ebp - 0xc]
lea esi, [eax + ecx + 8]
jmp 0x1108c4cb
mov esi, dword [ebp - 0xc]
sub esi, eax
sub esi, 8
push esi
push 8
call dword [sym.imp.KeRneL32.DLl_GetProcessHeap]
push eax
call dword [sym.imp.KeRneL32.DLl_HeapAlloc]
mov dword [ebx], eax
test eax, eax
je 0x1108c487
push 2
push esi
push eax
call dword [sym.imp.aDvapi32.DLL_InitializeAcl]
mov esi, eax
test esi, esi
je 0x1108c56e
xor edi, edi
cmp dword [ebp - 0x10], edi
jbe 0x1108c54f
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
push edi
push eax
call dword [sym.imp.aDvapi32.DLL_GetAce]
mov esi, eax
test esi, esi
je 0x1108c56e
cmp dword [ebp + 0x18], 0
jne 0x1108c52d
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0
jne 0x1108c530
mov ecx, dword [ebp - 0x14]
add eax, 8
push eax
push ecx
call dword [sym.imp.aDvapi32.DLL_EqualSid]
test eax, eax
jne 0x1108c549
mov eax, dword [ebp - 0x1c]
movzx edx, word [eax + 2]
push edx
push eax
mov eax, dword [ebx]
push 0
push 2
push eax
call dword [sym.imp.aDvapi32.DLL_AddAce]
mov esi, eax
test esi, esi
je 0x1108c56e
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x1108c4f8
cmp dword [ebp + 0x18], 0
je 0x1108c56a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx]
push ecx
push edx
push 2
push eax
call dword [sym.imp.aDvapi32.DLL_AddAccessAllowedAce]
mov esi, eax
test esi, esi
jne 0x1108c577
mov eax, dword [ebx]
test eax, eax
je 0x1108c590
push eax
jmp 0x1108c581
cmp dword [ebp + 0x1c], 0
je 0x1108c590
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KeRneL32.DLl_GetProcessHeap]
push eax
call dword [sym.imp.KeRneL32.DLl_HeapFree]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x1108cc60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push ebx
push ecx
push edi
push esi
push eax
mov dword [ebp - 0xa0], eax
call fcn.1108cbd0
add esp, 0x20
mov dword [ebp - 0xa4], eax
cmp eax, 0x2e4
jne 0x1108cd6b
push 0x94
lea edx, [ebp - 0x98]
push 0
push edx
call fcn.11162be0
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KeRneL32.DLl_GetVersionExA]
cmp dword [ebp - 0x94], 6
jb 0x1108cd65
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0xa0]
push ecx
push 4
lea edx, [ebp - 0x9c]
push edx
push 0x13
push eax
mov dword [ebp - 0x9c], 0
call dword [sym.imp.aDvapi32.DLL_GetTokenInformation]
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x1108cd65
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x14]
push ecx
push ebx
push edx
push edi
push esi
push eax
call fcn.1108cc60
mov esi, eax
mov eax, dword [ebp - 0x9c]
add esp, 0x20
push eax
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
Function at 0x11094a20
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x111eed7c], eax
jne 0x11094a60
push 0x111eed7c
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 8], 0x200
call dword [sym.imp.aDvapi32.DLL_AllocateAndInitializeSid]
mov ecx, dword [0x111eed7c]
push ecx
push esi
call dword [sym.imp.aDvapi32.DLL_EqualSid]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret

Function at 0x11094a80
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x111eed80], eax
jne 0x11094ac1
push 0x111eed80
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push 4
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.aDvapi32.DLL_AllocateAndInitializeSid]
mov ecx, dword [0x111eed80]
push ecx
push esi
call dword [sym.imp.aDvapi32.DLL_EqualSid]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.11162bb7
mov esp, ebp
pop ebp
ret

Function at 0x110951b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x44
lea esi, [ebx + 0x28]
push 0
push esi
call fcn.11162be0
mov edi, dword [sym.imp.uSEr32.dll_GetSystemMetrics]
add esp, 0xc
push 0x4e
mov dword [esi + 0x10], bind
call edi
push 0x4f
mov dword [esi], eax
call edi
cmp dword [esi], 0
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x40], eax
jne 0x110951f4
push 0
call edi
mov dword [esi], eax
cmp dword [esi + 4], 0
jne 0x11095201
push 1
call edi
mov dword [esi + 4], eax
push 1
push 0
push 0
push 0x11197104
call dword [sym.imp.uSEr32.dll_OpenDesktopA]
mov edi, eax
push esi
push 0x11094fd0
test edi, edi
je 0x11095234
push edi
call dword [sym.imp.uSEr32.dll_EnumDesktopWindows]
push edi
call dword [sym.imp.uSEr32.dll_CloseDesktop]
mov eax, dword [esi + 0x14]
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.uSEr32.dll_EnumWindows]
mov eax, dword [esi + 0x14]
pop edi
pop esi
pop ebx
pop ebp
ret