joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x743e337e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x463c3708
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4b2b80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x70000]
push edi
jmp 0x4b2b9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b2ba1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2b90
mov eax, 1
add ebx, ebx
jne 0x4b2bb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b2bc4
jne 0x4b2be3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2be3
dec eax
add ebx, ebx
jne 0x4b2bd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b2ba8
add ebx, ebx
jne 0x4b2bdf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b2c35
xor ecx, ecx
sub eax, 3
jb 0x4b2bfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b2c6a
sar eax, 1
mov ebp, eax
jmp 0x4b2c06
add ebx, ebx
jne 0x4b2c06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2bd4
inc ecx
add ebx, ebx
jne 0x4b2c14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b2bd4
add ebx, ebx
jne 0x4b2c21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b2c16
jne 0x4b2c32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b2c16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b2c54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b2c46
jmp 0x4b2b96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b2c54
add edi, ecx
jmp 0x4b2b96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b2c72
cmp byte [edi], 0x11
jne 0x4b2c72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b2c77
lea edi, [esi + 0xae000]
mov eax, dword [edi]
or eax, eax
je 0x4b2cef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb2f28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb307c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b2ca4
mov ecx, edi
jns 0x4b2cd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb3080]
or eax, eax
je 0x4b2ce9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b2cc1
call dword [esi + 0xb3090]
mov ebp, dword [esi + 0xb3084]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b2d23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x4065b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414904
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4f
xor eax, eax
mov dword [ebp - 0x18], 0
push str.SOFTWAREGoogleChromeNativeMessagingHostscom.adobe.acrobat.chrome_webcapture
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call main
mov eax, dword fs:[0x2c]
mov ecx, dword [0x41d554]
mov dword [ebp - 4], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41d4b0]
cmp eax, dword [ecx + 4]
jg 0x4066db
mov ax, word [0x41d4ac]
cmp ax, 0xffff
jne 0x40666b
lea eax, [ebp - 0x28]
push eax
push 0x201
push 0x80000002
call main
add esp, 0xc
mov word [0x41d4ac], ax
cmp ax, 0xffff
jne 0x40666b
lea eax, [ebp - 0x28]
push eax
push 1
push 0x80000001
call main
add esp, 0xc
mov word [0x41d4ac], ax
mov edx, dword [ebp - 0x14]
xor ebx, ebx
cmp ax, 1
mov dword [ebp - 4], 0xffffffff
sete bl
cmp edx, 8
jb 0x4066be
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x4066b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4066b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
push 0x41d4b0
call main
add esp, 4
cmp dword [0x41d4b0], 0xffffffff
jne 0x406624
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push 0x20019
push 0
push str.SOFTWAREAdobeAdobe_AcrobatDCInstaller
push 0x80000002
or esi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4067a0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4067a0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 4
push ecx
push 0
push str.bIsSingleClientApp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406795
cmp dword [ebp - 0x2c], 4
jne 0x406795
cmp dword [ebp - 0x30], eax
je 0x406795
lea esi, [eax + 1]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push str.bIsSCAcroAppInstalled
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406795
cmp dword [ebp - 0x2c], 4
jne 0x406795
cmp dword [ebp - 0x30], esi
cmove esi, eax
jmp 0x406795
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4067a0
push 0x41d4b0
mov word [0x41d4ac], si
mov byte [ebp - 4], 0
call main
add esp, 4
jmp 0x406624
Function at 0x406a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4149b4
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x41d554]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41d4c4]
cmp eax, dword [ecx + 4]
jg 0x406ae4
mov eax, dword [0x41d4c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
push 0x41d4c4
call main
add esp, 4
cmp dword [0x41d4c4], 0xffffffff
jne 0x406ac5
push 1
push str.bFillnSignInChromeEx
mov dword [ebp - 4], 0
call main
add esp, 8
test eax, eax
je 0x406c20
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
call main
test eax, eax
je 0x406b45
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
mov ecx, 0x43
jmp 0x406b51
mov eax, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov ecx, 0x42
jmp 0x406b51
push ecx
push eax
lea ecx, [ebp - 0x28]
call main
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
mov esi, 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406bcf
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x406bcf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 4
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 4
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], 0
push ecx
push 0
push str.bToggleFillSign
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406bc4
cmp dword [ebp - 0x2c], esi
cmove esi, eax
jmp 0x406bc4
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406bcf
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x406c15
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x406c09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406c09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
add esp, 8
jmp 0x406c15
test esi, esi
je 0x406c20
mov eax, 1
jmp 0x406c24
xor eax, eax
jmp 0x406c24
push 0x41d4c4
mov dword [0x41d4c0], eax
call main
add esp, 4
jmp 0x406ac5
Function at 0x406c40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414a00
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x41d554]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x41d4cc]
cmp eax, dword [edi + 4]
jg 0x406cc4
cmp dword [0x41d4c8], 1
jne 0x406c93
xor eax, eax
jmp 0x406ca9
mov eax, dword [0x41d4d4]
cmp eax, dword [edi + 4]
jg 0x406e21
mov eax, dword [0x41d4d0]
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.004129c0
mov esp, ebp
pop ebp
ret
push 0x41d4cc
call main
add esp, 4
cmp dword [0x41d4cc], 0xffffffff
jne 0x406c86
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
call main
test eax, eax
je 0x406d0e
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
mov ecx, 0x43
jmp 0x406d1a
mov eax, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov ecx, 0x42
jmp 0x406d1a
push ecx
push eax
lea ecx, [ebp - 0x28]
call main
lea ecx, [ebp - 0x30]
xor esi, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 1
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406dc0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x406dc0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 4
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 4
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], esi
push ecx
push esi
push str.bToggleAdobeDocumentServices
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406d88
cmp dword [ebp - 0x2c], 1
jne 0x406d88
lea esi, [eax + 1]
jmp 0x406db5
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push str.bUpdater
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406db5
cmp dword [ebp - 0x2c], esi
mov eax, 1
cmove esi, eax
jmp 0x406db5
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406dc0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x406e02
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x406df6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406df6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
add esp, 8
jmp 0x406e02
push 0x41d4cc
mov dword [0x41d4c8], esi
mov dword [ebp - 4], 0xffffffff
call main
add esp, 4
jmp 0x406c86
push 0x41d4d4
call main
add esp, 4
cmp dword [0x41d4d4], 0xffffffff
jne 0x406ca4
push 1
push str.bEnableFrictionlessInChromeExtn
mov dword [ebp - 4], 3
call main
push 0x41d4d4
mov dword [0x41d4d0], eax
call main
add esp, 0xc
jmp 0x406ca4
Function at 0x406f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414a74
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x41d554]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41d4dc]
cmp eax, dword [ecx + 4]
jg 0x406f64
mov eax, dword [0x41d4d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
push 0x41d4dc
call main
add esp, 4
cmp dword [0x41d4dc], 0xffffffff
jne 0x406f45
xor ebx, ebx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
call main
test eax, eax
je 0x406fbf
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_Reader_
lea ecx, [ebx + 0x27]
jmp 0x406fcb
mov eax, str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
mov ecx, 0x26
jmp 0x406fcb
push ecx
push eax
lea ecx, [ebp - 0x28]
call main
push 2
push 0x41702c
lea ecx, [ebp - 0x28]
call main
push 0x1c
push str.FeatureLockDowncSharePoint
lea ecx, [ebp - 0x28]
call main
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40704b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push str.bDisableSharePointFeatures
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407040
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
setne bl
jmp 0x407040
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40704b
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x407095
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x407085
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407085
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
add esp, 8
mov byte [ebp - 4], 0
jmp 0x407095
test ebx, ebx
jne 0x4070b0
push ebx
push str.bEnableSharePointInChromeExtn
call main
add esp, 8
test eax, eax
je 0x4070b0
lea eax, [ebx + 1]
jmp 0x4070b4
xor eax, eax
jmp 0x4070b4
push 0x41d4dc
mov dword [0x41d4d8], eax
call main
add esp, 4
jmp 0x406f45
Function at 0x407a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x407a9f
pop dword [ebp - 0x44]
mov eax, 0xbdea40f6
sub eax, 0xbda9c657
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xfa95d068
sub dword [ebp - 0x54], 0xac438b1d
mov dword [ebp - 0x50], 0x36ffc7f4
add dword [ebp - 0x50], 0xfb338451
mov dword [ebp - 0x4c], 0xd2d96c9
add dword [ebp - 0x4c], 0x3f1ead65
mov dword [ebp - 0x48], 0x9a90d07e
sub dword [ebp - 0x48], 0x9a90d07e
lea eax, [ebp - 0x54]
push eax
mov eax, 0x87c664b8
sub eax, 0x87850420
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x32d6ec24
add dword [ebp - 0x54], 0x419b7d32
mov dword [ebp - 0x50], 0x18aa2d83
add dword [ebp - 0x50], 0x28c233f2
mov dword [ebp - 0x4c], 0x1e93940d
sub dword [ebp - 0x4c], 0xbb2427a1
mov dword [ebp - 0x48], 0x8a5e2dd3
sub dword [ebp - 0x48], 0x8a5e2dd3
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3ff66
push 0
call eax
mov ecx, 0x6c68426f
sub ecx, 0x6c67e6cf
mov edi, eax
mov ebx, 0x42a600
add ebx, dword [ebp - 0x44]
mov esi, 0xd168a2db
sub esi, 0xbb72628c
add dword [ebp - 0x38], 0xaee324a6
mov edx, dword [ebx]
sub dword [ebp - 8], eax
sub edx, esi
xor dword [ebp - 0x14], 0x16d2fb16
mov dword [edi], edx
add dword [ebp - 0x20], edx
add edi, 0xa7bd276a
sub edi, 0xa7bd2766
add ebx, 0xd9db9e97
sub ebx, 0xd9db9e93
loop 0x407bb6
add eax, 0x16153
xor ebx, ebx
add ebx, eax
add eax, 0xcd4a62fa
sub eax, 0xcd4a62f5
mov ecx, 0xc1c63683
sub ecx, 0xc1863683
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x40e290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40e2c0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x40e2f0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x40e2f0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x40e3ea
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40e319
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40e34d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x40e3ea
cmp eax, 1
jle 0x40e3ab
cmp eax, 3
jne 0x40e3ea
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call main
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40e3c9
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x40e3ea
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x40e3ea
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004129c0
mov esp, ebp
pop ebp
ret 4