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

Disassembly:
push 0x64
mov eax, 0x4ad0f0
call fcn.00468c4c
push 0xf
xor eax, eax
pop edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x44], al
push edx
mov edx, ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
call fcn.004287ad
or ebx, 0xffffffff
cmp dword [0x514444], 0
pop ecx
je 0x4288ad
mov esi, dword [0x51444c]
test esi, esi
je 0x4288ad
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov ecx, esi
cmovae eax, dword [ebp - 0x44]
push eax
call dword [0x4b67e4]
call esi
pop ecx
mov esi, eax
jmp 0x428974
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x5c]
call fcn.00429252
pop ecx
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x4288e7
mov byte [ebp - 0x68], 0
push dword [ebp - 0x68]
push eax
call fcn.00429230
lea ecx, [ebp - 0x5c]
call fcn.00427cbb
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
jb 0x4288ff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x428911
push esi
call fcn.00489940
pop ecx
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x428915
xor eax, eax
jmp 0x428929
lea eax, [edi + edi]
call fcn.004a7f40
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.004293b3
lea ecx, [ebp - 0x60]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x428969
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push str.OptIn
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x64]
lea ecx, [ebp - 0x2c]
call fcn.00427cbb
sub esi, 0
je 0x428983
sub esi, 1
jne 0x428985
xor ebx, ebx
inc ebx
jmp 0x428985
xor ebx, ebx
lea ecx, [ebp - 0x44]
call fcn.00427cbb
mov eax, ebx
lea esp, [ebp - 0x80]
call fcn.00468bf6
ret
Function at 0x4293eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], 0
je 0x42944d
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
seta al
jmp 0x42944f
mov al, 1
pop esi
leave
ret
Function at 0x429b22
Capabilities:
Create process on windows

Disassembly:
push 0x14
mov eax, 0x4ad3c8
call fcn.00468c18
mov edi, ecx
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x513f74], 2
mov esi, dword [0x513f58]
jne 0x429b95
test esi, esi
jne 0x429b62
cmp dword [0x5143b4], 0x249f0
jne 0x429b95
push 0x51406c
lea ecx, [ebp - 0x18]
call fcn.00402e14
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x429c06
test esi, esi
mov ecx, str.http:__www.adobe.com_go_update_error_win
mov eax, 0x4eb2e0
cmove eax, ecx
lea ecx, [ebp - 0x18]
push eax
call fcn.0040286d
jmp 0x429c06
cmp dword [0x514010], ebx
jne 0x429baa
mov eax, 0x514028
cmp dword [0x514060], ebx
je 0x429baf
mov eax, 0x514070
push eax
lea ecx, [ebp - 0x18]
call fcn.00402e14
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x429be2
mov ecx, 0x513f84
call fcn.004031f2
test eax, eax
mov edx, 0x513e24
mov ecx, 0x513e28
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402e14
cmp dword [0x514010], ebx
je 0x429c06
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], bl
push eax
push ebx
push 0x4ca85c
push str.Upgrade_WhatsNew
mov ecx, 0x513e58
call fcn.0040a1d0
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
push ebx
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
add edi, 0x84
push eax
mov ecx, edi
call fcn.00402e14
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402e64
push 0x4ccd0c
lea ecx, [ebp - 0x14]
call fcn.00402829
push 1
xor eax, eax
mov byte [ebp - 4], 2
push eax
push eax
push dword [edi]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x21
jge 0x429d2b
mov ecx, esi
sub ecx, 0
je 0x429cc4
dec ecx
sub ecx, 1
je 0x429cb7
sub ecx, 1
je 0x429cb0
dec ecx
sub ecx, 1
je 0x429cc4
sub ecx, 3
je 0x429ca9
sub ecx, 0x12
je 0x429ca2
sub ecx, 6
lea ecx, [ebp - 0x14]
je 0x429c9b
push str.All_other_non_caught_scenarios
jmp 0x429cbf
push str.The_specified_DLL_was_not_found.
jmp 0x429cbf
push str.A_sharing_violation_occurred.
jmp 0x429cbc
push str.There_was_not_enough_memory_to_complete_the_operation.
jmp 0x429cbc
push str.The_specified_path_was_not_found.
jmp 0x429cbc
push str.The_specified_file_was_not_found.
lea ecx, [ebp - 0x14]
call fcn.0040286d
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x429d2b
push str.Failed_to_navigate_to_URL:
lea ecx, [ebp - 0x1c]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
push esi
push edi
lea edx, [ebp - 0x1c]
inc ecx
call fcn.00414570
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___Error_message:
lea ecx, [ebp - 0x1c]
call fcn.00402829
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
xor ecx, ecx
lea edx, [ebp - 0x1c]
push 0
push eax
inc ecx
call fcn.00414570
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, ebx
call fcn.00402e64
xor eax, eax
inc eax
call fcn.00468be1
ret
Function at 0x42a52f
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x4a8f88
call fcn.00468c18
mov esi, ecx
mov ebx, str.GlobalARM_Update_Mutex
xor edi, edi
push ebx
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x42a56d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42a56d
push ebx
push 1
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], edi
je 0x42a59a
push str.ARM_update_mutex_created
lea ecx, [ebp - 0x10]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], edi
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.00468be1
ret
Function at 0x42d36d
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4adb80
call fcn.00468c18
push str.ExecuteRetryInstall...
lea ecx, [ebp - 0x10]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___file__
lea ecx, [ebp - 0x10]
call fcn.00402829
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x10]
push ebx
push 2
pop esi
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00414570
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop edi
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
mov dword [ebp - 4], esi
push 0x5c
push dword [ebx]
call fcn.00481a87
pop ecx
pop ecx
test eax, eax
je 0x42d432
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x42d432
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00409ae9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e14
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edx, str..exe
mov ecx, ebx
call fcn.00443584
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x42d49f
mov edi, 0x4ccd0c
test esi, esi
je 0x42d46e
push 5
push 0
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
push 0
push edi
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x21
jae 0x42d4e1
push str.ShellExecute_failed
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
push edi
jmp 0x42d4f8
mov edx, str..msi
mov ecx, ebx
call fcn.00443584
test eax, eax
je 0x42d4e5
mov edi, 0x4ccd0c
test esi, esi
je 0x42d4d8
push 5
push 0
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push dword [ebx]
call dword [sym.imp.msi.dll_MsiOpenDatabaseW]
xor edi, edi
jmp 0x42d50f
push str.Not_supported_file_type
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 5
push 0
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.00468be1
ret 4
Function at 0x42f13c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x50e554]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x42f168
push 0xd
jmp 0x42f1cd
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42f1cb
push 0x250
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00481070
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42f1cb
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x42f1b2
cmp dword [esp + 0x30], edi
je 0x42f1b2
mov eax, 0x5b6
jmp 0x42f1ce
push ebx
mov ecx, esi
call fcn.0042e461
neg eax
pop ecx
sbb eax, eax
and eax, 0xfffffc12
add eax, 0x3ee
jmp 0x42f1ce
push 2
pop eax
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046863a
mov esp, ebp
pop ebp
ret
Function at 0x42fa38
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x4adf48
call fcn.00468c18
mov edi, ecx
push str.InitUpdateFromProductUpdatesTable...
lea ecx, [ebp - 0x1c]
call fcn.00402829
xor esi, esi
lea edx, [ebp - 0x1c]
push esi
push 2
pop ecx
mov dword [ebp - 4], esi
call fcn.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.SELECT__FROM__ProductUpdates__WHERE__ProductCode_
lea ecx, [ebp - 0x14]
call fcn.00402829
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
push str._AND__ProductVersion_
lea ecx, [ebp - 0x14]
call fcn.00409d7f
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
push 0x4ed8f8
lea ecx, [ebp - 0x14]
call fcn.00409d7f
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [edi + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov esi, eax
test esi, esi
je 0x42faf6
push 0x4ed8fc
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x42fb18
push 0
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
test esi, esi
je 0x42fb29
push 0x4ed908
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 5
push esi
lea edx, [ebp - 0x1c]
mov ecx, ebx
call fcn.00414d76
pop ecx
mov ecx, dword [ebp - 0x1c]
jmp 0x42fb8e
cmp dword [ebp - 0x10], 0
je 0x42fb38
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x42fb6d
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 3
push eax
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0042fdd4
mov esi, eax
jmp 0x42fb9b
push 0x4ed910
lea ecx, [ebp - 0x20]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 6
push ebx
lea edx, [ebp - 0x20]
inc ecx
call fcn.00414d76
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, 0x3d32
cmp dword [ebp - 0x10], 0
je 0x42fbaa
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x18], 0
je 0x42fbb9
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.00468be1
ret 8
Function at 0x434645
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x4aedb0
call fcn.00468c18
mov ebx, ecx
mov eax, dword [0x514068]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov dword [esp], str.SELECT__FileSequences__FROM__ProductUpgrades__WHERE__UpgradeMatch_
call fcn.00402829
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push dword [esi - 0xc]
push esi
call fcn.004025c6
push 0x4ed8f8
lea ecx, [ebp - 0x18]
call fcn.00409d7f
cmp dword [ebp - 0x10], edi
je 0x4346b0
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push dword [ebp - 0x18]
push dword [ebx + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
je 0x4346da
push 0x4ed8fc
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x4346f9
push edi
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x434718
push 0x4ed908
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 5
xor ecx, ecx
lea edx, [ebp - 0x1c]
mov edi, 0x3d32
inc ecx
push edi
call fcn.00414d76
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x43474a
cmp dword [ebp - 0x14], 0
je 0x434727
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x43474a
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call fcn.00448f17
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x14], 0
je 0x434764
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x434773
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.00468be1
ret 4
Function at 0x436c26
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x50e554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str.Shell_TrayWnd
push edi
xor edi, edi
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x436c70
push edi
push str.TrayNotifyWnd
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x436c70
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x436d32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x436cd6
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x436cba
sub eax, 1
je 0x436ca1
sub eax, 1
je 0x436cba
sub eax, 1
jne 0x436d32
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
lea eax, [ecx - 0x64]
mov dword [esi], eax
lea eax, [ecx - 0x10]
jmp 0x436cd1
mov ecx, dword [ebp - 0xc]
lea eax, [ecx - 0x64]
mov dword [esi + 4], eax
lea eax, [ecx - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
jmp 0x436d32
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x436d14
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [esi]
cmp eax, 0x96
jle 0x436d02
lea eax, [ecx - 0x96]
mov dword [esi], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 4]
cmp eax, 0x1e
jle 0x436d32
lea eax, [ecx - 0x1e]
jmp 0x436d2f
push edi
push esi
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046863a
leave
ret 4
Function at 0x437df2
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x4af52b
call fcn.00468c4c
mov edi, ecx
push dword [edx]
push str._INSTALLDIR_
call fcn.00409b68
test eax, eax
jne 0x437f0d
call fcn.0044edd1
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402899
xor ebx, ebx
mov esi, str._WindowsFolder_
push ebx
push esi
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00409b2e
cmp eax, 0xffffffff
je 0x437e44
push 0x24
jmp 0x437e9e
push ebx
mov esi, str._SystemFolder_
mov ecx, edi
push esi
call fcn.00409b2e
cmp eax, 0xffffffff
je 0x437e5b
push 0x25
jmp 0x437e9e
push ebx
mov esi, str._ProgramFilesFolder_
mov ecx, edi
push esi
call fcn.00409b2e
cmp eax, 0xffffffff
je 0x437e72
push 0x26
jmp 0x437e9e
push ebx
mov esi, str._CommonFilesFolder_
mov ecx, edi
push esi
call fcn.00409b2e
cmp eax, 0xffffffff
je 0x437e89
push 0x2b
jmp 0x437e9e
push ebx
mov esi, str._LocalAppDataFolder_
mov ecx, edi
push esi
call fcn.00409b2e
cmp eax, 0xffffffff
je 0x437eff
push 0x1c
pop ebx
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040286d
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00481070
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x437eff
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x437eff
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push esi
mov ecx, edi
call fcn.00409b68
jmp 0x437f05
mov esi, dword [ebp - 0x21c]
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.00468bf6
ret
Function at 0x4381db
Capabilities:
Enumerate gui resources

Disassembly:
push 0x3d4
mov eax, 0x4af5e3
call fcn.00468c18
push str.DisplayFilesInUse...
lea ecx, [ebp - 0x14]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x14]
push 0
push 2
pop ecx
call fcn.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [0x513fec]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x18], eax
xor eax, eax
inc eax
mov dword [ebp - 4], eax
push 0xffffffffffffffff
xor edi, edi
mov ecx, 0x51439c
push edi
call fcn.00450355
xor ebx, ebx
cmp dword [0x513fa8], ebx
jle 0x438379
push ebx
mov ecx, 0x513fa0
call fcn.0040a0bf
mov esi, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
test eax, eax
je 0x43836c
cmp dword [eax + 0x4c], 0
je 0x43827d
cmp dword [0x513f2c], 0
je 0x43836c
mov eax, dword [eax + 8]
and dword [ebp - 0x14], 0
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov dword [esp], 0x4f1154
call fcn.00409e4b
lea ecx, [ebp - 0x10]
test eax, eax
je 0x4382fc
lea edx, [ebp - 0x18]
call fcn.00437df2
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.00481a87
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x4382cd
or ecx, 0xffffffff
jmp 0x4382d1
sub ecx, esi
sar ecx, 1
mov eax, dword [esi - 0xc]
dec eax
cmp ecx, eax
je 0x4382e6
push 0x4ccd08
lea ecx, [ebp - 0x10]
call fcn.0040259d
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 4]
push dword [eax - 0xc]
push eax
call fcn.004025c6
jmp 0x438307
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00402e14
mov eax, dword [esi]
mov esi, dword [ebp - 0x10]
cmp dword [eax + 0x1c], 7
jne 0x43832b
push 0
push 1
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.00438901
pop ecx
pop ecx
test eax, eax
je 0x43834a
xor edi, edi
inc edi
jmp 0x43834a
cmp dword [eax + 0x1c], 0
jne 0x43835e
push dword [eax + 4]
lea edx, [ebp - 0x14]
mov ecx, esi
push 0
call fcn.00438901
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne edi, eax
cmp dword [ebp - 0x14], 0
je 0x43835e
push dword [ebp - 0x14]
push 0x437d50
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
lea ecx, [esi - 0x10]
inc eax
mov byte [ebp - 4], al
call fcn.00402e64
inc ebx
cmp ebx, dword [0x513fa8]
jl 0x438250
test edi, edi
je 0x4383b2
push dword [0x5143f0]
lea ecx, [ebp - 0x3e0]
call fcn.00426046
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 3
call fcn.00455560
mov esi, eax
lea ecx, [ebp - 0x3e0]
xor eax, eax
inc eax
mov byte [ebp - 4], al
call fcn.004261a3
jmp 0x4383b7
xor eax, eax
lea esi, [eax + 1]
cmp esi, 4
je 0x438233
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
call fcn.00468be1
ret
Function at 0x438cc1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push edi
push 9
mov ebx, ecx
lea edi, [ebp - 0x28]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x28], 0
jne 0x438cea
mov al, 1
jmp 0x438d3d
mov edi, dword [0x513de8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test edi, edi
jne 0x438d21
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x438d37
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [0x513de8], edi
test edi, edi
je 0x438d34
lea eax, [ebp - 4]
mov ecx, edi
push eax
push ebx
call dword [0x4b67e4]
call edi
test eax, eax
je 0x438d37
mov esi, dword [ebp - 4]
test esi, esi
pop esi
setne al
pop edi
pop ebx
leave
ret