joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10031b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x48]
push esi
movups xmmword [ebp - 0x48], xmm0
mov esi, dword [ebp + 0x8c]
movups xmm0, xmmword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x40], esi
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp + 0x38]
movups xmmword [ebp - 0x18], xmm0
movups xmm0, xmmword [ebp + 0x4c]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebp + 0x5c]
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp + 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp + 0x7c]
movups xmmword [ebp - 0x5c], xmm0
test esi, esi
jle 0x10031c94
cmp esi, 0x40
jb 0x10031c7d
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x10031bb7
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x10031c7d
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x10031bd0
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x10031c7d
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x10031be0
dec ecx
or ecx, 0xffffffc0
inc ecx
mov ebx, esi
lea edx, [edi + 0x20]
sub ebx, ecx
mov dword [ebp - 0x98], edx
mov esi, edi
lea ecx, [ebp - 0x38]
sub esi, ecx
sub ecx, edi
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x7c]
sub ecx, edi
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x48]
lea ecx, [ebp - 0x38]
add edx, eax
movups xmm1, xmmword [ebp + eax - 0x8c]
add ecx, eax
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi + ecx], xmm1
mov ecx, dword [ebp - 0x94]
movups xmm1, xmmword [ebp + eax - 0x7c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x6c]
movups xmmword [edx - 0x10], xmm1
movups xmm1, xmmword [ebp + eax - 0x28]
add eax, 0x40
pxor xmm1, xmm0
movups xmm0, xmmword [edi + edx]
movups xmmword [edx], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
mov edx, dword [ebp - 0x98]
cmp eax, ebx
jl 0x10031c10
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x10031c94
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x10031c81
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100acb08
mov esp, ebp
pop ebp
ret
Function at 0x10035df0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x10035e06
mov eax, 1
pop edi
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10035ec4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10035ec4
push esi
call fcn.100a6880
add esp, 4
test eax, eax
je 0x10035ec4
cmp dword [edi + 0xc], 0
jne 0x10035e97
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0xc], eax
test eax, eax
je 0x10035ebb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi + 0xc]
mov dword [edi + 0x10], eax
call esi
push str.zlib_uncompress
push dword [edi + 0xc]
mov dword [edi + 0x14], eax
call esi
push str.zlib_compress
push dword [edi + 0xc]
mov dword [edi + 0x1c], eax
call esi
push str.zlib_compressBound
push dword [edi + 0xc]
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10035e97
call eax
mov dword [edi + 0x18], eax
cmp dword [edi + 0x14], 0
je 0x10035ebb
cmp dword [edi + 0x10], 0
je 0x10035ebb
cmp dword [edi + 0x18], 0
je 0x10035ebb
pop esi
mov dword [edi + 4], 1
mov eax, 1
pop edi
pop ebp
ret 4
mov eax, dword [edi + 4]
pop esi
pop edi
pop ebp
ret 4
pop esi
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x10037330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10037383
push edi
push ebx
call fcn.1002ab60
mov edi, dword [ebp + 0xc]
push edi
push ebx
push str.call_exe_begin__path__s__cmd__s_
call fcn.1004d370
add esp, 0xc
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push ebx
call fcn.1002ad60
push dword [ebp + 0x14]
push edi
push ebx
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.1004d370
add esp, 0x14
pop edi
pop ebx
pop ebp
ret

Function at 0x10038b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c2f2
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x240], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 0
call fcn.10112750
add esp, 0xc
mov dword [ebp - 0x238], 1
mov dword [ebp - 0x234], 0x208
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10038cb9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 1
je 0x10038bda
push 1
jmp 0x10038bdc
push 2
push eax
call fcn.10038cd0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x10038bed
mov eax, dword [eax]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x238]
push ecx
push str.VendorID
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x230]
call fcn.100109e0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038c27
sub ecx, edx
sar ecx, 1
je 0x10038c9d
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.1000d900
mov ecx, esi
call fcn.1003cc20
mov ecx, esi
call fcn.1003cb20
mov eax, dword [esi]
mov ecx, 0x10188c38
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10038c86
test dx, dx
je 0x10038c82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10038c86
add eax, 4
add ecx, 4
test dx, dx
jne 0x10038c60
xor eax, eax
jmp 0x10038c8b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10038c9d
push 7
push 0x10186308
mov ecx, esi
call fcn.1000d900
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000ae00
int3
Function at 0x1003b060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003b0d1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1003b09f
cmp eax, 2
jne 0x1003b0bb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1003b0cb
test ecx, ecx
je 0x1003b0c6
test cl, 1
jne 0x1003b0bb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1003b0cb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1003b180
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c6f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1003b2cc
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x1003b2cc
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1003b2cc
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x1003b320
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push edi
push 0x800
push 0x800
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.10037b30
push eax
push dword [ebp + 0x18]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [esi - 8]
push esi
call fcn.1013e920
add esp, 8
test eax, eax
js 0x1003b32a
cmp eax, dword [esi - 8]
jg 0x1003b32a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x10]
cmp eax, 0x7ff
je 0x1003b244
cmp eax, 0x7fe
jne 0x1003b28e
push edi
push 0x1000
push 0x1000
lea ecx, [ebp + 0xc]
call fcn.10037b30
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0xc]
push dword [esi - 8]
push esi
call fcn.1013e920
add esp, 8
test eax, eax
js 0x1003b32a
cmp eax, dword [esi - 8]
jg 0x1003b32a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.10010870
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003b2b8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov edx, 0x10186a64
mov esi, dword [ebp + 8]
test eax, eax
cmovne edx, eax
xor eax, eax
mov ecx, edx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b2f4
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10012940
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000ae00
push 0x80070057
call fcn.1000ae00
int3
Function at 0x1003bdb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2858
call fcn.100acf60
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0x800
push 0
push eax
call fcn.10112750
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x1003be64
test esi, esi
je 0x1003be99
push 0x1000
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.10112750
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x1003be4d
push 0x800
lea eax, [ebp - 0x1804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp - 0x1804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea esi, [ebp - 0x1804]
push 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.1014134a
add esp, 0xc
jmp 0x1003be80
lea ecx, [ebp - 0x804]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x1003be70
cmp dword [ebp + 0x20], 0
je 0x1003beac
lea eax, [ebp - 0x804]
push eax
call fcn.100a6880
add esp, 4
test eax, eax
jne 0x1003beac
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x2858], 0x44
lea eax, [ebp - 0x2858]
movlpd qword [ebp - 0x2854], xmm0
push eax
movlpd qword [ebp - 0x284c], xmm0
movlpd qword [ebp - 0x2844], xmm0
movlpd qword [ebp - 0x283c], xmm0
movlpd qword [ebp - 0x2834], xmm0
movlpd qword [ebp - 0x282c], xmm0
movlpd qword [ebp - 0x2824], xmm0
movlpd qword [ebp - 0x281c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x14]
xorps xmm0, xmm0
push 0x1000
mov word [ebp - 0x2828], ax
lea eax, [ebp - 0x2804]
push 0
push eax
mov dword [ebp - 0x282c], 1
movups xmmword [ebp - 0x2814], xmm0
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x1003bf5d
push edi
push eax
lea eax, [ebp - 0x2804]
push 0x10189094
push eax
call fcn.100368d0
add esp, 0x10
jmp 0x1003bf72
push eax
lea eax, [ebp - 0x2804]
push 0x101890a4
push eax
call fcn.100368d0
add esp, 0xc
lea eax, [ebp - 0x2814]
push eax
lea eax, [ebp - 0x2858]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x1003bfe0
cmp dword [ebp + 0x18], 0
je 0x1003bfb6
push dword [ebp + 0x1c]
push dword [ebp - 0x2814]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x1003bfca
push eax
push dword [ebp - 0x2814]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x2810]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2814]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100acb08
mov esp, ebp
pop ebp
ret
Function at 0x1003c1c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c7e8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101d7c7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1003c23b
test al, 0x10
je 0x1003c23b
push esi
mov edi, 1
call fcn.1000f6f0
add esp, 4
test eax, eax
jne 0x1003c25e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1003c25e
push esi
test edi, edi
jne 0x1003c256
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1003c25e
push esi
push str.DeleteFile:_s_suceesss
call fcn.1004d370
add esp, 8
jmp 0x1003c25e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1003c20c
push esi
push str.DeleteFile:_s_suceesss
call fcn.1004d370
add esp, 8
jmp 0x1003c25e
call fcn.1000f6f0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003c2df
push esi
lea ecx, [ebp - 0x10]
call fcn.1000e0d0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x1003c29e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.1000c650
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x1003c2aa
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.10036620
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003c2cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100428e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax]
lea ecx, [ebx + 4]
push edi
mov edi, dword [ecx]
sub edi, 0x10
mov dword [ebp - 4], eax
lea esi, [eax - 0x10]
cmp esi, edi
je 0x10042987
cmp dword [edi + 0xc], 0
jl 0x1004297e
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x1004297e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x1004292b
cmp ecx, dword [esi]
jne 0x1004292b
lock inc dword [eax]
jmp 0x1004295f
mov eax, dword [ecx]
lea edx, [esi + 4]
push 2
push dword [edx]
mov dword [ebp + 8], edx
call dword [eax]
mov esi, eax
test esi, esi
je 0x100429d6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov eax, dword [ecx]
inc eax
push eax
push dword [ebp - 4]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.1000c6b0
add esp, 0x10
or eax, 0xffffffff
lea ecx, [edi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10042976
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x10]
mov dword [ebx + 4], eax
jmp 0x10042987
push dword [eax - 0xc]
push eax
call fcn.1000d900
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x100429cd
push str.GlobalLDS_59C080E0_894C_487c_B874_5B6EBFDB2A15
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 2
push 0
push 0
push 0x10043490
push 0
push SysReAllocString
push 1
mov dword [ebx + 8], eax
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [ebx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.1000b490
int3
Function at 0x100429f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d27b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], edi
call fcn.10112750
add esp, 0xc
cmp dword [0x101d61c0], 0
je 0x10042b2e
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x10186230
push 0x10184f10
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x10042b1e
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x24c]
push ecx
movups xmmword [ebp - 0x24c], xmm0
movups xmmword [ebp - 0x23c], xmm0
call eax
mov ax, word [ebp - 0x24c]
cmp ax, 9
je 0x10042b14
cmp ax, 6
je 0x10042b14
cmp ax, 0xc
je 0x10042b14
push str.IsWow64Process2
push 0x10187784
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x10042b0b
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x10042b0b
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x220], cx
sete al
mov dword [0x101de488], eax
jmp 0x10042b1e
xor eax, eax
mov dword [0x101de488], eax
jmp 0x10042b1e
mov dword [0x101de488], 1
mov edi, dword [ebp - 0x21c]
mov dword [0x101d61c0], 0
cmp dword [0x101de488], 0
mov ecx, str.ComputerZ7.dll
mov eax, str.ComputerZ7_x64.dll
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x228]
push dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10042c14
call fcn.1000cdc0
mov ecx, eax
test ecx, ecx
je 0x10042c31
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, str._u__s___s_
test edi, edi
mov eax, str.__s___s
cmove eax, ecx
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1000b130
mov esi, dword [ebp - 0x21c]
push 0
push 0
push 0x1388
push 1
push 0
push esi
push str.regsvr32.exe
push 0
call fcn.10042c40
add esp, 0x2c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._tid:_d__CDeskBandInstallHelper::RegisterBand_bRegister:_d_Param:_s
call fcn.1004d370
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10042c0f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000ae00
int3
Function at 0x10042ce0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2858
call fcn.100acf60
mov eax, dword [0x101d7c7c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0x800
push 0
push eax
call fcn.10112750
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x10042d94
test esi, esi
je 0x10042dc9
push 0x1000
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.10112750
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x10042d7d
push 0x800
lea eax, [ebp - 0x1804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
lea eax, [ebp - 0x1804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea esi, [ebp - 0x1804]
push 0x400
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.1014134a
add esp, 0xc
jmp 0x10042db0
lea ecx, [ebp - 0x804]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x10042da0
cmp dword [ebp + 0x20], 0
je 0x10042ddc
lea eax, [ebp - 0x804]
push eax
call fcn.100a6880
add esp, 4
test eax, eax
jne 0x10042ddc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100acb08
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x2858], 0x44
lea eax, [ebp - 0x2858]
movlpd qword [ebp - 0x2854], xmm0
push eax
movlpd qword [ebp - 0x284c], xmm0
movlpd qword [ebp - 0x2844], xmm0
movlpd qword [ebp - 0x283c], xmm0
movlpd qword [ebp - 0x2834], xmm0
movlpd qword [ebp - 0x282c], xmm0
movlpd qword [ebp - 0x2824], xmm0
movlpd qword [ebp - 0x281c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ax, word [ebp + 0x14]
xorps xmm0, xmm0
push 0x1000
mov word [ebp - 0x2828], ax
lea eax, [ebp - 0x2804]
push 0
push eax
mov dword [ebp - 0x282c], 1
movups xmmword [ebp - 0x2814], xmm0
call fcn.10112750
add esp, 0xc
lea eax, [ebp - 0x804]
test edi, edi
je 0x10042e8d
push edi
push eax
lea eax, [ebp - 0x2804]
push 0x10189094
push eax
call fcn.100368d0
add esp, 0x10
jmp 0x10042ea2
push eax
lea eax, [ebp - 0x2804]
push 0x101890a4
push eax
call fcn.100368d0
add esp, 0xc
lea eax, [ebp - 0x2814]
push eax
lea eax, [ebp - 0x2858]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x10042efc
cmp dword [ebp + 0x18], 0
je 0x10042ee6
push dword [ebp + 0x1c]
push dword [ebp - 0x2814]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x2810]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2814]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100acb08
mov esp, ebp
pop ebp
ret