joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455f17
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 0x455f7f
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 0x45617f
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 0x4561e2
mov eax, ecx
push eax
push 0x190
call fcn.0044b470
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.00449aed
add edi, 4
jmp 0x45628b
mov ecx, ebp
call fcn.00449bdf
push 0x2710
push 0
push 0
mov ecx, ebp
call fcn.00449aa3
movzx esi, byte [esp + 0x23c]
lea eax, [esp + 0x20]
xor esi, 1
push eax
lea eax, [esi + 0x191]
push eax
call fcn.0044b470
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.00449aed
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 0x4567e0
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 0x4568af
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, 0x32
jbe 0x4568af
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4568af
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x4568af
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.0041ae4d
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x456870
xor bl, bl
jmp 0x4568a3
lea eax, [edi - 2]
push eax
lea eax, [ebp + 2]
push eax
push ebx
call fcn.0041c780
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.0041ae56
pop ecx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
pop ebx
jmp 0x4568b1
xor al, al
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x4568b8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0044b668
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 0x4568e8
mov eax, dword [edx + 0x492584]
cmp eax, ebp
je 0x4568f6
test eax, eax
je 0x4568f6
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x4568d2
jmp 0x4568ff
imul eax, esi, 0xc
mov edi, dword [eax + 0x492588]
push edi
mov ecx, ebx
call fcn.004567e0
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4569a4
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 0x4569f3
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.00416c04
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x456f89
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.0041cd00
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.0041cd00
push 0x820
lea eax, [ebp - 0xc48]
push ebx
push eax
call fcn.0041cd00
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x456fff
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.0042942a
add esp, 0x10
lea eax, [ebp - 0x220]
push 0x476970
push eax
call fcn.0041bffe
pop ecx
pop ecx
test eax, eax
je 0x4570e4
lea ecx, [ebp - 0x220]
sub eax, ecx
sar eax, 1
cmp eax, 1
jne 0x4570e4
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 0x457097
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x23
call fcn.0044b8d8
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416bb2
add esp, 0x10
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0xc48]
jmp 0x457108
cmp dword [ebp - 4], ebx
ja 0x4570e0
jb 0x4570a7
cmp dword [ebp - 8], 0x3200000
jae 0x4570e0
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xe
call fcn.0044b8d8
push 0x32
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416bb2
add esp, 0x14
jmp 0x457084
mov al, 1
jmp 0x457114
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x1e
call fcn.0044b8d8
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 0x45725f
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.0041cd00
push edi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.0041cd00
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 0x457357
cmp dword [ebp - 4], ebx
je 0x457357
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.0044b8d8
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], 0x456f1e
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 0x45734d
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 0x457359
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x457360
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.0041cd00
push edi
lea eax, [esp + 0x224]
push ebp
push eax
call fcn.0041cd00
push 0x820
lea eax, [esp + 0x438]
push ebp
push eax
call fcn.0041cd00
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.0045711b
mov ecx, dword [esi + 0x2a8]
test al, al
jne 0x4573eb
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
jmp 0x4574b3
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 0x45741e
push 0xffffffffffffffff
lea ecx, [esp + 0x218]
push ecx
push 0x104
push eax
call fcn.0042942a
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.0045711b
mov ecx, dword [esi + 0x60]
test al, al
je 0x4573dd
lea eax, [esp + 0xc]
push eax
push ecx
call edi
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00456f89
test al, al
jne 0x457470
push dword [esi + 0x60]
jmp 0x4573de
mov eax, dword [esi + 0x58]
add eax, 0x29c
je 0x45748f
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
push 0x104
push eax
call fcn.0042942a
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 0x4574ae
or dword [ecx], 4
jmp 0x4574b1
and dword [ecx], 0xfffffffb
mov al, 1
pop edi
pop esi
pop ebp
add esp, 0xc30
ret

Function at 0x45753f
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.00416c04
pop esi
xor eax, eax
pop ebx
ret
Function at 0x457583
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.00417c00
push 7
push dword [edi + 4]
call fcn.0044b499
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 0x457810
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 0x45793d
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
jmp 0x4578fc
cmp dword [esp + 0x10], ebp
jbe 0x457933
push 0x200
lea eax, [esp + 0x21c]
push ebp
push eax
call fcn.0041cd00
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 0x4578ec
push dword [0x491ebc]
lea eax, [esp + 0x21c]
push eax
call fcn.0042ab09
pop ecx
pop ecx
test eax, eax
je 0x457918
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 0x45786e
jmp 0x457933
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x58]
add eax, 0x414
push 0x104
push eax
call fcn.004233ac
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
Function at 0x457c33
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x58]
cmp word [eax + 0x414], bx
je 0x457c9c
lea ecx, [ebp - 0x218]
call fcn.00403638
mov eax, dword [esi + 0x58]
add eax, 0x414
push eax
mov eax, ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.004011fb
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
add esp, 0xc
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push ebx
push 0x20206
push dword [ebp - 0x214]
push edi
call esi
push ebx
push 0x20106
push dword [ebp - 0x214]
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x457ca1
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x21c]
push esi
call fcn.00403638
cmp dword [ebp + 8], 0
je 0x457d53
push dword [ebp + 8]
mov eax, ecx
push str._s.
push eax
call fcn.004011fb
add esp, 0xc
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x457d53
test byte [ebp - 0x46c], 0x10
je 0x457d3a
cmp word [ebp - 0x440], 0x2e
je 0x457d3a
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x470fa8
push eax
call fcn.004011fb
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x218]
call fcn.00457ca1
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x46c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457cf0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret 4
Function at 0x457d59
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
cmp dword [ebp + 8], 0
push ebx
push edi
mov ebx, ecx
je 0x457ee2
lea ecx, [ebp - 0x46c]
call fcn.00403638
push dword [ebp + 8]
mov eax, ecx
push str._s.
push eax
call fcn.004011fb
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x457ee2
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x46c]
push 0x470fa8
push eax
call fcn.004011fb
add esp, 0x10
test byte [ebp - 0x254], 0x10
je 0x457eb9
mov ecx, 0x46fdec
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457e08
test dx, dx
je 0x457e04
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457e08
add eax, 4
add ecx, 4
test dx, dx
jne 0x457de2
xor eax, eax
jmp 0x457e0d
sbb eax, eax
or eax, 1
test eax, eax
je 0x457ec5
mov ecx, 0x470fa0
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457e46
test dx, dx
je 0x457e42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457e46
add eax, 4
add ecx, 4
test dx, dx
jne 0x457e20
xor eax, eax
jmp 0x457e4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x457ec5
mov eax, dword [ebx + 0x58]
test byte [eax + 0x840], 1
jne 0x457ea0
lea eax, [ebp - 0x228]
push 0x476a94
push eax
call fcn.0042ab09
pop ecx
pop ecx
test eax, eax
je 0x457ec5
lea eax, [ebp - 0x228]
push 0x476aa0
push eax
call fcn.0042ab09
pop ecx
pop ecx
test eax, eax
je 0x457ec5
lea eax, [ebp - 0x228]
push str.config
push eax
call fcn.0042ab09
pop ecx
pop ecx
test eax, eax
je 0x457ec5
push dword [ebp - 0x468]
mov ecx, ebx
call fcn.00457d59
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457dac
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
leave
ret 4
Function at 0x4581b5
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 0
jne 0x4581e5
push 0xc8
push 7
push 0
mov ecx, esi
call fcn.00449aa3
mov ecx, esi
call fcn.00449bfa
jmp 0x458200
cmp dword [esp + 0xc], 1
jne 0x458200
mov ecx, esi
call fcn.00449bdf
push 0
push 8
push 8
mov ecx, esi
call fcn.00449aa3
pop esi
ret 8

Function at 0x4586d0
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [ecx + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push 0x3023
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
mov ecx, esi
call fcn.00416c04
xor eax, eax
pop esi
ret

Function at 0x4586fe
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x804
push ebx
push ebp
push esi
push edi
mov esi, 0x400
lea eax, [esp + 0x414]
push esi
xor ebp, ebp
mov ebx, ecx
push ebp
push eax
call fcn.0041cd00
push esi
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0041cd00
add esp, 0x18
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.004179c3
push ecx
push ecx
mov ecx, ebx
call fcn.004183eb
push 5
push dword [ebx + 4]
call fcn.0044b499
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
mov edi, 0x200
push edi
push eax
push dword [ebx + 0x60]
call esi
mov eax, dword [ebx + 0x58]
mov ebp, 0x84c
add eax, ebp
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push edi
push eax
call fcn.00416bb2
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x424]
add esp, 0x10
push eax
push dword [ebx + 0x60]
call edi
push 0x200
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x84]
call esi
mov eax, dword [ebx + 0x58]
add eax, ebp
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push 0x200
push eax
call fcn.00416bb2
add esp, 0x10
lea eax, [esp + 0x414]
push eax
push dword [ebx + 0x84]
call edi
push dword [0x491ebc]
push dword [ebx + 0xa8]
call edi
push 0
push 0
push 0xf1
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x804
ret 0x10

Function at 0x459767
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 0x750]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
mov dword [eax], 1
xor eax, eax
ret 0x10
Function at 0x459af5
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
lea eax, [ebp - 0x410]
push ebx
push esi
push 0x208
xor esi, esi
push esi
push eax
call fcn.0041cd00
push 0x250
lea eax, [ebp - 0x660]
push esi
push eax
call fcn.0041cd00
add esp, 0x18
lea eax, [ebp - 0x410]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x459bf6
lea eax, [ebp - 0x410]
mov ebx, 0x104
push eax
push str._sMetaQuotesWebInstall.png
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.00403c67
add esp, 0x10
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x459bf6
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x410]
push eax
push str._sMetaQuotesWebInstall_s
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.00403c67
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x459bdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x459bdd
push 0x80
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x459b7f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret

Function at 0x459bfa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
add ecx, 0xa79c
push esi
xor esi, esi
cmp word [ecx], si
je 0x459c48
call fcn.00418b8a
cmp edx, esi
ja 0x459c48
jb 0x459c23
cmp eax, 0x3e8
jae 0x459c48
lea eax, [ebp - 0x208]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x459c48
push ecx
xor edx, edx
lea ecx, [ebp - 0x208]
call fcn.0045c0a2
pop ecx
pop esi
leave
ret