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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4f91
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4f2d80]
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
lea ecx, [esi + 4]
mov dword [ebp - 0x1c], esi
mov dword [esi], vtable.SPA2BaseCommunicator.0
call fcn.00467b58
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov eax, 2
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], ebx
push 0x24
mov byte [ebp - 4], 7
mov dword [esi + 0x9c], ebx
call fcn.0049223b
add esp, 4
cmp eax, ebx
je 0x42475f
mov dword [esi + 0x98], eax
mov dword [eax], eax
mov eax, dword [esi + 0x98]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x98]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x98]
mov byte [eax + 0x20], 1
mov ecx, dword [esi + 0x98]
mov byte [ecx + 0x21], 1
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
lea edi, [esi + 0xac]
push 8
mov byte [ebp - 4], 9
mov dword [edi], ebx
call fcn.0049223b
add esp, 4
cmp eax, ebx
je 0x424749
mov dword [edi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [edi]
mov dword [edx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
push 0x18
mov byte [ebp - 4], 0xc
mov dword [esi + 0xe0], ebx
call fcn.0049223b
add esp, 4
cmp eax, ebx
je 0x424733
mov dword [esi + 0xdc], eax
mov dword [eax], eax
mov eax, dword [esi + 0xdc]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xdc]
mov dword [eax + 8], eax
mov eax, dword [esi + 0xdc]
mov byte [eax + 0x14], 1
mov ecx, dword [esi + 0xdc]
mov byte [ecx + 0x15], 1
mov dword [esi + 0xe8], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], vtable.stdext::bad_alloc.0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.00401010
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], vtable.stdext::bad_alloc.0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00401010
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], vtable.stdext::bad_alloc.0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00401010
int3
Function at 0x429220
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov edx, dword [esi + 0x48]
movzx eax, di
movzx ecx, bx
shl eax, 0x10
or eax, ecx
push eax
push 0
push 5
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x48]
push 0
push edi
push ebx
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x48]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42bf30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5e96
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f2d80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0047e759
push 4
mov dword [ebp - 4], 0
call fcn.0049223b
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x42bfb7
call fcn.0047e3c2
mov dword [edi], eax
call fcn.0047e23d
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0047df68
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x42bfad
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0047df90
jmp 0x42bfb9
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 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 0x432da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6c0b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4f2d80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
mov dword [ebp - 4], 0
call fcn.00432cb0
mov esi, eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x238]
push ecx
mov ecx, esi
call fcn.00432970
mov esi, dword [esi + 4]
mov eax, dword [ebp - 0x238]
cmp eax, esi
jne 0x432e1c
xor al, al
jmp 0x432e80
mov esi, dword [eax + 0x10]
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.004926b0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432e60
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
mov ecx, edi
call fcn.00411930
mov al, 1
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.0049269f
mov esp, ebp
pop ebp
ret

Function at 0x432ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4f2d80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4f4519], 0
jne 0x432f2e
push esi
push edi
lea eax, [ebp - 0x38]
push eax
push 1
mov ecx, 0xc
mov esi, str.SOFTWAREAdobeAcroPerf
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x80000001
mov byte [0x4f4519], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x38]
pop edi
pop esi
test eax, eax
je 0x432f2e
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push str.bLaunchTiming
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
setne dl
push eax
mov byte [0x4f4518], dl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, byte [0x4f4518]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret
Function at 0x43b670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4f2d80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x20], cx
mov edi, 7
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
call fcn.00402790
push 4
push 0x4c38a8
push 4
push ebx
lea ecx, [ebp - 0x20]
call fcn.0043b2a0
test eax, eax
jne 0x43b6fb
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x20]
xor edx, edx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], dx
call fcn.00402790
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004125d0
cmp dword [ebp - 0x28], 8
jb 0x43b6fb
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00491b32
add esp, 4
lea eax, [ebp - 0x20]
push eax
call fcn.0043b330
add esp, 4
test al, al
je 0x43b720
cmp dword [ebp - 0xc], 8
mov byte [esi], bl
jb 0x43b822
mov ecx, dword [ebp - 0x20]
push ecx
jmp 0x43b81a
or eax, 0xffffffff
push eax
push ebx
lea eax, [ebp - 0x20]
xor edx, edx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], dx
call fcn.00402790
mov esi, 8
cmp dword [ebp - 0xc], esi
jb 0x43b753
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00491b32
add esp, 4
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], dx
cmp eax, esi
jae 0x43b783
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00491eb0
mov eax, dword [ebp - 0x28]
add esp, 0xc
jmp 0x43b789
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
cmp eax, esi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
jae 0x43b79c
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43b7e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x43b7eb
cmp esi, 3
je 0x43b7eb
cmp esi, 0x7b
je 0x43b7eb
cmp dword [ebp - 0xc], 8
jb 0x43b7d1
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00491b32
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret
test eax, 0x400
jne 0x43b835
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x44], 0x5c
call fcn.0043b1c0
cmp eax, 0xffffffff
jne 0x43b723
cmp dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0x40]
mov byte [ecx], bl
jb 0x43b822
mov edx, dword [ebp - 0x20]
push edx
call fcn.00491b32
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0049269f
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x40]
mov byte [edx], 1
cmp dword [ebp - 0xc], esi
jb 0x43b822
mov eax, dword [ebp - 0x20]
push eax
jmp 0x43b81a
Function at 0x440070
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x4f2d80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x440204
cmp byte [0x4f4a33], 0
je 0x440204
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.0049412b
add esp, 8
test eax, eax
je 0x4400cd
xor edx, edx
mov word [eax + 2], dx
push str.debug_message.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00494bb2
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x4400f6
mov ecx, dword [esi]
mov dword [ebp - 0x230], ecx
jmp 0x4400fc
mov dword [ebp - 0x230], esi
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov dword [ebp - 0x22c], edx
call fcn.0043ffd0
add esp, 8
cmp dword [ebp - 0x218], 0
jne 0x44013d
cmp dword [ebp - 0x214], 8
jb 0x440204
mov edx, dword [ebp - 0x228]
push edx
jmp 0x4401fc
push 0x44
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.004926b0
mov eax, dword [ebp - 0x228]
add esp, 0xc
cmp dword [ebp - 0x214], 8
mov dword [ebp - 0x284], 0x44
jae 0x44016f
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x284]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4401c4
mov ecx, dword [ebp - 0x240]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x240]
push eax
call esi
jmp 0x4401ec
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x4401d9
lea eax, [ebp - 0x228]
push 0x40010
push 0x4c3ac8
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x214], 8
jb 0x440204
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00491b32
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049269f
mov esp, ebp
pop ebp
ret
Function at 0x444ad0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push 0
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp dword [esi + 0x18], ebx
lea edi, [esi + 0x18]
je 0x444b23
mov ecx, edi
call fcn.0043e090
test ebx, ebx
je 0x444b23
cmp ebx, 0xffffffff
je 0x444b23
mov dword [edi], ebx
call fcn.004471a0
mov edx, dword [ebp + 4]
push eax
push edx
push edi
push ebx
call fcn.00446e30
add esp, 0x10
mov eax, dword [edi]
test eax, eax
je 0x444b2e
cmp eax, 0xffffffff
jne 0x444b3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi]
push 0
push 0
push 6
lea edx, [ebp - 4]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x444b2e
mov edi, dword [edi]
push 0
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x444b2e
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [ebx + edi]
push eax
push ecx
push edx
call fcn.004445d0
mov eax, dword [ebp - 4]
add esp, 0xc
push 4
push 0x4f49b0
push str.g_shared_section
mov ecx, esi
mov dword [0x4f49b0], eax
call fcn.00444670
mov dword [0x4f49b0], 0
test eax, eax
je 0x444bca
cmp eax, 1
je 0x444b2e
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 4
push 0x4f4a54
push str.g_shared_IPC_size
mov ecx, esi
mov dword [0x4f4a54], edi
call fcn.00444670
xor edi, edi
mov dword [0x4f4a54], edi
cmp eax, edi
jne 0x444bb3
mov ecx, dword [ebp + 0x14]
push 4
push 0x4f4a58
mov dword [0x4f4a58], ecx
push str.g_shared_policy_size
mov ecx, esi
call fcn.00444670
mov dword [0x4f4a58], edi
cmp eax, edi
jne 0x444bb3
push 0x24
call fcn.0049223b
add esp, 4
cmp eax, edi
je 0x444c3f
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 8]
mov edi, dword [esi]
push ecx
mov ecx, dword [esi + 0x24]
push ecx
mov ecx, dword [esi + 0x1c]
push ecx
push edx
push edi
mov ecx, eax
call fcn.0044baa0
jmp 0x444c41
xor eax, eax
push eax
lea ecx, [esi + 0x20]
call fcn.004446f0
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x20]
push 0x400
push edx
push ebx
call fcn.0044c300
test al, al
jne 0x444c6e
pop edi
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.00447d10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x449ce0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x449cf0
xor al, al
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x449ced
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x449ced
mov edx, 0x10b
cmp word [eax + 0x18], dx
sete al
ret
Function at 0x449d40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [edx + 0x3c]
movzx ecx, word [eax + edx + 6]
add eax, edx
cmp edi, ecx
jae 0x449d90
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x449d90
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x449d7a
add ecx, edx
cmp ecx, ebx
ja 0x449d8a
mov ebx, dword [eax + 8]
add ebx, ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 4], ebx
ja 0x449d92
inc edi
add esi, 0x28
jmp 0x449d51
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x449da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
jne 0x449dbb
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
mov edx, dword [esi]
mov edx, dword [edx]
push edi
push eax
mov ecx, esi
call edx
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x449e60
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x449df4
pop edi
mov word [ebx], ax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x20]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [edi + 0x18]
lea eax, [ebx + eax*4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x449e60
jmp 0x449e17
mov eax, dword [ebp - 4]
sub eax, ebx
sar eax, 2
cdq
sub eax, edx
mov edx, dword [esi]
mov edx, dword [edx]
sar eax, 1
lea edi, [ebx + eax*4]
mov eax, dword [edi]
push eax
mov ecx, esi
call edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x449e45
cmp dl, byte [eax]
jne 0x449e45
mov dl, byte [ecx + 1]
inc ecx
inc eax
test dl, dl
jne 0x449e38
movzx edx, byte [eax]
movzx eax, byte [ecx]
sub eax, edx
je 0x449e6b
test eax, eax
jle 0x449e58
lea ebx, [edi + 4]
jmp 0x449e5b
mov dword [ebp - 4], edi
cmp ebx, dword [ebp - 4]
jne 0x449e14
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 8]
mov ecx, dword [ebx + 0x24]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
mov ecx, esi
call edx
sub edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
sar edi, 2
mov ax, word [eax + edi*2]
add ax, word [ebx + 0x10]
pop edi
pop esi
mov word [ecx], ax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44ae40
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4f2d80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x4c], esi
call fcn.00440010
cmp eax, 1
jne 0x44aeac
call fcn.00440020
cmp eax, 3
jg 0x44aeac
cmp byte [edi + 0x38], 0
jne 0x44aeac
push 3
push 0xbf
push str.c:users_nbaggadesktopcefcode1750_1chromium_src_sandboxwin_src_restricted_token.cc
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x4c], 1
call fcn.00440ce0
add eax, 8
push str.Check_failed:_init_.
push eax
call fcn.0043a7e0
add esp, 8
test byte [ebp - 0x4c], 1
je 0x44aebd
lea ecx, [ebp - 0x110]
call fcn.00441300
cmp byte [edi + 0x38], 0
jne 0x44aedb
pop edi
pop esi
mov eax, 0x3f0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049269f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 2
push ecx
mov dword [ebp - 0x54], esi
call edi
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x44af28
push eax
call fcn.0047e79c
mov ecx, dword [ebp - 0x5c]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ecx + 0x30]
push eax
push esi
push 2
push edx
mov dword [ebp - 0x4c], esi
call edi
test eax, eax
jne 0x44af41
push esi
call fcn.004936af
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.0049269f
mov esp, ebp
pop ebp
ret 4
cmp dword [esi], 0
mov dword [ebp - 0x60], 0
jbe 0x44b007
lea eax, [esi + 4]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 4]
test al, 0x20
jne 0x44aff4
test eax, 0xc0000000
jne 0x44aff4
test ebx, ebx
je 0x44afd2
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 0x44afcf
mov dword [ebp - 0x58], edi
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x58]
add ecx, esi
push eax
call fcn.0044b790
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x44aff1
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
add dword [ebp - 0x58], 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 0x44af93
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044b770
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0x20
call fcn.00443f40
jmp 0x44aff4
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x60]
add dword [ebp - 0x50], 8
inc eax
mov dword [ebp - 0x60], eax
cmp eax, dword [esi]
jb 0x44af57
push esi
call fcn.004936af
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0049269f
mov esp, ebp
pop ebp
ret 4
Function at 0x44b140
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], ebx
call fcn.00440010
cmp eax, 1
jne 0x44b19b
call fcn.00440020
cmp eax, 3
jg 0x44b19b
cmp byte [esi + 0x38], bl
jne 0x44b19b
push 3
push 0x119
push str.c:users_nbaggadesktopcefcode1750_1chromium_src_sandboxwin_src_restricted_token.cc
lea ecx, [ebp - 0xcc]
mov ebx, 1
call fcn.00440ce0
add eax, 8
push str.Check_failed:_init_.
push eax
call fcn.0043a7e0
add esp, 8
test bl, 1
je 0x44b1ab
lea ecx, [ebp - 0xcc]
call fcn.00441300
cmp byte [esi + 0x38], 0
jne 0x44b1be
pop esi
mov eax, 0x3f0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x30]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 3
push ecx
mov dword [ebp - 8], 0
call edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x44b212
push eax
call fcn.0047e79c
mov ecx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 8]
push edx
mov edx, dword [ecx + 0x30]
push eax
push esi
push 3
push edx
mov dword [ebp - 0x10], esi
call edi
test eax, eax
jne 0x44b221
push esi
call fcn.004936af
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 - 0xc], 0
jbe 0x44b2ee
mov edi, dword [ebp + 8]
lea eax, [esi + 4]
mov dword [ebp - 4], eax
lea ebx, [ebx]
test edi, edi
je 0x44b2c7
mov esi, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
xor ebx, ebx
add ecx, edx
je 0x44b2c4
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x44b272
xor eax, eax
add esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x14], 8
jb 0x44b283
mov esi, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
cmp edx, dword [ebp - 0x18]
jne 0x44b2a1
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
je 0x44b2d8
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 ecx, edx
shr ecx, 0x1f
inc ebx
add ecx, edx
cmp ebx, ecx
jb 0x44b270
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
push edx
add ecx, 0x10
call fcn.004479f0
jmp 0x44b2db
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], 0xc
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [esi]
jb 0x44b240
push esi
call fcn.004936af
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4