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

Disassembly:
jmp 0x408d50
sub esp, 0x210
mov eax, dword [0x4b7870]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x21c]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push edi
mov edi, dword [esp + 0x220]
lea eax, [esp + 0xc]
push eax
push str.SoftwareAdobeAdobe_Acrobat10.0Languagecurrent
push SysFreeString
call esi
test eax, eax
je 0x408de8
lea ecx, [esp + 0xc]
push ecx
push str.SoftwareAdobeAdobe_Acrobat10.0Languagecurrent
push SysFreeString
call esi
test eax, eax
je 0x408de8
lea edx, [esp + 0xc]
push edx
push str.SoftwareAdobeAcrobat_Reader10.0LanguageCurrent
push SysFreeString
call esi
test eax, eax
je 0x408de8
lea eax, [esp + 0xc]
push eax
push str.SoftwareAdobeAcrobat_Reader10.0LanguageCurrent
push SysFreeString
call esi
test eax, eax
je 0x408de8
lea ecx, [esp + 0xc]
push ecx
push str.SoftwareAdobeAcrobat_Reader10.0LanguageNext
push SysFreeString
call esi
test eax, eax
jne 0x408eef
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x408eef
cmp dword [esp + 0x14], 1
jne 0x408eef
mov eax, dword [esp + 0x10]
cmp eax, 4
jb 0x408eef
shr eax, 1
lea ecx, [esp + eax*2 + 0x10]
push 0x49a964
push ecx
call fcn.00448297
add esp, 8
test eax, eax
je 0x408ed5
mov edx, dword [esp + 0x10]
shr edx, 1
lea eax, [esp + edx*2 + 0x10]
push 0x49a958
push eax
call fcn.00448297
add esp, 8
test eax, eax
je 0x408ed5
mov esi, dword [esp + 0x10]
mov ecx, esi
shr ecx, 1
mov edx, 4
sub edx, ecx
lea eax, [esp + ecx*2 + 0x10]
add edx, edx
lea ecx, [esp + 0x18]
sub edx, ecx
add edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x408e90
test ebx, ebx
je 0x408eb8
cmp esi, 0xd
jb 0x408eb8
push 0xd
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.0044813c
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004461a7
add esp, 0x210
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004461a7
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.004461a7
add esp, 0x210
ret
Function at 0x40125d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x407810
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407829
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407864
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x407860
lea ebx, [ebx]
cmp esi, eax
jae 0x407864
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407850
cmp esi, eax
jb 0x40786a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401320
Capabilities:
Get file version info

Disassembly:
jmp 0x4036b0
sub esp, 0x114
mov eax, dword [0x4b7870]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x120]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40370e
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [esp + 8], eax
jmp 0x403712
mov eax, dword [esp + 8]
test eax, eax
jbe 0x403774
push esi
push 1
push eax
call fcn.00447086
mov esi, eax
add esp, 8
test esi, esi
je 0x403773
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push esi
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40376a
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x4992f4
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40376a
movzx ecx, word [eax + 0xa]
mov dword [edi], ecx
movzx edx, word [eax + 0xc]
mov dword [ebx], edx
push esi
call fcn.00446ff8
add esp, 4
pop esi
cmp dword [edi], 8
mov eax, 1
jg 0x40378a
mov dword [edi], 9
mov dword [ebx], 0
mov ecx, dword [esp + 0x118]
pop edi
pop ebx
xor ecx, esp
call fcn.004461a7
add esp, 0x114
ret
Function at 0x40133e
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x40a490
sub esp, 0x218
mov eax, dword [0x4b7870]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREAdobeAcrobat_Distiller10.0Installer
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a597
push 0x206
lea edx, [esp + 0x16]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x1c], cx
call fcn.004461c0
add esp, 0xc
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push str.ENU_GUID
push eax
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a58c
lea ecx, [esp + 0x10]
push str._7760_
push ecx
call fcn.00448383
add esp, 8
test eax, eax
je 0x40a531
mov esi, 0x76
jmp 0x40a58c
lea edx, [esp + 0x10]
push str._BA7E_
push edx
call fcn.00448383
add esp, 8
test eax, eax
je 0x40a54e
mov esi, 0x10
jmp 0x40a58c
lea eax, [esp + 0x10]
push str._7761
push eax
call fcn.00448383
add esp, 8
test eax, eax
je 0x40a56b
mov esi, 0x17c
jmp 0x40a58c
lea ecx, [esp + 0x10]
push str._3479_
push ecx
call fcn.00448383
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x134
add esi, 0x47
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004461a7
add esp, 0x218
ret
Function at 0x401384
Capabilities:
Set registry value

Disassembly:
jmp 0x40db40
push 0xffffffffffffffff
push 0x48f83b
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4b7870]
xor eax, esp
mov dword [esp + 0x494], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7870]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c0]
mov edi, dword [esp + 0x4bc]
lea eax, [esp + 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, 0xffffffff
jne 0x40dbef
lea ecx, [esp + 0x18]
push ecx
push str.SoftwareAdobeAcrobat_DistillerEmailJobs
push SysFreeString
call ebx
test eax, eax
jne 0x40dbf6
mov eax, dword [esp + 0x18]
push 4
lea edx, [esp + 0x18]
push edx
push 4
xor ebp, ebp
push ebp
push esi
push eax
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebp
push 0x1388
push 0x9003
push edi
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40dce8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
call fcn.0041629c
xor ebp, ebp
mov dword [esp + 0x4b4], ebp
lea ecx, [esp + 0x2c]
push ecx
push esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call fcn.0041e9fd
mov edx, dword [esp + 0x44]
or edx, dword [esp + 0x48]
jne 0x40dc86
push esi
call fcn.00415d84
lea eax, [esp + 0x14]
push eax
push str.SoftwareAdobeAcrobat_DistillerEmailJobs
push SysFreeString
call ebx
test eax, eax
jne 0x40dcd4
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push ebp
push esi
push edx
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebp
push 0x1388
push 0x9003
push edi
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40dcd4
mov eax, esi
lea edx, [eax + 2]
jmp 0x40dc90
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x40dc90
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebp
je 0x40dcd4
mov edi, eax
mov ecx, esi
sub edi, esi
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, 2
cmp dx, bp
jne 0x40dcb6
push eax
push ebp
push 0x40137a
call fcn.004484e5
add esp, 0xc
mov dword [esp + 0x4b4], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004164f8
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.004461a7
add esp, 0x4a4
ret
Function at 0x4013cf
Capabilities:
Get common file path
Set current directory

Disassembly:
jmp 0x402170
sub esp, 0x51c
mov eax, dword [0x4b7870]
xor eax, esp
mov dword [esp + 0x518], eax
mov eax, dword [esp + 0x52c]
push ebx
push esi
mov esi, dword [esp + 0x528]
push edi
mov edi, dword [esp + 0x530]
push 0x206
xor ebx, ebx
lea edx, [esp + 0x322]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x18], eax
mov word [esp + 0x328], cx
call fcn.004461c0
push 0x206
lea ecx, [esp + 0x126]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x12c], ax
call fcn.004461c0
add esp, 0x18
lea edx, [esp + 0x31c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
lea eax, [esp + 0x118]
push eax
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x40222c
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.004461a7
add esp, 0x51c
ret
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x103
lea edx, [esp + 0x15]
push ebx
push edx
mov byte [esp + 0x1c], bl
call fcn.004461c0
push esi
lea eax, [esp + 0x20]
push 0x104
push eax
call fcn.0044623a
push str._amt_assets
lea ecx, [esp + 0x2c]
push 0x104
push ecx
call fcn.004462a2
add esp, 0x24
call fcn.00401208
mov esi, eax
cmp esi, ebx
jne 0x40229d
lea edx, [esp + 0x10]
push edi
push edx
call fcn.004013b1
add esp, 8
test eax, eax
jne 0x4022de
call fcn.00401208
mov esi, eax
cmp esi, ebx
je 0x4022de
mov eax, dword [0x4b9618]
cmp eax, ebx
je 0x4022de
cmp byte [eax], bl
je 0x4022de
push 1
push ebx
call fcn.0040116d
add esp, 8
test eax, eax
jne 0x4022de
mov ecx, esi
call fcn.004015b4
dec eax
cmp eax, 2
ja 0x4022de
mov eax, dword [esp + 0x534]
cmp eax, 0xffffffff
je 0x4022dc
lea eax, [eax + eax*2]
cmp dword [esi + eax*4 + 0x4c], 1
jne 0x4022de
mov bl, 1
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00401451
add esp, 4
call fcn.00401555
lea edx, [esp + 0x31c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 0x524]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.004461a7
add esp, 0x51c
ret

Function at 0x4014ba
Capabilities:
Set registry value

Disassembly:
jmp 0x402880
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 2
push 0
push 0
push 0
push str.SoftwareAdobeAdobe_Acrobat10.0AdobeViewer
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4027b2
xor al, al
add esp, 8
ret
mov eax, dword [esp]
push esi
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.Launched
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret
mov ecx, SysFreeString
call 0x402780
mov ecx, SysFreeString
jmp 0x402780
Function at 0x4014fb
Capabilities:
Set registry value

Disassembly:
jmp 0x4028a0
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 2
push 0
push 0
push 0
push str.SoftwareAdobeAdobe_Acrobat10.0AdobeViewer
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x402832
xor al, al
add esp, 8
ret
mov eax, dword [esp]
push esi
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.EULAAcceptedForBrowser
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret
mov ecx, SysFreeString
call 0x402800
mov ecx, SysFreeString
jmp 0x402800

Function at 0x401514
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x409dd0
sub esp, 8
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x49af18
push SysFreeString
mov dword [esp + 0x18], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x409e14
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push str.InstallPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edi, eax
jmp 0x409e60
lea eax, [esp + 8]
push eax
push str.AcroDist_shellopencommand
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x409ed2
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push str.AcroDist.exe
push esi
mov edi, eax
call fcn.00448383
add esp, 8
test eax, eax
je 0x409e60
xor ecx, ecx
mov word [eax], cx
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x409ed2
cmp word [esi], 0x22
jne 0x409eae
lea eax, [esi + 2]
mov edx, esi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x409e80
push 0x22
push esi
call fcn.0044835d
add esp, 8
test eax, eax
je 0x409ed2
xor ecx, ecx
pop edi
mov word [eax], cx
lea eax, [ecx + 1]
pop esi
add esp, 8
ret 4
push 0x49ae84
push esi
call fcn.00448383
add esp, 8
test eax, eax
je 0x409ec5
xor edx, edx
mov word [eax], dx
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x401541
Capabilities:
Find taskbar

Disassembly:
jmp 0x411410
sub esp, 0x10
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x41142a
xor eax, eax
add esp, 0x10
ret
push 0
push str.TrayNotifyWnd
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x411424
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x411424
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
cdq
sub eax, edx
mov esi, eax
push 1
sar esi, 1
call edi
cdq
sub eax, edx
sar eax, 1
xor edx, edx
cmp dword [esp + 0x14], eax
pop edi
setge dl
xor eax, eax
dec edx
and edx, 2
cmp dword [esp + 4], esi
pop esi
setl al
or eax, edx
add esp, 0x10
ret

Function at 0x401578
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x407520
cmp dword [ecx], 0
jne 0x40752a
xor eax, eax
ret 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret 0x10
Function at 0x40161d
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x406bf0
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi], bl
je 0x406c08
pop esi
lea eax, [ebx + 4]
pop ebx
add esp, 0x14
ret 0xc
mov eax, dword [str.Acrobat]
push ebp
mov dword [esi + 0x44], eax
mov al, 0xa
lea ebp, [esi + 0x44]
mov byte [esi + 0x48], al
mov byte [esi + 0x49], bl
mov ecx, dword [str.Acrobat_Viewer]
mov byte [esi + 0x54], al
mov dword [esi + 0x50], ecx
mov byte [esi + 0x55], bl
mov edx, dword [str.Acrobat_Distiller]
mov byte [esi + 0x60], al
mov dword [esi + 0x5c], edx
mov byte [esi + 0x61], bl
mov ecx, dword [str.Shared_Designer]
push edi
mov byte [esi + 0x6c], al
mov dword [esi + 0x68], ecx
mov byte [esi + 0x6d], bl
mov edx, dword [str.Acrobat_DeepExploration]
mov byte [esi + 0x78], al
lea eax, [esp + 0x18]
push eax
push 1
push ebx
push str.SoftwareAdobeAdobe_Acrobat10.0Activation
push SysFreeString
mov dword [esi + 0x74], edx
mov byte [esi + 0x79], bl
mov dword [esi + 0x80], str.AMT_ALLOW_DRAGDROP_INSTALL
mov byte [esi + 0x84], 3
mov byte [esi + 0x85], bl
mov edi, 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406cdd
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push str.Disabled
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406cdd
cmp dword [esp + 0x10], ebx
je 0x406cdd
mov dword [esi + 0x8c], str.AMT_ACTIVATION_DISABLED
mov byte [esi + 0x90], 1
mov byte [esi + 0x91], bl
lea edi, [eax + 7]
cmp byte [esp + 0x30], bl
je 0x406cff
movzx eax, di
lea ecx, [eax + eax*2]
lea ecx, [esi + ecx*4]
lea edx, [eax + eax*2 + 0x12]
mov dword [ecx + 0x44], str.AMT_PASSIVE_ACTIVATION
mov byte [esi + edx*4], 1
mov byte [ecx + 0x49], bl
inc edi
movzx eax, di
lea eax, [eax + eax*2]
mov dword [esi + eax*4 + 0x44], ebx
cmp dword [esi + 0x28], 0x10
jb 0x406d18
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x1c], ecx
jmp 0x406d1f
lea edx, [esi + 0x14]
mov dword [esp + 0x1c], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x406d5f
lea edx, [esi + 0xb0]
push edx
lea edx, [esi + 0xb4]
push edx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push ebx
push ebp
push ecx
push 1
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ecx
mov dword [esp + 0x58], ebx
call eax
add esp, 0x28
mov ebx, eax
mov ecx, esi
mov byte [esi], 1
call fcn.00401041
push ebx
mov ecx, esi
call fcn.0040151e
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x14
ret 0xc

Function at 0x4016d1
Capabilities:
Delete registry value

Disassembly:
jmp 0x406a30
push ecx
lea eax, [esp]
push eax
push 2
push 0
push str.SoftwareAdobeDesigner8.2
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406a77
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.MasterKey
push ecx
call esi
mov edx, dword [esp + 4]
push str.MasterApp
push edx
call esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x4016ea
Capabilities:
Create process on windows
Set registry value

Disassembly:
jmp 0x409b00
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x409b7b
cmp eax, 2
jb 0x409b7b
cmp eax, 3
ja 0x409b7b
lea eax, [esp + 8]
push eax
push str.SoftwareAdobeAcrobat_DistillerSpooledJobs
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x409b7b
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push eax
push esi
push edx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x10]
push 0
push 0x1f4
push 0x9002
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
add esp, 8
ret

Function at 0x401749
Capabilities:
Get common file path
Set current directory

Disassembly:
jmp 0x401f60
sub esp, 0x420
mov eax, dword [0x4b7870]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [esp + 0x42c]
push ebp
mov ebp, dword [esp + 0x428]
push esi
push edi
mov edi, dword [esp + 0x434]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22a]
push edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x18], 0
xor esi, esi
mov word [esp + 0x22c], cx
call fcn.004461c0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2e]
push ecx
mov word [esp + 0x30], ax
call fcn.004461c0
add esp, 0x18
lea edx, [esp + 0x220]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edi
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x402006
lea edx, [esi + 3]
jmp 0x402093
push ebx
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.004014ba
call fcn.00401208
mov ebx, eax
test ebx, ebx
jne 0x40204a
mov edx, dword [esp + 0x440]
mov eax, dword [esp + 0x18]
push edx
push eax
push edi
push ebp
call fcn.0040117c
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x402082
call fcn.00401208
mov ebx, eax
test ebx, ebx
je 0x402082
mov eax, dword [0x4b9618]
test eax, eax
je 0x402082
cmp byte [eax], 0
je 0x402082
mov ecx, dword [esp + 0x440]
push ecx
push ebp
call fcn.0040116d
add esp, 8
mov ecx, ebx
mov esi, eax
call fcn.004015b4
dec eax
cmp eax, 2
ja 0x402082
mov byte [esp + 0x10], 1
call fcn.004014fb
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, esi
pop ebx
mov ecx, dword [esp + 0x428]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004461a7
add esp, 0x420
ret
Function at 0x401f60
Capabilities:
Get common file path
Set current directory

Disassembly:
jmp 0x401f60
sub esp, 0x420
mov eax, dword [0x4b7870]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [esp + 0x42c]
push ebp
mov ebp, dword [esp + 0x428]
push esi
push edi
mov edi, dword [esp + 0x434]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22a]
push edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x18], 0
xor esi, esi
mov word [esp + 0x22c], cx
call fcn.004461c0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2e]
push ecx
mov word [esp + 0x30], ax
call fcn.004461c0
add esp, 0x18
lea edx, [esp + 0x220]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push edi
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x402006
lea edx, [esi + 3]
jmp 0x402093
push ebx
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.004014ba
call fcn.00401208
mov ebx, eax
test ebx, ebx
jne 0x40204a
mov edx, dword [esp + 0x440]
mov eax, dword [esp + 0x18]
push edx
push eax
push edi
push ebp
call fcn.0040117c
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x402082
call fcn.00401208
mov ebx, eax
test ebx, ebx
je 0x402082
mov eax, dword [0x4b9618]
test eax, eax
je 0x402082
cmp byte [eax], 0
je 0x402082
mov ecx, dword [esp + 0x440]
push ecx
push ebp
call fcn.0040116d
add esp, 8
mov ecx, ebx
mov esi, eax
call fcn.004015b4
dec eax
cmp eax, 2
ja 0x402082
mov byte [esp + 0x10], 1
call fcn.004014fb
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, esi
pop ebx
mov ecx, dword [esp + 0x428]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004461a7
add esp, 0x420
ret