joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4543bb
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.00403621
lea ecx, [ebp - 0x648]
call fcn.00403621
lea ecx, [ebp - 0x430]
call fcn.00403621
mov eax, dword [esi + 0x58]
xor bl, bl
cmp dword [eax + 8], 0xb
je 0x454400
cmp dword [eax + 8], 0xd
je 0x454400
cmp dword [eax + 8], 3
jne 0x454441
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 0x454441
and dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x454441
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 0x470f00
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.0044d576
test eax, eax
je 0x4544d3
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4544be
push dword [ebp - 0x20c]
push eax
call fcn.0041ea7c
pop ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x214]
pop ecx
jmp 0x4544c5
and dword [ebp - 0x210], 0
push eax
lea ecx, [esi + 0x88c]
call fcn.004173aa
mov bl, al
mov ecx, dword [esi + 0x58]
cmp dword [ecx + 8], 0xb
je 0x4544e6
cmp dword [ecx + 8], 3
jne 0x4545b5
and dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x4544fc
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esi + 0x58]
mov edx, 0x4679ec
mov eax, 0x47572c
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 0x4545b5
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.0044d576
test eax, eax
je 0x4545b5
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4545a0
push dword [ebp - 0x20c]
push eax
call fcn.0041ea7c
pop ecx
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x214]
pop ecx
jmp 0x4545a7
and dword [ebp - 0x210], 0
push eax
lea ecx, [esi + 0x88c]
call fcn.004173aa
mov bl, al
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x4546e5
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
mov eax, 0x10a4
call fcn.0041bda0
cmp dword [esp + 0x10b0], 0
push ebx
push ebp
push esi
push edi
jne 0x454704
xor al, al
jmp 0x4548ef
push ecx
lea eax, [esp + 0xb4]
push eax
call fcn.0043f76e
test al, al
je 0x454747
mov ecx, dword [esp + 0x10bc]
push 0x475b4c
call fcn.00403861
test eax, eax
jle 0x454747
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x10c8]
push eax
push dword [esp + 0x10c8]
call fcn.0045db0e
mov ebx, dword [esp + 0x10b8]
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebp, ebp
cmp eax, 0xffffffff
je 0x4547f2
lea ecx, [esp + 0x40]
call fcn.0044cb8c
push ebx
lea ecx, [esp + 0x44]
call fcn.0044c8e2
lea ecx, [esp + 0x40]
call fcn.0044cc8f
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.0044cb00
push dword [esp + 0x10c4]
push dword [esp + 0x10c4]
call fcn.0044cbd7
lea ecx, [esp + 0x40]
call fcn.0044cc8f
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 0x4547e9
inc ecx
cmp ecx, 4
jne 0x4547cb
lea ecx, [esp + 0x40]
call fcn.0044cbab
mov al, 1
jmp 0x4548ef
lea ecx, [esp + 0x40]
call fcn.0044cbab
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 0x454867
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45483c
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 0x454867
push str.Install_Fail_File_Write_Open
mov ecx, 0x4b40d0
call fcn.0043f6ff
mov esi, dword [esp + 0x1c]
jmp 0x4548ce
mov esi, dword [esp + 0x1c]
mov eax, ebp
mov dword [esp + 0x14], eax
cmp esi, 0xffffffff
je 0x4548a2
cmp eax, dword [esp + 0x10c4]
jae 0x4548a9
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 0x4548d2
push str.Install_Fail_File_Write
mov ecx, 0x4b40d0
call fcn.0043f6ff
cmp esi, 0xffffffff
je 0x4548c5
push esi
call edi
or esi, 0xffffffff
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
jmp 0x4548e5
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x4548e3
push esi
call edi
or esi, 0xffffffff
mov bl, 1
cmp esi, 0xffffffff
je 0x4548ed
push esi
call edi
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10a4
ret 0x10
Function at 0x45552c
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
push edi
xor ebx, ebx
mov esi, ecx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esi + 0x58]
mov edi, 0x29c
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x455567
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0045e139
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0044d81c
test eax, eax
je 0x455584
mov ecx, dword [esi + 0x58]
add ecx, edi
call fcn.0040f639
test al, al
jne 0x4555c0
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 0x4555c0
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x94]
push eax
lea eax, [esp + 0x14]
push eax
push 0x470f00
lea eax, [ecx + 0x29c]
push 0x103
push eax
call fcn.00416b13
add esp, 0x14
mov eax, dword [esi + 0x58]
add eax, edi
push eax
call fcn.0044d81c
test eax, eax
je 0x455677
push dword [esi + 0x60]
mov ecx, esi
call fcn.00454ba1
test al, al
jne 0x455600
push str.Install_Fail_Extract_Core
mov ecx, 0x4b40d0
call fcn.0043f6ff
lea ecx, [esi + 0x49d0]
call fcn.0045d65d
jmp 0x455686
mov ecx, esi
call fcn.004545bb
test al, al
je 0x455686
mov ecx, esi
call fcn.00454cea
mov byte [esi + 0x8a62], al
test al, al
je 0x455686
mov ecx, esi
call fcn.00454ca4
test al, al
je 0x455686
mov ecx, esi
call fcn.004543bb
mov edi, 0x4b40d0
test al, al
jne 0x455643
push str.Install_Fail_Create_Shortcut
mov ecx, edi
call fcn.0043f6ff
mov ecx, esi
call fcn.0045432e
test al, al
jne 0x45565a
push str.Install_Fail_Create_Uninstall
mov ecx, edi
call fcn.0043f6ff
mov ecx, esi
call fcn.00453ed6
mov ecx, esi
call fcn.00453e13
test al, al
je 0x455686
mov ecx, esi
call fcn.004551eb
mov bl, 1
jmp 0x455697
push str.Install_Fail_Create_Folder
mov ecx, 0x4b40d0
call fcn.0043f6ff
push ebx
push 7
push 0x464
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4556d8
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.0045d43c
mov ecx, esi
call fcn.00455763
cmp byte [ebp + 8], 0
je 0x455734
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.00416b65
jmp 0x45575b
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.00456281
mov word [esi + 0x8a60], 0x100
mov dword [esi + 0x8760], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x455ac0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1238
call fcn.0041bda0
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x8a61], 0
jne 0x455ccb
cmp byte [esi + 0x8a60], 0
je 0x455ccb
mov eax, dword [esi + 0x58]
xor edi, edi
cmp byte [eax + 0xc40], 0
jne 0x455c61
test byte [eax], 4
mov ebp, 0x46cfdc
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x455b59
lea ecx, [esp + 0x238]
call fcn.00404959
push ecx
lea eax, [esp + 0x13c]
push eax
push ecx
call fcn.00443c23
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.00408b46
cmp eax, 0x258
jl 0x455bb3
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 0x455c61
movaps xmm0, xmmword [0x4780b0]
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.00403485
sub esp, 0x10
mov dword [esp + 0x248], 0x46cfd8
lea eax, [esp + 0x248]
lea ecx, [esp + 0x20]
push eax
call fcn.00416bac
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], esi
mov dword [esp + 0x23c], edi
mov dword [esp + 0x240], edi
call fcn.00416c2d
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.00403d81
add esp, 0x10
test al, al
jne 0x455d0b
push edi
call fcn.0042a7a8
pop ecx
push edx
push eax
push str._I64d
lea eax, [esp + 0x44]
push 0x7f
push eax
call fcn.00403c17
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.00403cf5
lea eax, [esp + 0x3c]
mov edx, esi
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.00403cc0
add esp, 0x10
jmp 0x455d0b
cmp byte [esi + 0x8a62], 0
je 0x455ce2
mov eax, dword [esi + 0x58]
add eax, 0x6ac
push eax
call fcn.0044d7e8
xor edi, edi
cmp dword [esi + 0x898], edi
jbe 0x455d0b
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 0x455cec
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456019
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 0x456081
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 0x456281
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 0x4562e4
mov eax, ecx
push eax
push 0x190
call fcn.0044b584
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.00449c01
add edi, 4
jmp 0x45638d
mov ecx, ebp
call fcn.00449cf3
push 0x2710
push 0
push 0
mov ecx, ebp
call fcn.00449bb7
movzx esi, byte [esp + 0x23c]
lea eax, [esp + 0x20]
xor esi, 1
push eax
lea eax, [esi + 0x191]
push eax
call fcn.0044b584
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.0040bf42
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.0040bf68
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.00449c01
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 0x4568e2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 8]
push ebp
push esi
push edi
push 0x47688c
push eax
push dword [0x4927b8]
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4569b1
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, 0x32
jbe 0x4569b1
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4569b1
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x4569b1
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.0041adbd
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x456972
xor bl, bl
jmp 0x4569a5
lea eax, [edi - 2]
push eax
lea eax, [ebp + 2]
push eax
push ebx
call fcn.0041c6f0
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.0041adc6
pop ecx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
pop ebx
jmp 0x4569b3
xor al, al
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x4569ba
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0044b77c
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 0x4569ea
mov eax, dword [edx + 0x492584]
cmp eax, ebp
je 0x4569f8
test eax, eax
je 0x4569f8
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x4569d4
jmp 0x456a01
imul eax, esi, 0xc
mov edi, dword [eax + 0x492588]
push edi
mov ecx, ebx
call fcn.004568e2
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x456aa6
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 0x456af5
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.00416b65
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x45708b
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.0041cc70
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.0041cc70
push 0x820
lea eax, [ebp - 0xc48]
push ebx
push eax
call fcn.0041cc70
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x457101
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.0042939a
add esp, 0x10
lea eax, [ebp - 0x220]
push 0x4768c0
push eax
call fcn.0041bf6e
pop ecx
pop ecx
test eax, eax
je 0x4571e6
lea ecx, [ebp - 0x220]
sub eax, ecx
sar eax, 1
cmp eax, 1
jne 0x4571e6
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 0x457199
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x23
call fcn.0044b9ec
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416b13
add esp, 0x10
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0xc48]
jmp 0x45720a
cmp dword [ebp - 4], ebx
ja 0x4571e2
jb 0x4571a9
cmp dword [ebp - 8], 0x3200000
jae 0x4571e2
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xe
call fcn.0044b9ec
push 0x32
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416b13
add esp, 0x14
jmp 0x457186
mov al, 1
jmp 0x457216
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x1e
call fcn.0044b9ec
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 0x457361
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.0041cc70
push edi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.0041cc70
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 0x457453
cmp dword [ebp - 4], ebx
je 0x457453
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.0044b9ec
push 0x104
lea eax, [ebp - 0x230]
push eax
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x438]
mov dword [ebp - 0x10], 0x457020
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x14], 0x8047
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, eax
test edi, edi
je 0x457449
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 0x457455
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x45745c
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.0041cc70
push edi
lea eax, [esp + 0x224]
push ebp
push eax
call fcn.0041cc70
push 0x820
lea eax, [esp + 0x438]
push ebp
push eax
call fcn.0041cc70
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.0045721d
mov ecx, dword [esi + 0x2a8]
test al, al
jne 0x4574e7
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
jmp 0x4575af
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 0x45751a
push 0xffffffffffffffff
lea ecx, [esp + 0x218]
push ecx
push 0x104
push eax
call fcn.0042939a
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.0045721d
mov ecx, dword [esi + 0x60]
test al, al
je 0x4574d9
lea eax, [esp + 0xc]
push eax
push ecx
call edi
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045708b
test al, al
jne 0x45756c
push dword [esi + 0x60]
jmp 0x4574da
mov eax, dword [esi + 0x58]
add eax, 0x29c
je 0x45758b
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
push 0x104
push eax
call fcn.0042939a
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 0x4575aa
or dword [ecx], 4
jmp 0x4575ad
and dword [ecx], 0xfffffffb
mov al, 1
pop edi
pop esi
pop ebp
add esp, 0xc30
ret

Function at 0x45763b
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.00416b65
pop esi
xor eax, eax
pop ebx
ret