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

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x100862c4]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x28
mov eax, 0x10063ab7
call fcn.1004b3e7
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 0x10025edf
mov dword [ebp - 0x10], 0x80004003
jmp 0x10026012
cmp ecx, esi
je 0x10025ed3
push 0x1009a864
lea ecx, [ebp - 0x18]
call fcn.100029aa
mov dword [ebp - 4], esi
call dword [0x10086284]
cmp word [ebp - 0x34], 8
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x1c], eax
mov ebx, 0x3fffffff
jne 0x10025f3c
cmp dword [ebp - 0x2c], esi
je 0x10025f1d
push dword [ebp - 0x2c]
call edi
inc eax
cmp eax, ebx
jle 0x10025f21
xor eax, eax
jmp 0x10025f65
lea esi, [eax + eax]
mov eax, esi
call fcn.1004c100
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x2c]
push eax
call fcn.10009d6d
jmp 0x10025f65
cmp word [ebp - 0x34], 1
jne 0x10025ff6
lea eax, [ebp]
push 0x104
push eax
call fcn.100238c6
cmp eax, esi
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
jl 0x10025ffd
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006c79
push dword [ebp - 0x14]
call edi
inc eax
cmp eax, ebx
jle 0x10025f7e
and dword [ebp - 0x14], 0
jmp 0x10025f9a
lea esi, [eax + eax]
mov eax, esi
call fcn.1004c100
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x14]
push eax
call fcn.10009d6d
mov dword [ebp - 0x14], eax
push dword [ebp - 0x20]
call edi
inc eax
cmp eax, ebx
jle 0x10025fa8
xor eax, eax
jmp 0x10025fc1
lea esi, [eax + eax]
mov eax, esi
call fcn.1004c100
mov eax, esp
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push eax
call fcn.10009d6d
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 0x10026007
mov dword [ebp - 0x10], 0x80004005
call fcn.10002373
jmp 0x10026012
mov dword [ebp - 0x10], 0x80070057
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10002373
cmp dword [ebp - 0x10], 0
jge 0x10026022
push dword [0x100855ec]
push dword [ebp - 0x10]
call fcn.1000378c
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.1004ada8
add ebp, 0x108
leave
ret 0x1c

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

Disassembly:
push 0xffffffffffffffff
push 0x10063f98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100862c4]
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 0x1002a586
cmp dword [edi + 0x64], 0
lea eax, [edi + 0x64]
jne 0x1002a56e
lea eax, [esp + 0xc]
push eax
call fcn.100299b0
add esp, 4
test eax, eax
jne 0x1002a586
lea eax, [esp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.10047f30
add esp, 4
mov esi, eax
imul esi, dword [edi + 0x10c]
test esi, esi
jne 0x1002a5b0
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.10029730
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 0x1002a5bf
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 0x1002b070
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10064150
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100862c4]
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 0x1002b0c8
mov ecx, dword [esi + 0x114]
test ecx, ecx
jle 0x1002b0c8
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.1002b000
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.10030dd0
mov eax, dword [esi + 0x64]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 1
call fcn.10030f60
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.10030a60
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.1002c2d0
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.10030bd0
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 0x1002b190
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x10064180
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100862c4]
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.10030dd0
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x64], 1
call fcn.1002b000
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.10030f60
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.10030a60
push 0
push 0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.1002c600
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0
call fcn.10030bd0
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret 4
Function at 0x10033120
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10064898
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x100862c4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x10098204]
push eax
lea ecx, [esp + 0x10]
call fcn.10048200
cmp byte [0x100980f8], 0
je 0x100331fe
push 0x100980f8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
push 4
push 0
push 3
push 0x40000000
cmp eax, 0xffffffff
push 0x100980f8
setne bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x100331fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x100331a6
push 0x100980f8
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.10006590
test eax, eax
mov eax, dword [esp + 8]
sete bl
test eax, eax
je 0x100331da
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10048230
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.10048230
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret
Function at 0x10033840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10064988
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100862c4]
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 [0x1009a864]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009a864
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov ecx, dword [0x10098200]
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.10042990
cmp eax, 0x7a
jne 0x100338d5
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.1004aa4a
mov esi, eax
add esp, 4
test esi, esi
je 0x100338d5
lea edx, [esp + 0x14]
push edx
push esi
push ebp
mov ecx, edi
call fcn.10042990
test eax, eax
je 0x1003391f
push esi
call fcn.1004ace2
add esp, 4
mov esi, dword [esp + 0x2c]
push 0x10067dc0
mov ecx, esi
call fcn.100192c3
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 0x10033909
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 0x10033924
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.10006b4b
push esi
call fcn.1004ace2
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff0
push esi
call fcn.10002a16
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 0x1003397a
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 0x10038a30
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.100384b0
test al, al
jne 0x10038af9
cmp dword [0x100982c4], 0
jne 0x10038af9
push 0x100883f0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x100982c4], eax
je 0x10038af9
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10038adf
push 0x100980f8
call fcn.10033010
add esp, 4
mov ecx, esi
call fcn.100384b0
test al, al
jne 0x10038adf
mov ecx, esi
call fcn.10038520
test eax, eax
jne 0x10038adf
mov ecx, esi
call fcn.100442c0
test al, al
jne 0x10038adf
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10038790
test eax, eax
jne 0x10038adf
mov edx, dword [esp + 4]
mov eax, dword [str.ActivationCode]
mov ecx, dword [0x10098200]
push edx
push eax
call fcn.10041850
call fcn.100333d0
mov ecx, dword [esp + 4]
push ecx
call fcn.1004ace2
mov edx, dword [0x100982c4]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 8
ret

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

Function at 0x10038b90
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 0x10038be2
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 0x10038bf0
Capabilities:
Get common file path

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

Disassembly:
push 0xffffffffffffffff
push 0x10064e56
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x100862c4]
xor eax, esp
mov dword [esp + 0x31c], eax
push ebx
push esi
mov eax, dword [0x100862c4]
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 [0x1008c3b0], bl
mov byte [esp + 0x334], 1
je 0x10038eeb
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x104
lea eax, [esp + 0x24]
push eax
call fcn.10006713
mov esi, eax
cmp esi, ebx
jl 0x10038e81
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.10031316
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x1006e1f4
push 7
push ebx
push 0x100685e4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x10038e81
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x1006e204
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x10038e81
push 0x104
lea eax, [esp + 0x124]
push eax
push 0xffffffffffffffff
push 0x1008c3b0
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 0x10038e81
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 0x10038e81
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 0x10038e81
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 0x10038ec4
cmp eax, ebx
je 0x10038ea2
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 0x10038ebd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x1f
jmp 0x10038eed
cmp eax, ebx
je 0x10038ed0
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 0x10038eeb
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.1004ada8
add esp, 0x32c
ret
Function at 0x10038f20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push 0x1008ee68
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10038fa7
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 0x10038f9c
cmp dword [esp + 0xc], 4
jne 0x10038f9c
cmp dword [esp + 0x10], eax
je 0x10038f9c
test esi, esi
je 0x10038f95
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 0x10
ret
test esi, esi
je 0x10038fa7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x1003a280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006505b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100862c4]
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 0x1003a2f8
push 0x12c
call fcn.1004bf12
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
cmp esi, edi
mov dword [esp + 0x14], edi
je 0x1003a2ee
mov ecx, esi
call fcn.1002a910
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 0x1003a2f0
xor esi, esi
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.1002ab00
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 0x1003be10
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x100652ab
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x100862c4]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100862c4]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [esp + 0x140]
mov edi, dword [esp + 0x138]
mov ebx, dword [esp + 0x13c]
push str.Toolbar.js
push eax
push str._s_s
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.100011f2
xor ebp, ebp
add esp, 0x14
mov dword [esp + 0x14], ebp
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x14c], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x1003bedf
call fcn.10009eae
cmp eax, ebp
jl 0x1003bf4a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
jne 0x1003bee9
call fcn.10009eae
cmp eax, ebp
jge 0x1003bee5
mov ebp, eax
jmp 0x1003bf39
mov dword [esp + 0x14], eax
jmp 0x1003beb7
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x1c], ebp
ja 0x1003bef4
cmp esi, 0xfffffffd
jbe 0x1003befb
mov ebp, 0x80004005
jmp 0x1003bf39
lea ecx, [esi + 2]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebp
mov dword [edi], eax
jne 0x1003bf13
mov ebp, 0x8007000e
jmp 0x1003bf39
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.1003a950
mov edx, dword [edi]
mov byte [esi + edx], 0
lea ecx, [esp + 0x20]
mov ebp, eax
mov eax, dword [edi]
push ecx
mov ecx, ebx
mov byte [eax + esi + 1], 0
call fcn.10007498
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003bf48
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.1004ada8
add esp, 0x120
ret 0xc
Function at 0x1003da30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006548d
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x100862c4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebp, ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 4], vtable.IActiveScriptSiteDebug.0
mov dword [esi + 8], vtable.IApplicationDebugger.0
mov dword [esi + 0xc], vtable.IDebugSessionProvider.0
mov dword [esi], vtable.TBScriptHost.0
mov dword [esi + 4], vtable.TBScriptHost.3.0
mov dword [esi + 8], vtable.TBScriptHost.2.0
mov dword [esi + 0xc], vtable.TBScriptHost.1.0
mov dword [esi + 0x24], ebp
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x3c], ebp
lea edi, [esi + 0x40]
mov ecx, edi
mov byte [esp + 0x1c], 5
call fcn.1003b0b0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x1c], 6
call fcn.1003b0f0
mov dword [edi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
lea eax, [esi + 0x14]
mov dword [edi + 8], ebp
mov ecx, 0x1003ba30
sub ecx, eax
push 0xe
sub ecx, 0xe
push eax
mov byte [eax], 0xb8
mov dword [eax + 1], esi
mov dword [eax + 5], 0x50240487
mov byte [eax + 9], 0xe9
mov dword [eax + 0xa], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret