joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a682b60
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push ecx
sub esp, 0x14
mov edx, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 4]
sub esp, 0xc
leave
lea esp, [ecx - 4]
ret 4

Function at 0x6a682bb0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 8]
test byte [0x6a685018], 8
jne 0x6a682c10
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 1
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._d__p__ld_n
mov dword [esp + 8], str.WTSFreeMemoryExA
mov dword [esp + 4], 0x6a685018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6a682bd3

Function at 0x6a682c50
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx + 8]
test byte [0x6a685018], 8
jne 0x6a682cb0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 1
sub esp, 0xc
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._d__p__ld_n
mov dword [esp + 8], str.WTSFreeMemoryExW
mov dword [esp + 4], 0x6a685018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6a682c73
Function at 0x6a683fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6a683ffb
cmp byte [esi + ebx - 1], 0xa
je 0x6a683fcf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6a6890a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x431004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x10002e9f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
pop ebp
ret 4

Function at 0x10002f4b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002f71
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10002f71
xor al, al
jmp 0x10002f85
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x10003166
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1002d034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.1000196a
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.1000a7eb
leave
ret 4

Function at 0x1000396c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x84
mov eax, 0x10022418
call fcn.1000a8df
mov edi, ecx
call fcn.1000394d
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.100017e0
lea eax, [ebp - 0x24]
xor esi, esi
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], esi
push eax
call fcn.10003a51
push 0x20
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.10001638
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10001a3a
push dword [ebp - 0x18]
call fcn.1000a8a3
push dword [ebp - 0x4c]
call fcn.1000a8a3
push dword [ebp - 0x24]
call fcn.1000a8a3
add esp, 0xc
mov dword [ebp - 0x90], 0x44
xor eax, eax
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x5e], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x88], esi
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x84], esi
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x64], esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x30]
mov dword [ebp - 0x5c], esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10003a30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10003a3e
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
push dword [ebp - 0x30]
call fcn.1000a8a3
pop ecx
mov eax, esi
call fcn.1000a8a8
ret 0xc
Function at 0x10005ae8
Capabilities:
Identify system language via api

Disassembly:
push 0x24
mov eax, 0x10022866
call fcn.1000a8df
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
cmp si, cx
jne 0x10005bba
mov eax, ecx
xor ebx, ebx
shr cx, 0xa
and eax, 0x3ff
movzx esi, cx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
push ecx
push eax
call fcn.10005961
lea eax, [ebp - 0x30]
push eax
call fcn.10005a2e
mov edi, ebx
mov byte [ebp - 4], 1
mov ebx, esi
xor eax, eax
test edi, edi
cmove eax, ebx
cmp eax, dword [ebp - 0x14]
jae 0x10005ba3
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 4], 0
je 0x10005ba3
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001742
push dword [esi]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.10001b15
push str..txt
lea ecx, [ebp - 0x24]
call fcn.10001b15
push dword [ebp - 0x24]
push 0x1002dc84
call fcn.10005a69
test al, al
jne 0x10005bc0
push dword [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.1000a8a3
pop ecx
inc edi
cmp edi, 2
jb 0x10005b46
push dword [ebp - 0x30]
call fcn.1000a8a3
pop ecx
lea ecx, [ebp - 0x18]
call fcn.100025b4
call fcn.1000a8a8
ret
push dword [esi]
mov ecx, 0x1002dc78
call fcn.100018f1
push dword [ebp - 0x24]
call fcn.1000a8a3
push dword [ebp - 0x30]
call fcn.1000a8a3
pop ecx
jmp 0x10005bb1
Function at 0x10006063
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x1002296b
call fcn.1000a8df
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi], vtable.CZipContextMenu.0
mov dword [esi + 4], vtable.CZipContextMenu.1.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.10001816
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
push 0x1002e624
mov byte [ebp - 4], 2
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 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10006113
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 0x1000614b
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push 0x30
addsd xmm0, qword [eax*8 + 0x10023da0]
pop eax
divsd xmm0, qword [0x10023d90]
mulsd xmm0, qword [0x10023d88]
cvttsd2si edi, xmm0
cmp edi, eax
cmovg edi, eax
push ebx
push edi
push edi
push 1
push 0xbf
push dword [0x1002e618]
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, esi
mov dword [esi + 0x3c], eax
call fcn.1000923a
mov eax, esi
call fcn.1000a8a8
ret

Function at 0x1000693d
Capabilities:
Check if file exists
Create directory

Disassembly:
push 8
mov eax, 0x10022a15
call fcn.1000a8df
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.10005ec9
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100069d3
push eax
jmp 0x100069c2
call fcn.1000727b
push eax
lea ecx, [ebp - 0x10]
call fcn.10005e3f
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.100080e9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.100062f0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10009039
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100069b5
push esi
call fcn.100133a1
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.10009039
push edi
push 0x5c
lea ecx, [ebp + 8]
call fcn.10006aae
mov edi, eax
cmp edi, 0xffffffff
jne 0x10006968
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10009039
call fcn.1000a8a8
ret 4
Function at 0x10007642
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1002d034]
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 0x1000770b
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.1000cec0
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000770b
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
jmp 0x100076cb
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.10010152
pop ecx
pop ecx
test eax, eax
je 0x100076d1
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100076ab
jmp 0x10007700
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 0x1000770d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a7eb
leave
ret 8

Function at 0x1000771e
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x10022aeb
call fcn.1000a8df
call fcn.1000727b
push eax
lea ecx, [ebp - 0x10]
call fcn.10005e3f
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.10008584
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000908c
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x10007783
mov ecx, dword [ebp + 8]
push 0x1002331c
call fcn.10005ec9
lea ecx, [esi - 0x10]
call fcn.10009039
mov eax, dword [ebp + 8]
jmp 0x100077e9
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10006eb8
cmp ax, 0x5c
je 0x100077a9
mov esi, 0x1002394c
push esi
call fcn.1000fd4a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.100065b2
mov esi, str.VZip_
push esi
call fcn.1000fd4a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.100065b2
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x100077ce
push esi
call fcn.1000693d
lea edi, [esi - 0x10]
push edi
call fcn.100067ac
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, edi
mov dword [esi], eax
call fcn.10009039
mov eax, esi
call fcn.1000a8a8
ret 8
Function at 0x1000923a
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x248
mov eax, 0x10022db4
call fcn.1000a913
xor edi, edi
lea ecx, [ebp - 0x23c]
push edi
push str.VZipExtern
call fcn.10005dcf
mov dword [ebp - method.CCfgOPBaseT_int_.virtual_0], 0x10023bb4
push edi
push str.VZip
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], edi
call fcn.10005dcf
mov dword [ebp - method.CCfgOPBaseT_int_.virtual_0], 0x10023a54
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.1000cec0
add esp, 0xc
call fcn.10007e1c
test eax, eax
je 0x100092b1
push str.CZipContextMenu_Start
call fcn.10008197
pop ecx
lea ecx, [ebp - 0x254]
call fcn.1000809a
test eax, eax
jne 0x10009403
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.explorer.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x10009307
push str.VZip.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x10009403
lea ecx, [ebp - 0x23c]
call fcn.100074cb
push 1
push edx
push eax
call fcn.10007f43
test eax, eax
je 0x10009346
call fcn.10007e1c
lea ecx, [ebp - 0x23c]
test eax, eax
je 0x1000941f
call fcn.100074cb
push edx
push eax
call fcn.1000803c
test eax, eax
jne 0x10009403
push 1
push 2
lea eax, [ebp - 0x21c]
push eax
call fcn.10007308
push dword [ebp - 0x21c]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100093f5
push 4
lea eax, [ebp - 0x224]
push eax
call fcn.100090e3
push eax
push str._auto
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 3
push eax
call fcn.100063f8
push edi
push edi
push dword [eax]
push dword [ebp - 0x21c]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.10009039
mov ecx, dword [ebp - 0x224]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.10009039
push edi
call fcn.1001378f
pop ecx
push edx
push eax
push str.StartTime
lea ecx, [ebp - 0x23c]
call fcn.10009133
call fcn.10007e1c
test eax, eax
je 0x100093f5
push str.Update_Start
call fcn.10008197
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.10009039
lea ecx, [ebp - 0x254]
call fcn.10006173
lea ecx, [ebp - 0x23c]
call fcn.10006173
call fcn.1000a8bd
ret
push 0x1e
call fcn.100074cb
push edx
push eax
call fcn.10007fb8
jmp 0x1000933e
Function at 0x100096d8
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x1002d034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
push 0x10023db0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x10]
push str.ntdll.dll
mov dword [ebp - 0x130], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x24
mov edi, eax
xor ebx, ebx
lea eax, [ebp - 0x154]
push ebx
push eax
call fcn.1000cec0
push 0x11c
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.1000cec0
add esp, 0x18
mov dword [ebp - 0x120], 0x11c
test edi, edi
je 0x10009766
lea eax, [ebp - 0x120]
push eax
call edi
test eax, eax
jns 0x1000977b
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10009908
test esi, esi
je 0x10009794
push 0x11c
lea eax, [ebp - 0x120]
push eax
push esi
call fcn.1000bad0
add esp, 0xc
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx esi, word [ebp - 0xc]
xor ecx, ecx
cmp dword [ebp - 0x13c], 0x21d8
push 2
sete cl
pop edx
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x110], edx
jne 0x100098ae
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x100097f1
cmp dword [ebp - 0x118], ebx
jne 0x100098e1
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0x11
jmp 0x100098e1
cmp eax, 6
jne 0x10009855
mov eax, dword [ebp - 0x118]
cmp eax, 3
jne 0x10009812
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xf
jmp 0x100098e1
cmp eax, edx
jne 0x10009827
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 0xd
jmp 0x100098e1
cmp eax, 1
jne 0x1000983c
xor ebx, ebx
cmp byte [ebp - 6], al
setne bl
add ebx, 0xb
jmp 0x100098e1
test eax, eax
jne 0x100098e1
xor ebx, ebx
cmp byte [ebp - 6], 1
setne bl
add ebx, 9
jmp 0x100098e1
cmp eax, 5
jne 0x100098a4
mov eax, dword [ebp - 0x118]
cmp eax, edx
jne 0x10009893
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x10009874
push 8
jmp 0x1000988a
cmp byte [ebp - 6], 1
jne 0x10009888
cmp word [ebp - 0x154], 9
jne 0x10009888
push 6
jmp 0x1000988a
push 7
mov ecx, dword [ebp - 0x124]
pop ebx
jmp 0x100098e1
cmp eax, 1
jne 0x1000989c
push 6
jmp 0x100098ab
test eax, eax
jne 0x100098e1
push 5
jmp 0x100098ab
cmp eax, 4
ja 0x100098e1
push 4
pop ebx
jmp 0x100098e1
cmp dword [ebp - 0x110], 1
jne 0x100098e1
cmp dword [ebp - 0x11c], 4
jne 0x100098e1
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x100098cf
xor ebx, ebx
inc ebx
jmp 0x100098e1
cmp eax, 0xa
jne 0x100098d8
mov ebx, edx
jmp 0x100098e1
push 3
cmp eax, 0x5a
pop edx
cmove ebx, edx
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x100098ed
mov dword [eax], ebx
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x100098f9
mov dword [eax], esi
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x10009905
mov dword [eax], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a7eb
leave
ret 0x10
Function at 0x10009d0b
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x10022ead
call fcn.1000a8df
push str.CLSID_
lea ecx, [ebp - 0x1c]
call fcn.10001796
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov ebx, 0x10023e10
push ebx
call fcn.10001b64
push 0x10023fa8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10001a5c
mov edi, 0x80000000
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x28]
call fcn.1000a8a3
pop ecx
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call fcn.1000993d
test al, al
je 0x10009da1
lea eax, [ebp - 0x10]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009da1
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x1c]
call fcn.1000a8a3
xor eax, eax
pop ecx
inc eax
call fcn.1000a8a8
ret

Function at 0x10009f42
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10009f68
mov eax, dword [ebp + 8]
push 2
mov dword [0x1002e618], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x10009db3
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
jmp 0x10009fdb
cmp dword [ebp + 0xc], 0
jne 0x10009fdb
cmp dword [0x1002e620], 0
je 0x10009fdb
call fcn.10007e1c
test eax, eax
je 0x10009f8b
push str.Close_Thread
call fcn.1000998b
pop ecx
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push dword [0x1002e620]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x10009fc8
cmp dword [ebp + 0xc], 0x103
jne 0x10009fc8
push 0
push dword [0x1002e620]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0xffffffffffffffff
push dword [0x1002e620]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x1002e620]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x1002e620], 0
xor eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x10019a75
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10019735