joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417dc4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov edi, ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
xor bl, bl
call fcn.0041ba00
mov esi, eax
test esi, esi
je 0x417e5c
mov dword [esp + 0x14], 0xb8b1b4bb
xor ecx, ecx
mov dword [esp + 0x18], 0xb8b0bcb3
mov al, byte [esp + ecx + 0x14]
xor al, 0xdd
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 8
jl 0x417df6
push dword [esp + 0x10]
lea edx, [esp + 0x20]
mov byte [esp + 0x28], bl
push esi
mov ecx, edi
call fcn.00417e66
mov bl, al
pop ecx
pop ecx
test bl, bl
je 0x417e55
mov dword [esp + 0x10], 0x6d74716e
xor ecx, ecx
mov al, byte [esp + ecx + 0x10]
sub al, 8
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 4
jl 0x417e2c
push dword [esp + 0x2c]
lea edx, [esp + 0x18]
mov byte [esp + 0x1c], 0
push ebp
mov ecx, edi
call fcn.00417e66
pop ecx
pop ecx
mov bl, al
push esi
call fcn.004056f0
pop ecx
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x18
ret
Function at 0x41b3f4
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
push ebp
push edi
xor edi, edi
mov dword [esp + 0xc], 0x6d6a6b68
mov ebp, ecx
mov dword [esp + 0x10], 0x616e6f6c
mov ebx, edx
mov dword [esp + 0x14], 0x65626360
mov dword [esp + 0x18], 0x79666764
mov ecx, edi
mov dword [esp + 0x1c], 0x7d7a7b78
mov dword [esp + 0x20], 0x717e7f7c
mov dword [esp + 0x24], 0x4b487370
mov dword [esp + 0x28], 0x4f4c4d4a
mov dword [esp + 0x2c], 0x4340414e
mov dword [esp + 0x30], 0x47444542
mov dword [esp + 0x34], 0x5b585946
mov dword [esp + 0x38], 0x5f5c5d5a
mov dword [esp + 0x3c], 0x5350515e
mov dword [esp + 0x40], 0x3a3b3839
mov dword [esp + 0x44], 0x3e3f3c3d
mov word [esp + 0x48], 0x3031
mov al, byte [esp + ecx + 0xc]
xor al, 9
movzx eax, al
mov word [esp + ecx*2 + 0x4c], ax
inc ecx
cmp ecx, 0x3e
jl 0x41b484
xor eax, eax
push edi
mov word [esp + 0xcc], ax
call fcn.00405e33
push eax
call fcn.00405e21
pop ecx
pop ecx
test ebx, ebx
je 0x41b4db
push esi
lea eax, [esp + 0x50]
push eax
call fcn.0040581e
pop ecx
mov esi, eax
call fcn.00405e00
xor edx, edx
div esi
mov ax, word [esp + edx*2 + 0x50]
mov word [ebp + edi*2], ax
inc edi
cmp edi, ebx
jb 0x41b4b5
pop esi
xor eax, eax
pop edi
mov word [ebp + ebx*2], ax
pop ebp
pop ebx
add esp, 0xc0
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.1000f188
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000f188
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.1000f188
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.1000f188
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.1000f188
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.1000f188
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.1000f188
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.1000f188
push 0xd008
push edi
call fcn.1000f188
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.1000f188
int3
Function at 0x1000b197
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
test si, si
jne 0x1000b24c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000b24c
mov edx, dword [esi + 0x3c]
test dl, 3
jne 0x1000b24c
cmp dword [edx + esi], 0x4550
jne 0x1000b24c
cmp dword [edx + esi + 0x74], 6
jb 0x1000b24c
push ebx
mov ebx, dword [edx + esi + 0x50]
push edi
mov edi, dword [edx + esi + 0xa8]
lea eax, [ebx - 1]
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x1000b24a
mov eax, dword [edx + esi + 0xac]
mov ecx, ebx
sub ecx, edi
cmp eax, ecx
ja 0x1000b24a
xor edx, edx
add edi, esi
push 0x1c
pop ecx
div ecx
mov edx, eax
test edx, edx
je 0x1000b24a
imul ecx, edx, 0x1c
add ecx, 0x14
add ecx, edi
lea ecx, [ecx - 0x1c]
dec edx
cmp dword [ecx - 8], 2
lea edi, [ecx - 0x14]
jne 0x1000b228
cmp dword [ecx], ebx
jae 0x1000b228
mov eax, ebx
sub eax, dword [ecx]
cmp dword [ecx - 4], eax
jbe 0x1000b22e
test edx, edx
jne 0x1000b20e
jmp 0x1000b24a
push 0x1c
push edi
call dword [sym.imp.kernel32.dll_VirtualLock]
test eax, eax
je 0x1000b24a
mov eax, dword [edi + 0x14]
push dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.kernel32.dll_VirtualLock]
pop edi
pop ebx
pop esi
ret

Function at 0x1000c5d0
Capabilities:
Parse pe header

Disassembly:
push 0x30
push 0x10012048
call fcn.1000e000
mov ebx, edx
mov esi, ecx
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x1000c6b4
cmp dword [ebp - 0x28], 0x1000000
jne 0x1000c6b4
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x3c]
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x1000c6ad
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi], 0x4550
jne 0x1000c6ad
cmp dword [ecx + edi + 0x84], 0
je 0x1000c6ad
sub ebx, edi
mov ecx, dword [ecx + edi + 0x80]
add ecx, edi
mov dword [ebp - 0x24], ecx
mov eax, dword [ecx]
test eax, eax
je 0x1000c6ad
cmp dword [ecx + 0xc], 0
je 0x1000c6ad
cmp ebx, dword [ecx + 0x10]
jb 0x1000c692
mov edx, ebx
sub edx, dword [ecx + 0x10]
test edx, 3
jne 0x1000c692
add eax, edi
mov dword [ebp - 0x20], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
mov eax, esi
inc esi
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
cmp dword [edi + eax*4], 0
mov edi, dword [ebp - 0x3c]
jne 0x1000c66e
shr edx, 2
cmp edx, esi
jae 0x1000c692
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000c6b6
add ecx, 0x14
jmp 0x1000c643
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000c870
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x1000c892
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x1000c897
mov ebx, 0xfff80000
jmp 0x1000c89d
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x10013e68]
mov eax, dword [0x10013e60]
test edx, edx
jne 0x1000c8b8
test eax, eax
je 0x1000c8cb
mov edx, eax
mov dword [0x10013e68], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x1000c8cb
cmp ecx, edi
jb 0x1000c8cb
cmp ecx, ebx
jbe 0x1000c9ab
mov edx, eax
test eax, eax
jmp 0x1000c8ed
test edx, edx
je 0x1000c8e8
mov eax, dword [edx + 8]
test eax, eax
je 0x1000c8e8
cmp eax, edi
jb 0x1000c8e8
cmp eax, ebx
jbe 0x1000c9ab
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x10013e68], edx
jne 0x1000c8d1
and esi, 0xffff0000
mov eax, 0x40000000
cmp esi, eax
jbe 0x1000c9d0
lea edx, [esi - 0x40000000]
mov ecx, edi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov eax, 0x40000000
cmp esi, eax
jbe 0x1000c93e
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov eax, 0x40000000
cmp esi, eax
jae 0x1000c953
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov edx, esi
mov ecx, edi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov edx, ebx
mov ecx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
je 0x1000c9ee
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x10013e60]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x10013e68], edx
mov dword [0x10013e60], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x1000c99b
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x1000c9ee
cmp esi, ebx
ja 0x1000c9ee
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.1000ec20
add esp, 0xc
mov eax, esi
jmp 0x1000c9f0
jae 0x1000c920
lea ecx, [esi + 0x40000000]
mov edx, ebx
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
jmp 0x1000c940
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x1000c871
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x1000c892
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x1000c897
mov ebx, 0xfff80000
jmp 0x1000c89d
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x10013e68]
mov eax, dword [0x10013e60]
test edx, edx
jne 0x1000c8b8
test eax, eax
je 0x1000c8cb
mov edx, eax
mov dword [0x10013e68], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x1000c8cb
cmp ecx, edi
jb 0x1000c8cb
cmp ecx, ebx
jbe 0x1000c9ab
mov edx, eax
test eax, eax
jmp 0x1000c8ed
test edx, edx
je 0x1000c8e8
mov eax, dword [edx + 8]
test eax, eax
je 0x1000c8e8
cmp eax, edi
jb 0x1000c8e8
cmp eax, ebx
jbe 0x1000c9ab
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x10013e68], edx
jne 0x1000c8d1
and esi, 0xffff0000
mov eax, 0x40000000
cmp esi, eax
jbe 0x1000c9d0
lea edx, [esi - 0x40000000]
mov ecx, edi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov eax, 0x40000000
cmp esi, eax
jbe 0x1000c93e
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov eax, 0x40000000
cmp esi, eax
jae 0x1000c953
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov edx, esi
mov ecx, edi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov edx, ebx
mov ecx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
je 0x1000c9ee
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x10013e60]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x10013e68], edx
mov dword [0x10013e60], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x1000c99b
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x1000c9ee
cmp esi, ebx
ja 0x1000c9ee
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.1000ec20
add esp, 0xc
mov eax, esi
jmp 0x1000c9f0
jae 0x1000c920
lea ecx, [esi + 0x40000000]
mov edx, ebx
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
jmp 0x1000c940
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x1000ca7b
Capabilities:
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [0x10013e58]
xor ebx, ebx
test edi, edi
je 0x1000cab8
push esi
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1000caa9
mov esi, dword [edi]
push edi
call fcn.1000dd99
mov edi, esi
pop ecx
test esi, esi
jne 0x1000ca8a
jmp 0x1000cab7
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov dword [0x10013e70], ebx
pop esi
mov dword [0x10013e58], edi
mov eax, ebx
pop edi
pop ebx
ret
Function at 0x1000f188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000f197
pop dword [ebp - 0x34]
mov eax, 0x95269eaa
sub eax, 0x8525ad13
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x38e71
push 0
mov eax, 0x59d93281
add eax, 0xb6280de3
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x474a
mov ebx, eax
mov esi, 0x10018600
add esi, dword [ebp - 0x34]
mov edx, 0x2b4d1215
sub edx, 0xedf8aaf9
xor dword [ebp - 0x28], 0xd9745d9c
mov edi, dword [esi]
sub dword [ebp - 0x20], 0xd23e34b4
xor edi, edx
mov dword [ebp - 4], 0xaff33560
mov dword [ebx], edi
add dword [ebp - 0x20], ecx
add ebx, 0x6f285b13
sub ebx, 0x6f285b0f
add esi, 4
loop 0x1000f1ea
add eax, 0x2a516d9d
sub eax, 0x2a505da2
xor ebx, ebx
add ebx, eax
add eax, 0x84be96b1
sub eax, 0x84be96ac
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4036e0
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x4036f4
inc dword [0x4ac43c]
add dword [0x4a8978], 0xe8
mov edx, dword [0x4a8978]
push esi
push edi
mov ecx, 0x3a
mov esi, 0x4aaf90
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov esi, edx
mov dword [esi + 0x2c], ecx
test al, al
je 0x403723
push 0
mov eax, 0x4ad268
call fcn.00416ce0
cmp dword [0x4ac470], 0
mov dword [0x4ad888], 0
mov dword [0x4ad88c], 0
je 0x40375b
mov eax, dword [0x4a9aac]
test eax, eax
je 0x40374f
mov eax, dword [eax]
test eax, eax
jne 0x403754
mov eax, 0x49a87d
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [esp + 0x10], 0
jne 0x4037df
or ecx, 0xffffffff
cmp byte [esi + 0xce], 0
jne 0x40378a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xce], al
test al, al
je 0x40378a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4ad894], 0
je 0x40379c
cmp dword [0x4ad890], 0
jne 0x4037a5
cmp byte [esi + 0xce], 0
je 0x4037df
cmp byte [esi + 0xce], 0
mov byte [esi + 0xcc], 0
jne 0x4037df
cmp dword [0x4ad894], 0
jge 0x4037c7
pop edi
mov dword [esi + 0xc0], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xbc], eax
mov edx, dword [0x4ad894]
mov dword [esi + 0xc0], edx
pop edi
pop esi
ret
Function at 0x4045a0
Capabilities:
Write clipboard data

Disassembly:
cmp dword [0x4ad8ec], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
je 0x4045b8
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
test ebp, ebp
je 0x404605
cmp ebx, 0xffffffff
jne 0x4045d2
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4045c7
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x404605
push edi
lea edi, [ebx + 1]
mov esi, 0x4ad8e0
call fcn.00404620
pop edi
test eax, eax
jne 0x4045ef
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [0x4ad8ec]
push ebx
push ebp
push eax
mov esi, eax
call fcn.0048a060
add esp, 0xc
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4ad8e0
jmp fcn.00404690

Function at 0x404870
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x108
test esi, esi
je 0x404880
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x40494f
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.00487b40
add esp, 0xc
test eax, eax
je 0x404946
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.004870c1
add esp, 8
test eax, eax
je 0x404946
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.004870c1
add esp, 8
test eax, eax
je 0x404946
lea edx, [esp]
push str.Native
push edx
call fcn.004870c1
add esp, 8
test eax, eax
je 0x404946
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.004870c1
add esp, 8
test eax, eax
je 0x404946
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.004870c1
add esp, 8
test eax, eax
je 0x40493c
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.004870c1
add esp, 8
test eax, eax
jne 0x404953
test esi, esi
je 0x404946
mov dword [esi], 1
xor eax, eax
add esp, 0x108
ret
mov byte [esp], 0
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x108
ret

Function at 0x404970
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ecx + 0x18], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
jne 0x4049fa
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, eax
mov eax, dword [0x4ac2cc]
push eax
call ebx
test eax, eax
jne 0x4049ef
mov eax, dword [0x4a88e8]
cmp eax, 0xffffffff
je 0x4049bf
test eax, eax
je 0x404a06
call esi
mov ecx, dword [0x4a88e8]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x404a06
push 1
push 0x8000012f
mov dword [0x4a88ec], 0
call fcn.004013c0
mov edx, dword [0x4ac2cc]
add esp, 8
push edx
mov dword [0x4a88ec], 1
call ebx
test eax, eax
je 0x4049a0
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4088a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
xor al, al
cmp dword [0x4ac3fc], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x4088c4
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4ac400], 0
je 0x4088d3
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x408ae0
test al, al
jne 0x408916
cmp byte [ebp + 0xc], al
jne 0x408916
push 0x4ab1d8
push 0
push 0
push 0x408bd0
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4acaf8], eax
test eax, eax
je 0x4089a7
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
movzx ebx, byte [ebp + 8]
xor eax, eax
xor esi, esi
cmp byte [ebp + 0xc], al
sete al
mov edi, eax
mov ecx, dword [0x4ab1d8]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x40894c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x408926
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x1f], 0
call edi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, eax
cmp byte [ebp + 8], 0
je 0x4089b3
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x408a1a
cmp dword [esp + 0x2c], 0
je 0x4089c2
mov byte [esp + 0x1f], 1
call fcn.00408ef0
test al, al
jne 0x4089c2
cmp byte [ebp + 0xc], al
jne 0x408aae
mov byte [ebp + 8], al
jmp 0x408961
call fcn.00408f10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x4089fe
call fcn.00408ef0
test al, al
jne 0x408a1a
cmp byte [ebp + 0xc], 0
jne 0x408aa7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4ac3fc], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
je 0x408a52
test byte [esp + 0x1e], 1
jne 0x408a6b
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4acaf0], eax
jmp 0x408a6b
mov ecx, dword [0x4acaf8]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x408a32
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x4089c2
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408961
mov edx, dword [0x4acaf8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4acaf8], 0
call fcn.00408f10
jmp 0x4089d2
test byte [esp + 0x1e], 1
je 0x408a6b
mov eax, dword [0x4acaf0]
push eax
call edi
mov dword [0x4acaf0], 0
cmp dword [0x4ac400], 0
je 0x408a8d
test byte [esp + 0x1e], 2
jne 0x408aa7
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4acaf4], eax
jmp 0x408aa7
test byte [esp + 0x1e], 2
je 0x408aa7
mov ecx, dword [0x4acaf4]
push ecx
call edi
mov dword [0x4acaf4], 0
cmp byte [esp + 0x1f], 0
je 0x408ae0
fldz
sub esp, 8
fstp qword [esp]
mov dword [0x4a88ec], 0
push 0
push 0
push 0x10000
push str.Warning:_The_keyboard_and_or_mouse_hook_could_not_be_activated__some_parts_of_the_script_will_not_function.
call fcn.00478b50
add esp, 0x18
mov dword [0x4a88ec], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a400
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x804
cmp byte [0x4ada90], 0
push ebx
push ebp
mov ebp, dword [esp + 0x814]
push esi
push edi
jne 0x40a56e
cmp dword [0x4acb14], 0
jne 0x40a432
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4acb14], eax
mov ebx, 1
add dword [0x4ada94], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4ada94]
mov esi, dword [0x4a8900]
mov ecx, eax
sub ecx, dword [0x4acb14]
mov dword [0x4acb18], eax
cmp edx, dword [0x4a88fc]
jbe 0x40a468
cmp ecx, esi
jb 0x40a4cc
xor ebx, ebx
cmp ecx, esi
jbe 0x40a485
mov dword [0x4ada94], 0
mov dword [0x4acb14], eax
test ebx, ebx
jne 0x40a56e
mov esi, dword [esp + 0x818]
mov cl, byte [esi + 0xf]
push 0
mov byte [0x4ad865], cl
mov ecx, dword [ebp]
inc byte [ebp + 0x16]
push 0
push str.call
push ecx
xor eax, eax
xor edx, edx
call fcn.0046c460
dec byte [ebp + 0x16]
add esp, 0x10
test eax, eax
jne 0x40a53c
mov byte [ebp + 0x1b], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x804
ret 8
push ecx
push edx
push str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
mov esi, 0x800
lea edi, [esp + 0x1c]
call fcn.00474080
add esp, 0xc
call fcn.00409490
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0
mov eax, edi
push 4
push eax
mov byte [0x4ada90], bl
mov dword [0x4a88ec], 0
call fcn.00478b50
add esp, 0x18
cmp eax, 7
jne 0x40a525
push 0
push 5
push 0x4ad268
call fcn.00417060
mov eax, dword [0x4acb18]
mov dword [0x4a88ec], ebx
mov byte [0x4ada90], 0
jmp 0x40a46e
cmp byte [ebp + 0x1b], 0
je 0x40a56e
mov byte [ebp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, 0x3e8
ja 0x40a56e
movzx edx, word [esi + 4]
mov eax, dword [0x4ac2cc]
push 0
push edx
push 0x312
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x804
ret 8
Function at 0x40fea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov cl, byte [esp + 4]
sub esp, 0x34
cmp dword [0x4acb4c], 2
push ebx
push ebp
push esi
sete bl
push edi
mov esi, eax
test bl, bl
je 0x40fedd
lea eax, [esp + 0x14]
test cl, cl
jns 0x40fecc
mov byte [esp + 0x14], 0x30
lea eax, [esp + 0x15]
push 0xa
push eax
movzx eax, cl
push eax
call fcn.00486d52
add esp, 0xc
jmp 0x40fefd
push 1
lea ecx, [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x54]
push edx
push 8
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x40ffb3
test esi, esi
jle 0x40ffb3
mov ebp, esi
cmp dword [0x4acb4c], 0
jne 0x40ff6a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4ad89c]
mov ecx, dword [0x4a8978]
cmp eax, dword [ecx + 0xb8]
jbe 0x40ff6a
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40ff63
push 1
push 0xffffffffffffffff
mov dword [0x4a88ec], 0
call fcn.004013c0
add esp, 8
mov dword [0x4a88ec], 1
call esi
mov dword [0x4ad89c], eax
test bl, bl
je 0x40ff79
lea eax, [esp + 0x14]
call fcn.0040ffc0
jmp 0x40ff8a
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
push eax
call fcn.0040e510
add esp, 4
cmp dword [0x4acb4c], 2
jne 0x40ff9e
mov ecx, dword [0x4a8978]
mov esi, dword [ecx + 0x60]
jmp 0x40ffa7
mov edx, dword [0x4a8978]
mov esi, dword [edx + 0x5c]
call fcn.00411f50
dec ebp
jne 0x40ff07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret