joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016bfd
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 0x10016c3c
push str.err_CTB_E_OBJECTREMOVED
push 0x100a3ba4
mov esi, 0x80041401
push esi
call fcn.1000332f
add esp, 0xc
mov dword [ebp - 8], esi
jmp 0x10016cf9
cmp dword [ebp + 0xc], 0
jne 0x10016c4e
mov dword [ebp - 8], 0x80004003
jmp 0x10016cf9
push dword [esi + 0x84]
mov edi, 0x10070d78
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
test ebx, ebx
jle 0x10016cad
inc ebx
mov eax, ebx
call fcn.100524c0
mov edi, esp
push ebx
push edi
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x10016cad
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10016c91
call esi
jmp 0x10016c9d
call esi
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov dword [ebp - 8], eax
jl 0x10016cf9
mov dword [ebp - 8], 0x80004005
jmp 0x10016cf9
call dword [0x100913cc]
test edi, edi
mov ebx, eax
je 0x10016ccb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x10016ccf
xor eax, eax
jmp 0x10016ce2
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 0x10016d09
mov dword [ebp - 8], 0x8007000e
push dword [0x1008e550]
push dword [ebp - 8]
call fcn.1000320e
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 0x10016d66
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1009140c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp byte [esi - 4], 0
je 0x10016dc0
push str.err_CTB_E_OBJECTREMOVED
push 0x100a3ba4
mov edi, 0x80041401
push edi
call fcn.1000332f
add esp, 0xc
push dword [0x1008e550]
push edi
call fcn.1000320e
pop ecx
pop ecx
mov eax, edi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100511f7
leave
ret 4
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
test ebx, ebx
jle 0x10016daa
inc ebx
mov eax, ebx
call fcn.100524c0
mov dword [ebp - 8], esp
push ebx
push dword [ebp - 8]
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x10016e21
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10016e03
call esi
mov edi, eax
jmp 0x10016e13
call esi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
test edi, edi
jl 0x10016d9c
mov edi, 0x80004005
jmp 0x10016d9c
push ecx
mov ecx, esp
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
call fcn.10011f51
lea ecx, [esi - 0xc8]
call fcn.10015fce
jmp 0x10016daa
Function at 0x1001da65
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 0x10020ac1
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 0x10020b00
push str.err_CTB_E_OBJECTREMOVED
push 0x100a3ba4
mov esi, 0x80041401
push esi
call fcn.1000332f
add esp, 0xc
mov dword [ebp - 8], esi
jmp 0x10020bb7
cmp dword [ebp + 0xc], 0
jne 0x10020b12
mov dword [ebp - 8], 0x80004003
jmp 0x10020bb7
push dword [esi + 0x58]
mov edi, 0x10070d78
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
test ebx, ebx
jle 0x10020b6b
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 0x10020b6b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10020b4f
call esi
jmp 0x10020b5b
call esi
and eax, 0xffff
or eax, 0x80070000
test eax, eax
mov dword [ebp - 8], eax
jl 0x10020bb7
mov dword [ebp - 8], 0x80004005
jmp 0x10020bb7
call dword [0x100913cc]
test edi, edi
mov ebx, eax
je 0x10020b89
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x10020b8d
xor eax, eax
jmp 0x10020ba0
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 0x10020bc7
mov dword [ebp - 8], 0x8007000e
push dword [0x10090448]
push dword [ebp - 8]
call fcn.1000320e
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, 0x1006bc2f
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.10011f9e
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.10009c9a
jmp 0x10028382
cmp word [ebp - 0x34], 1
jne 0x10028413
lea eax, [ebp]
push 0x104
push eax
call fcn.100251be
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.10006ce3
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.10009c9a
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.10009c9a
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.10001bf8
jmp 0x1002842f
mov dword [ebp - 0x10], 0x80070057
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001bf8
cmp dword [ebp - 0x10], 0
jge 0x1002843f
push dword [0x10090614]
push dword [ebp - 0x10]
call fcn.1000320e
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 0x1002d2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006c358
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 0x1002d336
cmp dword [edi + 0x50], 0
lea eax, [edi + 0x50]
jne 0x1002d31e
lea eax, [esp + 0xc]
push eax
call fcn.1002c770
add esp, 4
test eax, eax
jne 0x1002d336
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 0x1002d360
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 0x1002d36f
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 0x1002de90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1006c5b0
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 0x1002dee8
mov ecx, dword [esi + 0x100]
test ecx, ecx
jle 0x1002dee8
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.1002de20
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.10033c00
mov eax, dword [esi + 0x50]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 1
call fcn.10033d90
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.10033890
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.1002f100
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.10033a00
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 0x1002dfb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006c5e0
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.10033c00
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x64], 1
call fcn.1002de20
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.10033d90
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.10033890
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.1002f430
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0
call fcn.10033a00
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret 4
Function at 0x100360b0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1006ccf8
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.10048780
cmp eax, 0xa
jne 0x100360f4
call fcn.10035f10
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 0x100361ae
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 0x100361ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x10036156
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.10006621
test eax, eax
mov eax, dword [esp + 8]
sete bl
test eax, eax
je 0x1003618a
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 0x10036410
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cd78
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 0x10036464
xor eax, eax
jmp 0x1003647b
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10036470
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.10006b67
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 4], ebx
call fcn.10036320
mov edi, eax
add esp, 8
cmp edi, ebx
jl 0x10036525
mov esi, dword [ebp - 0x14]
push 0x10070d78
push esi
call fcn.10051cb6
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
je 0x10036528
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10036528
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x100364e8
lea edx, [ebp - 0x14]
push edx
push esi
call fcn.10036320
mov edi, eax
add esp, 8
cmp edi, ebx
jge 0x100364a2
jmp 0x10036525
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x100364fa
call edi
mov edi, eax
jmp 0x1003650a
call edi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
cmp edi, ebx
jl 0x10036528
mov edi, 0x80004005
jmp 0x10036528
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 0x1003654b
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 0x10036aa0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1006ce28
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.1000a767
call fcn.10048780
cmp eax, 0xa
je 0x10036b03
xor esi, esi
jmp 0x10036b38
lea eax, [esp + 0xc]
push eax
push esi
call fcn.10036660
mov edi, dword [esp + 0x14]
mov esi, eax
add esp, 8
test esi, esi
jl 0x10036b38
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10036b38
push edi
push 0x104
push 0x100a3a80
call fcn.1000a767
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 0x10036b5c
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 0x10037150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006cf28
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.100483d0
cmp eax, 0x7a
jne 0x100371e5
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.10050e99
mov esi, eax
add esp, 4
test esi, esi
je 0x100371e5
lea edx, [esp + 0x14]
push edx
push esi
push ebp
mov ecx, edi
call fcn.100483d0
test eax, eax
je 0x1003722f
push esi
call fcn.10051131
add esp, 4
mov esi, dword [esp + 0x2c]
push 0x10070d78
mov ecx, esi
call fcn.1001a1bf
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 0x10037219
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 0x10037234
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.10006b67
push esi
call fcn.10051131
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
push esi
call fcn.1000252a
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 0x1003728a
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 0x1003cae0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
cmp byte [0x100a3c54], 0
push esi
mov esi, ecx
jne 0x1003cafe
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x100a3c54], 1
call fcn.1003c560
test al, al
jne 0x1003cbc9
cmp dword [0x100a3c4c], 0
jne 0x1003cbc9
push 0x10093538
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x100a3c4c], eax
je 0x1003cbc9
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003cba5
push 0x100a3a80
call fcn.10036b70
add esp, 4
call fcn.1003c560
test al, al
jne 0x1003cba5
mov ecx, esi
call fcn.1003c5d0
test eax, eax
jne 0x1003cba5
mov ecx, esi
call fcn.1004a1b0
test al, al
jne 0x1003cba5
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.1003c840
test eax, eax
jne 0x1003cba5
mov edx, dword [esp + 4]
mov eax, dword [str.ActivationCode]
mov ecx, dword [0x100a3b88]
push edx
push eax
call fcn.10047290
call fcn.10036cf0
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 0x1003cbd0
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 0x1003cc38
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 0x1003cc38
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x1003cc4b
cmp eax, 2
mov eax, 0xd
jne 0x1003cc4d
mov eax, esi
pop edi
pop esi
add esp, 8
ret

Function at 0x1003cc60
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 0x1003ccb2
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 0x1003ccc0
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 0x1003cd4d
cmp byte [esp + 3], 0
je 0x1003cd4d
test al, al
je 0x1003cd4d
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