joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a8e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ebx, [edi + 4]
xor esi, esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x48]
push ecx
mov dword [ebp - 4], esi
mov dword [edi], vtable.acrobat_broker::SandboxWebCamDispatcher.0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x44], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebx + 4]
cmp eax, 0x5315b8
jbe 0x427d51
mov ecx, dword [ebx]
cmp ecx, 0x5315b8
ja 0x427d51
mov esi, 0x5315b8
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x427d43
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x427d77
jmp 0x427d6b
cmp eax, dword [ebx + 8]
jne 0x427d5f
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x427d77
mov esi, 0x5315b8
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add dword [ebx + 4], 0x40
mov eax, dword [ebx + 4]
cmp eax, 0x531578
jbe 0x427db2
mov ecx, dword [ebx]
cmp ecx, 0x531578
ja 0x427db2
mov esi, 0x531578
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x427da4
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x427dd8
jmp 0x427dcc
cmp eax, dword [ebx + 8]
jne 0x427dc0
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
test eax, eax
je 0x427dd8
mov esi, 0x531578
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add dword [ebx + 4], 0x40
mov eax, dword [ebx + 4]
cmp eax, 0x531538
jbe 0x427e13
mov ecx, dword [ebx]
cmp ecx, 0x531538
ja 0x427e13
mov esi, 0x531538
sub esi, ecx
cmp eax, dword [ebx + 8]
jne 0x427e05
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
and esi, 0xffffffc0
add esi, dword [ebx]
test eax, eax
je 0x427e39
jmp 0x427e2d
cmp eax, dword [ebx + 8]
jne 0x427e21
push 1
mov ecx, ebx
call fcn.00414900
mov eax, dword [ebx + 4]
test eax, eax
je 0x427e39
mov esi, 0x531538
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add dword [ebx + 4], 0x40
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x24], eax
call esi
lea edx, [edi + 0x40]
push edx
push 0
push edi
push 0x428440
push 0
push 0
mov dword [edi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], 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 4
Function at 0x42ab30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 4], 0
jne 0x42aba6
push ebx
lea eax, [ebp - 0x20]
push str.Readerplug_insTest_Tools_aaFEAT.api
mov bl, 1
push eax
mov byte [esi + 4], bl
call fcn.004155f0
add esp, 8
cmp dword [ebp - 0x10], 0
je 0x42ab7d
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x42ab72
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ab7f
xor bl, bl
cmp dword [ebp - 0xc], 8
jb 0x42ab91
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406fa9
add esp, 4
mov byte [esi + 5], bl
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [esi + 5]
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x42b070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push 0x105
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42b10d
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x42b10d
cmp byte [ebp + 0xc], 0
je 0x42b0d8
push 0x52b258
push 0x105
lea edx, [ebp - 0x210]
push edx
call fcn.0042c070
test eax, eax
js 0x42b10d
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b0f4
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x210]
push ecx
jmp 0x42b126
xor edx, edx
push edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
push 0x51199c
mov ecx, esi
call fcn.004063e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret

Function at 0x42b310
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
cmp ebx, edi
je 0x42b386
cmp word [ebx], di
je 0x42b386
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x42b386
xor eax, eax
mov dword [ebp + 0xc], eax
cmp esi, eax
jbe 0x42b359
lea ecx, [ebp + 0xc]
push ecx
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0042b3e0
mov edi, dword [ebp - 0x10]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec esi
cmp eax, esi
je 0x42b381
mov eax, dword [ebp - 0xc]
cmp edi, eax
je 0x42b386
push 0
push eax
push edi
call fcn.004e3860
add esp, 0xc
mov edx, 0x51199c
jmp 0x42b38f
cmp edi, dword [ebp - 0xc]
jne 0x42b38d
mov edx, 0x51199c
jmp 0x42b38f
mov edx, edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, edx
lea ebx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b3b0
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.004063e0
test edi, edi
je 0x42b3d5
push edi
call fcn.00406fa9
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b870
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
je 0x42b90f
mov ecx, ebx
cmp word [ebx], si
je 0x42b8af
lea esp, [esp]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42b895
sub eax, esi
sar eax, 1
cmp word [ecx + eax*2 + 2], dx
lea ecx, [ecx + eax*2 + 2]
jne 0x42b890
sub ecx, ebx
lea edi, [ecx + 2]
sar edi, 1
cmp edi, 0x3ffffffe
jb 0x42b8c4
pop edi
pop esi
xor eax, eax
pop ebx
ret
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
push 0x556c48
neg ecx
or ecx, eax
push ecx
call fcn.0041880c
mov esi, eax
add esp, 8
test esi, esi
je 0x42b908
lea eax, [edi + edi]
push eax
push ebx
push eax
push esi
call fcn.0041a605
add esp, 0x10
test eax, eax
je 0x42b908
push esi
call fcn.00418a67
add esp, 4
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x42bc80
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506a28
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x553948]
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 esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x42bd02
cmp word [esi], bx
je 0x42bd02
mov edi, 7
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00410410
add esp, 4
test al, al
jne 0x42bd20
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x42bcf6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
xor eax, eax
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.00401316
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x48]
push ecx
call fcn.0042bdf0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], ebx
jne 0x42bd52
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040a440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040a440
jmp 0x42bd02
mov eax, dword [ebp - 0x48]
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jae 0x42bd62
lea eax, [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call edi
test eax, eax
je 0x42bd35
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x64]
call fcn.0042bef0
mov byte [ebp - 4], 2
push 0x514644
lea ecx, [ebp - 0x64]
call fcn.0042bf20
push esi
lea ecx, [ebp - 0x64]
call fcn.0042bf20
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], ebx
jae 0x42bda0
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x42bdb4
lea eax, [ebp - 0x2c]
push eax
call edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0040a440
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040a440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040a440
mov eax, esi
jmp 0x42bd04
Function at 0x42bdf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5069e2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
mov dword [ebp - 0x21c], edi
push ecx
mov dword [ebp - 0x220], esi
mov word [ebp - 0x218], ax
call fcn.004e41d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
je 0x42bea1
cmp eax, 0x104
jae 0x42bea1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42be81
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, esi
call fcn.004063e0
jmp 0x42bebd
push edi
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push 0x51199c
mov ecx, esi
mov word [esi], dx
call fcn.004063e0
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret

Function at 0x42bf50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x214], ecx
jne 0x42bf86
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
mov edi, 8
xor bl, bl
cmp dword [esi + 0x14], edi
jb 0x42bf98
mov eax, dword [esi]
jmp 0x42bf9a
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x42bfb9
cmp eax, 0x50
je 0x42bfb9
cmp eax, 0xb7
jne 0x42c04e
cmp dword [esi + 0x14], edi
jb 0x42bfc0
mov esi, dword [esi]
lea eax, [ebp - 0x210]
mov ecx, eax
xor edi, edi
mov edx, 0x105
sub esi, ecx
lea ecx, [edx + 0x7ffffef9]
test ecx, ecx
je 0x42bfef
movzx ecx, word [esi + eax]
test cx, cx
je 0x42bfef
mov word [eax], cx
add eax, 2
dec edx
jne 0x42bfd1
jmp 0x42bff3
test edx, edx
jne 0x42bffb
sub eax, 2
mov edi, 0x8007007a
xor edx, edx
mov word [eax], dx
test edi, edi
js 0x42c04e
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x42c04e
push 0x52b258
push 0x105
lea ecx, [ebp - 0x210]
push ecx
call fcn.0042c070
test eax, eax
js 0x42c04e
mov edx, dword [ebp - 0x214]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [ebp - 0x210]
push edx
push 0
push 0
call eax
test eax, eax
sete bl
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x42c160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], ax
call fcn.004e41d0
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42c217
cmp word [ebp - 0x210], 0
je 0x42c217
test edi, edi
je 0x42c1de
push edi
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x42c217
cmp byte [ebp + 0x14], 0
je 0x42c20f
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x42c217
push 0x52b258
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.0042c070
test eax, eax
js 0x42c217
lea edx, [ebp - 0x210]
jmp 0x42c21c
mov edx, 0x51199c
xor ecx, ecx
mov eax, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c234
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.004063e0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x42cce0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509d0c
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x553948]
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 esi, ecx
xor bl, bl
call fcn.0042ab30
test al, al
je 0x42cf23
push 0x20019
push str.SoftwareAdobeAcrobat_Reader11.0FEATcFeatDir
push 0x80000001
lea ecx, [ebp - 0x274]
call fcn.0040aa40
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], ax
lea ecx, [ebp - 0x250]
push ecx
push str.tDIText
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.0041fe50
test eax, eax
jne 0x42cee0
cmp dword [ebp - 0x240], edi
je 0x42cee0
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00465100
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x224], edi
je 0x42ceaf
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x42cdc1
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ceaf
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x42cde5
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x42ceaf
cmp dword [ebp - 0x224], 0x104
jae 0x42ceaf
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x42ce19
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.00402c49
add esp, 0xc
test eax, eax
jne 0x42ce9d
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x42ce40
lea edx, [ebp - 0x218]
push edx
call fcn.0049d650
add esp, 4
test al, al
jne 0x42ce62
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x42ce40
jmp 0x42ce9d
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.00408ac0
push 1
lea edx, [ebp - 0x26c]
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0042ca00
lea ecx, [ebp - 0x26c]
mov bl, al
mov byte [ebp - 4], 2
call fcn.0040a440
test bl, bl
jne 0x42ceaf
push 1
lea eax, [ebp - 0x234]
push eax
mov ecx, esi
call fcn.0042ca00
mov bl, al
cmp dword [ebp - 0x220], 8
jb 0x42cec7
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], dx
cmp dword [ebp - 0x23c], 8
jb 0x42cef8
mov eax, dword [ebp - 0x250]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov word [ebp - 0x250], cx
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040abf0
mov al, bl
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.00401316
mov esp, ebp
pop ebp
ret
Function at 0x42e9f0
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a195
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
mov eax, dword [0x553948]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
push ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
push 0x51199c
mov ecx, edi
mov dword [ebp - 4], ebx
mov word [edi], ax
call fcn.004063e0
lea ecx, [ebp - 0x1c]
push ecx
push 0xf01ff
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42eb97
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x42ea84
cmp eax, 0xffffffff
je 0x42ea84
mov dword [ebp - 0x10], eax
call fcn.00416dd0
push 0x4c
mov dword [ebp - 4], 2
mov dword [ebp - 0x20], 0x4c
call fcn.0041c219
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
push edx
push eax
push esi
push 1
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x42eae6
push esi
call fcn.00418a67
add esp, 4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00417480
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
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
push edx
push eax
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x42eabe
mov edx, dword [ebp - 0x18]
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x24], ecx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42eb04
sub eax, dword [ebp - 0x24]
mov ecx, edi
sar eax, 1
push eax
push edx
call fcn.004063e0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call fcn.00418a67
mov esi, dword [ebp - 0x10]
add esp, 4
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x42eb97
cmp esi, 0xffffffff
je 0x42eb97
call fcn.00416dd0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42eb97
push 4
push 0x65
push str.d:CB11XMainQImportsOpenChromeChrome_src_base_win_scoped_handle.h
lea ecx, [ebp - 0xd8]
call fcn.0045c530
add eax, 8
push str.Check_failed:_false.
push eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x14], 5
call fcn.00449da0
add esp, 8
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
call fcn.0045cab0
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 0x433160
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
xor esi, esi
cmp byte [eax + 0x38], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], esi
jne 0x43319c
pop esi
mov eax, 0x3f0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
mov edx, dword [eax + 0x30]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp - 0x50]
push ecx
push esi
push esi
push 2
push edx
mov dword [ebp - 0x50], esi
call edi
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x4331ea
push eax
call fcn.0041c219
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x60]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [edx + 0x30]
push ecx
push esi
push 2
push eax
mov dword [ebp - 0x54], esi
call edi
test eax, eax
jne 0x433203
push esi
call fcn.00418a67
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
cmp dword [esi], 0
mov dword [ebp - 0x58], 0
jbe 0x4332d4
lea ecx, [esi + 4]
mov dword [ebp - 0x4c], ecx
lea esp, [esp]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 4]
test al, 0x20
jne 0x4332c1
test eax, 0xc0000000
jne 0x4332c1
test ebx, ebx
je 0x43329f
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x43329c
mov dword [ebp - 0x5c], edi
lea esp, [esp]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
add ecx, esi
push eax
call fcn.0040b390
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4332be
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
add dword [ebp - 0x5c], 0x44
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc edi
add ecx, edx
cmp edi, ecx
jb 0x433260
mov esi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040b240
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0x20
call fcn.00432e00
jmp 0x4332c1
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
add dword [ebp - 0x4c], 8
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [esi]
jb 0x433220
push esi
call fcn.00418a67
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x433300
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
xor esi, esi
cmp byte [ebx + 0x38], 0
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esi
jne 0x433325
pop esi
mov eax, 0x3f0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x30]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 4]
push eax
push esi
push esi
push 3
push ecx
mov dword [ebp - 4], esi
call edi
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x433370
push eax
call fcn.0041c219
mov ecx, dword [ebx + 0x30]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push esi
push 3
push ecx
mov dword [ebp - 0xc], esi
call edi
test eax, eax
jne 0x43337f
push esi
call fcn.00418a67
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi], 0
mov dword [ebp - 0x14], 0
jbe 0x433446
mov edi, dword [ebp + 8]
lea edx, [esi + 4]
mov dword [ebp - 8], edx
test edi, edi
je 0x43341f
mov esi, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0x433419
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x4333c7
xor eax, eax
add esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x14], 8
jb 0x4333d8
mov esi, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x18]
jne 0x4333f6
mov edx, dword [eax]
cmp edx, dword [ebp - 0x1c]
je 0x43342d
mov esi, dword [edi]
mov ecx, dword [edi + 4]
add dword [ebp + 8], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jb 0x4333c5
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebx + 0x10]
call fcn.00433460
jmp 0x433433
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add dword [ebp - 8], 0xc
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [esi]
jb 0x433398
push esi
call fcn.00418a67
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4