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

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x1008f414]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x28
mov eax, 0x1006b139
call fcn.10050c7c
mov eax, dword [ebp + 0x110]
mov ecx, dword [ebp + 0x118]
lea esi, [ebp + 0x11c]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x114]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jne 0x10028077
mov dword [ebp - 0x10], 0x80004003
jmp 0x100281aa
cmp ecx, esi
je 0x1002806b
push 0x100a41f4
lea ecx, [ebp - 0x18]
call fcn.10011c44
mov dword [ebp - 4], esi
call dword [0x1008f3d4]
cmp word [ebp - 0x34], 8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x1c], eax
mov ebx, 0x3fffffff
jne 0x100280d4
cmp dword [ebp - 0x2c], esi
je 0x100280b5
push dword [ebp - 0x2c]
call edi
inc eax
cmp eax, ebx
jle 0x100280b9
xor eax, eax
jmp 0x100280fd
lea esi, [eax + eax]
mov eax, esi
call fcn.10051ab0
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x2c]
push eax
call fcn.1000974d
jmp 0x100280fd
cmp word [ebp - 0x34], 1
jne 0x1002818e
lea eax, [ebp]
push 0x104
push eax
call fcn.10024ef7
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jl 0x10028195
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.100069c2
push dword [ebp - 0x14]
call edi
inc eax
cmp eax, ebx
jle 0x10028116
and dword [ebp - 0x14], 0
jmp 0x10028132
lea esi, [eax + eax]
mov eax, esi
call fcn.10051ab0
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x14]
push eax
call fcn.1000974d
mov dword [ebp - 0x14], eax
push dword [ebp - 0x20]
call edi
inc eax
cmp eax, ebx
jle 0x10028140
xor eax, eax
jmp 0x10028159
lea esi, [eax + eax]
mov eax, esi
call fcn.10051ab0
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push eax
call fcn.1000974d
mov esi, dword [ebp - 0x18]
push 1
push esi
push dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24]
push str.open
push dword [eax + 0x60]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
or dword [ebp - 4], 0xffffffff
cmp eax, 0x20
lea ecx, [esi - 0x10]
jg 0x1002819f
mov dword [ebp - 0x10], 0x80004005
call fcn.10001b56
jmp 0x100281aa
mov dword [ebp - 0x10], 0x80070057
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001b56
cmp dword [ebp - 0x10], 0
jge 0x100281ba
push dword [0x1008e61c]
push dword [ebp - 0x10]
call fcn.100031ec
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.10050837
add ebp, 0x108
leave
ret 0x1c
Function at 0x1002c1e0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 1
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4

Function at 0x1002d0e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1006b818
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], 0
cmp dword [edi + 0x10c], 0xffffffff
mov dword [esp + 0x38], 0
je 0x1002d156
cmp dword [edi + 0x64], 0
lea eax, [edi + 0x64]
jne 0x1002d13e
lea eax, [esp + 0xc]
push eax
call fcn.1002c580
add esp, 4
test eax, eax
jne 0x1002d156
lea eax, [esp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.1004d9a0
add esp, 4
mov esi, eax
imul esi, dword [edi + 0x10c]
test esi, esi
jne 0x1002d180
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.1002c300
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
mov eax, edx
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1002d18f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x1002dc40
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1006b9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x110]
test edx, edx
jle 0x1002dc98
mov ecx, dword [esi + 0x114]
test ecx, ecx
jle 0x1002dc98
mov eax, dword [esp + 0x64]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret 8
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x64], 0
call fcn.1002dbd0
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], edx
call fcn.100339a0
mov eax, dword [esi + 0x64]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 1
call fcn.10033b30
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edi, [esi + 0xc0]
add esi, 0x70
push esi
lea edx, [esp + 0x78]
push edx
mov ecx, edi
call fcn.10033630
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.1002eea0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x10]
mov dword [esi], ecx
lea ecx, [esp + 0x2c]
mov dword [esi + 4], eax
mov byte [esp + 0x5c], 0
call fcn.100337a0
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret 8

Function at 0x1002dd60
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x1006ba00
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x64]
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x5c], 0
call fcn.100339a0
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x64], 1
call fcn.1002dbd0
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x64]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], edx
call fcn.10033b30
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
lea edi, [esi + 0xc0]
push edx
mov dword [esp + 0x58], eax
add esi, 0x70
push esi
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call fcn.10033630
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.1002f1d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0
call fcn.100337a0
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret 4
Function at 0x10035e50
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1006c0a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
call fcn.10048570
cmp eax, 0xa
jne 0x10035e94
call fcn.10035cb0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
mov eax, dword [0x100a1b8c]
push eax
lea ecx, [esp + 0x10]
call fcn.1004dc70
cmp byte [0x100a1a80], 0
je 0x10035f4e
push 0x100a1a80
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
push 4
push 0
push 3
push 0x40000000
cmp eax, 0xffffffff
push 0x100a1a80
setne bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x10035f4e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x10035ef6
push 0x100a1a80
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x2001f
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
call fcn.1000634e
test eax, eax
mov eax, dword [esp + 8]
sete bl
test eax, eax
je 0x10035f2a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1004dca0
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1004dca0
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
Function at 0x100361b0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c128
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1008f414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x100a41f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a41f4
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
jne 0x10036204
xor eax, eax
jmp 0x1003621b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10036210
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.10006894
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 4], ebx
call fcn.100360c0
mov edi, eax
add esp, 8
cmp edi, ebx
jl 0x100362c5
mov esi, dword [ebp - 0x14]
push 0x1006fd78
push esi
call fcn.100512a1
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
je 0x100362c8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100362c8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x10036288
lea edx, [ebp - 0x14]
push edx
push esi
call fcn.100360c0
mov edi, eax
add esp, 8
cmp edi, ebx
jge 0x10036242
jmp 0x100362c5
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x1003629a
call edi
mov edi, eax
jmp 0x100362aa
call edi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
cmp edi, ebx
jl 0x100362c8
mov edi, 0x80004005
jmp 0x100362c8
mov esi, dword [ebp - 0x14]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100362eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x10036840
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1006c1d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x100a41f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a41f4
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
push 0x104
push 0x100a1a80
mov dword [esp + 0x24], 0
call fcn.1000a28e
call fcn.10048570
cmp eax, 0xa
je 0x100368a3
xor esi, esi
jmp 0x100368d8
lea eax, [esp + 0xc]
push eax
push esi
call fcn.10036400
mov edi, dword [esp + 0x14]
mov esi, eax
add esp, 8
test esi, esi
jl 0x100368d8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x100368d8
push edi
push 0x104
push 0x100a1a80
call fcn.1000a28e
mov esi, eax
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100368fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x10036ef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006c2d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [0x100a41f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a41f4
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov ecx, dword [0x100a1b88]
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push esi
push ebp
mov dword [esp + 0x30], esi
mov edi, ecx
call fcn.100481c0
cmp eax, 0x7a
jne 0x10036f85
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.100504d9
mov esi, eax
add esp, 4
test esi, esi
je 0x10036f85
lea edx, [esp + 0x14]
push edx
push esi
push ebp
mov ecx, edi
call fcn.100481c0
test eax, eax
je 0x10036fcf
push esi
call fcn.10050771
add esp, 4
mov esi, dword [esp + 0x2c]
push 0x1006fd78
mov ecx, esi
call fcn.100199a4
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10036fb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10036fd4
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.10006894
push esi
call fcn.10050771
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
push esi
call fcn.10002514
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 8
mov dword [edi], eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003702a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1003c8e0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
cmp byte [0x100a1c54], 0
push esi
mov esi, ecx
jne 0x1003c8fe
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x100a1c54], 1
call fcn.1003c360
test al, al
jne 0x1003c9c9
cmp dword [0x100a1c4c], 0
jne 0x1003c9c9
push 0x10091538
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x100a1c4c], eax
je 0x1003c9c9
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003c9a5
push 0x100a1a80
call fcn.10036910
add esp, 4
call fcn.1003c360
test al, al
jne 0x1003c9a5
mov ecx, esi
call fcn.1003c3d0
test eax, eax
jne 0x1003c9a5
mov ecx, esi
call fcn.10049fa0
test al, al
jne 0x1003c9a5
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.1003c640
test eax, eax
jne 0x1003c9a5
mov edx, dword [esp + 4]
mov eax, dword [str.ActivationCode]
mov ecx, dword [0x100a1b88]
push edx
push eax
call fcn.10047080
call fcn.10036a90
mov ecx, dword [esp + 4]
push ecx
call fcn.10050771
mov edx, dword [0x100a1c4c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100a1c4c], 0
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x1003c9d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
push 0x20019
push 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1003ca38
mov edx, dword [esp + 0x20]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1003ca38
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x1003ca4b
cmp eax, 2
mov eax, 0xd
jne 0x1003ca4d
mov eax, esi
pop edi
pop esi
add esp, 8
ret

Function at 0x1003ca60
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20006
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003cab2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push esi
add eax, 1
push eax
mov eax, dword [esp + 8]
push ecx
push 2
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x1003cac0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1008f414]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
mov esi, dword [esp + 0x118]
push 0x104
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.10054f19
test eax, eax
push str.Toolbar_Uninstaller
push esi
setne bl
call fcn.10054f19
test eax, eax
push 0x100766c0
push esi
setne byte [esp + 0x23]
call fcn.10054f19
add esp, 0x18
test eax, eax
setne al
pop esi
test bl, bl
pop ebx
je 0x1003cb4d
cmp byte [esp + 3], 0
je 0x1003cb4d
test al, al
je 0x1003cb4d
mov eax, 1
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10050837
add esp, 0x10c
ret
mov ecx, dword [esp + 0x108]
xor ecx, esp
xor eax, eax
call fcn.10050837
add esp, 0x10c
ret
Function at 0x1003cc00
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x1006c876
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x1008f414]
xor eax, esp
mov dword [esp + 0x31c], eax
push ebx
push esi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0x32c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x33c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x334], ebx
mov dword [esp + 0x10], ebx
cmp byte [0x100954f8], bl
mov byte [esp + 0x334], 1
je 0x1003cdbb
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x104
lea eax, [esp + 0x24]
push eax
call fcn.1000a28e
mov esi, eax
cmp esi, ebx
jl 0x1003cd51
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.10033ee6
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x100766d8
push 7
push ebx
push 0x10070680
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x1003cd51
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x100766e8
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x1003cd51
push 0x104
lea eax, [esp + 0x124]
push eax
push 0xffffffffffffffff
push 0x100954f8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0x124]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
cmp esi, ebx
jl 0x1003cd51
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov esi, eax
cmp esi, ebx
jl 0x1003cd51
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x1003cd51
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push ebx
push eax
call edx
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
mov eax, dword [esp + 0x10]
mov byte [esp + 0x334], bl
jge 0x1003cd94
cmp eax, ebx
je 0x1003cd72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x334], 0xffffffff
je 0x1003cd8d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x1f
jmp 0x1003cdbd
cmp eax, ebx
je 0x1003cda0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov dword [esp + 0x334], 0xffffffff
je 0x1003cdbb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x32c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x31c]
xor ecx, esp
call fcn.10050837
add esp, 0x32c
ret
Function at 0x1003cdf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push 0x10097fb0
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003ce77
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [str.IsInstaller]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push eax
mov esi, eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1003ce6c
cmp dword [esp + 0xc], 4
jne 0x1003ce6c
cmp dword [esp + 0x10], eax
je 0x1003ce6c
test esi, esi
je 0x1003ce65
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 0x10
ret
test esi, esi
je 0x1003ce77
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x1003e150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006ca7b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor edi, edi
cmp esi, edi
jne 0x1003e1c8
push 0x12c
call fcn.100518c2
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, edi
mov dword [esp + 0x14], edi
je 0x1003e1be
mov ecx, esi
call fcn.1002d4e0
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edi
mov dword [esi], vtable.Candeo::ToolbarBalloon.0
jmp 0x1003e1c0
xor esi, esi
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.1002d6d0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10c], ecx
mov ecx, dword [esp + 0x34]
push edi
or ecx, 0x1000
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x1003fde0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006cca6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1008f414]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov ax, word [esp + 0x24]
mov cx, word [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov word [esi + 0x20], ax
xor eax, eax
mov word [esi + 0x22], cx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0xc]
mov ecx, esi
mov byte [esp + 0x14], 1
mov dword [esi + 0x1c], edx
call fcn.1003f530
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14