joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12e331a0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x64
xor eax, eax
push ebx
mov ebx, dword [esp + 0x70]
mov ecx, ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
mov edx, ecx
push edi
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.12f9c4e0
test eax, eax
je 0x12e33264
push 0x41
push 0
push 1
push 0x131096fc
call dword [sym.imp.USER32.dll_OpenDesktopA]
mov esi, eax
test esi, esi
jne 0x12e331ef
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x12e33300
push esi
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jb 0x12e33236
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x84], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, eax
test esi, esi
je 0x12e332e2
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jb 0x12e332b4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4dd
jne 0x12e332f4
mov esi, 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
Function at 0x12e333a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
xor ecx, ecx
xor edi, edi
xor eax, eax
mov esi, 0x200
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x12e333ca
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, 1
jne 0x12e333d6
mov esi, 0x400
jmp 0x12e33424
cmp eax, 2
jne 0x12e33424
xor eax, eax
lea edx, [esp + 0x38]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x2c], eax
push 0x18
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push ecx
push ecx
push 0x70000
push ebp
mov dword [esp + 0x58], ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x12e33484
mov esi, dword [esp + 0x2c]
cmp esi, 0x200
jb 0x12e33484
push esi
call fcn.12f5bf8b
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
jne 0x12e3347a
mov edx, dword [ebx]
push edx
call fcn.12f5bf80
mov eax, dword [esp + 0x14]
add esp, 4
inc eax
mov dword [ebx], edi
cmp eax, 3
mov dword [esp + 0x10], eax
jl 0x12e333c4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x12e34660
Capabilities:
Get disk information

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
cmp esi, edi
je 0x12e346c4
push esi
call fcn.12f5c44d
add esp, 4
cmp eax, 2
jb 0x12e346c4
mov ax, word [esi]
cmp ax, 0x5c
jne 0x12e3468c
cmp word [esi + 2], ax
je 0x12e346b9
mov word [esp + 8], ax
mov ax, word [esi + 2]
lea ecx, [esp + 8]
mov word [esp + 0xa], ax
push ecx
mov word [esp + 0x10], di
mov word [esp + 0x12], di
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x12e346b9
cmp eax, 1
jne 0x12e346c4
pop edi
mov eax, 1
pop esi
add esp, 8
ret
mov eax, edi
pop edi
pop esi
add esp, 8
ret
Function at 0x12e380e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1305d429
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.12e38270
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
push 0x131911a8
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
call fcn.12f46a80
mov eax, dword [0x1307d25c]
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 2
mov dword [ecx], eax
push 0x131911a8
mov byte [esp + 0x18], 3
call fcn.12f474a0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x3c], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x12e39520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1305d737
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
push 0x131911a8
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 0
call fcn.12f46a80
push 0x131911a8
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 1
call fcn.12f46a80
mov ebp, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ebp
mov byte [esp + 0x2c], 2
call fcn.12f46820
mov esi, dword [edi + 4]
mov edi, dword [edi + 0x10]
test edi, edi
mov byte [esp + 0x28], 3
mov dword [esp + 0x34], 0
jle 0x12e3960e
mov eax, esi
mov esi, dword [esi]
add eax, 0x14
lea ecx, [esp + 0xc]
push eax
call fcn.12f474a0
push 0x5c
lea ecx, [esp + 0x10]
call fcn.12f483d0
inc eax
lea ecx, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.12f49510
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
call fcn.12f473b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.12f47220
mov eax, dword [ebp]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.12f5cf5e
add esp, 8
test eax, eax
je 0x12e39600
mov eax, dword [esp + 0x34]
inc eax
cmp eax, edi
mov dword [esp + 0x34], eax
jl 0x12e39593
jmp 0x12e3960e
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
call fcn.12f473b0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.12f46820
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.12f47220
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.12f47220
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.12f47220
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x12e39d30
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1305d81b
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push ebp
mov ebp, dword [esp + 0x240]
push edi
cmp ebp, 0xffffffff
mov ebx, ecx
je 0x12e39eb0
mov eax, dword [esp + 0x248]
xor edi, edi
cmp eax, edi
je 0x12e39eb0
push esi
lea eax, [ebx + 0x1c]
push 1
push eax
lea ecx, [esp + 0x20]
call fcn.12f560a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x240], edi
push ecx
push ebp
mov ecx, ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
call fcn.12e39c20
mov esi, eax
cmp esi, edi
je 0x12e39de9
mov dword [esp + 0x10], edi
mov ecx, 0x85
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x24c]
mov dword [esi + 4], eax
push 0x103
lea eax, [esi + 0xc]
push edx
push eax
call fcn.12f5c4ab
mov ecx, dword [esp + 0x25c]
add esp, 0xc
mov dword [esi + 8], ecx
jmp 0x12e39e95
mov ecx, 0x84
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x24c]
mov dword [esp + 0x28], eax
push 0x103
lea eax, [esp + 0x34]
push edx
push eax
call fcn.12f5c4ab
mov edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x25c]
mov esi, dword [ebx + 4]
add esp, 0xc
test edx, edx
mov dword [esp + 0x2c], ecx
jne 0x12e39e48
push 0x21c
call fcn.12f5bf8b
mov edx, eax
add esp, 4
test edx, edx
je 0x12e39e95
jmp 0x12e39e54
mov eax, dword [edx]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x14]
dec eax
mov dword [ebx + 0x14], eax
mov dword [edx + 4], 0
mov dword [edx], esi
mov ecx, dword [ebx + 0x10]
lea ebp, [edx + 8]
inc ecx
xor eax, eax
mov dword [ebx + 0x10], ecx
mov ecx, 0x85
mov edi, ebp
test edx, edx
rep stosd dword es:[edi], eax
je 0x12e39e95
mov ecx, 0x85
lea esi, [esp + 0x24]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
test eax, eax
je 0x12e39e8f
mov dword [eax + 4], edx
jmp 0x12e39e92
mov dword [ebx + 8], edx
mov dword [ebx + 4], edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x240], 0xffffffff
call fcn.12f56100
mov eax, dword [esp + 0x10]
pop esi
jmp 0x12e39eb5
mov eax, 1
mov ecx, dword [esp + 0x234]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret 0xc
Function at 0x12e3a370
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1305d8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
push 1
push esi
lea ecx, [esp + 0x18]
call fcn.12f560a0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x2c], ebx
push edx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.12e3a730
mov edi, eax
cmp edi, ebx
je 0x12e3a48f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 8]
cmp eax, ecx
jb 0x12e3a3ed
add ecx, 0x7530
cmp eax, ecx
ja 0x12e3a3ed
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
mov ebx, 1
mov dword [ecx], eax
jmp 0x12e3a48f
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jne 0x12e3a3ff
mov edx, dword [eax]
mov dword [esi + 0x20], edx
jmp 0x12e3a406
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
cmp eax, dword [esi + 0x24]
jne 0x12e3a413
mov ecx, dword [eax + 4]
mov dword [esi + 0x24], ecx
jmp 0x12e3a41b
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp edx, ecx
jge 0x12e3a432
mov ecx, dword [esi + 0x28]
mov dword [eax], ecx
mov dword [esi + 0x28], eax
inc dword [esi + 0x30]
jmp 0x12e3a43b
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esi + 0x2c]
dec eax
mov dword [esi + 0x2c], eax
jne 0x12e3a48f
mov eax, dword [esi + 0x20]
mov ecx, eax
cmp ecx, ebx
je 0x12e3a453
mov ecx, dword [ecx]
cmp ecx, ebx
jne 0x12e3a44d
cmp eax, ebx
je 0x12e3a468
mov edi, dword [eax]
push eax
call fcn.12f5bf80
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x12e3a457
mov eax, dword [esi + 0x28]
mov dword [esi + 0x2c], ebx
cmp eax, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
je 0x12e3a489
mov edi, dword [eax]
push eax
call fcn.12f5bf80
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x12e3a478
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.12f56100
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x12e3a4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1305d918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push 1
push esi
lea ecx, [esp + 0xc]
call fcn.12f560a0
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
xor edx, edx
test ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
setne dl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
push ecx
mov ecx, esi
call fcn.12e3a780
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.12f56100
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x12e3ca48
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1305dc7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.12f8b380
mov ecx, dword [0x1307d25c]
xor edi, edi
lea eax, [esi + 0x4c]
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], eax
mov dword [eax + 0x14], ecx
mov edx, dword [0x1307d25c]
mov byte [esp + 0x18], 1
mov dword [eax + 0x18], edx
mov ecx, dword [0x1307d25c]
mov byte [esp + 0x18], 2
mov dword [eax + 0x1c], ecx
mov edx, dword [0x1307d25c]
mov byte [esp + 0x18], 3
mov dword [eax + 0x20], edx
mov ecx, dword [0x1307d25c]
mov byte [esp + 0x18], 4
mov dword [eax + 0x24], ecx
mov edx, dword [0x1307d25c]
mov byte [esp + 0x18], 5
mov dword [eax + 0x28], edx
mov ecx, dword [0x1307d25c]
mov byte [esp + 0x18], 6
mov dword [eax + 0x2c], ecx
mov edx, dword [0x1307d25c]
mov byte [esp + 0x18], 7
mov dword [eax + 0x30], edx
mov byte [esp + 0x18], 8
mov word [eax], di
mov word [eax + 2], di
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [esp + 0x18], 9
mov dword [esi], 0x13078510
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x24]
xor eax, eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x20], edi
mov dword [ecx], eax
xor edx, edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x38]
mov dword [esi + 0x34], edi
mov ecx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
or eax, 0xffffffff
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esp + 0x18], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, 0x131c0760
jmp 0x12e3ca30

Function at 0x12e3cb80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1305dcfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x13078510
lea esi, [edi + 0x4c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 8
call fcn.12f47220
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 7
call fcn.12f47220
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 6
call fcn.12f47220
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 5
call fcn.12f47220
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 4
call fcn.12f47220
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 3
call fcn.12f47220
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 2
call fcn.12f47220
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 0
call fcn.12f47220
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.12f8b510
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x12e3db30
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x12e3db3b
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.12f51310
add esp, 8
ret 4

Function at 0x12e3dc50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x12e3dd8b
push 4
push esi
call fcn.12e34360
add esp, 8
test eax, eax
jne 0x12e3dd8b
mov eax, dword [esp + 0xc]
lea esi, [esi + eax*4]
test esi, esi
je 0x12e3dd8b
mov eax, dword [0x13198f68]
push ebx
mov ebx, dword [esi]
push ebp
test eax, eax
je 0x12e3dca7
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push esi
push str.SetHookVTable_1_vtable_0x_08x__OldFunc_0x_08x__NewFunc_0x_08x_
push str.HookCOM
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
test ebx, ebx
je 0x12e3dd66
cmp ebx, dword [esp + 0x18]
je 0x12e3dd66
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 0x10]
push edi
push edx
push 0x40
push 4
push esi
mov dword [esp + 0x24], 0
call ebp
mov edi, eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e3dd00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
push str.SetHookVTable_2_VirtualProtect______ret__d__old__d__err__08x_
push str.HookCOM
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
test edi, edi
pop edi
je 0x12e3dd54
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x18]
mov dword [esi], ecx
push edx
push eax
push 4
push esi
mov dword [esp + 0x28], 0
call ebp
mov esi, eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e3dd85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push esi
push str.SetHookVTable_3_VirtualProtect__ret__d__old__d__err__08x_
push str.HookCOM
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
mov eax, ebx
pop ebp
pop ebx
pop esi
ret
mov eax, dword [0x13198f68]
xor ebx, ebx
test eax, eax
je 0x12e3dd85
push str.SetHookVTable_4
jmp 0x12e3dd76
mov eax, dword [0x13198f68]
xor ebx, ebx
test eax, eax
je 0x12e3dd85
push str.SetHookVTable_5
push str.HookCOM
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
mov eax, ebx
pop ebp
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x12e3e190
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x410
push ebp
push esi
mov esi, dword [esp + 0x41c]
mov ebp, ecx
test esi, esi
je 0x12e3e2bb
mov eax, dword [esp + 0x420]
test eax, eax
je 0x12e3e2bb
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e3e203
lea ecx, [esp + 0xc]
push ecx
push esi
push str.FilterSetWindowTextW___08x____s_
push str.updown
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea edx, [esp + 0xc]
mov ecx, ebp
push edx
call fcn.12e3efb0
test eax, eax
je 0x12e3e275
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push 0x103
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e3e268
lea ecx, [esp + 0x214]
push ecx
push str.FilterSetWindowTextW____s_
push str.updown
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov ecx, ebp
call fcn.12e3e010
mov dword [ebp + 0xcc], esi
mov eax, dword [0x13198f68]
pop edi
test eax, eax
je 0x12e3e2a1
mov edx, dword [esp + 0x420]
lea eax, [esp + 8]
push edx
push eax
push esi
push str.FilterSetWindowTextW_hWnd__x__wszClass__s__lpString__s_
push str.IaccUrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
push 1
push esi
mov ecx, ebp
call fcn.12e3f960
pop esi
mov eax, 1
pop ebp
add esp, 0x410
ret 8
pop esi
xor eax, eax
pop ebp
add esp, 0x410
ret 8
Function at 0x12e3e7c0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1305dfcb
push eax
mov dword fs:[0], esp
sub esp, 0x62c
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x2c], ebp
je 0x12e3e94b
mov edi, dword [esp + 0x64c]
cmp edi, ebp
je 0x12e3e94b
mov eax, dword [esp + 0x648]
push ebx
xor ebx, ebx
cmp eax, 0xd
jne 0x12e3e90c
cmp dword [esi + 0xc8], ebp
je 0x12e3e90c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [esi + 0xc4]
jne 0x12e3e90c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [esp + 0x14]
call fcn.12f46a80
push edi
mov dword [esp + 0x648], ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, 0x188
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov ebx, 1
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0xc8], ebp
cmp eax, ebp
je 0x12e3e878
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebp
je 0x12e3e8d2
mov ecx, dword [esi + 0x48]
push 0x103
mov eax, ecx
cdq
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x24]
push edx
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x10]
push 0x103
lea ecx, [esp + 0x22c]
push eax
push ecx
call fcn.12f5c4ab
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.12e3f340
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.12e3f5e0
cmp dword [0x13198f68], ebp
je 0x12e3e8f8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
push str.CHotKeyGetBrowserUrl::FilterSetClipboardData___s____s_
push str.updown
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x644], 0xffffffff
call fcn.12f47220
cmp dword [0x13198f68], ebp
je 0x12e3e946
mov eax, dword [esi + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi + 0xc8]
mov edx, dword [esp + 0x650]
push eax
push ecx
push edx
push ebx
push str.CHotKeyGetBrowserUrl::FilterSetClipboardData__bFilter_:__d___d____d____d__d_
push str.updown
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
mov eax, ebx
pop ebx
jmp 0x12e3e94d
xor eax, eax
mov ecx, dword [esp + 0x638]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x638
ret 8