joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029f39
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x100e3d44
call fcn.100c908c
sub esp, 0x5c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push ecx
mov esi, ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov edi, 0x1010d92c
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [esi + 0x114], eax
call fcn.10009e15
push dword [esi + 0xa8]
mov byte [ebp - 4], 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str._combo_width
lea ecx, [esi + 0x48]
push ecx
push eax
call fcn.10006fb9
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.10062265
mov ecx, dword [esi + 0x114]
mov dword [esi + 0xa8], eax
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x5c]
push 0x20
mov dword [ebp + 8], eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.100c7c60
add esp, 0xc
cmp dword [esi + 0x78], ebx
lea ecx, [ebp - 0x68]
sete al
dec al
and al, 0x20
mov byte [ebp - 0x58], al
mov ax, word [esi + 0xa8]
push ecx
mov word [ebp - 0x56], ax
mov eax, dword [esi + 0xc]
push eax
push 0x440
push dword [ebp + 8]
mov dword [ebp - 0x50], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x68], 0x20
mov dword [ebp - 0x64], 0x4e
mov byte [ebp - 0x57], bl
call edi
lea ecx, [esi + 0xa4]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
je 0x1002a03c
push ebx
call fcn.100054ad
push eax
push 0x20
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push 1
push 0x190
push ebx
push ebx
push ebx
push dword [esi + 0xcc]
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [esi + 0x124], eax
jmp 0x1002a042
mov dword [esi + 0x124], ebx
mov eax, dword [esi + 0xc]
push ebx
push eax
push 0x419
push dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call edi
lea ecx, [ebp - 0x48]
push ecx
push eax
push 0x41d
push dword [ebp + 8]
call edi
mov ecx, dword [esi + 0xc0]
cmp ecx, ebx
jle 0x1002a093
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
cmp ecx, eax
jge 0x1002a093
mov eax, dword [ebp - 0x3c]
sub eax, ecx
sub eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x44], eax
sub dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xc]
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ecx], eax
push dword [esi + 0x11c]
push dword [esi + 0x118]
push ebx
push ecx
mov eax, esp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
mov dword [eax], ecx
lea ecx, [esi + 0xdc]
call fcn.10029099
push dword [esi + 0xc4]
lea edi, [esi + 0xe0]
mov ecx, edi
call fcn.10028b62
lea eax, [esi + 0x100]
push eax
push dword [edi]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1002b117
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100e3e63
call fcn.100c908c
sub esp, 0x238
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 4], 0x100
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], ebx
jne 0x1002b267
cmp dword [edi + 8], 0xd
je 0x1002b1a6
mov ecx, dword [esi + 0x84]
add ecx, 0xf4
mov byte [esi + 0x109], bl
call fcn.10069337
cmp al, bl
jne 0x1002b267
cmp byte [0x1014faa8], bl
je 0x1002b196
mov eax, dword [edi + 8]
cmp eax, 0x25
je 0x1002b196
cmp eax, 0x27
je 0x1002b196
cmp eax, 0x24
je 0x1002b196
cmp eax, 0x23
je 0x1002b196
cmp eax, 8
je 0x1002b196
cmp eax, 0x2e
jne 0x1002b267
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1002b224
push 0x104
lea eax, [ebp - 0x244]
push eax
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x244]
lea ecx, [esi + 0x90]
push eax
call fcn.10006a3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp al, bl
je 0x1002b267
cmp dword [esi + 0x10], 0xffffffff
mov byte [esi + 0x128], 1
je 0x1002b224
mov eax, dword [esi + 0x4c]
mov edi, dword [ebp + 8]
mov edx, dword [edi]
push eax
push str.Current_Link
mov ecx, edi
call dword [edx + 0x44]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push str.ApplyCommandEx
mov ecx, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
call dword [eax + 0xb8]
xor eax, eax
jmp 0x1002b26a
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x1002b3ba
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100e3e97
call fcn.100c908c
sub esp, 0x830
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp byte [esi + 0xd9], bl
je 0x1002b437
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002b437
xor eax, eax
push 0x7fe
mov word [ebp - 0x83c], ax
lea eax, [ebp - 0x83a]
push ebx
push eax
call fcn.100c7c60
add esp, 0xc
push 0x400
lea eax, [ebp - 0x83c]
push eax
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x83c]
lea ecx, [esi + 0x90]
push eax
call fcn.10006a3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1002be68
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x100e3f87
call fcn.100c908c
sub esp, 0x5c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push ecx
mov esi, ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov edi, 0x1010d92c
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [esi + 0x114], eax
call fcn.10009e15
push dword [esi + 0xa8]
mov byte [ebp - 4], 1
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str._combo_width
lea ecx, [esi + 0x48]
push ecx
push eax
call fcn.10006fb9
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.10062265
mov ecx, dword [esi + 0x114]
mov dword [esi + 0xa8], eax
mov eax, dword [ecx]
add esp, 0xc
call dword [eax + 0x5c]
push 0x20
mov dword [ebp + 8], eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.100c7c60
add esp, 0xc
cmp dword [esi + 0x78], ebx
lea ecx, [ebp - 0x68]
sete al
dec al
and al, 0x20
mov byte [ebp - 0x58], al
mov ax, word [esi + 0xa8]
push ecx
mov word [ebp - 0x56], ax
mov eax, dword [esi + 0xc]
push eax
push 0x440
push dword [ebp + 8]
mov dword [ebp - 0x50], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x68], 0x20
mov dword [ebp - 0x64], 0x4e
mov byte [ebp - 0x57], bl
call edi
lea ecx, [esi + 0xa4]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
je 0x1002bf6b
push ebx
call fcn.100054ad
push eax
push 0x20
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push 1
push 0x190
push ebx
push ebx
push ebx
push dword [esi + 0xcc]
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [esi + 0x124], eax
jmp 0x1002bf71
mov dword [esi + 0x124], ebx
mov eax, dword [esi + 0xc]
push ebx
push eax
push 0x419
push dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call edi
lea ecx, [ebp - 0x48]
push ecx
push eax
push 0x41d
push dword [ebp + 8]
call edi
mov ecx, dword [esi + 0xc0]
cmp ecx, ebx
jle 0x1002bfc2
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
cmp ecx, eax
jge 0x1002bfc2
mov eax, dword [ebp - 0x3c]
sub eax, ecx
sub eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x44], eax
sub dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xc]
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ecx], eax
push dword [esi + 0x11c]
push dword [esi + 0x118]
push ebx
push ecx
mov eax, esp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
mov dword [eax], ecx
lea ecx, [esi + 0xdc]
call fcn.1002afcd
push dword [esi + 0xc4]
lea edi, [esi + 0xe0]
mov ecx, edi
call fcn.1002aa82
lea eax, [esi + 0x100]
push eax
push dword [edi]
call dword [sym.imp.ole32.dll_RegisterDragDrop]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x10030de1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x10030dfa
push 0x80004005
call fcn.10002a07
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebx
je 0x10030e69
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x10030e64
cmp dword [ebp + 0x10], ebx
jbe 0x10030e5a
cmp dword [ebp + 0x10], 2
jbe 0x10030e4c
cmp dword [ebp + 0x10], 7
jne 0x10030e5a
test cl, 1
jne 0x10030e5a
shr ecx, 1
cmp ecx, 1
jb 0x10030e5a
cmp word [esi + ecx*2 - 2], bx
jne 0x10030e5a
cmp ecx, 1
jbe 0x10030e69
cmp word [esi + ecx*2 - 4], bx
jmp 0x10030e58
test cl, 1
jne 0x10030e5a
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x10030e69
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x10030e69
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10030ea8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x10030ebe
push 0x80004005
call fcn.10002a07
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 0x14]
je 0x10030ed1
cmp eax, 0xffffffff
jne 0x10030ee0
push 0x57
pop eax
jmp 0x10030f01
cmp eax, 0xffffffff
jne 0x10030ee0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
push dword [ebp + 8]
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
dec eax
and eax, 6
inc eax
push eax
push 0
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret 0x10
Function at 0x10036f99
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x21c
push esi
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x10036fb4
mov eax, 0x80004005
jmp 0x10036fc2
push edi
mov edi, dword [ebp + 0xc]
cmp edi, esi
jne 0x10036fc7
mov eax, 0x80004003
pop edi
pop esi
leave
ret 8
push str.Layouts
push 0x1014f4dc
lea eax, [ebp - 4]
push 0x100f6c64
push eax
mov dword [edi], esi
call fcn.1001f6e3
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006fb9
add esp, 0xc
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.10006f5b
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.10006fb9
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10003f60
push esi
push esi
push 0x2001f
push esi
push esi
push dword [ebp + 8]
lea ecx, [ebp - 8]
push SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.1000379b
test eax, eax
je 0x1003706a
xor esi, esi
inc esi
lea ecx, [ebp - 8]
call fcn.10003780
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
jmp 0x10036fc1
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.100c7c60
add esp, 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x10037050
inc dword [edi]
jmp 0x10037088
Function at 0x100370b8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x220
push esi
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x100370d6
mov eax, 0x80004005
pop esi
leave
ret 0xc
cmp dword [ebp + 0x10], esi
jne 0x100370e2
mov eax, 0x80004003
jmp 0x100370d1
push edi
push str.Layouts
push 0x1014f4dc
lea eax, [ebp - 4]
push 0x100f6c64
push eax
call fcn.1001f6e3
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10006fb9
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006f5b
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10006fb9
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10003f60
push esi
push esi
mov edi, 0x2001f
push edi
push esi
push esi
push dword [ebp - 0xc]
lea ecx, [ebp - 8]
push SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.1000379b
test eax, eax
je 0x10037186
xor esi, esi
inc esi
lea ecx, [ebp - 8]
call fcn.10003780
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
pop edi
jmp 0x100370d1
xor eax, eax
push 0x206
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push esi
push eax
call fcn.100c7c60
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x104
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x100371d4
mov esi, 0x80004005
jmp 0x1003716b
push esi
push esi
push edi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 8]
lea ecx, [ebp - 8]
call fcn.1000379b
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
lea ecx, [ebp - 8]
mov dword [ebp + 8], 0x104
call fcn.1001f5bd
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x1003716b
Function at 0x1003721d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x21c
push esi
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x10037238
mov eax, 0x80004005
jmp 0x10037246
push edi
mov edi, dword [ebp + 0x10]
cmp edi, esi
jne 0x1003724b
mov eax, 0x80004003
pop edi
pop esi
leave
ret 0xc
push str.Layouts
push 0x1014f4dc
lea eax, [ebp - 4]
push 0x100f6c64
push eax
call fcn.1001f6e3
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006fb9
add esp, 0xc
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.10006f5b
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.10006fb9
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10003f60
push esi
push esi
push 0x2001f
push esi
push esi
push dword [ebp + 8]
lea ecx, [ebp - 8]
push SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.1000379b
test eax, eax
je 0x100372ec
xor esi, esi
inc esi
lea ecx, [ebp - 8]
call fcn.10003780
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
jmp 0x10037245
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.100c7c60
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x104
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1003733a
mov esi, 0x80004005
jmp 0x100372d2
lea eax, [ebp - 0x21c]
push eax
call fcn.100cb10f
pop ecx
mov dword [edi], eax
jmp 0x100372d2
Function at 0x1003b974
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100e4fa8
call fcn.100c908c
sub esp, 0x2c
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], bl
call fcn.10037b6e
cmp al, bl
je 0x1003b9b6
mov ecx, dword [esi + 0x94]
cmp ecx, ebx
je 0x1003b9b2
push ebx
push 6
call fcn.10020ddf
mov byte [ebp - 0x11], 1
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x1003baba
cmp byte [ebp - 0x11], bl
jne 0x1003baba
cmp byte [esi + 0x90], bl
jne 0x1003baba
push ecx
mov eax, esp
mov dword [ebp + 8], esp
push eax
call fcn.1007d89a
mov ecx, dword [esi + 0x68]
call fcn.100749c8
cmp al, bl
jne 0x1003ba7b
cmp byte [esi + 0x7b], bl
jne 0x1003ba7b
cmp byte [esi + 0x7c], bl
jne 0x1003ba7b
mov eax, dword [esi + 0x68]
cmp byte [eax + 0x1279], bl
je 0x1003ba7b
cmp byte [0x1015400e], bl
jne 0x1003ba7b
cmp byte [esi + 0x7a], bl
jne 0x1003ba7b
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x1010d92c
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
mov edi, 0x100f45a0
push edi
mov byte [ebp - 4], 1
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.TBShow
mov byte [ebp - 4], 2
call fcn.10009e15
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], bl
call fcn.10061f03
add esp, 0x10
push edi
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 1
call fcn.10004959
mov byte [ebp + 0xb], 1
cmp eax, ebx
je 0x1003ba7e
mov byte [ebp + 0xb], bl
test byte [ebp - 0x18], 1
mov dword [ebp - 4], ebx
je 0x1003ba92
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10003f60
cmp byte [ebp + 0xb], bl
je 0x1003baba
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1003baba
mov ecx, dword [esi + 0x68]
call fcn.1007e32a
mov ecx, dword [ebp + 0x10]
or eax, 0xffffffff
mov word [ecx], ax
mov byte [esi + 0x7c], bl
mov byte [0x1015400e], bl
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x1003bad4
cmp byte [ebp - 0x11], bl
jne 0x1003bad4
call fcn.100741ad
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x1003fc85
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100e5631
call fcn.100c908c
sub esp, 0x5c
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
push edi
mov dword [ebp - 0x10], esp
je 0x1003fdcf
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x1003fdcf
lea eax, [ebp + 8]
push eax
call fcn.1007f33d
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003fce5
mov esi, 0x80004005
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
jmp 0x1003fdd4
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x1003fcf3
mov esi, 0x80004003
jmp 0x1003fcd3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.TOOLBAR
mov byte [ebp - 4], 2
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x1010d92c
mov byte [ebp - 4], 3
call fcn.10009e15
push 1
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.1000548f
push dword [esi + 0x54]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.100a1a38
push 0xfffffffffffffffe
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.1000548f
lea ecx, [ebp - 0x68]
call fcn.100a0525
xor ecx, ecx
test eax, eax
setl cl
mov byte [ebp - 4], 2
dec ecx
mov word [edi], cx
lea ecx, [ebp - 0x68]
call fcn.100a0b99
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
xor esi, esi
jmp 0x1003fcd3
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x10040852
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100e5786
call fcn.100c908c
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.10009e15
push str.about:Tabs
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10004959
cmp eax, ebx
je 0x100408aa
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x1010d92c
call fcn.10009e15
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Enable_aboutTabs
mov byte [ebp - 4], 2
call fcn.10009e15
mov byte [ebp - 4], 1
call fcn.10062265
add esp, 0xc
cmp eax, 1
sete al
cmp al, bl
je 0x1004088c
push 0x101519f8
lea ecx, [ebp - 0x18]
call fcn.1007170f
push dword [esi + 0x8c]
lea eax, [ebp - 0x18]
push str.aboutTabs._d.js
push eax
mov byte [ebp - 4], 3
call fcn.100070c4
lea eax, [ebp - 0x20]
add esp, 0xc
push eax
call fcn.10060b08
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.10006f5b
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10003f60
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10040964
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
jmp 0x1004088c
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp - 0x1c]
push eax
call fcn.100499e2
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp dword [eax - 0xc], ebx
jne 0x10040994
lea ecx, [eax - 0x10]
call fcn.10003f60
jmp 0x10040949
push dword [esi + 0x70]
call fcn.100538c6
pop ecx
cmp al, bl
jne 0x100409d4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov al, bl
jmp 0x10040899
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x70]
push str.Freecause_AboutTabs_ScriptID
push eax
call fcn.10053994
add esp, 0xc
mov bl, al
jmp 0x100409a1