joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4572e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 8]
push ebp
push esi
push edi
push 0x47698c
push eax
push dword [0x4927b8]
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4573b5
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, 0x32
jbe 0x4573b5
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4573b5
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x4573b5
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.0041bcdd
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x457376
xor bl, bl
jmp 0x4573a9
lea eax, [edi - 2]
push eax
lea eax, [ebp + 2]
push eax
push ebx
call fcn.0041d610
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.0041bce6
pop ecx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
pop ebx
jmp 0x4573b7
xor al, al
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x4573be
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0044c1b6
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 0x4573ee
mov eax, dword [edx + 0x492584]
cmp eax, ebp
je 0x4573fc
test eax, eax
je 0x4573fc
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x4573d8
jmp 0x457405
imul eax, esi, 0xc
mov edi, dword [eax + 0x492588]
push edi
mov ecx, ebx
call fcn.004572e6
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4574aa
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 0x4574f9
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.00416c3e
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x457a7f
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.0041db90
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.0041db90
push 0x820
lea eax, [ebp - 0xc48]
push ebx
push eax
call fcn.0041db90
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x457af5
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.0042a2ba
add esp, 0x10
lea eax, [ebp - 0x220]
push 0x4769c0
push eax
call fcn.0041ce8e
pop ecx
pop ecx
test eax, eax
je 0x457bda
lea ecx, [ebp - 0x220]
sub eax, ecx
sar eax, 1
cmp eax, 1
jne 0x457bda
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 0x457b8d
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x23
call fcn.0044c426
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416bec
add esp, 0x10
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0xc48]
jmp 0x457bfe
cmp dword [ebp - 4], ebx
ja 0x457bd6
jb 0x457b9d
cmp dword [ebp - 8], 0x3200000
jae 0x457bd6
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xe
call fcn.0044c426
push 0x32
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.00416bec
add esp, 0x14
jmp 0x457b7a
mov al, 1
jmp 0x457c0a
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x1e
call fcn.0044c426
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 0x457d55
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.0041db90
push edi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.0041db90
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 0x457e4d
cmp dword [ebp - 4], ebx
je 0x457e4d
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.0044c426
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], 0x457a14
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 0x457e43
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 0x457e4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x457e56
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.0041db90
push edi
lea eax, [esp + 0x224]
push ebp
push eax
call fcn.0041db90
push 0x820
lea eax, [esp + 0x438]
push ebp
push eax
call fcn.0041db90
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.00457c11
mov ecx, dword [esi + 0x2a8]
test al, al
jne 0x457ee1
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
jmp 0x457fa9
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 0x457f14
push 0xffffffffffffffff
lea ecx, [esp + 0x218]
push ecx
push 0x104
push eax
call fcn.0042a2ba
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.00457c11
mov ecx, dword [esi + 0x60]
test al, al
je 0x457ed3
lea eax, [esp + 0xc]
push eax
push ecx
call edi
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00457a7f
test al, al
jne 0x457f66
push dword [esi + 0x60]
jmp 0x457ed4
mov eax, dword [esi + 0x58]
add eax, 0x29c
je 0x457f85
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
push 0x104
push eax
call fcn.0042a2ba
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 0x457fa4
or dword [ecx], 4
jmp 0x457fa7
and dword [ecx], 0xfffffffb
mov al, 1
pop edi
pop esi
pop ebp
add esp, 0xc30
ret

Function at 0x458035
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.00416c3e
pop esi
xor eax, eax
pop ebx
ret
Function at 0x458079
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.00403624
lea ecx, [ebp - 0x430]
call fcn.00403624
push ecx
push ecx
mov ecx, edi
call fcn.00417c3b
push 7
push dword [edi + 4]
call fcn.0044bfe7
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.00403fdc
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 0x458306
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.00403624
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 0x458433
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
jmp 0x4583f2
cmp dword [esp + 0x10], ebp
jbe 0x458429
push 0x200
lea eax, [esp + 0x21c]
push ebp
push eax
call fcn.0041db90
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.00403e35
add esp, 0x28
test al, al
je 0x4583e2
push dword [0x491ebc]
lea eax, [esp + 0x21c]
push eax
call fcn.0042b999
pop ecx
pop ecx
test eax, eax
je 0x45840e
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 0x458364
jmp 0x458429
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x58]
add eax, 0x414
push 0x104
push eax
call fcn.0042423c
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 0x458729
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 0x458792
lea ecx, [ebp - 0x218]
call fcn.00403624
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 0x458797
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.00403624
cmp dword [ebp + 8], 0
je 0x458849
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 0x458849
test byte [ebp - 0x46c], 0x10
je 0x458830
cmp word [ebp - 0x440], 0x2e
je 0x458830
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x470ff8
push eax
call fcn.004011fb
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x218]
call fcn.00458797
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 0x4587e6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret 4
Function at 0x45884f
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 0x4589d8
lea ecx, [ebp - 0x46c]
call fcn.00403624
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 0x4589d8
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x46c]
push 0x470ff8
push eax
call fcn.004011fb
add esp, 0x10
test byte [ebp - 0x254], 0x10
je 0x4589af
mov ecx, 0x46fe84
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4588fe
test dx, dx
je 0x4588fa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4588fe
add eax, 4
add ecx, 4
test dx, dx
jne 0x4588d8
xor eax, eax
jmp 0x458903
sbb eax, eax
or eax, 1
test eax, eax
je 0x4589bb
mov ecx, 0x470ff0
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45893c
test dx, dx
je 0x458938
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45893c
add eax, 4
add ecx, 4
test dx, dx
jne 0x458916
xor eax, eax
jmp 0x458941
sbb eax, eax
or eax, 1
test eax, eax
je 0x4589bb
mov eax, dword [ebx + 0x58]
test byte [eax + 0x840], 1
jne 0x458996
lea eax, [ebp - 0x228]
push 0x476ae4
push eax
call fcn.0042b999
pop ecx
pop ecx
test eax, eax
je 0x4589bb
lea eax, [ebp - 0x228]
push 0x476af0
push eax
call fcn.0042b999
pop ecx
pop ecx
test eax, eax
je 0x4589bb
lea eax, [ebp - 0x228]
push str.config
push eax
call fcn.0042b999
pop ecx
pop ecx
test eax, eax
je 0x4589bb
push dword [ebp - 0x468]
mov ecx, ebx
call fcn.0045884f
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 0x4588a2
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
leave
ret 4
Function at 0x458cab
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 0x458cdb
push 0xc8
push 7
push 0
mov ecx, esi
call fcn.0044a5ef
mov ecx, esi
call fcn.0044a746
jmp 0x458cf6
cmp dword [esp + 0xc], 1
jne 0x458cf6
mov ecx, esi
call fcn.0044a72b
push 0
push 8
push 8
mov ecx, esi
call fcn.0044a5ef
pop esi
ret 8

Function at 0x458ee8
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0x208
push 0
push eax
mov ebx, ecx
call fcn.0041db90
pop ecx
mov ecx, ebx
call fcn.00417f6f
push 6
push dword [ebx + 4]
call fcn.0044bfe7
push 0x102
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [ebx + 0x60]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
lea ecx, [ebx + 0x68]
call fcn.0044a6b1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x6c]
call edi
mov ebp, 0x104
lea eax, [esp + 0x10]
push ebp
push eax
push 0x10
call fcn.0044c426
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0xdc]
call esi
sub esp, 0x10
lea ecx, [ebx + 0x100]
call fcn.0044a6b1
push 0
push dword [ebx + 0x104]
call edi
push ebp
lea eax, [esp + 0x14]
push eax
push 0x12
call fcn.0044c426
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x174]
call esi
sub esp, 0x10
lea ecx, [ebx + 0x198]
call fcn.0044a6b1
push 0
push dword [ebx + 0x19c]
call edi
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x11
call fcn.0044c426
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0x20c]
call esi
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x208
ret 0x10

Function at 0x4591c6
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.00416c3e
xor eax, eax
pop esi
ret
Function at 0x4591f4
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.0041db90
push esi
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0041db90
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.004179fe
push ecx
push ecx
mov ecx, ebx
call fcn.00418426
push 5
push dword [ebx + 4]
call fcn.0044bfe7
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.00416bec
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.00416bec
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 0x45a275
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 0x45a603
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.0041db90
push 0x250
lea eax, [ebp - 0x660]
push esi
push eax
call fcn.0041db90
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 0x45a704
lea eax, [ebp - 0x410]
mov ebx, 0x104
push eax
push str._sMetaQuotesWebInstall.png
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.00403ccb
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 0x45a704
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.00403ccb
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45a6eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x45a6eb
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 0x45a68d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret

Function at 0x45a708
Capabilities:
Get common file path

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