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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1238
call fcn.0041c820
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xa6c1], 0
jne 0x459d3f
cmp byte [esi + 0xa6c0], 0
je 0x459d3f
mov eax, dword [esi + 0x58]
xor edi, edi
cmp byte [eax + 0xc40], 0
jne 0x459cd5
test byte [eax], 4
mov ebp, 0x509854
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x459bcd
lea ecx, [esp + 0x238]
call fcn.004047b4
push ecx
lea eax, [esp + 0x13c]
push eax
push ecx
call fcn.00448eab
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.0040371e
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.00401bd1
add esp, 0x18
call fcn.004085ac
cmp eax, 0x258
jl 0x459c27
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 0x459cd5
movaps xmm0, xmmword [0x515d40]
lea ecx, [esp + 0x238]
or eax, 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov esi, 0x5098cc
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.004031de
sub esp, 0x10
mov dword [esp + 0x248], 0x509850
lea eax, [esp + 0x248]
lea ecx, [esp + 0x20]
push eax
call fcn.00416661
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], esi
mov dword [esp + 0x23c], edi
mov dword [esp + 0x240], edi
call fcn.004166e2
push 0x100
push 0xfe
lea eax, [esp + 0x40]
mov ebp, str.Install.Time
push eax
mov esi, 0x5098d4
mov ebx, closesocket
push ebp
mov edx, esi
mov ecx, ebx
call fcn.00403ccc
add esp, 0x10
test al, al
jne 0x459d7f
push edi
call fcn.0042bcc4
pop ecx
push edx
push eax
push str._I64d
lea eax, [esp + 0x44]
push 0x7f
push eax
call fcn.00403ad2
add esp, 0x10
mov edx, esi
mov ecx, ebx
call fcn.00403c40
lea eax, [esp + 0x3c]
mov edx, esi
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.00403c0b
add esp, 0x10
jmp 0x459d7f
cmp byte [esi + 0xa6c2], 0
je 0x459d56
mov eax, dword [esi + 0x58]
add eax, 0x6ac
push eax
call fcn.00462305
xor edi, edi
cmp dword [esi + 0x898], edi
jbe 0x459d7f
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 0x459d60
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a08d
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 + 0xa3bc], 1
mov dword [ebp + 0xa3b8], ebx
cmp dword [ebp + 0xa3b4], ebx
jne 0x45a0f5
push ebx
push 0x64
push 0x5ba0
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp + 0xa3b4], eax
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x45a2f5
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.00403b87
cmp byte [esp + 0x238], 0
lea ebp, [edi + 0xa6d0]
lea ebx, [edi + 0xa768]
je 0x45a358
mov eax, ecx
push eax
push 0x190
call fcn.0045037b
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.0044e9f6
add edi, 4
jmp 0x45a401
mov ecx, ebp
call fcn.0044eae8
push 0x2710
push 0
push 0
mov ecx, ebp
call fcn.0044e9ac
movzx esi, byte [esp + 0x23c]
lea eax, [esp + 0x20]
xor esi, 1
push eax
lea eax, [esi + 0x191]
push eax
call fcn.0045037b
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.0040b9a8
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.0040b9ce
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.0044e9f6
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 0x45a95a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
movzx eax, word [esp + 8]
push ebp
push esi
push edi
push 0x512e1c
push eax
push dword [0x533f68]
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x45aa29
push esi
push dword [0x533f64]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, 0x32
jbe 0x45aa29
push esi
push dword [0x533f64]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45aa29
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x45aa29
push ebx
push 0x4f086c
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.0041b7ed
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x45a9ea
xor bl, bl
jmp 0x45aa1d
lea eax, [edi - 2]
push eax
lea eax, [ebp + 2]
push eax
push ebx
call fcn.0041d170
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.0041b7e8
pop ecx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, bl
pop ebx
jmp 0x45aa2b
xor al, al
pop edi
pop esi
pop ebp
pop ecx
ret 4

Function at 0x45aa32
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00450573
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 + 0x533d20], ecx
jne 0x45aa62
mov eax, dword [edx + 0x533d24]
cmp eax, ebp
je 0x45aa70
test eax, eax
je 0x45aa70
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x45aa4c
jmp 0x45aa79
imul eax, esi, 0xc
mov edi, dword [eax + 0x533d28]
push edi
mov ecx, ebx
call fcn.0045a95a
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x45ab1e
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 0x45ab6d
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.00416644
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x45b0f3
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.0041d6f0
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.0041d6f0
push 0x820
lea eax, [ebp - 0xc48]
push ebx
push eax
call fcn.0041d6f0
add esp, 0x24
cmp dword [ebp + 8], ebx
je 0x45b169
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x103
push eax
call fcn.0042a5e4
add esp, 0x10
lea eax, [ebp - 0x220]
push 0x512e50
push eax
call fcn.0041c9ee
pop ecx
pop ecx
test eax, eax
je 0x45b24e
lea ecx, [ebp - 0x220]
sub eax, ecx
sar eax, 1
cmp eax, 1
jne 0x45b24e
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 0x45b201
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x23
call fcn.004507e3
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.004165f2
add esp, 0x10
mov eax, dword [esi + 0x58]
add eax, 0x94
push 0x30
push eax
lea eax, [ebp - 0xc48]
jmp 0x45b272
cmp dword [ebp - 4], ebx
ja 0x45b24a
jb 0x45b211
cmp dword [ebp - 8], 0x3200000
jae 0x45b24a
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xe
call fcn.004507e3
push 0x32
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc48]
push 0x40f
push eax
call fcn.004165f2
add esp, 0x14
jmp 0x45b1ee
mov al, 1
jmp 0x45b27e
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0x1e
call fcn.004507e3
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 0x45b3c9
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.0041d6f0
push edi
lea eax, [ebp - 0x438]
push ebx
push eax
call fcn.0041d6f0
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 0x45b4c1
cmp dword [ebp - 4], ebx
je 0x45b4c1
push 0x103
lea eax, [ebp - 0x438]
push eax
push 0x39
call fcn.004507e3
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], 0x45b088
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 0x45b4b7
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 0x45b4c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x45b4ca
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.0041d6f0
push edi
lea eax, [esp + 0x224]
push ebp
push eax
call fcn.0041d6f0
push 0x820
lea eax, [esp + 0x438]
push ebp
push eax
call fcn.0041d6f0
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.0045b285
mov ecx, dword [esi + 0x2a8]
test al, al
jne 0x45b555
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
xor al, al
jmp 0x45b61d
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 0x45b588
push 0xffffffffffffffff
lea ecx, [esp + 0x218]
push ecx
push 0x104
push eax
call fcn.0042a5e4
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.0045b285
mov ecx, dword [esi + 0x60]
test al, al
je 0x45b547
lea eax, [esp + 0xc]
push eax
push ecx
call edi
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045b0f3
test al, al
jne 0x45b5da
push dword [esi + 0x60]
jmp 0x45b548
mov eax, dword [esi + 0x58]
add eax, 0x29c
je 0x45b5f9
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
push 0x104
push eax
call fcn.0042a5e4
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 0x45b618
or dword [ecx], 4
jmp 0x45b61b
and dword [ecx], 0xfffffffb
mov al, 1
pop edi
pop esi
pop ebp
add esp, 0xc30
ret

Function at 0x45b6a9
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.00416644
pop esi
xor eax, eax
pop ebx
ret
Function at 0x45b6ed
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.0040337a
lea ecx, [ebp - 0x430]
call fcn.0040337a
push ecx
push ecx
mov ecx, edi
call fcn.00417645
push 7
push dword [edi + 4]
call fcn.004503a4
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.00403e73
mov eax, dword [edi + 0x58]
add eax, 0x94
push eax
push dword [ebp - 0x214]
lea eax, [ebp - 0x430]
push eax
call fcn.0040371e
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 0x45b97a
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.0040337a
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 0x45baa7
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
jmp 0x45ba66
cmp dword [esp + 0x10], ebp
jbe 0x45ba9d
push 0x200
lea eax, [esp + 0x21c]
push ebp
push eax
call fcn.0041d6f0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x428]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.0040371e
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.00403ccc
add esp, 0x28
test al, al
je 0x45ba56
push dword [0x53363c]
lea eax, [esp + 0x21c]
push eax
call fcn.0042bf95
pop ecx
pop ecx
test eax, eax
je 0x45ba82
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 0x45b9d8
jmp 0x45ba9d
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x58]
add eax, 0x414
push 0x104
push eax
call fcn.00424506
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 0x45bd9d
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 0x45be06
lea ecx, [ebp - 0x218]
call fcn.0040337a
mov eax, dword [esi + 0x58]
add eax, 0x414
push eax
mov eax, ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.0040371e
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 0x45be0b
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.0040337a
cmp dword [ebp + 8], 0
je 0x45bebd
push dword [ebp + 8]
mov eax, ecx
push str._s.
push eax
call fcn.0040371e
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 0x45bebd
test byte [ebp - 0x46c], 0x10
je 0x45bea4
cmp word [ebp - 0x440], 0x2e
je 0x45bea4
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x50d448
push eax
call fcn.0040371e
add esp, 0x10
mov ecx, ebx
push dword [ebp - 0x218]
call fcn.0045be0b
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 0x45be5a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret 4
Function at 0x45bec3
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 0x45c04c
lea ecx, [ebp - 0x46c]
call fcn.0040337a
push dword [ebp + 8]
mov eax, ecx
push str._s.
push eax
call fcn.0040371e
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 0x45c04c
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x46c]
push 0x50d448
push eax
call fcn.0040371e
add esp, 0x10
test byte [ebp - 0x254], 0x10
je 0x45c023
mov ecx, 0x50c26c
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45bf72
test dx, dx
je 0x45bf6e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45bf72
add eax, 4
add ecx, 4
test dx, dx
jne 0x45bf4c
xor eax, eax
jmp 0x45bf77
sbb eax, eax
or eax, 1
test eax, eax
je 0x45c02f
mov ecx, 0x50d440
lea eax, [ebp - 0x228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45bfb0
test dx, dx
je 0x45bfac
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45bfb0
add eax, 4
add ecx, 4
test dx, dx
jne 0x45bf8a
xor eax, eax
jmp 0x45bfb5
sbb eax, eax
or eax, 1
test eax, eax
je 0x45c02f
mov eax, dword [ebx + 0x58]
test byte [eax + 0x840], 1
jne 0x45c00a
lea eax, [ebp - 0x228]
push 0x512f74
push eax
call fcn.0042bf95
pop ecx
pop ecx
test eax, eax
je 0x45c02f
lea eax, [ebp - 0x228]
push 0x512f80
push eax
call fcn.0042bf95
pop ecx
pop ecx
test eax, eax
je 0x45c02f
lea eax, [ebp - 0x228]
push str.config
push eax
call fcn.0042bf95
pop ecx
pop ecx
test eax, eax
je 0x45c02f
push dword [ebp - 0x468]
mov ecx, ebx
call fcn.0045bec3
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 0x45bf16
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop ebx
leave
ret 4
Function at 0x45c31f
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 0x45c34f
push 0xc8
push 7
push 0
mov ecx, esi
call fcn.0044e9ac
mov ecx, esi
call fcn.0044eb03
jmp 0x45c36a
cmp dword [esp + 0xc], 1
jne 0x45c36a
mov ecx, esi
call fcn.0044eae8
push 0
push 8
push 8
mov ecx, esi
call fcn.0044e9ac
pop esi
ret 8

Function at 0x45c55c
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.0041d6f0
pop ecx
mov ecx, ebx
call fcn.00417979
push 6
push dword [ebx + 4]
call fcn.004503a4
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.0044ea6e
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.004507e3
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.0044ea6e
push 0
push dword [ebx + 0x104]
call edi
push ebp
lea eax, [esp + 0x14]
push eax
push 0x12
call fcn.004507e3
lea eax, [esp + 0x10]
push eax
push dword [ebx + 0x174]
call esi
sub esp, 0x10
lea ecx, [ebx + 0x198]
call fcn.0044ea6e
push 0
push dword [ebx + 0x19c]
call edi
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x11
call fcn.004507e3
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 0x45c83a
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.00416644
xor eax, eax
pop esi
ret