joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454d37
Capabilities:
Check if file exists
Get file attributes
Set registry value

Disassembly:
sub esp, 0x220
push ebx
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x14]
push edi
call fcn.00403624
mov eax, dword [ebp + 0x58]
xor ebx, ebx
add eax, 0x6ac
mov dword [esp + 0x10], ebx
push eax
mov eax, ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.004011fb
add esp, 0xc
lea eax, [esp + 0x14]
mov edx, 0x20206
mov ecx, 0x20106
push eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 0x58]
push ebx
cmp dword [eax + 4], 2
cmovne ecx, edx
push ecx
push ebx
push ebx
push ebx
push dword [esp + 0x38]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x454f76
mov esi, dword [ebp + 0x58]
add esi, 0x94
mov ecx, esi
call fcn.00409665
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push str.DisplayName
push dword [esp + 0x24]
call edi
mov esi, dword [ebp + 0x58]
add esi, 0x29c
mov ecx, esi
call fcn.00409665
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push str.InstallLocation
push dword [esp + 0x24]
call edi
mov eax, dword [ebp + 0x58]
add eax, 0x29c
push eax
lea eax, [esp + 0x1c]
push str._s_terminal.ico
push eax
call fcn.004011fb
add esp, 0xc
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x454e46
mov ecx, dword [ebp + 0x58]
lea eax, [ecx + 0x4a4]
push eax
lea eax, [ecx + 0x29c]
push eax
lea eax, [esp + 0x20]
push 0x470ff8
push eax
call fcn.004011fb
add esp, 0x10
mov eax, dword [esp + 0x20]
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x20]
push 1
push ebx
push str.DisplayIcon
push dword [esp + 0x24]
call edi
push 0x20
push 0x46c8e0
push 1
push ebx
push str.Publisher
push dword [esp + 0x24]
call edi
push 0x36
mov esi, 0x475f4c
push esi
push 1
push ebx
push str.HelpLink
push dword [esp + 0x24]
call edi
push 0x36
push esi
push 1
push ebx
push str.UrlInfoAbout
push dword [esp + 0x24]
call edi
mov esi, dword [esp + 0x234]
mov eax, dword [esi + 8]
lea eax, [eax*2 + 2]
push eax
push dword [esi + 4]
push 1
push ebx
push str.UninstallString
push dword [esp + 0x24]
call edi
mov eax, dword [ebp + 0x58]
push 0xa
cmp dword [eax + 8], 9
jae 0x454eea
push str.5.00
push 1
push ebx
push str.DisplayVersion
push dword [esp + 0x24]
call edi
push 4
push 0x476000
jmp 0x454f04
push str.4.00
push 1
push ebx
push str.DisplayVersion
push dword [esp + 0x24]
call edi
push 4
push 0x47604c
push 1
push ebx
push 0x476004
push dword [esp + 0x24]
call edi
push 4
push 0x476020
push 1
push ebx
push 0x476024
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xa4b0]
call fcn.00401b89
test al, al
jne 0x454f74
push dword [ebp + 0xa4b4]
lea eax, [esp + 0x1c]
push 0x476050
push eax
call fcn.004011fb
mov eax, dword [ebp + 0x58]
add esp, 0xc
add eax, 0x29c
push 1
push dword [esi + 4]
push ecx
push ecx
push dword [esp + 0x2c]
push dword [esi + 4]
push eax
call fcn.0044dde1
mov bl, 1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x220
ret 4
Function at 0x454f85
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x218]
call fcn.00403624
lea ecx, [ebp - 0x430]
call fcn.00403624
push dword [ebp - 0x20c]
xor ebx, ebx
push dword [ebp - 0x214]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
call fcn.00403fdc
mov eax, dword [esi + 0x58]
add eax, 0x29c
push eax
lea eax, [ebp - 0x430]
push str._suninstall.exe
push eax
call fcn.004011fb
add esp, 0xc
push ebx
push dword [ebp - 0x42c]
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x45500c
lea eax, [ebp - 0x430]
mov ecx, esi
push eax
mov bl, 1
call fcn.00454d37
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x455012
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x218]
call fcn.00403624
lea ecx, [ebp - 0x648]
call fcn.00403624
lea ecx, [ebp - 0x430]
call fcn.00403624
mov eax, dword [esi + 0x58]
xor bl, bl
cmp dword [eax + 8], 0xb
je 0x455057
cmp dword [eax + 8], 0xd
je 0x455057
cmp dword [eax + 8], 3
jne 0x455098
add eax, 0x29c
push eax
lea eax, [ebp - 0x430]
push str._s_terminal.ico
push eax
call fcn.004011fb
add esp, 0xc
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x455098
and dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x455098
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x4a4]
push eax
lea eax, [ecx + 0x29c]
push eax
lea eax, [ebp - 0x648]
push 0x470ff8
push eax
call fcn.004011fb
mov ecx, dword [esi + 0x58]
add esp, 0x10
push dword [ebp - 0x42c]
lea eax, [ecx + 0x94]
push dword [ebp - 0x20c]
push dword [ebp - 0x214]
push eax
push dword [ebp - 0x644]
lea eax, [ecx + 0x29c]
push eax
call fcn.0044e1c9
test eax, eax
je 0x45512a
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x455115
push dword [ebp - 0x20c]
push eax
call fcn.0041fc0c
pop ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x214]
pop ecx
jmp 0x45511c
and dword [ebp - 0x210], 0
push eax
lea ecx, [esi + 0x88c]
call fcn.0041756b
mov bl, al
mov ecx, dword [esi + 0x58]
cmp dword [ecx + 8], 0xb
je 0x45513d
cmp dword [ecx + 8], 3
jne 0x45520c
and dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x455153
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esi + 0x58]
mov edx, 0x4679ec
mov eax, 0x4758ac
cmp dword [ecx + 4], 2
cmovne eax, edx
push eax
lea eax, [ecx + 0x29c]
push eax
lea eax, [ebp - 0x648]
push str._smetaeditor_s.exe
push eax
call fcn.004011fb
add esp, 0x10
push dword [ebp - 0x644]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45520c
push dword [ebp - 0x42c]
mov ecx, dword [esi + 0x58]
mov edx, str.MetaEditor_5
push dword [ebp - 0x20c]
mov eax, str.MetaEditor_4
push dword [ebp - 0x214]
cmp dword [ecx + 8], 0xb
cmovne eax, edx
push eax
push dword [ebp - 0x644]
lea eax, [ecx + 0x29c]
push eax
call fcn.0044e1c9
test eax, eax
je 0x45520c
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4551f7
push dword [ebp - 0x20c]
push eax
call fcn.0041fc0c
pop ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x214]
pop ecx
jmp 0x4551fe
and dword [ebp - 0x210], 0
push eax
lea ecx, [esi + 0x88c]
call fcn.0041756b
mov bl, al
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x45533c
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov eax, 0x10a4
call fcn.0041cf30
cmp dword [esp + 0x10b0], 0
push ebx
push ebp
push esi
push edi
jne 0x45535b
xor al, al
jmp 0x455546
push ecx
lea eax, [esp + 0xb4]
push eax
call fcn.004403d9
test al, al
je 0x45539e
mov ecx, dword [esp + 0x10bc]
push 0x475ccc
call fcn.0040388d
test eax, eax
jle 0x45539e
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x10c8]
push eax
push dword [esp + 0x10c8]
call fcn.0045de23
mov ebx, dword [esp + 0x10b8]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebp, ebp
cmp eax, 0xffffffff
je 0x455449
lea ecx, [esp + 0x40]
call fcn.0044d7df
push ebx
lea ecx, [esp + 0x44]
call fcn.0044d535
lea ecx, [esp + 0x40]
call fcn.0044d8e2
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.0044d753
push dword [esp + 0x10c4]
push dword [esp + 0x10c4]
call fcn.0044d82a
lea ecx, [esp + 0x40]
call fcn.0044d8e2
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 0x455440
inc ecx
cmp ecx, 4
jne 0x455422
lea ecx, [esp + 0x40]
call fcn.0044d7fe
mov al, 1
jmp 0x455546
lea ecx, [esp + 0x40]
call fcn.0044d7fe
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 0x4554be
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x455493
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 0x4554be
push str.Install_Fail_File_Write_Open
mov ecx, 0x4b40c0
call fcn.0044036a
mov esi, dword [esp + 0x1c]
jmp 0x455525
mov esi, dword [esp + 0x1c]
mov eax, ebp
mov dword [esp + 0x14], eax
cmp esi, 0xffffffff
je 0x4554f9
cmp eax, dword [esp + 0x10c4]
jae 0x455500
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 0x455529
push str.Install_Fail_File_Write
mov ecx, 0x4b40c0
call fcn.0044036a
cmp esi, 0xffffffff
je 0x45551c
push esi
call edi
or esi, 0xffffffff
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
jmp 0x45553c
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x45553a
push esi
call edi
or esi, 0xffffffff
mov bl, 1
cmp esi, 0xffffffff
je 0x455544
push esi
call edi
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10a4
ret 0x10
Function at 0x456183
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 0x4561b5
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0045e44c
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0044e46f
xor ebx, ebx
test eax, eax
je 0x4561d4
mov ecx, dword [esi + 0x58]
add ecx, edi
call fcn.0040f7a5
test al, al
jne 0x456210
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 0x456210
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x94]
push eax
lea eax, [esp + 0x14]
push eax
push 0x470ff8
lea eax, [ecx + 0x29c]
push 0x103
push eax
call fcn.00416d00
add esp, 0x14
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0044e46f
test eax, eax
je 0x4562c7
push dword [esi + 0x60]
mov ecx, esi
call fcn.004557f8
test al, al
jne 0x456250
push str.Install_Fail_Extract_Core
mov ecx, 0x4b40c0
call fcn.0044036a
lea ecx, [esi + 0x49d8]
call fcn.0045d97c
jmp 0x4562d6
mov ecx, esi
call fcn.00455212
test al, al
je 0x4562d6
mov ecx, esi
call fcn.00455941
mov byte [esi + 0xa6ca], al
test al, al
je 0x4562d6
mov ecx, esi
call fcn.004558fb
test al, al
je 0x4562d6
mov ecx, esi
call fcn.00455012
mov edi, 0x4b40c0
test al, al
jne 0x456293
push str.Install_Fail_Create_Shortcut
mov ecx, edi
call fcn.0044036a
mov ecx, esi
call fcn.00454f85
test al, al
jne 0x4562aa
push str.Install_Fail_Create_Uninstall
mov ecx, edi
call fcn.0044036a
mov ecx, esi
call fcn.00454b2d
mov ecx, esi
call fcn.00454a6a
test al, al
je 0x4562d6
mov ecx, esi
call fcn.00455e42
mov al, 1
jmp 0x4562e9
push str.Install_Fail_Create_Folder
mov ecx, 0x4b40c0
call fcn.0044036a
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 0x45633d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0x49d8]
call fcn.0045d6a5
mov ecx, esi
call fcn.004563c6
cmp byte [ebp + 8], 0
je 0x456397
mov byte [esi + 0xa6c8], 1
mov dword [esi + 0xa3c4], 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.00416d52
jmp 0x4563be
xor ebx, ebx
push ebx
push dword [esi + 0xa74c]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push ebx
mov ecx, esi
call fcn.00456ea0
mov word [esi + 0xa6c8], 0x100
mov dword [esi + 0xa3c4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4566df
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1238
call fcn.0041cf30
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xa6c9], 0
jne 0x4568ea
cmp byte [esi + 0xa6c8], 0
je 0x4568ea
mov eax, dword [esi + 0x58]
xor edi, edi
cmp byte [eax + 0xc40], 0
jne 0x456880
test byte [eax], 4
mov ebp, 0x46cf84
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x456778
lea ecx, [esp + 0x238]
call fcn.0040491d
push ecx
lea eax, [esp + 0x13c]
push eax
push ecx
call fcn.00444c46
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.00408c7f
cmp eax, 0x258
jl 0x4567d2
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 0x456880
movaps xmm0, xmmword [0x4782c0]
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.00403488
sub esp, 0x10
mov dword [esp + 0x248], 0x46cf80
lea eax, [esp + 0x248]
lea ecx, [esp + 0x20]
push eax
call fcn.00416d6f
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], esi
mov dword [esp + 0x23c], edi
mov dword [esp + 0x240], edi
call fcn.00416df0
push 0x100
push 0xfe
lea eax, [esp + 0x40]
mov ebp, str.Install.Time
push eax
mov esi, str.SOFTWAREMetaQuotes_Software
mov ebx, SysReAllocStringLen
push ebp
mov edx, esi
mov ecx, ebx
call fcn.00403e35
add esp, 0x10
test al, al
jne 0x45692a
push edi
call fcn.0042b938
pop ecx
push edx
push eax
push str._I64d
lea eax, [esp + 0x44]
push 0x7f
push eax
call fcn.00403ccb
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.00403da9
lea eax, [esp + 0x3c]
mov edx, esi
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.00403d74
add esp, 0x10
jmp 0x45692a
cmp byte [esi + 0xa6ca], 0
je 0x456901
mov eax, dword [esi + 0x58]
add eax, 0x6ac
push eax
call fcn.0044e43b
xor edi, edi
cmp dword [esi + 0x898], edi
jbe 0x45692a
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 0x45690b
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456c38
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 + 0xa3c4], 1
mov dword [ebp + 0xa3c0], ebx
cmp dword [ebp + 0xa3bc], ebx
jne 0x456ca0
push ebx
push 0x64
push 0x5ba0
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp + 0xa3bc], eax
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x456ea0
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 + 0xa6d8]
lea ebx, [edi + 0xa770]
je 0x456f03
mov eax, ecx
push eax
push 0x190
call fcn.0044c1d7
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.0044a854
add edi, 4
jmp 0x456fac
mov ecx, ebp
call fcn.0044a946
push 0x2710
push 0
push 0
mov ecx, ebp
call fcn.0044a80a
movzx esi, byte [esp + 0x23c]
lea eax, [esp + 0x20]
xor esi, 1
push eax
lea eax, [esi + 0x191]
push eax
call fcn.0044c1d7
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.0040c07b
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.0040c0a1
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.0044a854
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 0x457511
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 8]
push ebp
push esi
push edi
push 0x476a0c
push eax
push dword [0x4927b8]
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4575e0
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, 0x32
jbe 0x4575e0
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4575e0
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x4575e0
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.0041bf4d
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x4575a1
xor bl, bl
jmp 0x4575d4
lea eax, [edi - 2]
push eax
lea eax, [ebp + 2]
push eax
push ebx
call fcn.0041d880
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.0041bf56
pop ecx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
pop ebx
jmp 0x4575e2
xor al, al
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x4575e9
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0044c3cf
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 0x457619
mov eax, dword [edx + 0x492584]
cmp eax, ebp
je 0x457627
test eax, eax
je 0x457627
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x457603
jmp 0x457630
imul eax, esi, 0xc
mov edi, dword [eax + 0x492588]
push edi
mov ecx, ebx
call fcn.00457511
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4576d5
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 0x457724
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.00416d52
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x457caa
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.0041de00
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.0041de00
push 0x820
lea eax, [ebp - 0xc48]
push ebx
push eax
call fcn.0041de00
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x457d20
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.0042a52a
add esp, 0x10
lea eax, [ebp - 0x220]
push 0x476a40
push eax
call fcn.0041d0fe
pop ecx
pop ecx
test eax, eax
je 0x457e05
lea ecx, [ebp - 0x220]
sub eax, ecx
sar eax, 1
cmp eax, 1
jne 0x457e05
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 0x457db8
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x23
call fcn.0044c63f
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416d00
add esp, 0x10
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0xc48]
jmp 0x457e29
cmp dword [ebp - 4], ebx
ja 0x457e01
jb 0x457dc8
cmp dword [ebp - 8], 0x3200000
jae 0x457e01
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xe
call fcn.0044c63f
push 0x32
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416d00
add esp, 0x14
jmp 0x457da5
mov al, 1
jmp 0x457e35
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x1e
call fcn.0044c63f
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 0x457f80
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.0041de00
push edi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.0041de00
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 0x458078
cmp dword [ebp - 4], ebx
je 0x458078
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.0044c63f
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], 0x457c3f
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 0x45806e
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 0x45807a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10