joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408292
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x88
mov eax, 0x491615
call fcn.0046aef2
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], edi
call fcn.00408273
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00402ad0
push 0x22
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.00402aad
mov esi, eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402e49
push 0x22
lea ecx, [ebp - 0x1c]
call fcn.00401a83
push 0x20
mov edx, esi
lea ecx, [ebp - 0x50]
call fcn.00408230
pop ecx
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x34]
push dword [eax + 4]
push dword [eax]
call fcn.004029ec
push dword [ebp - 0x50]
call fcn.0046a358
push dword [ebp - 0x1c]
call fcn.0046a358
mov byte [ebp - 4], 6
push dword [ebp - 0x28]
call fcn.0046a358
add esp, 0xc
mov dword [ebp - 0x94], 0x44
xor eax, eax
mov dword [ebp - 0x90], edi
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x8c], edi
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x88], edi
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x34]
mov dword [ebp - 0x68], edi
push edi
mov dword [ebp - 0x60], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40837e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x40838c
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
mov dword [ebx], eax
push dword [ebp - 0x34]
call fcn.0046a358
pop ecx
mov eax, edi
call fcn.0046aebb
ret 0xc

Function at 0x408da6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov edx, dword [edi + 4]
test edx, edx
je 0x408dd6
mov ecx, dword [edi]
mov eax, dword [ecx]
inc ebx
lea ecx, [ecx + 4]
mov eax, dword [eax + 4]
add ebx, eax
sub edx, 1
jne 0x408dc3
mov dword [ebp - 0xc], ebx
xor esi, esi
test ebx, ebx
je 0x408df5
xor ecx, ecx
mov eax, ebx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a477
pop ecx
mov esi, eax
xor ecx, ecx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
cmp dword [edi + 4], ecx
jbe 0x408e38
mov ebx, edi
mov eax, dword [ebx]
mov ecx, dword [eax + ecx*4]
mov edi, dword [ecx + 4]
inc edi
lea eax, [edi + edi]
push eax
push dword [ecx]
lea eax, [esi + edx*2]
push eax
call fcn.0046cb70
mov edx, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ebp - 8]
add edx, edi
inc ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebx + 4]
jb 0x408e06
mov ebx, dword [ebp - 0xc]
lea eax, [ebx + ebx]
push eax
mov eax, dword [ebp - 0x10]
push esi
push 3
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call fcn.0046a358
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40908d
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
xor edx, edx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], edx
push ecx
push edx
lea ecx, [ebp - 8]
mov dword [ebp - 4], edx
push ecx
push edx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x40912a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40912a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
push dword [ebp - 8]
push 8
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea ecx, [ecx*2 + 2]
push ecx
push 8
call ebx
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push edi
push 0
mov esi, eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
test esi, esi
pop esi
pop ebx
je 0x40912a
mov eax, dword [ebp - 0xc]
leave
ret
xor eax, eax
leave
ret

Function at 0x40912e
Capabilities:
Get session user name
Manipulate user privileges

Disassembly:
push 0x330
mov eax, 0x49168c
call fcn.0046af26
xor ebx, ebx
mov dword [ebp - 0x318], ebx
lea eax, [ebp - 0x318]
mov dword [ebp - 4], ebx
push eax
push 0xf0fff
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], 0x18
push eax
push ebx
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
call dword [sym.imp.ADVAPI32.dll_LsaOpenPolicy]
test eax, eax
jne 0x409252
push 0xb
pop ecx
push 0xd4
lea eax, [ebp - 0xe4]
mov esi, str.SeLockMemoryPrivilege
lea edi, [ebp - 0x110]
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0046d670
lea ecx, [ebp - 0x110]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4091c0
sub ecx, edx
mov dword [ebp - 0x31c], 0x100
sar ecx, 1
lea eax, [ecx + ecx]
mov word [ebp - 0x324], ax
add eax, 2
mov word [ebp - 0x322], ax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x409252
lea ecx, [ebp - 0x314]
call fcn.0040908d
mov esi, eax
test esi, esi
je 0x409252
xor edi, edi
lea eax, [ebp - 0x324]
inc edi
push edi
push eax
push esi
push dword [ebp - 0x318]
call dword [sym.imp.ADVAPI32.dll_LsaAddAccountRights]
test eax, eax
movzx ebx, bl
push esi
push 0
cmove ebx, edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x318], 0
je 0x409267
push dword [ebp - 0x318]
call dword [sym.imp.ADVAPI32.dll_LsaClose]
mov al, bl
call fcn.0046aed0
ret
Function at 0x4095c2
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x68], 0x40
push str.GlobalMemoryStatusEx
push 0x4a43c0
and dword [esi + 4], 0
mov dword [esi], SysReAllocStringLen
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x409624
lea ecx, [ebp - 0x68]
push ecx
call eax
test eax, eax
je 0x409624
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00409654
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x409643
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
cmovb eax, dword [ebp - 0xc]
and dword [esi + 4], 0
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.0046a342
leave
ret

Function at 0x40a7d9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40a7e7
and dword [esi], 0
mov eax, dword [ebp + 0x10]
xor edx, edx
inc edx
test eax, eax
je 0x40a829
push 0
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x14]
add dword [ecx + 8], eax
adc dword [ecx + 0xc], 0
test esi, esi
je 0x40a829
add dword [esi], eax
test edx, edx
setne cl
call fcn.0040a0b3
pop esi
pop ebp
ret 0x10
Function at 0x4183fc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push edi
push edi
call fcn.0046f03a
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x418428
call fcn.004019d6
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret 8

Function at 0x41a8ef
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
push str.CreateDecoder
mov esi, dword [eax + edx*4 - 4]
mov dword [esp + 0x1c], esi
push dword [esi + 0xc]
call edi
push str.CreateEncoder
push dword [esi + 0xc]
mov dword [esi + 0x24], eax
call edi
push str.GetMethodProperty
push dword [esi + 0xc]
mov dword [esi + 0x28], eax
call edi
xor edi, edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x41aa48
push str.GetNumberOfMethods
push dword [esi + 0xc]
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a96b
lea ecx, [esp + 0x14]
push ecx
call eax
test eax, eax
jne 0x41aa8e
mov ecx, edi
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], ecx
jbe 0x41aa48
mov eax, dword [ebx + 0x10]
mov edx, ecx
dec eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push 3
call fcn.0041a86c
add esp, 0xc
test eax, eax
jne 0x41aa8e
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x25]
mov ecx, dword [esi + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push 2
call fcn.0041a86c
add esp, 0xc
test eax, eax
jne 0x41aa8e
mov ecx, dword [ebx + 0x48]
cmp dword [ebx + 0x44], ecx
jne 0x41aa1c
mov eax, ecx
lea edi, [ecx + 1]
shr eax, 2
xor ecx, ecx
add edi, eax
push 0x2c
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a477
mov esi, eax
mov eax, dword [ebx + 0x44]
pop ecx
test eax, eax
je 0x41aa0d
imul ecx, eax, 0x2c
push ecx
push dword [ebx + 0x40]
push esi
call fcn.0046cb70
add esp, 0xc
push dword [ebx + 0x40]
call fcn.0046a358
pop ecx
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x48], edi
imul edi, dword [ebx + 0x44], 0x2c
lea esi, [esp + 0x1c]
push 0xb
pop ecx
add edi, dword [ebx + 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
inc dword [ebx + 0x44]
inc ecx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x14]
jb 0x41a97b
xor edi, edi
push str.GetHashers
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41aa8c
add esi, 0x30
push esi
call eax
test eax, eax
jne 0x41aa8e
mov ecx, dword [esi]
test ecx, ecx
je 0x41aa8c
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x41aa8c
lea ecx, [ebx + 0x4c]
mov eax, dword [ebx + 0x10]
dec eax
push edi
push eax
call fcn.0040f79b
inc edi
lea ecx, [ebx + 0x4c]
cmp edi, esi
jb 0x41aa79
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42566e
Capabilities:
Get disk information

Disassembly:
push 0x14
mov eax, 0x493ede
call fcn.0046aef2
mov ebx, edx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp byte [ebx + 0x10], 0
mov edi, dword [ebx]
je 0x4256d4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push 3
xor edi, edi
push eax
inc edi
call fcn.00414a61
mov ebx, dword [ebp - 0x20]
cmp word [ebx + 2], 0x3a
jne 0x4256ca
cmp word [ebx + 4], 0x5c
jne 0x4256ca
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x4256c5
cmp eax, 2
jne 0x4256ca
mov edi, dword [ebp - 0x10]
mov edi, dword [edi]
push ebx
call fcn.0046a358
mov ebx, dword [ebp - 0x10]
pop ecx
mov ecx, dword [ebp + 8]
call fcn.00402f3d
lea edx, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov ecx, dword [eax]
lea ecx, [ecx + edx*2]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402bcc
sub edi, 1
je 0x425745
lea ecx, [ebp - 0x20]
sub edi, 1
je 0x42571a
call fcn.00402a89
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.004054b2
test al, al
je 0x425759
jmp 0x42572f
lea eax, [ebx + 4]
push eax
call fcn.00402b57
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040700d
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00402b57
push dword [ebp - 0x20]
call fcn.0046a358
pop ecx
jmp 0x425751
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push esi
call fcn.00414a61
mov eax, esi
call fcn.0046aebb
ret
push 0x4bd0f0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x22995
push eax
call fcn.0046caf9
int3

Function at 0x425bb0
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x493f4c
call fcn.0046aef2
mov esi, ecx
mov edi, 0x4c8b50
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
mov edx, str.Options
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0042599b
push esi
mov edx, str.CascadedMenu
lea ecx, [ebp - 0x10]
call fcn.004259cd
lea eax, [esi + 2]
mov edx, str.MenuIcons
push eax
lea ecx, [ebp - 0x10]
call fcn.004259cd
lea eax, [esi + 4]
mov edx, str.ElimDupExtract
push eax
lea ecx, [ebp - 0x10]
call fcn.004259cd
add esp, 0xc
cmp byte [esi + 6], 0
je 0x425c3d
mov eax, dword [esi + 8]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.ContextMenu
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x10]
call fcn.00408b21
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0046aebb
ret
Function at 0x42626f
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x494001
call fcn.0046aef2
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.004236c6
push eax
lea ecx, [ebp - 0x10]
call fcn.0042341c
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.004233d6
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00428ae4
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x4262d0
push 0x4a4398
mov ecx, edi
call fcn.004231e1
lea ecx, [esi - 0x10]
jmp 0x426320
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.00427f42
cmp ax, 0x5c
je 0x4262f6
mov esi, 0x4a6424
push esi
call fcn.00422feb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.004289fd
mov esi, str.VZip_
push esi
call fcn.00422feb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.004289fd
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
call fcn.00428a89
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.0042376a
mov eax, edi
call fcn.0046aebb
ret

Function at 0x426760
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x494176
call fcn.0046aef2
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi], vtable.CZipContextMenu.1.0
mov dword [esi + 4], vtable.CZipContextMenu.0
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.00402a89
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
push 0x4c8ad8
mov word [esi + 0x40], bx
mov dword [ebp - 0x14], 0x60
mov dword [ebp - 0x18], 4
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push str.Control_PanelDesktopWindowMetrics
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x426810
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push str.AppliedDPI
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, 0x60
je 0x426848
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push 0x30
addsd xmm0, qword [eax*8 + 0x4aa2f0]
pop eax
divsd xmm0, qword [0x4aa2b0]
mulsd xmm0, qword [0x4aa2a8]
cvttsd2si edi, xmm0
cmp edi, eax
cmovg edi, eax
push ebx
push edi
push edi
push 1
push 0xbf
push dword [0x4c8ac4]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 0x3c], eax
call fcn.004279ef
mov eax, esi
call fcn.0046aebb
ret
Function at 0x4279ef
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x254
mov eax, 0x494377
call fcn.0046af26
xor ebx, ebx
lea ecx, [ebp - 0x248]
push ebx
push str.VZipExtern
mov dword [ebp - 0x224], ebx
call fcn.00427d29
mov dword [ebp - method.CCfgOPBaseT_int_.virtual_0], 0x4a6420
push ebx
push 0x4a605c
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], ebx
call fcn.00427d29
mov dword [ebp - method.CCfgOPBaseT_int_.virtual_0], vtable.CCfgApp.0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.0046d670
add esp, 0xc
call fcn.00426466
test eax, eax
je 0x427a6c
push str.CZipContextMenu_Start
call fcn.0042658a
pop ecx
lea ecx, [ebp - 0x260]
call fcn.00425f10
test eax, eax
jne 0x427c6c
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea eax, [ebp - 0x218]
push str.explorer.exe
push eax
call esi
test eax, eax
jne 0x427ac0
push 0x4a6088
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x427c6c
lea ecx, [ebp - 0x248]
call fcn.004266b3
push edx
push eax
call fcn.004266e2
pop ecx
pop ecx
test eax, eax
je 0x427b57
call fcn.00426466
lea ecx, [ebp - 0x248]
test eax, eax
je 0x427b1c
call fcn.004266b3
push ebx
mov esi, eax
mov edi, edx
call fcn.0046f6b2
pop ecx
mov ecx, eax
sub ecx, esi
sbb edx, edi
mov eax, edx
cdq
xor eax, edx
xor ecx, edx
sub ecx, edx
sbb eax, edx
cmp eax, ebx
jg 0x427b57
jl 0x427c6c
cmp ecx, 0x3c
jae 0x427b57
jmp 0x427c6c
call fcn.004266b3
push ebx
mov esi, eax
mov edi, edx
call fcn.0046f6b2
pop ecx
mov ecx, eax
sub ecx, esi
sbb edx, edi
mov eax, edx
cdq
xor eax, edx
xor ecx, edx
sub ecx, edx
sbb eax, edx
mov dword [ebp - 0x22c], eax
js 0x427c6c
jg 0x427b57
cmp ecx, 0x708
jb 0x427c6c
push ecx
lea ecx, [ebp - 0x220]
call fcn.004263ce
pop ecx
mov byte [ebp - 4], 2
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427c5e
mov byte [ebp - 4], 3
call fcn.004236c6
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042341c
push 4
push str._startby
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], 1
push 0x4a60d0
push eax
call fcn.00428614
add esp, 0x10
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call fcn.004280cb
push eax
lea ecx, [ebp - 0x22c]
call fcn.0042341c
mov edi, dword [ebp - 0x21c]
mov esi, 0x4a634c
mov dword [ebp - 0x224], 3
push dword [edi - 0xc]
push edi
push esi
call fcn.00422feb
pop ecx
push eax
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.004280ee
mov esi, dword [ebp - 0x22c]
add esp, 0x14
push ebx
push ebx
push esi
push dword [ebp - 0x220]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
call fcn.0042376a
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.0042376a
push ebx
call fcn.0046f6b2
pop ecx
push edx
push eax
push str.StartTime
lea ecx, [ebp - 0x248]
call fcn.00427cc7
call fcn.00426466
test eax, eax
je 0x427c5e
push str.Update_Start
call fcn.0042658a
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0042376a
lea ecx, [ebp - 0x260]
call fcn.00427cf7
lea ecx, [ebp - 0x248]
call fcn.00427cf7
call fcn.0046aed0
ret
Function at 0x428535
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4c403c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
push edi
test esi, esi
je 0x428601
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.0046d670
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428601
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4285c1
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00472fa5
pop ecx
pop ecx
test eax, eax
je 0x4285c7
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4285a0
jmp 0x4285f6
push dword [ebp - 0x228]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x234]
mov esi, eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x428603
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a342
leave
ret 8

Function at 0x4288d2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4288e4
push 0xd
pop eax
jmp 0x428916
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4288ed
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x4297e8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 4
pop eax
test esi, esi
lea ebx, [esi - 0x348]
cmove ebx, eax
push eax
mov dword [ebp - 0x14], ebx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 8], 0
mov edi, eax
and dword [ebp - 0xc], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10], edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429923
lea eax, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x429887
mov ebx, dword [ebp - 4]
lea edi, [esi + 0x1c]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x42987b
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x429877
xor ebx, ebx
test ebx, ebx
jne 0x429851
mov edi, dword [ebp - 0x10]
lea eax, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x429910
test eax, eax
je 0x429923
cmp dword [esi + 0x20], 0x10
jne 0x4298c3
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebx]
jne 0x4298c3
mov eax, dword [esi + 0x24]
push 1
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x4298e5
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x20]
cmp eax, 0x12
je 0x429923
sub eax, 0xf
je 0x429910
sub eax, 0x91
je 0x429910
sub eax, 0x78
je 0x429910
sub eax, 0xe8
je 0x429910
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [esi + 0x1c]
jne 0x429845
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x429942
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 0
pop edi
pop esi
setne al
pop ebx
leave
ret

Function at 0x42b215
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x6e
je 0x42b224
pop ebp
jmp fcn.00404266
push 1
xor ecx, ecx
push ecx
push ecx
push str.http:__www.7_zip.org_
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, 1
pop ebp
ret 8