joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454697
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov eax, 0x10a4
call fcn.0041be10
cmp dword [esp + 0x10b0], 0
push ebx
push ebp
push esi
push edi
jne 0x4546b6
xor al, al
jmp 0x4548a1
push ecx
lea eax, [esp + 0xb4]
push eax
call fcn.0043f38c
test al, al
je 0x4546f9
mov ecx, dword [esp + 0x10bc]
push 0x475bfc
call fcn.004038a1
test eax, eax
jle 0x4546f9
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x10c8]
push eax
push dword [esp + 0x10c8]
call fcn.0045db08
mov ebx, dword [esp + 0x10b8]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebp, ebp
cmp eax, 0xffffffff
je 0x4547a4
lea ecx, [esp + 0x40]
call fcn.0044cb3a
push ebx
lea ecx, [esp + 0x44]
call fcn.0044c890
lea ecx, [esp + 0x40]
call fcn.0044cc3d
lea esi, [esp + 0x98]
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0044caae
push dword [esp + 0x10c4]
push dword [esp + 0x10c4]
call fcn.0044cb85
lea ecx, [esp + 0x40]
call fcn.0044cc3d
lea esi, [esp + 0x98]
mov ecx, ebp
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x30]
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x45479b
inc ecx
cmp ecx, 4
jne 0x45477d
lea ecx, [esp + 0x40]
call fcn.0044cb59
mov al, 1
jmp 0x4548a1
lea ecx, [esp + 0x40]
call fcn.0044cb59
or dword [esp + 0x1c], 0xffffffff
mov esi, 0x40000000
push ecx
push 2
push 3
push esi
push dword [ebx + 4]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0x4679a8
call fcn.00401442
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test al, al
jne 0x454819
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4547ee
push 0x80
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ecx
push 2
push 3
push esi
push dword [ebx + 4]
lea ecx, [esp + 0x2c]
call fcn.00401442
test al, al
jne 0x454819
push str.Install_Fail_File_Write_Open
mov ecx, 0x4b40d0
call fcn.0043f31d
mov esi, dword [esp + 0x1c]
jmp 0x454880
mov esi, dword [esp + 0x1c]
mov eax, ebp
mov dword [esp + 0x14], eax
cmp esi, 0xffffffff
je 0x454854
cmp eax, dword [esp + 0x10c4]
jae 0x45485b
push ebp
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10cc]
push dword [esp + 0x10cc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x10c4]
je 0x454884
push str.Install_Fail_File_Write
mov ecx, 0x4b40d0
call fcn.0043f31d
cmp esi, 0xffffffff
je 0x454877
push esi
call edi
or esi, 0xffffffff
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
jmp 0x454897
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x454895
push esi
call edi
or esi, 0xffffffff
mov bl, 1
cmp esi, 0xffffffff
je 0x45489f
push esi
call edi
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10a4
ret 0x10
Function at 0x4554de
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x404
push ebx
push esi
mov esi, ecx
push edi
mov edi, 0x29c
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x455510
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0045e130
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0044d7ca
xor ebx, ebx
test eax, eax
je 0x45552f
mov ecx, dword [esi + 0x58]
add ecx, edi
call fcn.0040f69c
test al, al
jne 0x45556b
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x45556b
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x94]
push eax
lea eax, [esp + 0x14]
push eax
push 0x470fa8
lea eax, [ecx + 0x29c]
push 0x103
push eax
call fcn.00416b92
add esp, 0x14
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0044d7ca
test eax, eax
je 0x455622
push dword [esi + 0x60]
mov ecx, esi
call fcn.00454b53
test al, al
jne 0x4555ab
push str.Install_Fail_Extract_Core
mov ecx, 0x4b40d0
call fcn.0043f31d
lea ecx, [esi + 0x49d0]
call fcn.0045d657
jmp 0x455631
mov ecx, esi
call fcn.0045456d
test al, al
je 0x455631
mov ecx, esi
call fcn.00454c9c
mov byte [esi + 0x8a62], al
test al, al
je 0x455631
mov ecx, esi
call fcn.00454c56
test al, al
je 0x455631
mov ecx, esi
call fcn.0045436d
mov edi, 0x4b40d0
test al, al
jne 0x4555ee
push str.Install_Fail_Create_Shortcut
mov ecx, edi
call fcn.0043f31d
mov ecx, esi
call fcn.004542e0
test al, al
jne 0x455605
push str.Install_Fail_Create_Uninstall
mov ecx, edi
call fcn.0043f31d
mov ecx, esi
call fcn.00453e88
mov ecx, esi
call fcn.00453dc5
test al, al
je 0x455631
mov ecx, esi
call fcn.0045519d
mov al, 1
jmp 0x455644
push str.Install_Fail_Create_Folder
mov ecx, 0x4b40d0
call fcn.0043f31d
push ebx
push 7
push 0x464
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455698
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
push 1
lea ecx, [esi + 0x49d0]
call fcn.0045d436
mov ecx, esi
call fcn.00455723
cmp byte [ebp + 8], 0
je 0x4556f4
mov byte [esi + 0x8a60], 1
mov dword [esi + 0x8760], 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
lea ecx, [esi + 4]
call fcn.00416be4
jmp 0x45571b
xor ebx, ebx
push ebx
push dword [esi + 0x8ae4]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push ebx
mov ecx, esi
call fcn.00456241
mov word [esi + 0x8a60], 0x100
mov dword [esi + 0x8760], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x455a80
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1238
call fcn.0041be10
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x8a61], 0
jne 0x455c8b
cmp byte [esi + 0x8a60], 0
je 0x455c8b
mov eax, dword [esi + 0x58]
xor edi, edi
cmp byte [eax + 0xc40], 0
jne 0x455c21
test byte [eax], 4
mov ebp, 0x46cfdc
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x455b19
lea ecx, [esp + 0x238]
call fcn.004049dc
push ecx
lea eax, [esp + 0x13c]
push eax
push ecx
call fcn.00443b34
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x23c]
push str.https:__www.mql5.com__utm_campaignmql5.welcome.openutm_mediumspecialutm_sourceweb.installer_S
push eax
call fcn.004011fb
add esp, 0xc
push 1
push edi
push edi
push dword [esp + 0x248]
push ebp
push edi
call ebx
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x4a4]
push eax
lea eax, [ecx + 0x29c]
push eax
push str.__s_s_
push 0xffffffffffffffff
lea eax, [esp + 0xa58]
push 0x400
push eax
call fcn.00401ea4
add esp, 0x18
call fcn.00408be7
cmp eax, 0x258
jl 0x455b73
mov eax, dword [esi + 0x58]
push 1
add eax, 0x29c
push eax
lea eax, [esp + 0xa50]
push eax
push str.explorer.exe
push ebp
push edi
call ebx
jmp 0x455c21
movaps xmm0, xmmword [0x478180]
lea ecx, [esp + 0x238]
or eax, 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov esi, 0x4654d8
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x248]
mov dword [esp + 0x23c], eax
xor eax, eax
mov word [esp + 0x248], ax
lea eax, [esp + 0xa48]
push eax
mov dword [esp + 0x20], edi
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x23c], esi
mov dword [esp + 0x244], edi
mov dword [esp + 0x248], 0x400
call fcn.0040349c
sub esp, 0x10
mov dword [esp + 0x248], 0x46cfd8
lea eax, [esp + 0x248]
lea ecx, [esp + 0x20]
push eax
call fcn.00416c01
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], esi
mov dword [esp + 0x23c], edi
mov dword [esp + 0x240], edi
call fcn.00416c82
push 0x100
push 0xfe
lea eax, [esp + 0x40]
mov ebp, str.Install.Time
push eax
mov esi, str.SOFTWAREMetaQuotes_Software
mov ebx, closesocket
push ebp
mov edx, esi
mov ecx, ebx
call fcn.00403dd1
add esp, 0x10
test al, al
jne 0x455ccb
push edi
call fcn.0042a818
pop ecx
push edx
push eax
push str._I64d
lea eax, [esp + 0x44]
push 0x7f
push eax
call fcn.00403c67
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.00403d45
lea eax, [esp + 0x3c]
mov edx, esi
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.00403d10
add esp, 0x10
jmp 0x455ccb
cmp byte [esi + 0x8a62], 0
je 0x455ca2
mov eax, dword [esi + 0x58]
add eax, 0x6ac
push eax
call fcn.0044d796
xor edi, edi
cmp dword [esi + 0x898], edi
jbe 0x455ccb
mov eax, dword [esi + 0x8a0]
imul eax, edi
add eax, dword [esi + 0x894]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x898]
jb 0x455cac
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455fd9
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, ecx
push esi
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x3023
push esi
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3024
push esi
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp + 0x8760], 1
mov dword [ebp + 0x875c], ebx
cmp dword [ebp + 0x8758], ebx
jne 0x456041
push ebx
push 0x64
push 0x5ba0
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp + 0x8758], eax
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x456241
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
call fcn.0040117c
cmp byte [esp + 0x238], 0
lea ebp, [edi + 0x8a70]
lea ebx, [edi + 0x8b08]
je 0x4562a4
mov eax, ecx
push eax
push 0x190
call fcn.0044b532
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
push ecx
push 0x83
mov ecx, ebp
call fcn.00449baf
add edi, 4
jmp 0x45634d
mov ecx, ebp
call fcn.00449ca1
push 0x2710
push 0
push 0
mov ecx, ebp
call fcn.00449b65
movzx esi, byte [esp + 0x23c]
lea eax, [esp + 0x20]
xor esi, 1
push eax
lea eax, [esi + 0x191]
push eax
call fcn.0044b532
push dword [esp + 0x24]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x10]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x10]
add edi, 4
push eax
mov ecx, edi
call fcn.0040bfe5
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
and dword [esp + 0x14], 0
push ecx
push eax
mov ecx, ebx
call fcn.0040c00b
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
push ecx
lea eax, [esi + 0x84]
mov ecx, ebp
push eax
call fcn.00449baf
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x105
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 8
Function at 0x4568a2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 8]
push ebp
push esi
push edi
push 0x47693c
push eax
push dword [0x4927b8]
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x456971
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, 0x32
jbe 0x456971
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x456971
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x456971
push ebx
push 0x45f8cc
mov eax, edi
xor ecx, ecx
shr eax, 1
mov dword [esp + 0x1c], eax
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ae2d
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x456932
xor bl, bl
jmp 0x456965
lea eax, [edi - 2]
push eax
lea eax, [ebp + 2]
push eax
push ebx
call fcn.0041c760
mov eax, dword [esp + 0x24]
add esp, 0xc
xor ecx, ecx
mov word [ebx + eax*2 - 4], cx
mov eax, dword [esp + 0x10]
push ebx
push dword [eax + 0x60]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.0041ae36
pop ecx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
pop ebx
jmp 0x456973
xor al, al
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x45697a
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0044b72a
mov edx, dword [ebx + 0x58]
xor esi, esi
push 0x68
mov ebp, eax
pop edi
mov ecx, dword [edx + 8]
mov edx, esi
cmp dword [edx + 0x492580], ecx
jne 0x4569aa
mov eax, dword [edx + 0x492584]
cmp eax, ebp
je 0x4569b8
test eax, eax
je 0x4569b8
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x456994
jmp 0x4569c1
imul eax, esi, 0xc
mov edi, dword [eax + 0x492588]
push edi
mov ecx, ebx
call fcn.004568a2
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x456a66
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push dword [ebx + 0x8c]
mov esi, eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x8c]
call edi
push 0
push dword [ebx + 0xb0]
call edi
push 0x3023
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x456ab5
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0x3023
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 1
push dword [edi + 0x8c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [edi + 0x8c]
call esi
push 5
push dword [edi + 0xb0]
call esi
push 2
lea ecx, [edi + 4]
call fcn.00416be4
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x45704b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc48
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x220]
push edi
xorps xmm0, xmm0
xor ebx, ebx
push ebx
push eax
mov esi, ecx
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
call fcn.0041cce0
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.0041cce0
push 0x820
lea eax, [ebp - 0xc48]
push ebx
push eax
call fcn.0041cce0
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x4570c1
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.0042940a
add esp, 0x10
lea eax, [ebp - 0x220]
push 0x476970
push eax
call fcn.0041bfde
pop ecx
pop ecx
test eax, eax
je 0x4571a6
lea ecx, [ebp - 0x220]
sub eax, ecx
sar eax, 1
cmp eax, 1
jne 0x4571a6
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x457159
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x23
call fcn.0044b99a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416b92
add esp, 0x10
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0xc48]
jmp 0x4571ca
cmp dword [ebp - 4], ebx
ja 0x4571a2
jb 0x457169
cmp dword [ebp - 8], 0x3200000
jae 0x4571a2
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xe
call fcn.0044b99a
push 0x32
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416b92
add esp, 0x14
jmp 0x457146
mov al, 1
jmp 0x4571d6
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x1e
call fcn.0044b99a
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0x428]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x457321
Capabilities:
Get common file path
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x230]
mov edi, 0x208
mov dword [ebp - 0x1c], ebx
push edi
push ebx
push eax
mov esi, ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0041cce0
push edi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.0041cce0
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x11
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x457419
cmp dword [ebp - 4], ebx
je 0x457419
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.0044b99a
push 0x104
lea eax, [ebp - 0x230]
push eax
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 4]
lea eax, [ebp - 0x438]
mov dword [ebp - 0x10], 0x456fe0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], 0x8047
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, eax
test edi, edi
je 0x45740f
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x230]
push eax
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call ebx
push dword [ebp - 4]
call ebx
xor eax, eax
inc eax
jmp 0x45741b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x457422
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc30
lea eax, [esp]
push ebp
push esi
push edi
mov edi, 0x208
xor ebp, ebp
push edi
push ebp
push eax
mov esi, ecx
call fcn.0041cce0
push edi
lea eax, [esp + 0x224]
push ebp
push eax
call fcn.0041cce0
push 0x820
lea eax, [esp + 0x438]
push ebp
push eax
call fcn.0041cce0
add esp, 0x24
lea eax, [esp + 0x41c]
push 0x410
push eax
push dword [esi + 0x2a8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
lea eax, [esp + 0x218]
mov ecx, esi
push eax
lea eax, [esp + 0x424]
push eax
call fcn.004571dd
mov ecx, dword [esi + 0x2a8]
test al, al
jne 0x4574ad
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
jmp 0x457575
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x214]
push eax
push ecx
call edi
mov eax, dword [esi + 0x58]
add eax, 0x6ac
je 0x4574e0
push 0xffffffffffffffff
lea ecx, [esp + 0x218]
push ecx
push 0x104
push eax
call fcn.0042940a
add esp, 0x10
push 0x410
lea eax, [esp + 0x420]
push eax
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x424]
push eax
call fcn.004571dd
mov ecx, dword [esi + 0x60]
test al, al
je 0x45749f
lea eax, [esp + 0xc]
push eax
push ecx
call edi
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045704b
test al, al
jne 0x457532
push dword [esi + 0x60]
jmp 0x4574a0
mov eax, dword [esi + 0x58]
add eax, 0x29c
je 0x457551
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
push 0x104
push eax
call fcn.0042940a
add esp, 0x10
push ebp
push ebp
push 0xf0
push dword [esi + 0x4f0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x58]
test eax, eax
je 0x457570
or dword [ecx], 4
jmp 0x457573
and dword [ecx], 0xfffffffb
mov al, 1
pop edi
pop esi
pop ebp
add esp, 0xc30
ret

Function at 0x457601
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push 0x3023
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 3
mov ecx, ebx
call fcn.00416be4
pop esi
xor eax, eax
pop ebx
ret
Function at 0x457645
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x218]
call fcn.00403638
lea ecx, [ebp - 0x430]
call fcn.00403638
push ecx
push ecx
mov ecx, edi
call fcn.00417be0
push 7
push dword [edi + 4]
call fcn.0044b55b
push dword [ebp - 0x20c]
push dword [ebp - 0x214]
push dword [edi + 0x514]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x218]
call fcn.00403f78
mov eax, dword [edi + 0x58]
add eax, 0x94
push eax
push dword [ebp - 0x214]
lea eax, [ebp - 0x430]
push eax
call fcn.004011fb
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 0xc
push dword [ebp - 0x42c]
push dword [edi + 0x514]
call esi
mov eax, dword [edi + 0x58]
add eax, 0x29c
push eax
push dword [edi + 0x60]
call esi
mov eax, dword [edi + 0x58]
add eax, 0x6ac
push eax
push dword [edi + 0x2a8]
call esi
mov eax, dword [edi + 0x58]
push 0
mov ecx, dword [eax]
shr ecx, 2
and ecx, 1
push ecx
push 0xf1
push dword [edi + 0x4f0]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop edi
inc eax
pop esi
leave
ret 0x10

Function at 0x4578d2
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
sub esp, 0x624
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x414]
push edi
call fcn.00403638
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
mov eax, dword [esp + 0x638]
mov edi, ebp
or eax, 0x20019
mov dword [esp + 0x18], ebp
push eax
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4579ff
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
jmp 0x4579be
cmp dword [esp + 0x10], ebp
jbe 0x4579f5
push 0x200
lea eax, [esp + 0x21c]
push ebp
push eax
call fcn.0041cce0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x428]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.004011fb
push dword [esp + 0x64c]
mov edx, dword [esp + 0x438]
lea eax, [esp + 0x234]
push 0x1fe
push eax
push str.InstallLocation
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403dd1
add esp, 0x28
test al, al
je 0x4579ae
push dword [0x491ebc]
lea eax, [esp + 0x21c]
push eax
call fcn.0042aae9
pop ecx
pop ecx
test eax, eax
je 0x4579da
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
inc edi
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push dword [esp + 0x30]
mov dword [esp + 0x30], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x457930
jmp 0x4579f5
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x58]
add eax, 0x414
push 0x104
push eax
call fcn.0042338c
add esp, 0xc
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x58]
pop edi
pop esi
cmp word [eax + 0x414], bp
pop ebp
setne al
add esp, 0x624
ret 4