joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450c31
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1238
call fcn.0041b500
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x81f9], 0
jne 0x450e3d
cmp byte [esi + 0x81f8], 0
je 0x450e3d
mov ecx, dword [esi + 0x58]
xor edi, edi
cmp byte [ecx + 0xc40], 0
jne 0x450dd3
test byte [ecx], 4
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x450ccc
lea ecx, [esp + 0x238]
call fcn.004045b8
push ecx
lea eax, [esp + 0x13c]
push eax
push ecx
call fcn.004413e5
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 0x467f1c
push edi
call ebx
mov ecx, dword [esi + 0x58]
lea eax, [ecx + 0x4a4]
or ebp, 0xffffffff
push eax
lea eax, [ecx + 0x29c]
push eax
push str.__s_s_
push ebp
lea eax, [esp + 0xa58]
push 0x400
push eax
call fcn.00401e4a
add esp, 0x18
call fcn.0040826b
cmp eax, 0x258
jl 0x450d29
mov eax, dword [esi + 0x58]
push 1
add eax, 0x29c
push eax
lea eax, [esp + 0xa50]
push eax
push str.explorer.exe
push 0x467f1c
push edi
call ebx
jmp 0x450dd3
movaps xmm0, xmmword [0x4725c0]
lea eax, [esp + 0x248]
mov dword [esp + 0x23c], eax
lea ecx, [esp + 0x238]
xor eax, eax
mov dword [esp + 0x10], ebp
mov word [esp + 0x248], ax
mov esi, 0x460424
lea eax, [esp + 0xa48]
mov dword [esp + 0x14], ebp
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x23c], esi
mov dword [esp + 0x244], edi
mov dword [esp + 0x248], 0x400
call fcn.00402fc9
sub esp, 0x10
mov dword [esp + 0x248], 0x467f08
lea ecx, [esp + 0x20]
push dword [esp + 0x24c]
call fcn.00417565
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], esi
mov dword [esp + 0x23c], edi
mov dword [esp + 0x240], edi
call fcn.004175f4
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.00403acb
add esp, 0x10
test al, al
jne 0x450e7d
push edi
call fcn.00429e44
pop ecx
push edx
push eax
push str._I64d
lea eax, [esp + 0x44]
push 0x7f
push eax
call fcn.0040397c
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.00403a3f
lea eax, [esp + 0x3c]
mov edx, esi
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.004039b8
add esp, 0x10
jmp 0x450e7d
cmp byte [esi + 0x81fa], 0
je 0x450e54
mov eax, dword [esi + 0x58]
add eax, 0x6ac
push eax
call fcn.00449b28
xor edi, edi
cmp dword [esi + 0x894], edi
jbe 0x450e7d
mov eax, dword [esi + 0x89c]
imul eax, edi
add eax, dword [esi + 0x890]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
inc edi
cmp edi, dword [esi + 0x894]
jb 0x450e5e
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45118b
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 + 0x7ef8], 1
mov dword [ebp + 0x7ef4], ebx
cmp dword [ebp + 0x7ef0], ebx
jne 0x4511f3
push ebx
push 0x64
push 0x5ba0
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp + 0x7ef0], eax
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x4513fb
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
mov ebx, ecx
lea ecx, [esp + 0x1c]
push edi
call fcn.0040117c
cmp byte [esp + 0x238], 0
lea esi, [ebx + 0x8208]
lea ebp, [ebx + 0x82a0]
je 0x45145c
mov eax, ecx
push eax
push 0x190
call fcn.004478cb
push dword [esp + 0x24]
push dword [ebp]
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, esi
call fcn.00445f57
jmp 0x45150a
mov ecx, esi
call fcn.00446049
push 0x2710
push 0
push 0
mov ecx, esi
call fcn.00445f0d
movzx edi, byte [esp + 0x23c]
lea eax, [esp + 0x20]
xor edi, 1
push eax
lea eax, [edi + 0x191]
push eax
call fcn.004478cb
push dword [esp + 0x24]
push dword [ebp]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x10]
push eax
push dword [ebp]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 4]
call fcn.0040ca5d
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, ebp
call fcn.0040ca83
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ecx
push ecx
lea eax, [edi + 0x84]
push eax
lea ecx, [ebx + 0x8208]
call fcn.00445f57
push dword [ebx + 4]
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 [ebp]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 8
Function at 0x451a61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 8]
push ebp
push esi
push edi
push 0x470ea4
push eax
push dword [0x48c7e8]
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
test esi, esi
je 0x451b30
push esi
push dword [0x48c7e4]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
cmp edi, 0x32
jbe 0x451b30
push esi
push dword [0x48c7e4]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x451b30
push esi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebp, eax
test ebp, ebp
je 0x451b30
push ebx
push 0x45a8ac
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.0041a51d
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x451af1
xor bl, bl
jmp 0x451b24
lea eax, [edi - 2]
push eax
lea eax, [ebp + 2]
push eax
push ebx
call fcn.0041be70
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.0041a526
pop ecx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov al, bl
pop ebx
jmp 0x451b32
xor al, al
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x451b39
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00447ac3
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 + 0x48c5b0], ecx
jne 0x451b69
mov eax, dword [edx + 0x48c5b4]
cmp eax, ebp
je 0x451b77
test eax, eax
je 0x451b77
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x451b53
jmp 0x451b80
imul eax, esi, 0xc
mov edi, dword [eax + 0x48c5b8]
push edi
mov ecx, ebx
call fcn.00451a61
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x451c25
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 0x451c74
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.0041751e
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x452204
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.0041c3f0
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.0041c3f0
push 0x820
lea eax, [ebp - 0xc48]
push ebx
push eax
call fcn.0041c3f0
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x45227a
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.00428a3a
add esp, 0x10
lea eax, [ebp - 0x220]
push 0x470ed8
push eax
call fcn.0041b6ce
pop ecx
pop ecx
test eax, eax
je 0x452360
lea ecx, [ebp - 0x220]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 2
jne 0x452360
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 0x452313
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x23
call fcn.00447d4f
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.004174cc
add esp, 0x10
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0xc48]
jmp 0x452384
cmp dword [ebp - 4], ebx
ja 0x45235c
jb 0x452323
cmp dword [ebp - 8], 0x3200000
jae 0x45235c
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xe
call fcn.00447d4f
push 0x32
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.004174cc
add esp, 0x14
jmp 0x452300
mov al, 1
jmp 0x452390
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x1e
call fcn.00447d4f
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 0x4524db
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.0041c3f0
push edi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.0041c3f0
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 0x4525cd
cmp dword [ebp - 4], ebx
je 0x4525cd
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.00447d4f
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], 0x452199
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 0x4525c3
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 0x4525cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4525d6
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.0041c3f0
push edi
lea eax, [esp + 0x224]
push ebp
push eax
call fcn.0041c3f0
push 0x820
lea eax, [esp + 0x438]
push ebp
push eax
call fcn.0041c3f0
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.00452397
mov ecx, dword [esi + 0x2a8]
test al, al
jne 0x452661
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
jmp 0x45272d
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 0x452694
push 0xffffffffffffffff
lea ecx, [esp + 0x218]
push ecx
push 0x104
push eax
call fcn.00428a3a
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.00452397
mov ecx, dword [esi + 0x60]
test al, al
je 0x452653
lea eax, [esp + 0xc]
push eax
push ecx
call edi
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00452204
test al, al
jne 0x4526e6
push dword [esi + 0x60]
jmp 0x452654
mov eax, dword [esi + 0x58]
add eax, 0x29c
je 0x452705
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
push 0x104
push eax
call fcn.00428a3a
add esp, 0x10
push ebp
push ebp
push 0xf0
push dword [esi + 0x4f0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x58]
mov ecx, dword [edx]
test eax, eax
je 0x452726
or ecx, 4
jmp 0x452729
and ecx, 0xfffffffb
mov dword [edx], ecx
mov al, 1
pop edi
pop esi
pop ebp
add esp, 0xc30
ret

Function at 0x4527b9
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.0041751e
pop esi
xor eax, eax
pop ebx
ret
Function at 0x4527fd
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.00403195
lea ecx, [ebp - 0x430]
call fcn.00403195
push ecx
push ecx
mov ecx, edi
call fcn.004184b2
push 7
push dword [edi + 4]
call fcn.004478f4
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.00403c53
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 0x452a8c
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.00403195
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 0x452bb9
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
jmp 0x452b78
cmp dword [esp + 0x10], ebp
jbe 0x452baf
push 0x200
lea eax, [esp + 0x21c]
push ebp
push eax
call fcn.0041c3f0
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.00403acb
add esp, 0x28
test al, al
je 0x452b68
push dword [0x48bebc]
lea eax, [esp + 0x21c]
push eax
call fcn.0042a115
pop ecx
pop ecx
test eax, eax
je 0x452b94
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 0x452aea
jmp 0x452baf
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x58]
add eax, 0x414
push 0x104
push eax
call fcn.00422a5c
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 0x452e96
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 0x452eff
lea ecx, [ebp - 0x218]
call fcn.00403195
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 0x452f04
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.00403195
cmp dword [ebp + 8], 0
je 0x452fb6
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 0x452fb6
test byte [ebp - 0x46c], 0x10
je 0x452f9d
cmp word [ebp - 0x440], 0x2e
je 0x452f9d
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push str._s_s
push eax
call fcn.004011fb
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x218]
call fcn.00452f04
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 0x452f53
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop esi
pop ebx
leave
ret 4
Function at 0x452fbc
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 0x453145
lea ecx, [ebp - 0x46c]
call fcn.00403195
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 0x453145
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x46c]
push str._s_s
push eax
call fcn.004011fb
add esp, 0x10
test byte [ebp - 0x254], 0x10
je 0x45311c
mov ecx, 0x46a540
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45306b
test dx, dx
je 0x453067
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45306b
add eax, 4
add ecx, 4
test dx, dx
jne 0x453045
xor eax, eax
jmp 0x453070
sbb eax, eax
or eax, 1
test eax, eax
je 0x453128
mov ecx, 0x46ed6c
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4530a9
test dx, dx
je 0x4530a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4530a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x453083
xor eax, eax
jmp 0x4530ae
sbb eax, eax
or eax, 1
test eax, eax
je 0x453128
mov eax, dword [ebx + 0x58]
test byte [eax + 0x83c], 1
jne 0x453103
lea eax, [ebp - 0x228]
push 0x470f20
push eax
call fcn.0042a115
pop ecx
pop ecx
test eax, eax
je 0x453128
lea eax, [ebp - 0x228]
push 0x470f2c
push eax
call fcn.0042a115
pop ecx
pop ecx
test eax, eax
je 0x453128
lea eax, [ebp - 0x228]
push str.config
push eax
call fcn.0042a115
pop ecx
pop ecx
test eax, eax
je 0x453128
push dword [ebp - 0x468]
mov ecx, ebx
call fcn.00452fbc
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 0x45300f
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop ebx
leave
ret 4
Function at 0x45314b
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.00403195
lea ecx, [ebp - 0x288]
call fcn.00403195
lea ecx, [ebp - 0x70]
call fcn.00448ebd
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.00403c53
push 0x48beb8
lea ecx, [ebp - 0x288]
call fcn.004035f7
mov edx, dword [ebp - 0x284]
test edx, edx
je 0x4531c3
mov eax, dword [ebp - 0x280]
inc eax
push eax
push edx
call fcn.0042c82a
mov edx, dword [ebp - 0x284]
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
call fcn.00448e31
mov eax, dword [ebp - 0x280]
add eax, eax
push eax
push edx
call fcn.00448f08
lea ecx, [ebp - 0x70]
call fcn.00448fc3
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x284]
call fcn.00449033
push str.MetaQuotes_
lea ecx, [ebp - 0x4a0]
call fcn.004034ba
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x4a0]
add eax, 0xa50
push eax
call fcn.004034ba
push 0x467ef4
lea ecx, [ebp - 0x4a0]
call fcn.004034ba
push dword [ebp - 0x284]
lea ecx, [ebp - 0x4a0]
call fcn.004034ba
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453257
lea ecx, [ebp - 0x4a0]
call fcn.00418b53
lea ecx, [ebp - 0x70]
call fcn.00448edc
pop esi
leave
ret

Function at 0x453262
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 0x453292
push 0xc8
push 7
push 0
mov ecx, esi
call fcn.00445f0d
mov ecx, esi
call fcn.00446064
jmp 0x4532ad
cmp dword [esp + 0xc], 1
jne 0x4532ad
mov ecx, esi
call fcn.00446049
push 0
push 8
push 8
mov ecx, esi
call fcn.00445f0d
pop esi
ret 8

Function at 0x45349f
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.0041c3f0
pop ecx
mov ecx, ebx
call fcn.004187ad
push 6
push dword [ebx + 4]
call fcn.004478f4
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.00445fcf
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.00447d4f
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.00445fcf
push 0
push dword [ebx + 0x104]
call edi
push ebp
lea eax, [esp + 0x14]
push eax
push 0x12
call fcn.00447d4f
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x174]
call esi
sub esp, 0x10
lea ecx, [ebx + 0x198]
call fcn.00445fcf
push 0
push dword [ebx + 0x19c]
call edi
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x11
call fcn.00447d4f
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