joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d31b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x30
mov eax, 0x4c6b46
call fcn.0048efc2
mov eax, dword [ebp + 0x24c]
xor ebx, ebx
cmp eax, ebx
jne 0x40d370
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.0048ebcd
add ebp, 0x244
leave
ret
push eax
lea ecx, [ebp + 0x1c]
call fcn.00401f43
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
call fcn.004085d5
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004085f3
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004085d5
push fcn.004915f9
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.00408748
add esp, 0x20
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.SoftwareAdobeAcrobatExe
push SysReAllocStringLen
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x40d3f9
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401634
jmp 0x40d34b
push 0x208
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.0048f0d0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x40d452
mov byte [ebp - 0xd], bl
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401634
mov al, byte [ebp - 0xd]
jmp 0x40d34d
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.00401f43
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004085d5
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp]
call fcn.004085f3
mov edi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp]
call fcn.004085d5
push fcn.004915f9
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.00408748
add esp, 0x20
push ebx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.0040d13e
push ebx
cmp eax, 0xffffffff
push 1
lea ecx, [ebp]
setne byte [ebp - 0xd]
mov byte [ebp - 4], bl
call fcn.00401634
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x40d43b
Function at 0x40fb4e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x4c6e18
call fcn.0048efc2
xor ecx, ecx
mov byte [ebp - 0x14], cl
xor eax, eax
lea edi, [ebp - 0x13]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 4
cmp byte [ebp - 0x14], cl
jne 0x40fc02
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x20019
push ebx
push ecx
mov edi, str.SOFTWAREAdobeAdobe_Acrobat10.0Language
push edi
push SysReAllocStringLen
call esi
test eax, eax
jne 0x40fbc4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x4d00e4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x14], 0
jne 0x40fc02
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40fc02
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x4d00e4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
xor esi, esi
mov edi, 0x5099c4
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00491a13
pop ecx
pop ecx
test eax, eax
je 0x40fc26
inc esi
add edi, 8
cmp esi, 1
jb 0x40fc0b
jmp 0x40fc28
mov bl, 1
movzx eax, bl
neg eax
sbb eax, eax
and eax, esi
push dword [eax*8 + 0x5099c8]
lea ecx, [ebp - 0x20]
call fcn.0040fb0d
xor eax, eax
push eax
push eax
push dword [ebp - 0x20]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004041c6
call fcn.0048f09a
ret

Function at 0x40fd19
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareAdobeAdobe_Acrobat10.0Security
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fd80
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x4d0150
push dword [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40fd77
cmp dword [ebp - 4], esi
jne 0x40fd77
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4101bc
Capabilities:
Get common file path

Disassembly:
push 0x3c
mov eax, 0x4c6ec8
call fcn.0048efc2
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [0x50cd30]
cmp eax, ebx
jne 0x41027f
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
push ebx
call edi
mov esi, eax
cmp esi, ebx
jbe 0x410259
push 0x50f238
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048f4c0
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x410259
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.0048f0d0
add esp, 0xc
push ebx
push esi
call edi
test eax, eax
jbe 0x410252
cmp eax, esi
ja 0x410252
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401f43
xor esi, esi
lea eax, [ebp - 0x2c]
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.00410113
pop ecx
push 0
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401634
push ebx
call fcn.0048f4b5
pop ecx
mov eax, dword [0x50cd30]
xor ebx, ebx
cmp eax, ebx
jne 0x41027f
push 0x4cec14
lea ecx, [ebp - 0x48]
call fcn.00401f43
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 8]
push eax
call fcn.00401dd0
or dword [ebp - 0x10], 2
test byte [ebp - 0x10], 1
mov dword [ebp - 4], ebx
je 0x4102a4
and dword [ebp - 0x10], 0xfffffffe
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401634
mov eax, dword [ebp + 8]
call fcn.0048f09a
ret

Function at 0x4104e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp + 0x790], eax
call fcn.00446db0
cmp eax, 2
jge 0x41050c
xor al, al
jmp 0x4105ac
cmp eax, 4
jge 0x410505
push ebx
push esi
mov bl, 1
mov esi, str.Acrobat_Reader
call fcn.004104c8
test al, al
je 0x410528
mov esi, str.Adobe_Acrobat
push str.10.0
push esi
push str.SoftwarePoliciesAdobe_s_sFeatureLockDown
lea eax, [ebp - 0x70]
push 0x400
push eax
call fcn.00401313
add esp, 0x14
test eax, eax
jl 0x4105a8
lea eax, [ebp - 0x74]
push eax
push 1
xor esi, esi
push esi
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x74], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4105a8
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push str.bEnableAlternateLaunchDesktop
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41059f
cmp dword [ebp - 0x7c], 4
jne 0x41059f
cmp dword [ebp - 0x78], esi
setne bl
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp + 0x790]
xor ecx, ebp
call fcn.0048ebcd
add ebp, 0x794
leave
ret
Function at 0x41b490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x214], 0
mov word [ebp - 0x20c], cx
call fcn.0048f0d0
mov bx, word [ebp + 0x10]
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x21c], 0
sete al
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x224], 4
mov dword [ebp - 0x210], eax
test bx, bx
je 0x41b521
push str.SoftwareAdobeAcrobat_Reader10.0FeatureState
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x41b532
push str.SoftwareAdobeAdobe_Acrobat10.0FeatureState
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00491875
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x20c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41b604
lea edx, [ebp - 0x224]
push edx
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41b5cf
cmp dword [ebp - 0x21c], 4
jne 0x41b5cf
mov eax, dword [ebp - 0x214]
xor ecx, ecx
cmp dword [ebp - 0x218], ecx
push eax
setne cl
mov dword [ebp - 0x210], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x210]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x41b5e0
test esi, esi
je 0x41b5e0
mov edx, 1
mov word [esi], dx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x210]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x41b615
test esi, esi
je 0x41b615
mov ecx, 1
mov word [esi], cx
mov ecx, dword [ebp - 4]
mov ax, word [ebp - 0x210]
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
Function at 0x41fa40
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
mov esi, ecx
lea ecx, [edi + eax]
push ecx
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x41fa77
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi]
push 0
push 0
push 6
lea edx, [ebp + 0x10]
push edx
push ecx
push eax
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x41fa6b
mov edx, dword [esi + 0x14]
push ebx
push 0
push 0
push 0
push 6
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41fb4d
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [ebx + edi]
push eax
push ecx
push edx
call fcn.0041f910
mov eax, dword [ebp + 0x10]
add esp, 0xc
push 4
push 0x50dd1c
push str.g_shared_section
mov ecx, esi
mov dword [0x50dd1c], eax
call fcn.0041f9f0
mov dword [0x50dd1c], 0
test eax, eax
jne 0x41fb48
push 4
push 0x50dd80
push str.g_shared_IPC_size
mov ecx, esi
mov dword [0x50dd80], edi
call fcn.0041f9f0
mov dword [0x50dd80], 0
test eax, eax
jne 0x41fb48
mov ecx, dword [ebp + 0x14]
push 4
push 0x50dd84
mov dword [0x50dd84], ecx
push str.g_shared_policy_size
mov ecx, esi
call fcn.0041f9f0
mov dword [0x50dd84], 0
test eax, eax
je 0x41fb66
cmp eax, 1
jne 0x41fb5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
pop esi
pop ebp
ret 0x10
pop ebx
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x10
push 0x24
call fcn.0048eb1c
add esp, 4
test eax, eax
je 0x41fb90
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi]
push ecx
push edx
mov ecx, eax
call fcn.00423750
jmp 0x41fb92
xor eax, eax
push 0x20000
push edi
push ebx
mov ecx, eax
mov dword [esi + 0x1c], eax
call fcn.00423ed0
test al, al
jne 0x41fbb3
pop ebx
pop edi
mov eax, 8
pop esi
pop ebp
ret 0x10
pop ebx
pop edi
mov dword [esi + 4], 0
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x422b10
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
cmp byte [0x50e244], bl
je 0x422b5f
cmp byte [esi + 0x38], bl
jne 0x422b5f
push 3
push 0xbf
push str.._src_restricted_token.cc
lea ecx, [ebp - 0xe4]
mov ebx, 1
call fcn.00444980
add eax, 4
push str.Check_failed:_init_.
push eax
call fcn.0040afbf
add esp, 8
test bl, 1
je 0x422b6f
lea ecx, [ebp - 0xe4]
call fcn.00444620
cmp byte [esi + 0x38], 0
jne 0x422b82
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 2
push ecx
mov dword [ebp - 8], 0
call edi
mov eax, dword [ebp - 8]
test eax, eax
je 0x422bd6
push eax
call fcn.0048e1ac
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 2
push edx
mov dword [ebp - 0xc], esi
call edi
test eax, eax
jne 0x422be5
push esi
call fcn.0048f4b5
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 - 0x10], 0
jbe 0x422cb5
mov edi, dword [ebp + 8]
lea eax, [esi + 4]
mov dword [ebp - 4], eax
mov edi, edi
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
test al, 0x20
jne 0x422ca2
test eax, 0xc0000000
jne 0x422ca2
test edi, edi
je 0x422c80
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0x422c7d
mov dword [ebp + 8], ebx
lea ecx, [ecx]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
add ecx, esi
push eax
call fcn.004233a0
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x422c9f
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
add dword [ebp + 8], 0x44
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
inc ebx
add ecx, edx
cmp ebx, ecx
jb 0x422c40
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x58]
call fcn.00423380
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.0041f050
jmp 0x422ca2
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add dword [ebp - 4], 8
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [esi]
jb 0x422c00
push esi
call fcn.0048f4b5
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422dd0
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push edi
xor edi, edi
cmp byte [0x50e244], 0
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], edi
je 0x422e23
cmp byte [ebx + 0x38], 0
jne 0x422e23
push 3
push 0x116
push str.._src_restricted_token.cc
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 1
call fcn.00444980
add eax, 4
push str.Check_failed:_init_.
push eax
call fcn.0040afbf
add esp, 8
test byte [ebp - 4], 1
je 0x422e34
lea ecx, [ebp - 0xa8]
call fcn.00444620
cmp byte [ebx + 0x38], 0
jne 0x422e47
pop edi
mov eax, 0x3f0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x30]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 8]
push eax
push edi
push edi
push 3
push ecx
mov dword [ebp - 8], edi
call esi
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x422e92
push eax
call fcn.0048e1ac
mov ecx, dword [ebx + 0x30]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 8]
push edx
push eax
push edi
push 3
push ecx
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x422ea1
push edi
call fcn.0048f4b5
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [edi], 0
mov dword [ebp - 0xc], 0
jbe 0x422f77
mov ebx, dword [ebp + 8]
lea edx, [edi + 4]
mov dword [ebp - 4], edx
lea ebx, [ebx]
test ebx, ebx
je 0x422f50
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 8], 0
je 0x422f50
xor edi, edi
mov edi, edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp dword [edi + esi + 0x18], 8
jb 0x422f05
mov esi, dword [edi + esi + 4]
jmp 0x422f09
lea esi, [edi + esi + 4]
lea ecx, [ebp - 0x18]
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 - 0x14]
jne 0x422f27
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
je 0x422f61
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
inc dword [ebp + 8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add edi, 0x1c
cmp dword [ebp + 8], ecx
jb 0x422ef0
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
push edx
add ecx, 0x10
call fcn.004225b0
jmp 0x422f64
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], 0xc
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [edi]
jb 0x422ec0
push edi
call fcn.0048f4b5
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x423440
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x423474
mov eax, 0x4df
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret 0xc
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [esi], eax
test eax, eax
jne 0x42349a
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret 0xc
push 0x6c
lea eax, [ebp - 0x188]
push 0
push eax
mov dword [ebp - 0x18c], 0
call fcn.0048f0d0
mov ecx, dword [ebp + 8]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x11c], eax
cmp ecx, 4
ja case.default.0x4234cb
jmp dword [ecx*4 + 0x4235dc]
or dword [ebp - 0x17c], 0x400
mov eax, 0x27
or eax, 0x10
or dword [ebp - 0x17c], 8
mov dword [ebp - 0x170], 1
or eax, 0xc8
mov dword [ebp - 0x11c], eax
push 0x110
lea ecx, [ebp - 0x114]
push 0
push ecx
call fcn.0048f0d0
add esp, 0xc
lea edx, [ebp - 0x118]
push edx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x42353f
cmp dword [ebp - 0x110], 0
je 0x423549
or dword [ebp - 0x17c], 0x2000
mov ecx, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push 0x70
lea eax, [ebp - 0x18c]
push eax
push 9
push ecx
call edi
test eax, eax
je 0x423583
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi]
push 4
lea eax, [ebp - 0x11c]
push eax
push 4
not edx
and dword [ebp - 0x11c], edx
push ecx
call edi
test eax, eax
jne 0x42359b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret 0xc
test byte [ebp - 0x11c], 1
je 0x4235b1
push esi
call fcn.004704b0
add esp, 4
test eax, eax
jne 0x423589
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0xa0
pop esi
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp byte [ebp + 8], 0
push edi
mov edi, ecx
mov dword [ebp - 0x60], esi
jne 0x427dab
cmp dword [edi + 0xc], esi
jne 0x427ddc
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret 4
push esi
push 0x437760
push 1
push str.NtMapViewOfSection
push 0x4d2f20
call fcn.00426f40
push 1
push 0x4378b0
push 1
push str.NtUnmapViewOfSection
push 0x4d2f20
mov ecx, edi
call fcn.00426f40
mov eax, dword [edi]
push ebx
mov ebx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
push 1
push esi
push str.3222684
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], esi
call fcn.0041b490
add esp, 0x10
movzx eax, ax
cmp word [ebp - 0x58], si
je 0x427e1a
lea edx, [ebp - 0x58]
push edx
push esi
push esi
push str.3222684
call fcn.0041b490
add esp, 0x10
movzx eax, ax
cmp ax, si
je 0x427ece
push 1
push 0x2000
push 0x10000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [edi + 0xc]
shl esi, 6
add esi, 0x50
push esi
mov dword [ebp - 0x58], eax
call fcn.00427bb0
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x58]
push 0x40
mov ecx, ebx
push 0x1000
lea edx, [esi + 0xfff]
and ecx, 0xfffff000
and edx, 0x1000
add eax, ecx
push edx
push eax
mov eax, dword [ebp - 0x5c]
push eax
and ebx, 0xfff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x427eb6
push 4
push 0x19e
push str.._srcinterception.cc
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x60], 1
call fcn.00444980
add eax, 4
push str.Check_failed:_thunk_base.
push eax
call fcn.0040afbf
add esp, 8
test byte [ebp - 0x60], 1
je 0x427ec7
lea ecx, [ebp - 0xf4]
call fcn.00444620
mov ecx, dword [ebp - 0x58]
add ebx, ecx
jmp 0x427eea
mov esi, dword [edi + 0xc]
push 0x40
shl esi, 6
push 0x1000
add esi, 0x50
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
push 0x430
push 0
push 0x50ddb8
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0x10
call fcn.0048f0d0
add esp, 0xc
lea edx, [ebp - 0x54]
push edx
push esi
push ebx
mov ecx, edi
call fcn.00427530
test al, al
je 0x427f7f
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x64]
push eax
push 0x10
lea ecx, [ebp - 0x54]
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x427f7f
cmp dword [ebp - 0x64], 0x10
jne 0x427f7f
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x68]
push eax
push 0x20
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [edi]
push 0x430
push 0x50ddb8
push str.g_originals
call fcn.0041f9f0
pop ebx
test eax, eax
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret 4