joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018201
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.100506c0
push 0xffffffffffffffff
push 0x10068da7
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1008d414]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x1c6b
push dword [edi + 0x14c]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, edi
call fcn.10011c0d
mov esi, 0x400
push esi
lea eax, [ebp + 0x800]
push eax
push dword [edi + 0x14c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor ebx, ebx
cmp byte [ebp + 0x800], bl
je 0x10018402
lea eax, [ebp + 0x800]
push 0x1008fcf8
push eax
call fcn.1004fe06
test eax, eax
pop ecx
pop ecx
jne 0x100182ee
push 0x1006dd58
push dword [edi + 0x14c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esi, vtable.Candeo::AboutDlg.0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x34]
call fcn.100181ca
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x34], esi
je 0x10018402
push dword [ebp - 0x20]
call fcn.1004ea09
jmp 0x10018402
lea eax, [ebp + 0x800]
push 0x1008fc70
push eax
call fcn.1004fe06
test eax, eax
pop ecx
pop ecx
jne 0x10018311
mov ecx, edi
call fcn.10015cbc
jmp 0x10018402
push esi
lea eax, [ebp + 0xc00]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.1003368e
add esp, 0xc
cmp byte [ebp + 0xc00], bl
jne 0x10018346
push 0x1006dd58
push dword [edi + 0x14c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x10018402
push ecx
lea eax, [ebp + 0xc00]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.1001198c
mov ecx, edi
call fcn.10015b25
push esi
lea eax, [ebp]
push eax
push esi
lea eax, [ebp + 0xc00]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push esi
lea eax, [ebp + 0xc00]
push eax
push esi
lea eax, [ebp]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [edi + 0x178]
push ebx
lea ecx, [ebp + 0xc00]
push ecx
push eax
call fcn.10019af3
add esp, 0xc
test eax, eax
je 0x100183af
xor eax, eax
inc eax
jmp 0x10018404
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [0x1008cdc0]
call fcn.10035060
add esp, 0xc
test eax, eax
jne 0x100183d9
inc dword [ebp - 0x10]
push dword [ebp - 0x10]
push dword [0x1008cdc0]
call fcn.10035130
pop ecx
pop ecx
cmp dword [0x1009f7f0], ebx
je 0x10018402
mov ecx, dword [edi + 0x60]
cmp ecx, ebx
je 0x10018402
cmp dword [ecx + 0x60], ebx
je 0x10018402
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x100183fd
cmp eax, dword [0x1009f830]
jne 0x10018402
call fcn.10023af5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1004f347
add ebp, 0x1004
leave
ret
Function at 0x1001d5da
Capabilities:
Capture webcam image

Disassembly:
push 0
push dword [esp + 8]
push 0x419
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageA]
ret 4

Function at 0x1002068b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1008d414]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [ebp + 8]
cmp byte [esi - 4], 0
push edi
je 0x100206ca
push str.err_CTB_E_OBJECTREMOVED
push 0x1009fba4
mov esi, 0x80041401
push esi
call fcn.10003395
add esp, 0xc
mov dword [ebp - 8], esi
jmp 0x10020781
cmp dword [ebp + 0xc], 0
jne 0x100206dc
mov dword [ebp - 8], 0x80004003
jmp 0x10020781
push dword [esi + 0x58]
mov edi, 0x1006dd58
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
test ebx, ebx
jle 0x10020735
inc ebx
mov eax, ebx
call fcn.10050610
mov edi, esp
push ebx
push edi
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x10020735
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10020719
call esi
jmp 0x10020725
call esi
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov dword [ebp - 8], eax
jl 0x10020781
mov dword [ebp - 8], 0x80004005
jmp 0x10020781
call dword [0x1008d3d4]
test edi, edi
mov ebx, eax
je 0x10020753
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x10020757
xor eax, eax
jmp 0x1002076a
lea eax, [esi + esi]
call fcn.10050610
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.10001965
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x10020791
mov dword [ebp - 8], 0x8007000e
push dword [0x1008c450]
push dword [ebp - 8]
call fcn.10003274
pop ecx
pop ecx
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004f347
leave
ret 8
Function at 0x10027b41
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x1008d414]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x28
mov eax, 0x10069c26
call fcn.1004f78c
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 0x10027ba2
mov dword [ebp - 0x10], 0x80004003
jmp 0x10027cd5
cmp ecx, esi
je 0x10027b96
push 0x100a21f4
lea ecx, [ebp - 0x18]
call fcn.100024cb
mov dword [ebp - 4], esi
call dword [0x1008d3d4]
cmp word [ebp - 0x34], 8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x1c], eax
mov ebx, 0x3fffffff
jne 0x10027bff
cmp dword [ebp - 0x2c], esi
je 0x10027be0
push dword [ebp - 0x2c]
call edi
inc eax
cmp eax, ebx
jle 0x10027be4
xor eax, eax
jmp 0x10027c28
lea esi, [eax + eax]
mov eax, esi
call fcn.10050610
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x2c]
push eax
call fcn.100099b6
jmp 0x10027c28
cmp word [ebp - 0x34], 1
jne 0x10027cb9
lea eax, [ebp]
push 0x104
push eax
call fcn.10024d42
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jl 0x10027cc0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006b8b
push dword [ebp - 0x14]
call edi
inc eax
cmp eax, ebx
jle 0x10027c41
and dword [ebp - 0x14], 0
jmp 0x10027c5d
lea esi, [eax + eax]
mov eax, esi
call fcn.10050610
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x14]
push eax
call fcn.100099b6
mov dword [ebp - 0x14], eax
push dword [ebp - 0x20]
call edi
inc eax
cmp eax, ebx
jle 0x10027c6b
xor eax, eax
jmp 0x10027c84
lea esi, [eax + eax]
mov eax, esi
call fcn.10050610
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push eax
call fcn.100099b6
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 0x10027cca
mov dword [ebp - 0x10], 0x80004005
call fcn.10001bf3
jmp 0x10027cd5
mov dword [ebp - 0x10], 0x80070057
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001bf3
cmp dword [ebp - 0x10], 0
jge 0x10027ce5
push dword [0x1008c61c]
push dword [ebp - 0x10]
call fcn.10003274
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.1004f347
add ebp, 0x108
leave
ret 0x1c

Function at 0x1002b700
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 0x1002c600
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1006a208
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1008d414]
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 0x1002c676
cmp dword [edi + 0x64], 0
lea eax, [edi + 0x64]
jne 0x1002c65e
lea eax, [esp + 0xc]
push eax
call fcn.1002baa0
add esp, 4
test eax, eax
jne 0x1002c676
lea eax, [esp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.1004c4a0
add esp, 4
mov esi, eax
imul esi, dword [edi + 0x10c]
test esi, esi
jne 0x1002c6a0
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.1002b820
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 0x1002c6af
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 0x1002d170
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1006a3c0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x1008d414]
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 0x1002d1c8
mov ecx, dword [esi + 0x114]
test ecx, ecx
jle 0x1002d1c8
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.1002d100
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.10032ed0
mov eax, dword [esi + 0x64]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 1
call fcn.10033060
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.10032b60
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.1002e3d0
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.10032cd0
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 0x1002d290
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x1006a3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x1008d414]
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.10032ed0
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x64], 1
call fcn.1002d100
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.10033060
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.10032b60
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.1002e700
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0
call fcn.10032cd0
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret 4
Function at 0x10035370
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1006aac8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x1008d414]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x1009fb8c]
push eax
lea ecx, [esp + 0x10]
call fcn.1004c770
cmp byte [0x1009fa80], 0
je 0x1003544e
push 0x1009fa80
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
push 4
push 0
push 3
push 0x40000000
cmp eax, 0xffffffff
push 0x1009fa80
setne bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x1003544e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x100353f6
push 0x1009fa80
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.100064c9
test eax, eax
mov eax, dword [esp + 8]
sete bl
test eax, eax
je 0x1003542a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1004c7a0
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.1004c7a0
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
Function at 0x10035ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006abb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008d414]
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 [0x100a21f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a21f4
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov ecx, dword [0x1009fb88]
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.10046d10
cmp eax, 0x7a
jne 0x10035b45
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.1004efe9
mov esi, eax
add esp, 4
test esi, esi
je 0x10035b45
lea edx, [esp + 0x14]
push edx
push esi
push ebp
mov ecx, edi
call fcn.10046d10
test eax, eax
je 0x10035b8f
push esi
call fcn.1004f281
add esp, 4
mov esi, dword [esp + 0x2c]
push 0x1006dd58
mov ecx, esi
call fcn.10019ab2
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 0x10035b79
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 0x10035b94
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.10006a0f
push esi
call fcn.1004f281
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
push esi
call fcn.10002541
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 0x10035bea
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 0x1003b480
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
cmp byte [0x1009fc54], 0
push esi
mov esi, ecx
jne 0x1003b49e
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x1009fc54], 1
call fcn.1003af00
test al, al
jne 0x1003b569
cmp dword [0x1009fc4c], 0
jne 0x1003b569
push 0x1008f538
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x1009fc4c], eax
je 0x1003b569
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003b545
push 0x1009fa80
call fcn.10035260
add esp, 4
call fcn.1003af00
test al, al
jne 0x1003b545
mov ecx, esi
call fcn.1003af70
test eax, eax
jne 0x1003b545
mov ecx, esi
call fcn.10048af0
test al, al
jne 0x1003b545
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.1003b1e0
test eax, eax
jne 0x1003b545
mov edx, dword [esp + 4]
mov eax, dword [str.ActivationCode]
mov ecx, dword [0x1009fb88]
push edx
push eax
call fcn.10045bd0
call fcn.10035640
mov ecx, dword [esp + 4]
push ecx
call fcn.1004f281
mov edx, dword [0x1009fc4c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1009fc4c], 0
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x1003b570
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 0x1003b5d8
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 0x1003b5d8
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x1003b5eb
cmp eax, 2
mov eax, 0xd
jne 0x1003b5ed
mov eax, esi
pop edi
pop esi
add esp, 8
ret

Function at 0x1003b600
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 0x1003b652
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 0x1003b660
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1008d414]
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.10053954
test eax, eax
push str.Toolbar_Uninstaller
push esi
setne bl
call fcn.10053954
test eax, eax
push 0x100745e8
push esi
setne byte [esp + 0x23]
call fcn.10053954
add esp, 0x18
test eax, eax
setne al
pop esi
test bl, bl
pop ebx
je 0x1003b6ed
cmp byte [esp + 3], 0
je 0x1003b6ed
test al, al
je 0x1003b6ed
mov eax, 1
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1004f347
add esp, 0x10c
ret
mov ecx, dword [esp + 0x108]
xor ecx, esp
xor eax, eax
call fcn.1004f347
add esp, 0x10c
ret
Function at 0x1003b7a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x1006b156
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x1008d414]
xor eax, esp
mov dword [esp + 0x31c], eax
push ebx
push esi
mov eax, dword [0x1008d414]
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 [0x100934f8], bl
mov byte [esp + 0x334], 1
je 0x1003b95b
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x104
lea eax, [esp + 0x24]
push eax
call fcn.1000a486
mov esi, eax
cmp esi, ebx
jl 0x1003b8f1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.10033416
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x10074600
push 7
push ebx
push 0x1006e660
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x1003b8f1
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x10074610
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x1003b8f1
push 0x104
lea eax, [esp + 0x124]
push eax
push 0xffffffffffffffff
push 0x100934f8
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 0x1003b8f1
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 0x1003b8f1
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 0x1003b8f1
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 0x1003b934
cmp eax, ebx
je 0x1003b912
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 0x1003b92d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x1f
jmp 0x1003b95d
cmp eax, ebx
je 0x1003b940
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 0x1003b95b
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.1004f347
add esp, 0x32c
ret
Function at 0x1003b990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push 0x10095fb0
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1003ba17
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 0x1003ba0c
cmp dword [esp + 0xc], 4
jne 0x1003ba0c
cmp dword [esp + 0x10], eax
je 0x1003ba0c
test esi, esi
je 0x1003ba05
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 0x10
ret
test esi, esi
je 0x1003ba17
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
add esp, 0x10
ret