joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa9c25c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0xb0c578]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0xa9c29f
cmp word [esi], dx
jne 0xa9c29f
or byte [edi + eax + 0x28], 4
jmp 0xa9c2a4
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0xa9c3dd
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0xa9c3bd
add eax, 2
cmp cx, word [ebp - 0xc]
je 0xa9c2e6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0xa9c31c
cmp eax, edx
jae 0xa9c328
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0xa9c2be
jmp 0xa9c3dd
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xa9c3b9
cmp dword [ebp - 0x14], 0
je 0xa9c3b9
mov eax, dword [ebx*4 + 0xb0c578]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0xa9c391
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0xa9c3d7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0xb0c578]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0xb0c578]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0xb0c578]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0xa9c3da
pop ebx
cmp word [ebp - 4], bx
jne 0xa9c3a2
cmp esi, dword [ebp + 0xc]
jne 0xa9c3a2
mov word [esi], bx
jmp 0xa9c3da
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00a92737
add esp, 0x10
cmp word [ebp - 4], bx
je 0xa9c3dd
push 0xd
jmp 0xa9c3d6
mov ecx, dword [ebx*4 + 0xb0c578]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0xa9c3d4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0xa9c3dd
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0xa9cbfe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a9ca6f
Function at 0xa9dc7a
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a9dbf6
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xa9ddf2
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xa9ddf2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xa9dda1
jg 0xa9dcd3
test eax, eax
je 0xa9dd97
push 1
push 0x1000
call fcn.00a8798f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xa9dcf9
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0xa9dd8e
push 0x8000
push ebx
call fcn.00a8604e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0xa9dd25
jg 0xa9dd20
cmp ecx, 0x1000
jb 0xa9dd25
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00a9d4f6
add esp, 0x10
cmp eax, 0xffffffff
je 0xa9dd6a
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0xa9dd20
jl 0xa9dd51
test ecx, ecx
jne 0xa9dd12
push dword [ebp - 0xc]
push ebx
call fcn.00a8604e
push esi
call fcn.00a886b6
add esp, 0xc
xor edi, edi
jmp 0xa9de03
cmp byte [edi + 0x24], 0
je 0xa9dd81
cmp dword [edi + 0x20], 5
jne 0xa9dd81
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xa9dd8c
mov edi, dword [edi + 0x18]
jmp 0xa9dd8e
xor edi, edi
push esi
call fcn.00a886b6
pop ecx
jmp 0xa9de03
test ecx, ecx
jg 0xa9dd63
jl 0xa9dda1
test eax, eax
jae 0xa9dd63
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00a92737
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xa9ddc4
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa9dd63
jmp 0xa9ddfb
push ebx
call fcn.00a96f92
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xa9dd63
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0xa9de03
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0xa9de00
mov edi, dword [edi + 0x18]
jmp 0xa9de03
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00a92737
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0xaa3bdd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x67fb09
Capabilities:
Encode data using xor

Disassembly:
xor dh, byte [ecx + 0x6bcbb814]
sub byte [edi - 0x3cff1e09], ch
aaa
and dword [esi - 0x2f], ecx
mov dh, 0xc0
mov ebx, 0x8b50007f
shr byte [ebx - 0x2e], 1
adc ebx, dword [edi]
imul eax, eax, 0xd
xor eax, dword [edx - 0x34dc1e27]
and ecx, ebx
push esi
push 0x1a002b62
clc
mov al, byte [0x9006850]
push ds
or bh, ah
mov eax, dword [0x8bf64d24]
pop ss
push ds
push ebp
pop eax
aas
cmp dword [eax + 0x65683b74], esp
dec ebp
jge 0x67fb0f
jbe 0x67fb2c
or byte [esp + ebx*4], dl
cwde
sbb al, 0x30
jecxz 0x67fb9f
or bl, ch
inc edx
imul edi, dword [ebx - 0x7ae34f85], 0x6fa3399e
call 0xa5eb9524
aad 0xaf
std
arpl ax, si
push 0xe80ac36b
stosb byte es:[edi], al
pop ss
sub edx, dword [eax]
test al, 0x3e
or dh, bh
jb 0x67fb7e
invalid
call 0xef611313
sal dword gs:[ecx - 0x6544ec94], cl
mov dword [0xc1c8822b], 0x78680176
popfd
pop ebx
lahf
pop es
pop ebx
loopne 0x67fbbc
cmp dword [0x686c4f20], 0x27
cmp eax, 0x686c4f20
daa
mov cl, 0x34
dec esi
test dword fs:[ebp + 0x4d], esp
cmp eax, 0x7237115a
and ch, ch
aam 0x19
dec ecx
sahf
sub cl, byte [ebx]
mov eax, dword [0x382e803d]
and byte [edx], dh
sar ebx, 1
cmp byte cs:[eax], ah
xor ah, byte [esi]
sar ebx, 1
sti
mov edx, 0x22f940a
mov es, word [ebp - 0x7f8efca7]
add esi, dword [ecx - 0x80]
pop edi
add eax, 0xff16dee8
dec esi
sbb ebx, 0xffffffb5
ja 0x67fbc2
push ebx
lahf
xor byte [edi - 0x1793f9c5], al
mov esi, 0x8720d716
or cl, byte [esi + 0x28]
aas
xchg esp, eax
push ss
or dword [ecx + 0x166b1790], ebx
add dword [ebx + 0xa], esi
push cs
adc byte [esi - 0x4cc0c115], 0x9d
adc eax, ecx
jae 0x67fbcb
cwde
or bl, byte [esi]
nop
mov esp, 0x15f4e180
jg 0x67fbd8
adc eax, 0x7041e439
cmpsd dword [esi], dword es:[edi]
aas
sahf
adc eax, 0x179214a3
push edx
test eax, 0xdc66157e
enter 0xffffffffffffbffe, 0xffffffffffffffe8
not byte [ecx + 0x50]
mov word [edi + edi + 0x2f089ad1], gs
jmp 0xbe87928e
Function at 0x898b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e0000]
push edi
or ebp, 0xffffffff
jmp 0x898b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x898b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x898b58
mov eax, 1
add ebx, ebx
jne 0x898b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x898b8c
jne 0x898bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x898bab
dec eax
add ebx, ebx
jne 0x898b98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x898b70
add ebx, ebx
jne 0x898ba7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x898bfd
xor ecx, ecx
sub eax, 3
jb 0x898bc3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x898c32
sar eax, 1
mov ebp, eax
jmp 0x898bce
add ebx, ebx
jne 0x898bce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x898b9c
inc ecx
add ebx, ebx
jne 0x898bdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x898b9c
add ebx, ebx
jne 0x898be9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x898bde
jne 0x898bfa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x898bde
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x898c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x898c0e
jmp 0x898b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x898c1c
add edi, ecx
jmp 0x898b5e
pop esi
mov edi, esi
mov ecx, 0x6a20
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x898c3a
cmp byte [edi], 0xe
jne 0x898c3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x898c3f
lea edi, [esi + 0x48f000]
mov eax, dword [edi]
or eax, eax
je 0x898cb7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49cb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49ccd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x898c6c
mov ecx, edi
jns 0x898c9b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x49ccd8]
or eax, eax
je 0x898cb1
mov dword [ebx], eax
add ebx, 4
jmp 0x898c89
call dword [esi + 0x49cce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x898ce8
cmp al, 0xef
ja 0x898cdb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x898cbd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x898cca
mov ebp, dword [esi + 0x49ccdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x898d1c
sub esp, 0xffffff80
jmp 0x4af6b0
Function at 0x10002480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084f24
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi], 0x100972c8
mov dword [edi + 0xec], 0x100aee90
mov dword [edi + 0x1bc], 0x100972c0
lea eax, [edi + 0xa4]
mov dword [edi + 0x98], vtable.CReferencedSeed.0
push eax
mov dword [edi + 0xa0], vtable.CCritical.0
call ebx
lea eax, [edi + 0xc0]
mov dword [edi + 0x9c], 1
mov dword [edi + 0x98], vtable.CSingletonSeed.0
push eax
mov dword [edi + 0xbc], vtable.CCritical.0
call ebx
mov esi, dword [ebp + 8]
mov dword [edi + 0xdc], esi
mov dword [edi + 0xe0], 0
mov dword [edi + 0xd8], 0
push 0
mov dword [ebp - 4], 0
push esi
lea ecx, [edi + 0xe8]
mov dword [ebp - 0x10], 1
call fcn.10047460
mov eax, dword [edi + 0x1bc]
mov dword [edi + method.CIESearchProtectorHandler.virtual_24], vtable.CPlatformSingletonSeed.0
mov eax, dword [eax + 4]
mov dword [eax + edi + method.CPlatformSingletonSeed.1.virtual_0], vtable.CPlatformSingletonSeed.1.0
mov dword [edi + 0x1c0], esi
mov eax, dword [edi]
mov dword [ebp - 0x10], 7
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.CToolbarThreadPool.2.0
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [edi + eax], vtable.CToolbarThreadPool.1.0
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [edi + eax], vtable.CToolbarThreadPool.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x98]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0xe8]
mov dword [ecx + edi - 4], eax
mov dword [edi + 4], vtable.CArrayPtr.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0xa
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 3
mov dword [edi + 0x18], vtable.CMapStringPtrW.0
mov dword [edi + 0x1c], vtable.CMapPtr.0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov eax, edi
lea esi, [eax + 0x38]
mov dword [esi], vtable.CMapStringPtrW.0
mov dword [esi + 4], vtable.CMapPtr.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [eax + 0x58], vtable.CCritical.0
add eax, 0x5c
push eax
call ebx
mov ebx, edi
mov dword [ebx + 0x74], vtable.CStringBufferW.0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x78], 0
mov byte [ebp - 4], 7
mov eax, dword [edi + 0x18]
push 0x1f
lea ecx, [edi + 0x18]
call dword [eax]
mov eax, dword [esi]
push 0x191
mov ecx, esi
call dword [eax]
push 0x10096ed4
push 0x10097160
push 0xd
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
call fcn.10041ef0
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10003320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100850c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 4], 0x10097ff4
lea eax, [edi + 0x50]
mov dword [edi + 0x44], vtable.CReferencedSeed.0
push eax
mov dword [edi + 0x4c], vtable.CCritical.0
call esi
lea eax, [edi + 0x6c]
mov dword [edi + 0x48], 1
mov dword [edi + 0x44], vtable.CSingletonSeed.0
push eax
mov dword [edi + 0x68], vtable.CCritical.0
call esi
mov ecx, dword [ebp + 8]
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], 0
mov dword [edi + 0x84], 0
mov eax, dword [edi + 4]
mov dword [edi], vtable.CPlatformSingletonSeed.0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [eax + edi + 4], vtable.CPlatformSingletonSeed.1.0
mov dword [edi + 8], ecx
mov dword [ebp - 4], 1
mov eax, dword [edi + 4]
mov dword [edi], vtable.CAliasesManager.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.CAliasesManager.0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x40]
mov dword [ecx + edi], eax
lea eax, [edi + 0x10]
push eax
mov dword [edi + 0xc], vtable.CCritical.0
call esi
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.100079c0
mov dword [edi + 0x30], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.100079f0
mov dword [edi + 0x38], eax
push 0x10096ed4
push 0x100972d8
push 0xd
mov byte [ebp - 4], 4
call fcn.10041ef0
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ab40
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085f68
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10050150
test eax, eax
je 0x1000abfd
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
call fcn.10045b20
cmp eax, 8
jne 0x1000abfd
push str.MonitorAddressBar
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000abfd
cmp eax, 5
je 0x1000abfd
lea ecx, [ebp - 0x30]
call fcn.1004edf0
push 0
push 0
mov edi, eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.AddressBarCheckEvent
push 0
push 0
push edi
mov dword [0x100f0b64], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0x100f0b58
push 0x1000ac20
push 0
push 0
mov dword [0x100f0b68], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100f0b60], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006daee
mov esp, ebp
pop ebp
ret
Function at 0x1000b130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10085efb
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000b060
mov esi, eax
xor eax, eax
test esi, esi
je 0x1000b245
push 0x800
push eax
mov word [ebp - 0x818], ax
lea eax, [ebp - 0x816]
push eax
call fcn.10074d40
add esp, 0xc
lea eax, [ebp - 0x818]
push 0x400
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jg 0x1000b1a8
xor eax, eax
jmp 0x1000b245
mov dword [ebp - 4], 0
xor edi, edi
lea esi, [ebp - 0x818]
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x824], edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1000b1d6
sub esi, ecx
sar esi, 1
je 0x1000b21f
push esi
lea ecx, [ebp - 0x828]
call fcn.1003f120
mov edi, dword [ebp - 0x81c]
push esi
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x820]
push edi
call fcn.1006fb74
lea eax, [esi + 1]
add esp, 0x10
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x820], eax
push str.about:Tabs
lea ecx, [ebp - 0x828]
call fcn.1003fa00
mov esi, eax
neg esi
sbb esi, esi
test edi, edi
je 0x1000b242
push edi
call fcn.1006eaef
add esp, 4
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006daee
mov esp, ebp
pop ebp
ret
Function at 0x1000ca10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100861e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10050230
test eax, eax
jne 0x1000ca4f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
call fcn.10045b20
cmp eax, 8
jl 0x1000ca90
mov dword [ebp - 0x1c], vtable.CUtils.0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
jne 0x1000caa4
push str.GetCurrentProcessId___Failed
push str.HookIE8IfNeeded
push 0x3e
call fcn.10041ef0
add esp, 0xc
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
mov edx, str.ToolbarInjectionDoneAlreadyMutexName
lea ecx, [ebp - 0x2c]
call fcn.10017c20
add esp, 4
mov byte [ebp - 4], 2
call fcn.1002d380
mov esi, eax
test esi, esi
je 0x1000cb4b
sub esp, 8
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], 0
call fcn.1004f040
add esp, 8
cmp dword [ebp - 0x10], 0
jne 0x1000cb46
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 3
call fcn.10045b20
cmp eax, 8
jl 0x1000cb02
mov ecx, esi
call fcn.1002c650
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.1002bf00
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x1000c760
push 0
push 0
mov dword [ebp - 0x14], 0
call fcn.1006e348
push dword [ebp - 0x14]
push str.Thread_created___Thread_ID___d
push 0xe0
push str.HookIE8IfNeeded
push 0x18
call fcn.10041fa0
add esp, 0x2c
mov esi, 1
lea ecx, [ebp - 0x2c]
call fcn.10022960
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000cb70
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.10050150
test eax, eax
je 0x1000cc05
lea ecx, [ebp - 0x24]
call fcn.1004edf0
push str.AboutTabsIE9Mutex
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x1000cbca
call fcn.1002f920
cmp dword [eax + 0x54], 0
jne 0x1000cc05
push 4
call fcn.1006dafd
mov edi, eax
add esp, 4
test edi, edi
je 0x1000cbe0
mov dword [edi], 0
jmp 0x1000cbe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000cba7
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x1000cbfe
xor edi, edi
push 0
push 0
push edi
push 0x1000cc20
push 0
push 0
call fcn.1006e348
add esp, 0x18
mov dword [edi], eax
test esi, esi
je 0x1000cc05
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1006daee
mov esp, ebp
pop ebp
ret
Function at 0x1000cc60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10086158
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100c90c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.Start
push 0x1009a50c
push 0x3e
call fcn.10041ef0
add esp, 0xc
mov dword [esp + 0xc], vtable.CConduitContextsFactory.0
mov dword [esp + 0x30], 0
call fcn.100512c0
test eax, eax
je 0x1000cda5
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.10051090
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x34], 1
call fcn.1000bed0
mov byte [esp + 0x30], 0
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], vtable.CStringBufferW.0
test eax, eax
je 0x1000ccf6
push eax
call fcn.1006eaef
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.CSeed.0
test esi, esi
je 0x1000cda5
push 0x10096ed4
push 0x1009a50c
push 0x22
mov dword [0x100f27d8], 1
call fcn.10041ef0
add esp, 0xc
mov ecx, esi
call fcn.10016100
mov esi, eax
test esi, esi
je 0x1000cda5
push str.InjectToIE
push 0x1009a50c
push 0x22
call fcn.10041ef0
push str.InjectToIE
push 0x1009a50c
push 0x3e
call fcn.10041ef0
add esp, 0x18
mov dword [esp + 0x10], 0
mov byte [esp + 0x30], 2
call fcn.10045b20
cmp eax, 7
jne 0x1000cd9b
call fcn.10016470
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
jle 0x1000cda5
push ecx
mov ecx, esi
call fcn.10016950
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000e290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100862c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100c90c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x14], 0
call fcn.1001d950
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], 0
lea eax, [esp + 0x10]
push eax
push str.IntervalInHours
mov byte [esp + 0x38], 1
push dword [esp + 0x28]
lea ecx, [esp + 0x18]
call fcn.10045d30
test eax, eax
je 0x1000e30d
mov esi, dword [esp + 0x10]
cmp esi, 0x18
jl 0x1000e30d
cmp esi, 0x2d0
jle 0x1000e312
mov esi, 0xa8
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000e329
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], vtable.CStringBufferW.0
test eax, eax
je 0x1000e342
push eax
call fcn.1006eaef
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret