joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003362d
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100bf1be
call fcn.100a35ac
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
push edi
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], ebx
call fcn.1001db9a
cmp dword [edi + 4], 0x100
mov dword [ebp - 0x14], eax
jne 0x100336d9
mov edi, dword [edi + 8]
cmp edi, 0xd
je 0x100336bd
cmp edi, 0x20
jbe 0x10033716
cmp edi, 0x22
jbe 0x100336b3
cmp edi, 0x26
je 0x100336b3
cmp edi, 0x28
je 0x100336b3
cmp edi, 0x41
jne 0x10033716
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10033716
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xac]
call fcn.10027548
xor eax, eax
jmp 0x10033719
push edi
mov ecx, esi
call fcn.10097d84
jmp 0x100336af
cmp byte [esi + 0xa5], bl
je 0x100336a1
cmp dword [esi + 0x150], ebx
je 0x100336a1
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
jmp 0x100336a1
inc dword [0x10115e70]
cmp dword [0x10115e70], 2
jne 0x10033716
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x84]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x84]
mov dword [0x10115e70], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x1003396e
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
mov eax, 0x100bf20c
call fcn.100a35ac
sub esp, 0x228
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
push edi
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
call fcn.1001c713
cmp dword [edi + 4], 0x100
mov dword [ebp + 0xc], eax
jne 0x10033a61
cmp dword [edi + 8], 0xd
je 0x100339d5
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x84]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x84]
mov edi, dword [edi + 8]
cmp edi, 0xd
je 0x10033a0a
cmp edi, 0x41
jne 0x10033a61
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10033a61
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xac]
call fcn.100274ff
xor eax, eax
jmp 0x10033aaa
push 0x104
lea eax, [ebp - 0x234]
push eax
lea edi, [esi + 0xac]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x88]
cmp dword [eax - 0xc], ebx
je 0x10033a56
lea eax, [ebp - 0x234]
push eax
call fcn.100a26e2
pop ecx
test eax, eax
jne 0x10033a56
push 0x30
push str.Warning
push dword [esi + 0x88]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x10033a61
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.100274ff
mov eax, dword [ebp + 0xc]
jmp 0x10033aaa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x1003427d
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x100bf2da
call fcn.100a35ac
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xa8]
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x100342a9
push 0xfffffffffffffffd
pop eax
jmp 0x100343ec
cmp dword [esi + 0x9c], ebx
je 0x100343e7
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100343e7
mov ecx, dword [esi + 0x74]
lea eax, [ebp - 0x11]
push eax
push esi
mov byte [ebp - 0x11], bl
call fcn.10067b42
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x11], bl
jne 0x10034307
push ebx
push 1
push ecx
lea eax, [esi + 0x48]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, dword [esi + 0x74]
add ecx, 0xe4
call fcn.10055a11
cmp eax, ebx
setne al
cmp al, bl
je 0x10034361
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push dword [ebp - 0x18]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call edi
lea ecx, [ebp - 0x50]
push ecx
push eax
push 0x41d
push dword [ebp - 0x18]
call edi
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x48]
jle 0x10034342
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.100323ea
mov ecx, dword [esi + 0xa8]
push 1
lea eax, [ebp - 0x50]
push eax
add ecx, 0x30
call fcn.10001df6
xor eax, eax
jmp 0x100343ec
mov eax, 0xfffffe6f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x10036ba6
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Hash.0
call fcn.100a2490
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret
Function at 0x1003dfcf
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 0x1003dfe8
push 0x80004005
call fcn.1000118f
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 0x1003e057
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x1003e052
cmp dword [ebp + 0x10], ebx
jbe 0x1003e048
cmp dword [ebp + 0x10], 2
jbe 0x1003e03a
cmp dword [ebp + 0x10], 7
jne 0x1003e048
test cl, 1
jne 0x1003e048
shr ecx, 1
cmp ecx, 1
jb 0x1003e048
cmp word [esi + ecx*2 - 2], bx
jne 0x1003e048
cmp ecx, 1
jbe 0x1003e057
cmp word [esi + ecx*2 - 4], bx
jmp 0x1003e046
test cl, 1
jne 0x1003e048
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
je 0x1003e057
xor eax, eax
push 0xd
mov word [esi], ax
pop eax
jmp 0x1003e057
xor ecx, ecx
mov word [esi], cx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x1003e05e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x1003e074
push 0x80004005
call fcn.1000118f
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp + 0x14]
je 0x1003e087
cmp eax, 0xffffffff
jne 0x1003e096
push 0x57
pop eax
jmp 0x1003e0b7
cmp eax, 0xffffffff
jne 0x1003e096
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 0x1003e238
Capabilities:
Delete directory
Move file

Disassembly:
mov eax, 0x100bfe69
call fcn.100a35ac
push ecx
push ecx
push esi
push edi
and dword [ebp - 4], 0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.10003561
call fcn.10024c36
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
call esi
test eax, eax
jne 0x1003e2d3
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.10003561
push str.FCTB
push str.FCTB0000
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.100047f1
mov edi, dword [ebp - 0x10]
push edi
call esi
test eax, eax
je 0x1003e2b6
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1003e2cb
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.10003561
call fcn.10024c36
pop ecx
lea ecx, [edi - 0x10]
call fcn.10001d29
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x1003f639
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x100c011a
call fcn.100a35ac
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov esi, 0x10115ed0
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.10003561
lea eax, [ebp - 0x14]
push eax
call fcn.1003e834
pop ecx
pop ecx
push 0x101185a8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.1005a319
push 0x2001f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push SysReAllocString
call fcn.100014fe
test eax, eax
jne 0x1003f6b6
push dword [ebp + 8]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
lea ecx, [ebp - 0x24]
call fcn.10001489
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1003f76c
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10042b02
Capabilities:
Set global application hook

Disassembly:
mov eax, 0x100bde80
call fcn.100a35ac
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x20]
push eax
lea edi, [esi + 0x1438]
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x52012945
lea eax, [ebp - 0x20]
push eax
push dword [edi]
lea ebx, [esi + 0x78]
push esi
mov ecx, ebx
call fcn.1005d84c
test eax, eax
jne 0x10042bb1
push 0x38
call fcn.100a2ba4
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10042b5d
push esi
mov ecx, eax
call fcn.1001544b
jmp 0x10042b5f
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
mov dword [esi + 0x1464], eax
call fcn.1006c2ff
cmp byte [0x101164d0], 0
jne 0x10042bb1
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x7c]
call fcn.1004255f
mov edi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x10042a93
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push eax
push esi
push edi
call fcn.100265a5
add esp, 0xc
push 0
mov ecx, ebx
call fcn.10074894
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x10043fc3
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 0x10043fde
mov eax, 0x80004005
jmp 0x10043fec
push edi
mov edi, dword [ebp + 0xc]
cmp edi, esi
jne 0x10043ff1
mov eax, 0x80004003
pop edi
pop esi
leave
ret 8
push str.Layouts
push 0x10115fdc
lea eax, [ebp - 4]
push 0x100ccd84
push eax
mov dword [edi], esi
call fcn.10017444
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100053c1
add esp, 0xc
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.10005363
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.100053c1
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10001d29
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.100014a4
test eax, eax
je 0x10044094
xor esi, esi
inc esi
lea ecx, [ebp - 8]
call fcn.10001489
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
jmp 0x10043feb
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.100a2490
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 0x1004407a
inc dword [edi]
jmp 0x100440b2
Function at 0x100440e2
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 0x10044100
mov eax, 0x80004005
pop esi
leave
ret 0xc
cmp dword [ebp + 0x10], esi
jne 0x1004410c
mov eax, 0x80004003
jmp 0x100440fb
push edi
push str.Layouts
push 0x10115fdc
lea eax, [ebp - 4]
push 0x100ccd84
push eax
call fcn.10017444
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100053c1
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10005363
add esp, 0xc
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100053c1
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10001d29
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.100014a4
test eax, eax
je 0x100441b0
xor esi, esi
inc esi
lea ecx, [ebp - 8]
call fcn.10001489
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
pop edi
jmp 0x100440fb
xor eax, eax
push 0x206
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push esi
push eax
call fcn.100a2490
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 0x100441fe
mov esi, 0x80004005
jmp 0x10044195
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.100014a4
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.10022af7
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x10044195
Function at 0x10044247
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 0x10044262
mov eax, 0x80004005
jmp 0x10044270
push edi
mov edi, dword [ebp + 0x10]
cmp edi, esi
jne 0x10044275
mov eax, 0x80004003
pop edi
pop esi
leave
ret 0xc
push str.Layouts
push 0x10115fdc
lea eax, [ebp - 4]
push 0x100ccd84
push eax
call fcn.10017444
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100053c1
add esp, 0xc
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.10005363
add esp, 0xc
push eax
lea eax, [ebp + 8]
push eax
call fcn.100053c1
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10001d29
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.100014a4
test eax, eax
je 0x10044316
xor esi, esi
inc esi
lea ecx, [ebp - 8]
call fcn.10001489
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
jmp 0x1004426f
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.100a2490
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 0x10044364
mov esi, 0x80004005
jmp 0x100442fc
lea eax, [ebp - 0x21c]
push eax
call fcn.100a58cc
pop ecx
mov dword [edi], eax
jmp 0x100442fc
Function at 0x10047f00
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100c0bcd
call fcn.100a35ac
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.1004668b
cmp al, bl
je 0x10047f43
mov ecx, dword [esi + 0x1464]
push ebx
push 6
call fcn.10014f07
mov byte [ebp - 0x11], 1
jmp 0x1004803d
cmp byte [esi + 0x1460], bl
jne 0x1004803d
push ecx
mov eax, esp
lea edi, [esi + 0x78]
mov dword [ebp + 8], esp
push eax
mov ecx, edi
call fcn.1005fa2b
mov ecx, edi
call fcn.1006ac7e
cmp al, bl
jne 0x10047ffe
cmp byte [esi + 0x144c], bl
jne 0x10047ffe
cmp byte [esi + 0x144d], bl
jne 0x10047ffe
cmp byte [esi + 0x1300], bl
je 0x10047ffe
cmp byte [0x1011b007], bl
jne 0x10047ffe
cmp byte [esi + 0x144b], bl
jne 0x10047ffe
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x100cb0a0
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
mov edi, 0x100cb330
push edi
mov byte [ebp - 4], 1
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.TBShow
mov byte [ebp - 4], 2
call fcn.10005f07
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], bl
call fcn.1003fd77
add esp, 0x10
push edi
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 1
call fcn.10002834
mov byte [ebp + 0xb], 1
cmp eax, ebx
je 0x10048001
mov byte [ebp + 0xb], bl
test byte [ebp - 0x18], 1
mov dword [ebp - 4], ebx
je 0x10048015
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
cmp byte [ebp + 0xb], bl
je 0x1004803d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1004803d
lea ecx, [esi + 0x78]
call fcn.10061773
mov ecx, dword [ebp + 0x10]
or eax, 0xffffffff
mov word [ecx], ax
mov byte [esi + 0x144d], bl
mov byte [0x1011b007], bl
cmp byte [ebp - 0x11], bl
jne 0x10048056
lea ecx, [esi + 0x78]
call fcn.1005e081
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x1004c804
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c14e8
call fcn.100a35ac
sub esp, 0x60
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
cmp dword [eax - 0xc], esi
je 0x1004c96e
lea ebx, [eax + 0x64]
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.10064264
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004c85e
mov esi, 0x80004005
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov eax, esi
jmp 0x1004c973
mov edi, dword [ebp + 0x10]
cmp edi, esi
jne 0x1004c86c
mov esi, 0x80004003
jmp 0x1004c84c
push 1
push dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
call fcn.1000bfdd
mov eax, dword [eax]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x1004c887
mov eax, dword [eax]
jmp 0x1004c889
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
call fcn.10005f07
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 4
cmp ecx, esi
je 0x1004c8a5
call fcn.10003111
mov dword [ebp + 0x10], esi
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.TOOLBAR
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x100cb0a0
mov byte [ebp - 4], 5
call fcn.10005f07
push 1
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 6
call fcn.10003561
push ebx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.10089796
push 0xfffffffffffffffe
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp + 0xc], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 7
call fcn.10003561
lea ecx, [ebp - 0x6c]
call fcn.100881fa
xor ecx, ecx
cmp eax, esi
setl cl
mov byte [ebp - 4], 4
dec ecx
mov word [edi], cx
lea ecx, [ebp - 0x6c]
call fcn.100888f7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1004c84c
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x1004d5ad
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100c169f
call fcn.100a35ac
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.10005f07
push str.about:Tabs
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10002834
cmp eax, ebx
je 0x1004d605
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
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 0x100cb0a0
call fcn.10005f07
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Enable_aboutTabs
mov byte [ebp - 4], 2
call fcn.10005f07
mov byte [ebp - 4], 1
call fcn.100400d9
add esp, 0xc
cmp eax, 1
sete al
cmp al, bl
je 0x1004d5e7
push 0x101185a8
lea ecx, [ebp - 0x18]
call fcn.1005a319
push dword [esi + 0x145c]
lea eax, [ebp - 0x18]
push str.aboutTabs._d.js
push eax
mov byte [ebp - 4], 3
call fcn.1000d4c3
add esp, 0xc
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.100404f4
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.10005363
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001d29
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004d6c1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
jmp 0x1004d5e7
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.10003561
lea eax, [ebp - 0x1c]
push eax
call fcn.10051021
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
cmp dword [eax - 0xc], ebx
jne 0x1004d6f1
lea ecx, [eax - 0x10]
call fcn.10001d29
jmp 0x1004d6a6
lea ecx, [esi + 0x130]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov esi, eax
push esi
call fcn.10034e19
pop ecx
cmp al, bl
jne 0x1004d73c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10001d29
mov al, bl
jmp 0x1004d5f4
push dword [ebp - 0x1c]
push str.Freecause_AboutTabs_ScriptID
push esi
call fcn.10034f06
add esp, 0xc
mov bl, al
jmp 0x1004d709