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

Disassembly:
push ecx
movzx eax, word [esp + 8]
push ebp
push esi
push edi
push 0x4768fc
push eax
push dword [0x4927b8]
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x456413
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, 0x32
jbe 0x456413
push esi
push dword [0x4927b4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x456413
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x456413
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.0041aafd
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x4563d4
xor bl, bl
jmp 0x456407
lea eax, [edi - 2]
push eax
lea eax, [ebp + 2]
push eax
push ebx
call fcn.0041c430
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.0041ab06
pop ecx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
pop ebx
jmp 0x456415
xor al, al
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x45641c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0044b1d6
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 0x45644c
mov eax, dword [edx + 0x492584]
cmp eax, ebp
je 0x45645a
test eax, eax
je 0x45645a
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x456436
jmp 0x456463
imul eax, esi, 0xc
mov edi, dword [eax + 0x492588]
push edi
mov ecx, ebx
call fcn.00456344
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x456508
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 0x456557
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.004168fe
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x456aed
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.0041c9b0
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.0041c9b0
push 0x820
lea eax, [ebp - 0xc48]
push ebx
push eax
call fcn.0041c9b0
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x456b63
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.004290da
add esp, 0x10
lea eax, [ebp - 0x220]
push 0x476930
push eax
call fcn.0041bcae
pop ecx
pop ecx
test eax, eax
je 0x456c48
lea ecx, [ebp - 0x220]
sub eax, ecx
sar eax, 1
cmp eax, 1
jne 0x456c48
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 0x456bfb
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x23
call fcn.0044b446
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.004168ac
add esp, 0x10
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0xc48]
jmp 0x456c6c
cmp dword [ebp - 4], ebx
ja 0x456c44
jb 0x456c0b
cmp dword [ebp - 8], 0x3200000
jae 0x456c44
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xe
call fcn.0044b446
push 0x32
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.004168ac
add esp, 0x14
jmp 0x456be8
mov al, 1
jmp 0x456c78
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x1e
call fcn.0044b446
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 0x456dc3
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.0041c9b0
push edi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.0041c9b0
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 0x456eb5
cmp dword [ebp - 4], ebx
je 0x456eb5
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.0044b446
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], 0x456a82
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 0x456eab
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 0x456eb7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x456ebe
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.0041c9b0
push edi
lea eax, [esp + 0x224]
push ebp
push eax
call fcn.0041c9b0
push 0x820
lea eax, [esp + 0x438]
push ebp
push eax
call fcn.0041c9b0
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.00456c7f
mov ecx, dword [esi + 0x2a8]
test al, al
jne 0x456f49
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
jmp 0x457011
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 0x456f7c
push 0xffffffffffffffff
lea ecx, [esp + 0x218]
push ecx
push 0x104
push eax
call fcn.004290da
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.00456c7f
mov ecx, dword [esi + 0x60]
test al, al
je 0x456f3b
lea eax, [esp + 0xc]
push eax
push ecx
call edi
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00456aed
test al, al
jne 0x456fce
push dword [esi + 0x60]
jmp 0x456f3c
mov eax, dword [esi + 0x58]
add eax, 0x29c
je 0x456fed
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
push 0x104
push eax
call fcn.004290da
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 0x45700c
or dword [ecx], 4
jmp 0x45700f
and dword [ecx], 0xfffffffb
mov al, 1
pop edi
pop esi
pop ebp
add esp, 0xc30
ret

Function at 0x45709d
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.004168fe
pop esi
xor eax, eax
pop ebx
ret
Function at 0x4570e1
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.00403625
lea ecx, [ebp - 0x430]
call fcn.00403625
push ecx
push ecx
mov ecx, edi
call fcn.00417934
push 7
push dword [edi + 4]
call fcn.0044b007
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.00403f19
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 0x45736e
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.00403625
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 0x45749b
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
jmp 0x45745a
cmp dword [esp + 0x10], ebp
jbe 0x457491
push 0x200
lea eax, [esp + 0x21c]
push ebp
push eax
call fcn.0041c9b0
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.00403d72
add esp, 0x28
test al, al
je 0x45744a
push dword [0x491ebc]
lea eax, [esp + 0x21c]
push eax
call fcn.0042a7b9
pop ecx
pop ecx
test eax, eax
je 0x457476
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 0x4573cc
jmp 0x457491
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x58]
add eax, 0x414
push 0x104
push eax
call fcn.0042305c
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 0x457791
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 0x4577fa
lea ecx, [ebp - 0x218]
call fcn.00403625
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 0x4577ff
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.00403625
cmp dword [ebp + 8], 0
je 0x4578b1
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 0x4578b1
test byte [ebp - 0x46c], 0x10
je 0x457898
cmp word [ebp - 0x440], 0x2e
je 0x457898
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x470f90
push eax
call fcn.004011fb
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x218]
call fcn.004577ff
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 0x45784e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret 4
Function at 0x4578b7
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 0x457a40
lea ecx, [ebp - 0x46c]
call fcn.00403625
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 0x457a40
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x46c]
push 0x470f90
push eax
call fcn.004011fb
add esp, 0x10
test byte [ebp - 0x254], 0x10
je 0x457a17
mov ecx, 0x46fda4
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x457966
test dx, dx
je 0x457962
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x457966
add eax, 4
add ecx, 4
test dx, dx
jne 0x457940
xor eax, eax
jmp 0x45796b
sbb eax, eax
or eax, 1
test eax, eax
je 0x457a23
mov ecx, 0x470f88
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4579a4
test dx, dx
je 0x4579a0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4579a4
add eax, 4
add ecx, 4
test dx, dx
jne 0x45797e
xor eax, eax
jmp 0x4579a9
sbb eax, eax
or eax, 1
test eax, eax
je 0x457a23
mov eax, dword [ebx + 0x58]
test byte [eax + 0x840], 1
jne 0x4579fe
lea eax, [ebp - 0x228]
push 0x476978
push eax
call fcn.0042a7b9
pop ecx
pop ecx
test eax, eax
je 0x457a23
lea eax, [ebp - 0x228]
push 0x476984
push eax
call fcn.0042a7b9
pop ecx
pop ecx
test eax, eax
je 0x457a23
lea eax, [ebp - 0x228]
push str.config
push eax
call fcn.0042a7b9
pop ecx
pop ecx
test eax, eax
je 0x457a23
push dword [ebp - 0x468]
mov ecx, ebx
call fcn.004578b7
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 0x45790a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
leave
ret 4
Function at 0x457a46
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a4
push esi
mov esi, ecx
lea ecx, [ebp - 0x4a0]
call fcn.00403625
lea ecx, [ebp - 0x288]
call fcn.00403625
lea ecx, [ebp - 0x70]
call fcn.0044c5e2
push dword [ebp - 0x49c]
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x4a0]
call fcn.00403f19
push 0x491eb8
lea ecx, [ebp - 0x288]
call fcn.0040389b
mov edx, dword [ebp - 0x284]
test edx, edx
je 0x457abe
mov eax, dword [ebp - 0x280]
inc eax
push eax
push edx
call fcn.0042cf5a
mov edx, dword [ebp - 0x284]
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
call fcn.0044c556
mov eax, dword [ebp - 0x280]
add eax, eax
push eax
push edx
call fcn.0044c62d
lea ecx, [ebp - 0x70]
call fcn.0044c6e5
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x284]
call fcn.0044c755
push str.MetaQuotes_
lea ecx, [ebp - 0x4a0]
call fcn.0040380a
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x4a0]
add eax, 0xa54
push eax
call fcn.0040380a
push 0x46cfbc
lea ecx, [ebp - 0x4a0]
call fcn.0040380a
push dword [ebp - 0x284]
lea ecx, [ebp - 0x4a0]
call fcn.0040380a
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x457b52
lea ecx, [ebp - 0x4a0]
call fcn.0041800d
lea ecx, [ebp - 0x70]
call fcn.0044c601
pop esi
leave
ret

Function at 0x457b5d
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 0x457b8d
push 0xc8
push 7
push 0
mov ecx, esi
call fcn.00449611
mov ecx, esi
call fcn.00449768
jmp 0x457ba8
cmp dword [esp + 0xc], 1
jne 0x457ba8
mov ecx, esi
call fcn.0044974d
push 0
push 8
push 8
mov ecx, esi
call fcn.00449611
pop esi
ret 8

Function at 0x457d9a
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.0041c9b0
pop ecx
mov ecx, ebx
call fcn.00417c68
push 6
push dword [ebx + 4]
call fcn.0044b007
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.004496d3
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.0044b446
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.004496d3
push 0
push dword [ebx + 0x104]
call edi
push ebp
lea eax, [esp + 0x14]
push eax
push 0x12
call fcn.0044b446
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x174]
call esi
sub esp, 0x10
lea ecx, [ebx + 0x198]
call fcn.004496d3
push 0
push dword [ebx + 0x19c]
call edi
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x11
call fcn.0044b446
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 0x458078
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.004168fe
xor eax, eax
pop esi
ret

Function at 0x4580a6
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.0041c9b0
push esi
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0041c9b0
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.004176f7
push ecx
push ecx
mov ecx, ebx
call fcn.0041811f
push 5
push dword [ebx + 4]
call fcn.0044b007
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.004168ac
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.004168ac
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 0x45910f
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 0x45949d
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.0041c9b0
push 0x250
lea eax, [ebp - 0x660]
push esi
push eax
call fcn.0041c9b0
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 0x45959e
lea eax, [ebp - 0x410]
mov ebx, 0x104
push eax
push str._sMetaQuotesWebInstall.png
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.00403c23
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 0x45959e
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.00403c23
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x459585
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x459585
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 0x459527
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret

Function at 0x4595a2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
add ecx, 0x9f6c
push esi
xor esi, esi
cmp word [ecx], si
je 0x4595f0
call fcn.004188c0
cmp edx, esi
ja 0x4595f0
jb 0x4595cb
cmp eax, 0x3e8
jae 0x4595f0
lea eax, [ebp - 0x208]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4595f0
push ecx
xor edx, edx
lea ecx, [ebp - 0x208]
call fcn.0045b9f4
pop ecx
pop esi
leave
ret