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

Disassembly:
push 0x34
mov eax, 0x452d09
call fcn.0043bf3d
mov edi, dword [ebp + 8]
push str.InitUIStrings...
lea ecx, [ebp - 0x14]
call fcn.0040215a
xor ebx, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push str.ArmUI.ini
lea eax, [edi + 0xd8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040885d
add esp, 0xc
lea esi, [edi + 0xd4]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00408b20
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
push str.ARM_UI_INI
push 0x83
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x4069fa
push str.FindResource_failed:
lea ecx, [ebp + 8]
call fcn.0040215a
push 2
pop eax
push ebx
push esi
lea ecx, [ebp + 8]
push ecx
mov dword [ebp - 4], eax
push eax
call fcn.0040e15a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [edi + 0x510]
push eax
lea ecx, [edi + 0x5fc]
call fcn.0040e8d5
jmp 0x406baf
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x406a24
push str.LoadResource_failed:
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
push esi
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 3
push 2
jmp 0x4069cc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.004292a1
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 4
call fcn.00402056
lea ecx, [ebp - 0x40]
push ecx
mov byte [ebp - 4], 5
mov eax, dword [esi]
push 0x1021
push eax
lea ecx, [ebp - 0x2c]
call fcn.004296a2
test eax, eax
jne 0x406adb
push str.Open_file_failed:
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
push esi
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.0040e15a
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [edi + 0x510]
push eax
lea ecx, [edi + 0x5fc]
call fcn.0040e8d5
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov esi, eax
mov dword [ebp - 0x40], vtable.CFileException.0
call fcn.004025dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042937c
mov eax, esi
jmp 0x406baf
mov byte [ebp - 4], 7
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00428fd7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 5
call fcn.0042923b
lea eax, [edi + 0x510]
push eax
lea ecx, [edi + 0x5fc]
call fcn.0040e8d5
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x40], vtable.CFileException.0
call fcn.004025dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042937c
xor eax, eax
inc eax
jmp 0x406baf
call fcn.0043bfe2
ret 4
Function at 0x40744c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x455b1e
call fcn.0043bf0a
mov edi, ecx
push str.ExecuteInstalls...
lea ecx, [ebp - 0x10]
call fcn.0040215a
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
push 8
pop ecx
mov eax, edi
mov dword [edi + 0xe0], ecx
call fcn.004077da
call fcn.004252c5
push ebx
mov dword [edi + 0xc8], eax
call fcn.0041f62a
lea ecx, [ebp - 0x10]
mov dword [esp], str.Execute_Installs
call fcn.0040215a
lea eax, [ebp - 0x10]
xor esi, esi
push eax
inc esi
push edi
mov dword [ebp - 4], esi
call fcn.00405b11
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x5e4], eax
cmp dword [edi + 0x670], ebx
jne 0x4074f7
mov esi, edi
call fcn.00405e5f
mov esi, 0x249f0
cmp dword [0x48aa90], esi
je 0x407515
lea ebx, [edi + 0x558]
call fcn.00415dc4
xor ebx, ebx
test eax, eax
jne 0x407553
push 0x45df00
lea ecx, [ebp - 0x10]
call fcn.0040215a
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
push ecx
push esi
lea edx, [edi + 0x630]
mov ecx, eax
call fcn.0040c9a1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x10], ebx
push str.Execute_Installs
lea ecx, [ebp - 0x14]
call fcn.0040215a
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], 3
call fcn.00405b5d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x5e4]
push str._Product_after_installation_
dec eax
lea ecx, [ebp - 0x18]
mov dword [edi + 0x5e4], eax
call fcn.0040215a
push ebx
lea eax, [ebp - 0x18]
push eax
push 1
mov dword [ebp - 4], 4
call fcn.0040e5e0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea esi, [edi + 0x4ac]
push ebx
mov eax, esi
call fcn.004051d7
push eax
call fcn.00422123
mov esi, edi
call fcn.00406fba
push 4
lea eax, [edi + 0x59c]
call fcn.004150e9
cmp dword [edi + 0xac], ebx
jne 0x407606
cmp dword [edi + 0x540], ebx
jne 0x407606
cmp dword [edi + 0xe4], 2
je 0x40763b
mov eax, edi
cmp dword [ebp - 0x10], ebx
jne 0x40761d
push 2
pop ecx
mov dword [edi + 0xe0], ecx
call fcn.004077da
jmp 0x40763b
push 9
pop ecx
mov dword [edi + 0xe0], ecx
call fcn.004077da
mov edi, dword [edi + 0x670]
cmp edi, ebx
je 0x40763b
push edi
call fcn.0040a839
mov eax, dword [ebp - 0x10]
call fcn.0043bfe2
ret
Function at 0x407f06
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4542a1
call fcn.0043bf0a
call fcn.00428b72
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fd20
xor ebx, ebx
mov esi, 0x1b2c4
mov dword [ebp - 4], ebx
cmp dword [0x48aa90], esi
je 0x40806a
push dword [ebp + 0x10]
lea edi, [ebp - 0x10]
call fcn.00424653
pop ecx
test eax, eax
je 0x40806a
push str.Launcher_path:
lea ecx, [ebp + 0x10]
call fcn.0040215a
push ebx
mov eax, edi
push eax
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.0040e15a
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [ebp - 0x10]
push 5
push ebx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x271c8
mov dword [ebp + 0xc], eax
cmp dword [0x48aa90], esi
je 0x407ff2
cmp eax, 0x21
jl 0x407ff2
mov eax, dword [ebp + 8]
push str.ShellExecute_succeded.
lea ecx, [ebp + 8]
mov dword [eax + 0xbc], 1
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
xor eax, eax
jmp 0x4080af
push str.ShellExecute_failed
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ecx
push esi
add edx, 0x630
mov ecx, eax
call fcn.0040c9a1
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
cmp dword [ebp + 0xc], 5
jne 0x40805d
push str.ShellExecute_failed_with_SE_ERR_ACCESSDENIED
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.0040e5e0
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
mov eax, dword [ebp + 0xc]
jmp 0x4080af
push str.Failed_to_create_launcher_path
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ecx
push esi
add edx, 0x630
mov ecx, eax
call fcn.0040c9a1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
push 0xd
pop eax
call fcn.0043bfe2
ret 0xc
Function at 0x40b953
Capabilities:
Create bits job

Disassembly:
push 4
mov eax, 0x453fcc
call fcn.0043bf0a
mov esi, dword [ebp + 8]
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.00402102
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], vtable.CProxy.0
call fcn.00402102
lea ecx, [esi + 0x34]
call fcn.00402102
mov dword [esi + 0x2c], 1
push 0x10
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
push edi
push eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.0043a400
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x38], 4
call fcn.00402123
push 2
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, 0x272f4
mov dword [esi + 0xc], eax
cmp dword [0x48aa90], ebx
je 0x40ba8e
cmp eax, edi
jl 0x40ba8e
push edi
push edi
push edi
push 3
push 2
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, edi
mov dword [esi + 0xc], eax
jge 0x40ba22
cmp eax, 0x80010119
je 0x40ba22
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
push 0x27358
jmp 0x40ba6e
push esi
push 0x45f834
push 4
push edi
push 0x45f824
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, 0x222e0
mov dword [esi + 0xc], eax
cmp dword [0x48aa90], ebx
je 0x40ba4a
cmp eax, edi
jge 0x40babc
mov eax, dword [esi]
cmp eax, edi
je 0x40ba58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], edi
push str.Failed_to_connect_to_BITS
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
push ebx
mov ecx, dword [esi + 0xc]
mov edx, 0x48aa88
call fcn.0040c9a1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025dc
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x40babc
push 0x45eb78
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xc]
push ebx
mov edx, 0x48aa88
call fcn.0040c9a1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043bfe2
ret 8

Function at 0x40d177
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40d1c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x40d1aa
push 0xd
pop esi
cmp esi, 0xe8
jne 0x40d1cf
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x40d17f
jmp 0x40d1cf
mov esi, dword [ebp - 4]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x40e0d6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [0x48a438]
mov byte [0x48a3a0], 1
push 0x80000002
mov dword [0x48a394], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e158
push edi
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x48a43c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x40e158
cmp dword [ebp - 8], 1
jne 0x40e158
mov dword [0x48a394], 2
leave
ret
Function at 0x40e856
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x485d50]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
push esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1a0]
mov esi, 0x104
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0043a400
add esp, 0xc
push dword [edi]
lea eax, [ebp - 0x78]
push esi
push eax
mov eax, dword [ebp - 0x80]
push 0x45df00
push dword [eax]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.00402123
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.0043968e
add ebp, 0x194
leave
ret 8
Function at 0x40e8d5
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x452916
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x485d50]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
add edi, 4
mov ecx, edi
mov dword [esp + 0x28], edi
call fcn.0042c71e
push edi
call fcn.0040eabc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40eaa5
call fcn.00428b72
push eax
lea ecx, [esp + 0x18]
call fcn.0040fd20
and dword [esp + 0x40], 0
mov ebx, 0x104
mov edi, dword [esi]
imul ebx, ebx, 5
push ebx
lea ecx, [esp + 0x18]
call fcn.00402467
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00408a36
lea eax, [ebx - 2]
cmp edi, eax
je 0x40e940
test edi, edi
jbe 0x40ea99
lea ecx, [esp + 0x14]
call fcn.0040c962
mov ebx, 0x45df00
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
call fcn.0040215a
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call fcn.0040215a
and dword [esp + 0x18], 0
dec edi
mov byte [esp + 0x40], 2
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
movzx ecx, word [eax + ecx*2]
test cx, cx
jne 0x40ea3b
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x40ea30
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.0040e856
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x40e9f6
mov ecx, dword [esp + 0x28]
push eax
push dword [esp + 0x14]
call fcn.0040ece6
jmp 0x40ea30
push str.Attention:_read_an_empty_string_from_resource_file__use_default_English_string_then:
lea ecx, [esp + 0x24]
call fcn.0040215a
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push 1
mov byte [esp + 0x50], 3
call fcn.0040e15a
mov byte [esp + 0x50], 2
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
lea ecx, [esp + 0x10]
call fcn.0040234f
jmp 0x40ea64
lea ebx, [esp + 0x2c]
call fcn.0040eb9a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 4
call fcn.00401f30
mov byte [esp + 0x40], 2
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004025dc
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
jbe 0x40e9ae
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00408a36
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025dc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025dc
xor eax, eax
inc eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ecfd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x451b35
call fcn.0043bf0a
push 0x45dd50
lea eax, [ebp - 0x1c]
push 0x48a960
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
call fcn.0040885d
push dword [ebp + 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040885d
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.004025dc
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push dword [ebp - 0x18]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], esi
je 0x40eda5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], esi
seta bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025dc
mov al, bl
call fcn.0043bfe2
ret
mov bl, 1
jmp 0x40ed92

Function at 0x40ee96
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x68
mov eax, 0x455061
call fcn.0043bf73
push 0xf
pop edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.00410496
push dword [ebp + 8]
mov ecx, esi
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040eddd
pop ecx
cmp dword [0x48a3a8], ebx
je 0x40eeee
mov eax, dword [0x48a3b0]
cmp eax, ebx
je 0x40eeee
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x40eee3
lea ecx, [ebp - 0x28]
push ecx
call eax
pop ecx
mov esi, eax
jmp 0x40efb9
or dword [ebp - 0x4c], 0xffffffff
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x30], edi
call fcn.00410496
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 1
call fcn.004100b9
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004103c2
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.004104b2
cmp dword [ebp - 0x30], 0x10
mov edi, dword [ebp - 0x44]
jae 0x40ef3f
lea edi, [ebp - 0x44]
cmp edi, ebx
je 0x40ef55
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x40ef59
xor eax, eax
jmp 0x40ef6d
lea eax, [esi + esi]
call fcn.00447610
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00410130
lea ecx, [ebp - 0x50]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40efab
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push str.OptIn
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004104b2
sub esi, ebx
je 0x40efca
dec esi
je 0x40efc5
or esi, 0xffffffff
jmp 0x40efcc
xor esi, esi
inc esi
jmp 0x40efcc
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004104b2
mov eax, esi
lea esp, [ebp - 0x84]
call fcn.0043bff6
ret
Function at 0x40f92b
Capabilities:
Check if file exists
Get common file path
Get file attributes
Link many functions at runtime
Set current directory

Disassembly:
push 0xc
mov eax, 0x452444
call fcn.0043bf0a
xor ebx, ebx
cmp dword [0x48a3a8], ebx
jne 0x40fad2
cmp dword [ebp + 8], ebx
je 0x40fad2
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
call edi
mov esi, eax
add esi, 0x13
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004287cb
pop ecx
push eax
push esi
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [ebp + 8]
lea eax, [esi + 0x60]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040219e
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.004051d7
lea ecx, [ebp - 0x10]
test eax, eax
je 0x40f9a2
push str.Reader_
jmp 0x40f9a7
push str.Acrobat_
call fcn.0040893e
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040219e
push str.logsession.dll
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040893e
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x40fa08
push edi
push str.Agent
push str.SoftwareAdobeCommonFilesUsage_
call fcn.0042351b
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
add esp, 0xc
push edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push dword [ebp - 0x18]
mov dword [0x48a3a8], eax
call esi
push dword [ebp - 0x18]
call fcn.004287d6
mov eax, dword [0x48a3a8]
pop ecx
test eax, eax
jne 0x40fa2f
lea ecx, [ebx - 0x10]
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
jmp 0x40fb24
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UTInitialize
push eax
call esi
push str.UTOptInGet
push dword [0x48a3a8]
mov dword [0x48a3ac], eax
call esi
push str.UTSetOptIn
push dword [0x48a3a8]
mov dword [0x48a3b0], eax
call esi
push str.UTStartSession
push dword [0x48a3a8]
mov dword [0x48a3b4], eax
call esi
push str.UTLogEvent
push dword [0x48a3a8]
mov dword [0x48a3b8], eax
call esi
push str.UTNewDataGroup
push dword [0x48a3a8]
mov dword [0x48a3bc], eax
call esi
push str.UTAddToGroup
push dword [0x48a3a8]
mov dword [0x48a3c0], eax
call esi
push str.UTCloseSession
push dword [0x48a3a8]
mov dword [0x48a3c4], eax
call esi
lea ecx, [ebx - 0x10]
mov dword [0x48a3c8], eax
call fcn.004025dc
lea ecx, [edi - 0x10]
call fcn.004025dc
xor ebx, ebx
cmp dword [0x48a3b0], ebx
je 0x40fb0e
cmp dword [0x48a3b4], ebx
je 0x40fb0e
cmp dword [0x48a3b8], ebx
je 0x40fb0e
cmp dword [0x48a3bc], ebx
je 0x40fb0e
cmp dword [0x48a3c0], ebx
je 0x40fb0e
cmp dword [0x48a3c4], ebx
je 0x40fb0e
cmp dword [0x48a3c8], ebx
je 0x40fb0e
mov al, 1
jmp 0x40fb26
mov eax, dword [0x48a3a8]
cmp eax, ebx
je 0x40fb1e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x48a3a8], ebx
xor al, al
call fcn.0043bfe2
ret
Function at 0x410788
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x41079f
leave
ret
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 8], ecx
lea edi, [eax + esi]
jmp 0x4107be
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4107c3
inc edi
cmp edi, dword [ebp - 8]
jb 0x4107b5
mov eax, edi
sub eax, esi
cmp edi, dword [ebp - 8]
jae 0x4108b2
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x410845
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x4107ef
cmp cl, 0xff
jne 0x410874
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
sub esi, eax
sub esi, 5
mov ebx, esi
mov dword [ebp - 0xc], ebx
test edx, edx
je 0x410885
movzx esi, byte [edx + 0x460918]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
shr ebx, cl
test bl, bl
je 0x410835
cmp bl, 0xff
jne 0x410882
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, dword [ebp - 0xc]
jmp 0x41080d
dec ecx
shl edx, cl
and edx, 7
je 0x4107dc
movzx ecx, byte [edx + 0x460918]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x460910], 0
mov cl, byte [ebx + 4]
je 0x410871
test cl, cl
je 0x410871
cmp cl, 0xff
jne 0x4107dc
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4107b0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x4107b0
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0xc]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret