joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d43d
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 0x100206e4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1009140c]
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 0x10020723
push str.err_CTB_E_OBJECTREMOVED
push 0x100a3ba4
mov esi, 0x80041401
push esi
call fcn.100033e6
add esp, 0xc
mov dword [ebp - 8], esi
jmp 0x100207da
cmp dword [ebp + 0xc], 0
jne 0x10020735
mov dword [ebp - 8], 0x80004003
jmp 0x100207da
push dword [esi + 0x58]
mov edi, 0x10070d78
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
test ebx, ebx
jle 0x1002078e
inc ebx
mov eax, ebx
call fcn.100524c0
mov edi, esp
push ebx
push edi
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x1002078e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10020772
call esi
jmp 0x1002077e
call esi
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov dword [ebp - 8], eax
jl 0x100207da
mov dword [ebp - 8], 0x80004005
jmp 0x100207da
call dword [0x100913cc]
test edi, edi
mov ebx, eax
je 0x100207ac
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x100207b0
xor eax, eax
jmp 0x100207c3
lea eax, [esi + esi]
call fcn.100524c0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.10001967
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jne 0x100207ea
mov dword [ebp - 8], 0x8007000e
push dword [0x10090448]
push dword [ebp - 8]
call fcn.100032c5
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.100511f7
leave
ret 8
Function at 0x1002829b
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x1009140c]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x28
mov eax, 0x1006bbb7
call fcn.1005163c
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 0x100282fc
mov dword [ebp - 0x10], 0x80004003
jmp 0x1002842f
cmp ecx, esi
je 0x100282f0
push 0x100a61f4
lea ecx, [ebp - 0x18]
call fcn.1000250e
mov dword [ebp - 4], esi
call dword [0x100913cc]
cmp word [ebp - 0x34], 8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x1c], eax
mov ebx, 0x3fffffff
jne 0x10028359
cmp dword [ebp - 0x2c], esi
je 0x1002833a
push dword [ebp - 0x2c]
call edi
inc eax
cmp eax, ebx
jle 0x1002833e
xor eax, eax
jmp 0x10028382
lea esi, [eax + eax]
mov eax, esi
call fcn.100524c0
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x2c]
push eax
call fcn.10009ac2
jmp 0x10028382
cmp word [ebp - 0x34], 1
jne 0x10028413
lea eax, [ebp]
push 0x104
push eax
call fcn.10025148
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jl 0x1002841a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006ba1
push dword [ebp - 0x14]
call edi
inc eax
cmp eax, ebx
jle 0x1002839b
and dword [ebp - 0x14], 0
jmp 0x100283b7
lea esi, [eax + eax]
mov eax, esi
call fcn.100524c0
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x14]
push eax
call fcn.10009ac2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x20]
call edi
inc eax
cmp eax, ebx
jle 0x100283c5
xor eax, eax
jmp 0x100283de
lea esi, [eax + eax]
mov eax, esi
call fcn.100524c0
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push eax
call fcn.10009ac2
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 0x10028424
mov dword [ebp - 0x10], 0x80004005
call fcn.10001b77
jmp 0x1002842f
mov dword [ebp - 0x10], 0x80070057
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001b77
cmp dword [ebp - 0x10], 0
jge 0x1002843f
push dword [0x10090614]
push dword [ebp - 0x10]
call fcn.100032c5
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.100511f7
add ebp, 0x108
leave
ret 0x1c
Function at 0x1002c3d0
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 0x1002d2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006c2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1009140c]
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 + 0xf8], 0xffffffff
mov dword [esp + 0x38], 0
je 0x1002d346
cmp dword [edi + 0x50], 0
lea eax, [edi + 0x50]
jne 0x1002d32e
lea eax, [esp + 0xc]
push eax
call fcn.1002c770
add esp, 4
test eax, eax
jne 0x1002d346
lea eax, [esp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.1004e270
add esp, 4
mov esi, eax
imul esi, dword [edi + 0xf8]
test esi, esi
jne 0x1002d370
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.1002c4f0
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 0x1002d37f
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 0x1002dea0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1006c500
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0xfc]
test edx, edx
jle 0x1002def8
mov ecx, dword [esi + 0x100]
test ecx, ecx
jle 0x1002def8
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.1002de30
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.10033cb0
mov eax, dword [esi + 0x50]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 1
call fcn.10033e40
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edi, [esi + 0xac]
add esi, 0x5c
push esi
lea edx, [esp + 0x78]
push edx
mov ecx, edi
call fcn.100338a0
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.1002f110
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.10033a10
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 0x1002dfc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006c530
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x1009140c]
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.10033cb0
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x64], 1
call fcn.1002de30
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 + 0x50]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], edx
call fcn.10033e40
mov eax, dword [esi + 0x54]
push 0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x34]
lea edi, [esi + 0xac]
push edx
mov dword [esp + 0x58], eax
add esi, 0x5c
push esi
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call fcn.100338a0
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.1002f440
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0
call fcn.10033a10
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret 4
Function at 0x100360c0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1006cc18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
call fcn.10048790
cmp eax, 0xa
jne 0x10036104
call fcn.10035f20
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
mov eax, dword [0x100a3b8c]
push eax
lea ecx, [esp + 0x10]
call fcn.1004e540
cmp byte [0x100a3a80], 0
je 0x100361be
push 0x100a3a80
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
push 4
push 0
push 3
push 0x40000000
cmp eax, 0xffffffff
push 0x100a3a80
setne bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x100361be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x10036166
push 0x100a3a80
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.1000649d
test eax, eax
mov eax, dword [esp + 8]
sete bl
test eax, eax
je 0x1003619a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1004e570
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.1004e570
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
Function at 0x10036420
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cc98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x100a61f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a61f4
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 0x10036474
xor eax, eax
jmp 0x1003648b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10036480
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.10006a73
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 4], ebx
call fcn.10036330
mov edi, eax
add esp, 8
cmp edi, ebx
jl 0x10036535
mov esi, dword [ebp - 0x14]
push 0x10070d78
push esi
call fcn.10051cb6
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
je 0x10036538
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10036538
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x100364f8
lea edx, [ebp - 0x14]
push edx
push esi
call fcn.10036330
mov edi, eax
add esp, 8
cmp edi, ebx
jge 0x100364b2
jmp 0x10036535
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x1003650a
call edi
mov edi, eax
jmp 0x1003651a
call edi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
cmp edi, ebx
jl 0x10036538
mov edi, 0x80004005
jmp 0x10036538
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 0x1003655b
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 0x10036ab0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1006cd48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1009140c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x100a61f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a61f4
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
push 0x104
push 0x100a3a80
mov dword [esp + 0x24], 0
call fcn.1000a575
call fcn.10048790
cmp eax, 0xa
je 0x10036b13
xor esi, esi
jmp 0x10036b48
lea eax, [esp + 0xc]
push eax
push esi
call fcn.10036670
mov edi, dword [esp + 0x14]
mov esi, eax
add esp, 8
test esi, esi
jl 0x10036b48
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10036b48
push edi
push 0x104
push 0x100a3a80
call fcn.1000a575
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 0x10036b6c
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 0x10037160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006de38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009140c]
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 [0x100a61f4]
mov edx, dword [eax + 0xc]
mov ecx, 0x100a61f4
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov ecx, dword [0x100a3b88]
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.100483e0
cmp eax, 0x7a
jne 0x100371f5
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.10050e99
mov esi, eax
add esp, 4
test esi, esi
je 0x100371f5
lea edx, [esp + 0x14]
push edx
push esi
push ebp
mov ecx, edi
call fcn.100483e0
test eax, eax
je 0x1003723f
push esi
call fcn.10051131
add esp, 4
mov esi, dword [esp + 0x2c]
push 0x10070d78
mov ecx, esi
call fcn.10019caf
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 0x10037229
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 0x10037244
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.10006a73
push esi
call fcn.10051131
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
push esi
call fcn.1000257a
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 0x1003729a
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 0x1003caf0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
cmp byte [0x100a3c54], 0
push esi
mov esi, ecx
jne 0x1003cb0e
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x100a3c54], 1
call fcn.1003c570
test al, al
jne 0x1003cbd9
cmp dword [0x100a3c4c], 0
jne 0x1003cbd9
push 0x10093538
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x100a3c4c], eax
je 0x1003cbd9
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003cbb5
push 0x100a3a80
call fcn.10036b80
add esp, 4
call fcn.1003c570
test al, al
jne 0x1003cbb5
mov ecx, esi
call fcn.1003c5e0
test eax, eax
jne 0x1003cbb5
mov ecx, esi
call fcn.1004a1c0
test al, al
jne 0x1003cbb5
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.1003c850
test eax, eax
jne 0x1003cbb5
mov edx, dword [esp + 4]
mov eax, dword [str.ActivationCode]
mov ecx, dword [0x100a3b88]
push edx
push eax
call fcn.100472a0
call fcn.10036d00
mov ecx, dword [esp + 4]
push ecx
call fcn.10051131
mov edx, dword [0x100a3c4c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100a3c4c], 0
xor eax, eax
pop esi
add esp, 8
ret

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

Function at 0x1003cc70
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 0x1003ccc2
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 0x1003ccd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1009140c]
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.100558d4
test eax, eax
push str.Toolbar_Uninstaller
push esi
setne bl
call fcn.100558d4
test eax, eax
push 0x100776e8
push esi
setne byte [esp + 0x23]
call fcn.100558d4
add esp, 0x18
test eax, eax
setne al
pop esi
test bl, bl
pop ebx
je 0x1003cd5d
cmp byte [esp + 3], 0
je 0x1003cd5d
test al, al
je 0x1003cd5d
mov eax, 1
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.100511f7
add esp, 0x10c
ret
mov ecx, dword [esp + 0x108]
xor ecx, esp
xor eax, eax
call fcn.100511f7
add esp, 0x10c
ret
Function at 0x1003ce10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x1006d3b6
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x1009140c]
xor eax, esp
mov dword [esp + 0x31c], eax
push ebx
push esi
mov eax, dword [0x1009140c]
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 [0x100974f8], bl
mov byte [esp + 0x334], 1
je 0x1003cfcb
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x104
lea eax, [esp + 0x24]
push eax
call fcn.1000a575
mov esi, eax
cmp esi, ebx
jl 0x1003cf61
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.10034156
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x10077700
push 7
push ebx
push 0x10071680
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x1003cf61
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x10077710
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x1003cf61
push 0x104
lea eax, [esp + 0x124]
push eax
push 0xffffffffffffffff
push 0x100974f8
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 0x1003cf61
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 0x1003cf61
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 0x1003cf61
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 0x1003cfa4
cmp eax, ebx
je 0x1003cf82
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 0x1003cf9d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x1f
jmp 0x1003cfcd
cmp eax, ebx
je 0x1003cfb0
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 0x1003cfcb
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.100511f7
add esp, 0x32c
ret
Function at 0x1003d000
Capabilities:
Query or enumerate registry value

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