joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401040
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0x41b4b9
push 0x208
call fcn.0041144b
mov esi, eax
add esp, 8
test esi, esi
je 0x40120e
push edi
push 0x208
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
mov dword [ebp - 0x420], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
push 0x105
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x105
lea eax, [ebp - 0x41c]
push eax
push 0x4155b4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x401142
mov edi, dword [ebp - 0x420]
xor ecx, ecx
nop dword [eax]
cmp ecx, 0x103
je 0x40113c
mov eax, 0xcccccccd
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub edi, eax
mov ax, word [edi*2 + str.0123456789]
mov edi, edx
mov word [esi + ecx*2], ax
inc ecx
test edi, edi
jne 0x401110
xor eax, eax
mov word [esi + ecx*2], ax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x40117f
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x4011eb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
push 0x104
push esi
call fcn.00401480
mov edi, str..pipe32B6B37A_4A7D_4e00_95F2_6F0BF3DE3E00
mov edx, 0x104
mov ecx, ebx
sub edi, ebx
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4011ae
movzx eax, word [edi + ecx]
test ax, ax
je 0x4011ae
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x401190
test edx, edx
lea eax, [ecx - 2]
pop edi
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x40120e
push esi
push 0x104
push ebx
call fcn.00401480
test eax, eax
js 0x40120e
push esi
call fcn.00411446
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411460
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40116f
cmp dword [ebp + 0xc], 0
jne 0x40116f
push str.TsnIorcAeBoda
jmp 0x401174
mov ecx, dword [ebp - 4]
mov eax, 8
pop esi
xor ecx, ebp
pop ebx
call fcn.00411460
mov esp, ebp
pop ebp
ret
Function at 0x401230
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x401253
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401288
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x401288
push str.GlobalAcro_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x40127d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401288
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4012c5
push 0x41b4b9
push 0x208
call fcn.0041144b
mov esi, eax
add esp, 8
test esi, esi
je 0x4012c5
push 0x208
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push 0
push esi
call fcn.00401040
add esp, 0x14
test eax, eax
je 0x4012ca
push esi
call fcn.00411446
add esp, 4
xor eax, eax
pop esi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x3e8
jae 0x4012dc
add eax, 0x3e8
push ebx
push 1
push eax
push esi
call fcn.00401340
xor ebx, ebx
add esp, 0xc
test eax, eax
sete bl
test eax, eax
jne 0x401327
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
je 0x401326
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 1
jne 0x401313
push 0
push 0xce
jmp 0x40131d
test edi, edi
jne 0x401326
push edi
push 0xcc
push esi
call fcn.00401340
add esp, 0xc
pop edi
push esi
call fcn.00411446
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x401340
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push esi
push 0x190000
push 3
push esi
push esi
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40137f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0xd
pop esi
cmove eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4013b3
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4013d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
push ebx
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], esi
je 0x401463
push edi
mov dword [ebp - 8], esi
xor edi, edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40142b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
cmove esi, eax
cmp esi, 0xe8
jne 0x401436
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x4013e3
jmp 0x401436
cmp dword [ebp - 4], 4
je 0x40143a
mov esi, 0xd
test esi, esi
jne 0x401462
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
inc ecx
cmp eax, ecx
mov dword [ebp - 4], eax
push edx
lea eax, [ebp - 0xc]
mov esi, 0xd
push eax
push 4
lea eax, [ebp - 4]
cmove esi, edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4029e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4029e9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4029da
cmp esi, edx
jae 0x4029e9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4029c8
cmp esi, edx
jae 0x4029e9
cmp word [esi], 0
je 0x4029e9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x403760
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412f08
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41b044]
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 + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x10]
lea edi, [eax + eax]
mov eax, 0xaaaaaaab
lea ecx, [edi + 2]
mul ecx
mov eax, edx
shr eax, 1
shl eax, 2
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x34], eax
jb 0x4037b5
mov esi, dword [esi]
lea ecx, [esi + edi]
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00403a40
xor edi, edi
cmp dword [ebp - 0x34], edi
jbe 0x403862
cmp esi, dword [ebp - 0x3c]
jae case.default.0x4037f2
mov eax, edi
and eax, 3
jmp dword [eax*4 + 0x4038e0]
mov cl, byte [esi]
shr cl, 2
mov byte [ebp - 0x29], cl
jmp 0x403838
mov cl, byte [esi]
inc esi
and cl, 3
shl cl, 4
mov al, byte [esi]
shr al, 4
or cl, al
mov byte [ebp - 0x29], cl
jmp 0x403838
mov cl, byte [esi]
inc esi
and cl, 0xf
shl cl, 2
mov al, byte [esi]
shr al, 6
or cl, al
mov byte [ebp - 0x29], cl
jmp 0x403838
mov cl, byte [esi]
and cl, 0x3f
inc esi
mov byte [ebp - 0x29], cl
jmp 0x403838
cmp cl, 0x40
jae 0x4038bb
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx ecx, cl
mov al, byte [ecx + eax]
mov byte [ebp - 0x2d], al
jmp 0x403851
mov byte [ebp - 0x2d], 0x3d
push dword [ebp - 0x2d]
lea ecx, [ebp - 0x28]
call fcn.004038f0
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x4037e8
mov esi, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
call fcn.00403310
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.00411460
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x38]
mov ecx, esi
push 0
push 0x415919
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.004033f0
jmp 0x403896
Function at 0x405290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4130f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edx
jb 0x4052de
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40538b
xor esi, esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40537d
push 0x41b4b9
push dword [ebp - 0x30]
call fcn.0041144b
mov esi, eax
add esp, 8
test esi, esi
je 0x405363
lea eax, [ebp - 0x30]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40535a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405341
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004073f0
push esi
call fcn.00411446
add esp, 4
push 0
push str.Acrobat_Reader
lea ecx, [ebp - 0x28]
call fcn.00407530
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
movzx esi, cx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx esi, si
jmp 0x40538e
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 3
cmp edx, 8
jb 0x4053d1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4053c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4053c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004114a6
add esp, 8
mov ax, si
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411460
mov esp, ebp
pop ebp
ret
Function at 0x406000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413208
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41b044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x27
xor eax, eax
mov dword [ebp - 0x34], 4
push str.SOFTWAREPoliciesAdobeAcrobat_Reader_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004073f0
push 2
push 0x415dd8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00407350
push 0x10
push str.FeatureLockDown
lea ecx, [ebp - 0x28]
call fcn.00407350
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor esi, esi
push 1
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4060dd
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
push esi
push str.bAcroSuppressOpenInReader
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4060d4
cmp dword [ebp - 0x2c], esi
mov eax, 1
cmovne esi, eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
cmp edx, 8
jb 0x406120
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406116
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004114a6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411460
mov esp, ebp
pop ebp
ret
Function at 0x40bf00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0
push 0
push 0x40c000
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
xor bl, bl
push eax
mov byte [ebp - 1], bl
call sub.USER32.dll_DdeInitializeW
test eax, eax
jne 0x40bff9
push esi
push edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call sub.USER32.dll_DdeCreateStringHandleW
push 0
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp - 8]
call sub.USER32.dll_DdeCreateStringHandleW
push 0
mov esi, eax
push esi
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x10], esi
call sub.USER32.dll_DdeConnect
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
test edi, edi
jne 0x40bf9d
push dword [ebp - 8]
call sub.USER32.dll_DdeGetLastError
push edi
push esi
push ebx
push dword [ebp - 8]
call sub.USER32.dll_DdeConnect
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, 0xea60
jbe 0x40bf66
test edi, edi
jne 0x40bf9d
push dword [ebp - 8]
call sub.USER32.dll_DdeGetLastError
jmp 0x40bfd5
mov esi, dword [ebp + 0x10]
push 0
push 0x2710
push 0x4050
push 1
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
call sub.USER32.dll_DdeClientTransaction
test eax, eax
push edi
setne byte [ebp - 1]
call sub.USER32.dll_DdeDisconnect
mov esi, dword [ebp - 0x10]
push ebx
push dword [ebp - 8]
call sub.USER32.dll_DdeFreeStringHandle
push esi
push dword [ebp - 8]
call sub.USER32.dll_DdeFreeStringHandle
push dword [ebp - 8]
call sub.USER32.dll_DdeUninitialize
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413978
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x41b044]
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 ebx, ecx
mov dword [ebp - 0x2c], ebx
cmp dword [ebx + 0x38], 0
je 0x40c5b6
cmp byte [ebx + 0x3d], 0
je 0x40c5b6
mov eax, dword [ebx]
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4153b8]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
jne 0x40c4e3
xor al, al
jmp 0x40c5b8
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00409570
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
nop dword [eax]
cmp esi, 0x10
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, edi
lea ecx, [ebp - 0x28]
cmovae ecx, edi
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
lea eax, [ebx + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x40c544
sub eax, 1
je 0x40c548
sub eax, 2
je 0x40c5a8
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.00403310
mov al, bl
jmp 0x40c5b8
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp esi, 0x10
mov ebx, dword [ebp - 0x30]
cmovae eax, edi
sub ebx, eax
je 0x40c584
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
cmp esi, 0x10
cmovae eax, edi
push dword [ecx + 0x4c]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x40c536
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x3d], 0
je 0x40c5a8
test ebx, ebx
mov ebx, eax
jne 0x40c500
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0040c7b0
jmp 0x40c4f6
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.00403310
mov al, bl
jmp 0x40c5b8
mov al, 1
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.00411460
mov esp, ebp
pop ebp
ret
Function at 0x40dba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
je 0x40dc16
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push str.SoftwareAdobeAdobe_AcrobatDCSecurity
push 0x80000002
lea esi, [ebx + 1]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40dc16
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push ebx
push 0x41652c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40dc05
cmp dword [ebp - 4], eax
cmove esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40dcd6
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40dc7f
lea eax, [ebp - 0x10]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
push esi
push str.bEnableATL7Compat
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40dc76
cmp dword [ebp - 8], 4
jne 0x40dc76
mov eax, 1
cmp dword [ebp - 0xc], eax
cmove esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40dcc7
push str.SetProcessDEPPolicy
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x40dcc7
test edi, edi
je 0x40dcb5
mov eax, esi
xor eax, 1
lea eax, [eax*2 + 1]
jmp 0x40dcb7
xor eax, eax
push eax
call dword [0x4153b8]
call dword [ebp - 0x10]
mov ebx, eax
test ebx, ebx
jne 0x40dd28
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40dcdf
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.NtSetInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x40dd28
lea esi, [esi*4 + 9]
test edi, edi
jne 0x40dd02
mov esi, 2
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push 0x22
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [ebp - 0xc]
mov ecx, esi
push eax
call dword [0x4153b8]
call esi
xor ebx, ebx
test eax, eax
setns bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40eb90
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
push 0x416194
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 1
call fcn.0040dba0
add esp, 4
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
test eax, eax
je 0x40ec20
push 0
push 1
push 5
call fcn.0040dad0
add esp, 0xc
test al, al
je 0x40ec20
push 0
push 0
push 6
call fcn.0040dad0
add esp, 0xc
test al, al
jne 0x40ec20
mov dword [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__get_heap_handle]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, eax
test edi, edi
je 0x40ec0d
push 4
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
test esi, esi
je 0x40ec20
push 4
lea eax, [ebp - 4]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40dd40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 2
test esi, esi
jne 0x40ec45
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x40dab0
push 0x64
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x41b4b4], 0x258
mov edi, eax
jae 0x40ecbc
nop dword [eax]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40ec98
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x41b484], 0
je 0x40ecb0
mov dword [0x41b4b4], 0
call fcn.0040b3e0
cmp dword [0x41b4b4], 0x258
jb 0x40ec70
push edi
push 0
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.00406fc0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret