joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5df2a0fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5df2a153
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5df2a0fa
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5df2a109
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5e32fdac
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5df2a15a
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5df10fd0
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5df2a1f9
add edi, 4
add eax, 2
dec ecx
jne 0x5df2a13f
call 0x5df2a1a6
loope 0x5df2a19c
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5df2a1f6
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5df2a207
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5df2a1ba
cmp eax, ecx
ja 0x5df2a1ba
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5df2a244
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5df2a23a
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5df114af
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x5df2a109
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5df2a153
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5df2a0fa
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5df2a109
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5e32fdac
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5df2a15a
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5df10fd0
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5df2a1f9
add edi, 4
add eax, 2
dec ecx
jne 0x5df2a13f
call 0x5df2a1a6
loope 0x5df2a19c
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5df2a1f6
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5df2a207
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5df2a1ba
cmp eax, ecx
ja 0x5df2a1ba
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5df2a244
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5df2a23a
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5df114af
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4010fa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
xor edi, edi
inc edi
push edi
mov esi, eax
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4011a5
push 0x38
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00450bc0
add esp, 0xc
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x40
mov dword [ebp - 0x3c], ebx
call fcn.0040cf2d
mov dword [ebp - 0x38], str.runas
test eax, eax
jne 0x40115f
mov dword [ebp - 0x38], str.open
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, dword [ebp - 0xc]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov eax, dword [ebp - 8]
jmp 0x4011a8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402fb7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402fce
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x403003
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x402fff
cmp edi, eax
jae 0x403003
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x402ff1
cmp edi, eax
jb 0x403007
xor eax, eax
jmp 0x403010
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x403430
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, eax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x40344e
xor eax, eax
jmp 0x4034bc
cmp dword [ebp - 0x14], 0x10000
je 0x40344a
push edi
mov edi, dword [ebp - 0x20]
push 0x104
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4034b9
mov eax, dword [edi + 0x3c]
sub esi, dword [ebp - 0x20]
and dword [ebp - 4], 0
add eax, edi
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx eax, word [eax + 6]
xor edx, edx
mov dword [ebp - 8], eax
cmp dx, ax
jae 0x4034b9
mov edx, dword [ecx + 0x10]
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
cmp edx, edi
ja 0x40349f
mov edx, edi
cmp esi, eax
jb 0x4034a9
add edx, eax
cmp esi, edx
jbe 0x4034bf
inc dword [ebp - 4]
mov ax, word [ebp - 4]
add ecx, 0x28
cmp ax, word [ebp - 8]
jb 0x403490
xor eax, eax
pop edi
pop esi
leave
ret
sub esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
xor eax, eax
mov byte [ebx + 8], 0
inc eax
jmp 0x4034bb
Function at 0x405db5
Capabilities:
Create process on windows

Disassembly:
push 0x38
mov eax, 0x46f603
call fcn.00450b66
mov esi, ecx
lea eax, [esi + 0x2c4]
push eax
lea eax, [ebp - 0x38]
lea ecx, [esi + 0x2b0]
push eax
call fcn.004038c1
mov ebx, 0x47cf18
lea ecx, [ebp - 0x34]
push ebx
push ecx
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00403912
lea ecx, [esi + 0x2b4]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004038c1
lea ecx, [ebp - 0x40]
push ebx
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00403912
lea ecx, [esi + 0x2a0]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004038c1
add esp, 0x28
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00401464
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00401464
cmp dword [esi + 0x2f0], edi
jle 0x405eba
lea eax, [esi + 0x2f4]
cmp dword [eax + 0x18], 8
jb 0x405e77
mov eax, dword [eax + 4]
jmp 0x405e7a
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
push ecx
call fcn.004019b7
lea ebx, [ebp - 0x2c]
call fcn.00408882
pop ecx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], edi
je 0x405eaf
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x405ea5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401a3d
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401fd6
push 1
push edi
push edi
push dword [ebp - 0x30]
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
mov esi, eax
call fcn.0044fba3
mov dword [0x48ce70], eax
mov eax, dword [ebp - 0x30]
pop ecx
add eax, 0xfffffff0
mov dword [0x48ce74], edx
mov dword [0x48ce78], esi
call fcn.00401464
xor eax, eax
cmp esi, 0x20
setg al
call fcn.00450bb0
ret
Function at 0x405efc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470c79
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2011c
call fcn.00453c80
mov eax, dword [0x489c20]
xor eax, esp
mov dword [esp + 0x20118], eax
push ebx
push esi
push edi
mov eax, dword [0x489c20]
xor eax, esp
push eax
lea eax, [esp + 0x20130]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2d4]
mov ecx, dword [eax - 0xc]
xor ebx, ebx
cmp ecx, ebx
je 0x40600c
xor edi, edi
cmp byte [ebp + 8], bl
jne 0x405f79
push 1
push ebx
push ebx
push eax
push 0x47cf1c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x20
jg 0x405ff1
cmp edi, ebx
jl 0x405ff1
lea eax, [esp + 0x34]
call fcn.00412c7c
mov dword [esp + 0x20138], ebx
push dword [esi + 0x2d4]
lea ecx, [esp + 0x1c]
call fcn.00406a3c
mov esi, 0x10000
push esi
lea eax, [esp + 0x128]
push ebx
push eax
mov byte [esp + 0x20144], 1
call fcn.00450bc0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x128]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], esi
call fcn.00412d16
test eax, eax
jne 0x405fdc
push 0x2a
pop edi
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00401fd6
lea esi, [esp + 0x34]
call fcn.00412cc1
push ebx
call fcn.0044fba3
mov dword [0x48ce80], eax
xor eax, eax
cmp edi, 0x20
mov dword [0x48ce88], edi
setg al
jmp 0x406020
push ebx
call fcn.0044fba3
or dword [0x48ce88], 0xffffffff
mov dword [0x48ce80], eax
xor eax, eax
mov dword [0x48ce84], edx
pop ecx
mov ecx, dword [esp + 0x20130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20118]
xor ecx, esp
call fcn.0044eff8
mov esp, ebp
pop ebp
ret 4

Function at 0x40640d
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x46f5b8
call fcn.00450afd
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x3bc]
call fcn.00403eb6
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x40643a
mov eax, dword [eax + 4]
jmp 0x40643d
add eax, 4
push eax
lea eax, [ebp + 8]
lea ecx, [esi + 0x2dc]
push eax
call fcn.00403912
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401fd6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401464
call fcn.00450b9c
ret 4
Function at 0x40792a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, 1
jne 0x40799c
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
dec eax
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.0044eff8
leave
ret
Function at 0x407df4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1ac]
push esi
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1b0]
xor edi, edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 0x64
xor esi, esi
call fcn.0040c8f8
test eax, eax
je 0x407e3f
mov esi, 0x200
xor eax, eax
push 0x206
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push edi
push eax
call fcn.00450bc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
or esi, 0xf003f
push esi
push edi
push edi
push edi
push str.SoftwareWafCX_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x407f46
push ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
mov ebx, 0x47cfd0
push ebx
push dword [ebp - 0x74]
mov dword [ebp - 0x6c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x407ed3
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], 1
call esi
add eax, eax
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push 0
push ebx
push dword [ebp - 0x74]
call edi
mov eax, dword [ebp - 0x78]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x407ed9
sub eax, edx
sar eax, 1
xor ebx, ebx
cmp eax, ebx
jle 0x407f45
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push dword [ebp - 0x78]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x407f27
lea eax, [ebp - 0x68]
push eax
call esi
test eax, eax
je 0x407f45
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x407f45
jmp 0x407f2e
mov dword [ebp - 0x6c], 1
push dword [ebp - 0x70]
call esi
add eax, eax
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push ebx
push dword [ebp - 0x78]
push dword [ebp - 0x74]
call edi
pop ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1a0]
pop edi
xor ecx, ebp
pop esi
call fcn.0044eff8
add ebp, 0x1a4
leave
ret
Function at 0x407f66
Capabilities:
Query environment variable

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x46e897
call fcn.00450afd
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], ebx
call fcn.00401236
xor eax, eax
mov dword [ebp - 4], ebx
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push ebx
inc edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.00450bc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
push str.PROCESSOR_ARCHITEW6432
call ebx
test eax, eax
push esi
lea eax, [ebp]
push eax
jbe 0x407fe1
push str.ProgramFiles_x86_
jmp 0x407fe6
push str.ProgramFiles
call ebx
test eax, eax
jbe 0x408069
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x407ff2
sub eax, edx
push 0x5c
sar eax, 1
pop ecx
cmp cx, word [ebp + eax*2 - 2]
jne 0x408025
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x408010
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 2], cx
push 0x47cf18
lea eax, [ebp - 0x18]
push eax
call fcn.004019b7
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00408b9b
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x10]
call fcn.004019fc
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401464
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044eff8
add ebp, 0x20c
leave
ret
Function at 0x40808f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x13b0]
mov eax, 0x1430
call fcn.00453c80
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp + 0x13ac], eax
push ebx
push esi
push edi
push 0xa
pop ecx
mov esi, str.SoftwareWondershare
lea edi, [ebp + 0x7a4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x7d6
xor esi, esi
lea eax, [ebp + 0x7ce]
push esi
push eax
call fcn.00450bc0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
push 9
push esi
lea eax, [ebp + 0x7a4]
push eax
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call edi
test eax, eax
je 0x408101
xor eax, eax
jmp 0x408254
xor eax, eax
push 0x206
mov word [ebp + 0x11a4], ax
lea eax, [ebp + 0x11a6]
push esi
push eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x6c], esi
call fcn.00450bc0
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x11a4]
push eax
push esi
jmp 0x40822b
lea eax, [ebp + 0x11a4]
push eax
lea eax, [ebp + 0x7a4]
push eax
lea eax, [ebp - 0x5c]
push str._ls_ls
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push 9
push esi
lea eax, [ebp - 0x5c]
push eax
push ebx
call edi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push 0x47d0ac
push dword [ebp - 0x7c]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x74], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4081af
cmp dword [ebp - 0x60], 4
jne 0x4081af
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp + 0x13b8]
jne 0x4081af
mov dword [ebp - 0x74], 1
xor eax, eax
push 0x1fc
mov word [ebp + 0xfa4], ax
lea eax, [ebp + 0xfa6]
push esi
push eax
call fcn.00450bc0
add esp, 0xc
mov dword [ebp - 0x68], 0x1fe
mov dword [ebp - 0x60], esi
cmp dword [ebp - 0x74], esi
je 0x40820d
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xfa4]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push str.InstallInfo
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40820d
inc eax
cmp dword [ebp - 0x60], eax
jne 0x40820d
cmp word [ebp + 0xfa4], si
jne 0x408245
push esi
push esi
xor eax, eax
inc dword [ebp - 0x6c]
push esi
mov word [ebp + 0x11a4], ax
push esi
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x11a4]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x64]
mov dword [ebp - 0x70], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40813a
jmp 0x408248
mov dword [ebp - 0x78], eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp + 0x13ac]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044eff8
add ebp, 0x13b0
leave
ret
Function at 0x40826c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
call fcn.0040c8f8
test eax, eax
je 0x408290
mov esi, 0x200
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push str.SoftwareWondershare_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
or esi, 3
push esi
push 0
lea eax, [ebp - 0x804]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
je 0x4082d0
xor eax, eax
jmp 0x4082f0
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push str.JoinUserExperience
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044eff8
leave
ret

Function at 0x4082fc
Capabilities:
Set registry value

Disassembly:
push 0x808
mov eax, 0x46e29c
call fcn.00450b66
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
lea esi, [ebp + 8]
call fcn.00401255
push eax
lea eax, [ebp - 0x810]
push str.SoftwareWondershare_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add esp, 0xc
call fcn.00406a1e
lea eax, [ebp - 0x814]
push eax
push 3
push edi
lea eax, [ebp - 0x810]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408372
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401464
xor eax, eax
call fcn.00450bb0
ret
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push str.startup
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40839f
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401464
mov eax, edi
jmp 0x40836c
xor edi, edi
inc edi
jmp 0x408390
Function at 0x4083a4
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x1e4]
sub esp, 0x264
mov eax, dword [0x489c20]
xor eax, ebp
mov dword [ebp + 0x1e0], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
xor esi, esi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x26]
push esi
push eax
xor ebx, ebx
call fcn.00450bc0
mov eax, dword [ebp + 0x1ec]
lea ecx, [ebp - 0x28]
add esp, 0xc
sub ecx, eax
movzx edx, word [eax]
mov word [ecx + eax], dx
inc eax
inc eax
cmp dx, si
jne 0x4083e9
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.00450bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
mov dword [ebp - 0x80], edi
push 0x8000000
xor edi, edi
inc edi
push edi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
push esi
mov dword [ebp - 0x54], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408497
push 0x4e20
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408461
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or dword [ebp - 0x2c], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40847d
cmp dword [ebp - 0x2c], esi
jne 0x40847d
mov ebx, edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x38], esi
je 0x40848d
push dword [ebp - 0x38]
call edi
cmp dword [ebp - 0x3c], esi
je 0x408497
push dword [ebp - 0x3c]
call edi
mov eax, dword [ebp + 0x1ec]
add eax, 0xfffffff0
call fcn.00401464
mov ecx, dword [ebp + 0x1e0]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0044eff8
add ebp, 0x1e4
leave
ret