joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43829b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4382d2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4382ce
jmp 0x4382c0
cmp esi, eax
jae 0x4382d2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4382c0
cmp esi, eax
jb 0x4382d9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x438c30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004b7180
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x438c9f
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
jne 0x438c9f
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x43a030
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x14]
cmp ebx, 1
jne 0x43a061
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
push 0x400
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x824], edi
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x408], edi
call fcn.004b7180
push 0x400
lea ecx, [ebp - 0x814]
push edi
push ecx
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x818], edi
call fcn.004b7180
add esp, 0x18
cmp ebx, 3
jne 0x43a153
cmp dword [esi + 0x7c], 8
mov ecx, dword [esi + 0x78]
lea eax, [esi + 0x68]
jb 0x43a0d2
mov eax, dword [eax]
lea edx, [ecx + ecx]
push edx
push eax
push 1
push 1
lea eax, [ebp - 0x414]
push 2
push eax
call fcn.00438ce0
add esp, 0x18
push edi
lea ecx, [ebp - 0x820]
push ecx
lea edx, [ebp - 0x414]
push edx
mov ecx, esi
call fcn.004392b0
push 0x400
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x408], edi
call fcn.004b7180
push 0x400
lea ecx, [ebp - 0x814]
push edi
push ecx
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x818], edi
call fcn.004b7180
add esp, 0x18
cmp dword [esi + 0x14], 3
jne 0x43a177
cmp dword [esi + 0x94], edi
jne 0x43a177
pop edi
pop esi
mov eax, 9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x410
lea eax, [ebp - 0x414]
push edi
push eax
mov dword [ebp - 0x824], edi
call fcn.004b7180
push 4
push esi
mov eax, 1
lea ecx, [ebp - 0x404]
push 0x400
push ecx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], 4
call fcn.0042da68
lea eax, [esi + 0x84]
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x43a1df
mov eax, dword [eax]
push edi
lea edx, [ebp - 0x824]
push edx
push 0x40c
lea ecx, [ebp - 0x820]
push ecx
push 0x410
lea edx, [ebp - 0x414]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x43a226
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x43a410
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
lea esp, [esp]
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 4
push ebx
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43a475
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x43a469
cmp esi, 0xe8
jne 0x43a460
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x43a420
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
sub eax, 4
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43a490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43a4cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43a598
pop edi
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
push edi
mov dword [ebp - 0xc], 3
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x43a509
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43a58f
push edi
lea esi, [eax + 0xd]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 8]
push edx
push 4
lea eax, [ebp + 0xc]
push eax
push edi
mov dword [ebp - 8], esi
call ebx
test eax, eax
jne 0x43a545
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43a58e
pop ebx
push edi
lea esi, [eax + 0xd]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], esi
je 0x43a58e
lea ecx, [ebp - 4]
xor eax, eax
push ecx
push edi
mov byte [ebp - 4], 0
mov word [ebp - 3], ax
mov byte [ebp - 1], al
call fcn.0043a410
mov esi, eax
add esp, 8
test esi, esi
jne 0x43a58e
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
inc edx
sub eax, edx
neg eax
sbb eax, eax
and eax, 0xd
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push edi
call ebx
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43a620
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov word [ebp - 0x41c], ax
call fcn.004b7180
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004b7180
add esp, 0x18
push 0x105
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x420]
push ecx
push 0x105
lea edx, [ebp - 0x41c]
push edx
push 0x4e6a68
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x43a6df
mov eax, dword [ebp - 0x420]
push 0x104
push esi
push eax
call fcn.0043a3b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x43a731
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x43a70f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
jmp 0x43a726
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43a721
push str.thsnYaVieBoda
jmp 0x43a726
push str.TsnIorcAeBoda
push 0x104
push esi
call fcn.00420830
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43a744
push eax
push 0x104
push esi
call fcn.00420830
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401306
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc02b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5246a8]
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.004b5fd8
push 4
mov dword [ebp - 4], 0
call fcn.00404fcd
mov edi, eax
add esp, 4
test edi, edi
je 0x43da80
call fcn.004b5c41
mov dword [edi], eax
call fcn.004b5a00
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004b5935
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x43da76
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004b595d
jmp 0x43da82
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 0x43ece0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0043e5d0
mov ebx, eax
cmp ebx, esi
je 0x43ed5a
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x43ed45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x43eddc
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0043ece0
mov ebx, eax
cmp ebx, esi
jne 0x43ed34
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43ed90
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x43edf5
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.0043e4b0
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x43ee18
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
Function at 0x4424a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc636
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5246a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call fcn.0043f060
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x44251c
call fcn.0043e2a0
mov edi, eax
jmp 0x442601
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x442535
call fcn.0043e2a0
jmp 0x4425f8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x442553
call fcn.0043e2a0
jmp 0x4425f8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x442574
mov edi, 0x8007000e
jmp 0x4425fa
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0043fa30
mov dword [ebp - 4], 1
jmp 0x4425ac
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4425bd
mov edi, 0x8007000e
jmp 0x4425fa
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4425d6
call fcn.0043e2a0
jmp 0x4425f8
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.004417a0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x44261a
lea ecx, [ebp - 0x418]
call fcn.0043ec80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 0x10
Function at 0x444d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5246a8]
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.004b7180
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 0x444e01
push str.SoftwareAdobeAcrobat_Reader11.0FeatureState
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x444e12
push str.SoftwareAdobeAdobe_Acrobat11.0FeatureState
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00402c29
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x444ee4
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 0x444eaf
cmp dword [ebp - 0x21c], 4
jne 0x444eaf
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.00401306
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x444ec0
test esi, esi
je 0x444ec0
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.00401306
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x444ef5
test esi, esi
je 0x444ef5
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.00401306
mov esp, ebp
pop ebp
ret

Function at 0x445200
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
mov dword [ebp - 4], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44524a
mov ecx, dword [ebp - 4]
push ecx
call edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [ebp - 4]
push edx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push 0x80000001
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x44527e
mov eax, dword [ebp - 4]
push str.Application
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4458f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcc36
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5246a8]
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
xor edi, edi
cmp edx, edi
je 0x4459fb
xor eax, eax
mov word [ebp - 0x234], ax
mov eax, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x445946
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.00406040
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x234]
mov ebx, 8
mov dword [ebp - 4], edi
mov esi, edx
cmp eax, ebx
jae 0x445a02
lea esi, [ebp - 0x234]
mov ecx, esi
mov edi, dword [ebp - 0x224]
cmp eax, ebx
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x44599d
lea eax, [ebp - 0x234]
cmp eax, ecx
je 0x4459b8
push fcn.0040f424
push esi
push ecx
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.0040f3e0
add esp, 0x14
lea edx, [ebp - 0x254]
push edx
push 0x20019
push 0
push str.SoftwareAdobeAcrobatExe
push 0x80000000
mov dword [ebp - 0x254], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x445a06
cmp dword [ebp - 0x220], ebx
jb 0x4459fb
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406d09
add esp, 4
xor al, al
jmp 0x445b61
mov ecx, edx
jmp 0x445988
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.004b7180
add esp, 0xc
lea edx, [ebp - 0x25c]
push edx
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
push edx
mov dword [ebp - 0x25c], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x445a7d
cmp dword [ebp - 0x220], ebx
jb 0x4459fb
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406d09
add esp, 4
xor al, al
jmp 0x445b61
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00408780
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
mov byte [ebp - 4], 1
mov edx, edi
cmp esi, ebx
jae 0x445b7d
lea edx, [ebp - 0x250]
mov eax, edx
mov ecx, dword [ebp - 0x240]
lea eax, [eax + ecx*2]
mov ecx, edi
cmp esi, ebx
jae 0x445ac6
lea ecx, [ebp - 0x250]
cmp ecx, eax
je 0x445aed
push fcn.0040f424
push edx
push eax
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.0040f3e0
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
add esp, 0x14
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x445b01
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x224]
push ecx
push 0
push eax
lea ecx, [ebp - 0x250]
call fcn.0040a0c0
cmp eax, 0xffffffff
setne bl
cmp esi, 8
jb 0x445b2a
push edi
call fcn.00406d09
add esp, 4
xor edx, edx
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
jb 0x445b5f
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406d09
add esp, 4
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.00401306
mov esp, ebp
pop ebp
ret
mov eax, edi
jmp 0x445ab1
Function at 0x448380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4448
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5246a8]
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 eax, dword [0x526120]
test eax, eax
jne 0x448441
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push eax
call ebx
mov esi, eax
test esi, esi
je 0x448438
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
push 0x527ef9
neg ecx
or ecx, eax
push ecx
call fcn.004218c1
mov edi, eax
add esp, 8
test edi, edi
je 0x448438
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call fcn.004b7180
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x44842f
cmp eax, esi
ja 0x44842f
push edi
lea ecx, [ebp - 0x2c]
call fcn.00408780
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.00421a10
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00409ff0
push edi
call fcn.004168eb
add esp, 4
mov eax, dword [0x526120]
test eax, eax
je 0x44844b
cmp dword [eax + 0x14], 8
jb 0x44844d
mov eax, dword [eax]
jmp 0x44844d
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.00401306
mov esp, ebp
pop ebp
ret

Function at 0x44dcf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push esi
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44dd3a
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [ebp + 0xc]
push edx
push eax
push eax
push eax
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, dword [esi]
test eax, eax
je 0x44dd4f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [esi + 8], ax
mov dword [esi], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
dec eax
mov dword [esi + 4], eax
test ecx, ecx
je 0x44dd83
test eax, eax
js 0x44dd83
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
lea edx, [ebp + 0xc]
push edx
lea edx, [esi + 8]
push edx
push eax
push ecx
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x44dd89
xor eax, eax
mov word [esi + 8], ax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8