joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10054650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [ebp + 0xc], 1
jne 0x10054683
push 0
push 0
push dword [ebp + 8]
push 0x100545e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10054683
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x28284339
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x53683ff6
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x661f38fd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x64]
cmp eax, 1
jl 0x661f3982
push esi
xor esi, esi
test eax, eax
jle 0x661f3957
add edi, 0x60
call fcn.662021d3
mov ecx, dword [eax]
mov eax, dword [ecx]
and dword [ecx + 0x18], 0
call dword [eax + 8]
call fcn.662021d3
mov eax, dword [eax]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661f394c
call fcn.662021d3
mov eax, dword [eax]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax + 0x64]
jl 0x661f3916
mov edi, eax
push ebx
push 0
lea ebx, [edi + 0x60]
call fcn.66203907
mov ecx, dword [edi + 0x18]
or dword [edi + 0x70], 0xffffffff
or dword [edi + 0x74], 0xffffffff
test ecx, ecx
pop ebx
je 0x661f397a
mov eax, dword [ecx]
push 0
push edi
call dword [eax + 0xc]
mov esi, edi
call fcn.661f8a84
pop esi
pop edi
pop ebp
ret 4

Function at 0x661f660f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, ecx
jne 0x661f6624
xor al, al
jmp 0x661f66b1
cmp byte [edi + 0x44], 0
je 0x661f661d
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661f661d
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x661f661d
push ebx
mov ebx, dword [edi + 0x48]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x661f66ae
mov eax, pe_nt_image_headers32
cmp dword [esi + 4], eax
jne 0x661f66ae
mov ecx, dword [esi + 8]
cmp ecx, 8
jne 0x661f666a
push dword [esi + 0xc]
push ecx
jmp 0x661f6673
cmp ecx, 0x2e
jne 0x661f6677
push dword [esi + 0xc]
push ecx
push eax
push ebx
jmp 0x661f66a4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x661f66ae
push dword [esi + 8]
push str.ABCEIJKRLUVXYZ
call dword [sym.imp.MSVCR80.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x661f66ae
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
jmp 0x661f66b0
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x661f8a84
Capabilities:
Hide graphical window

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661f8a9c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.661e79c1
ret

Function at 0x661f9490
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esi + 0x54], eax
je 0x661f94b6
push dword [esi + 4]
mov dword [esi + 0x54], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661f94b0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.661e79c1
ret

Function at 0x661fcc52
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x10]
test eax, eax
je 0x661fcc74
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x661fcc74
mov eax, dword [esi + 0x10]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x662163f1
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0x234
mov eax, 0x66230519
call fcn.6622a8c1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x220], ebx
je 0x66216437
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x220], ebx
lea eax, [ebp - 0x220]
push eax
push ebx
push ebx
push 0x8004
call dword [sym.imp.GrooveUtil.DLL_public:_static_unsigned_long_int___stdcall_GCStdCryptProv::GetHandle_void_]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
mov edi, 0x80004005
mov esi, 0x2e6b3474
jne 0x66216467
push edi
push esi
call fcn.661c8172
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call fcn.66226d09
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
push ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.661c1052
add eax, eax
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x662164b3
push edi
push esi
call fcn.661c8172
push 4
pop eax
push ebx
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x230], eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x662164e3
push edi
push esi
call fcn.661c8172
cmp dword [ebp - 0x230], 4
je 0x662164f3
push edi
push esi
call fcn.661c8172
lea eax, [ebp - 0x240]
push eax
call fcn.661cf3eb
mov byte [ebp - 4], 1
push dword [ebp - 0x228]
lea ebx, [ebp - 0x240]
call fcn.6620ca4e
mov eax, dword [ebp - 0x240]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x228]
push ecx
push eax
push 2
push dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x66216544
push edi
push esi
call fcn.661c8172
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
push dword [ebp - 0x22c]
call fcn.6621cbea
mov byte [ebp - 4], bl
lea eax, [ebp - 0x240]
push eax
call fcn.661cf413
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], ebx
je 0x66216588
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x220], ebx
mov eax, dword [ebp - 0x22c]
call fcn.6622a944
ret 8

Function at 0x66220585
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x6622059b
call fcn.6621fca0
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
invalid
invalid
jl 0x662205a1
Function at 0x445840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e000]
push edi
or ebp, 0xffffffff
jmp 0x445862
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x445869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x445858
mov eax, 1
add ebx, ebx
jne 0x44587b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x445870
jne 0x44588c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x445870
xor ecx, ecx
sub eax, 3
jb 0x4458a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x445912
mov ebp, eax
add ebx, ebx
jne 0x4458ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4458b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4458dc
inc ecx
add ebx, ebx
jne 0x4458c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4458bd
jne 0x4458d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4458bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4458fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4458ed
jmp 0x44585e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4458fc
add edi, ecx
jmp 0x44585e
pop esi
mov edi, esi
mov ecx, 0xfab
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44591a
cmp byte [edi], 5
jne 0x44591a
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 0x44591f
lea edi, [esi + 0x42000]
mov eax, dword [edi]
or eax, eax
je 0x445997
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x46130]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x461e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44594c
mov ecx, edi
jns 0x44597b
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 + 0x461e8]
or eax, eax
je 0x445991
mov dword [ebx], eax
add ebx, 4
jmp 0x445969
call dword [esi + 0x461f8]
mov ebp, dword [esi + 0x461ec]
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 0x4459cb
sub esp, 0xffffff80
jmp 0x4128b0
Function at 0x403590
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x4035a4
inc dword [0x4c8678]
add dword [0x4c490c], 0x110
mov edx, dword [0x4c490c]
push esi
push edi
mov ecx, 0x44
mov esi, 0x4c7138
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 0x4035d3
push 0
mov eax, 0x4ca680
call fcn.00416640
cmp dword [0x4c86a4], 0
mov dword [0x4cb150], 0
mov dword [0x4cb154], 0
je 0x4035fb
push 0x4c8d10
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x40367f
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x40362a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x40362a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4cb15c], 0
je 0x40363c
cmp dword [0x4cb158], 0
jne 0x403645
cmp byte [esi + 0xee], 0
je 0x40367f
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x40367f
cmp dword [0x4cb15c], 0
jge 0x403667
pop edi
mov dword [esi + 0xe0], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xdc], eax
mov edx, dword [0x4cb15c]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x404330
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x404354
push esi
call fcn.00404600
test eax, eax
jne 0x404354
push str.Cant_open_clipboard_for_writing.
call fcn.00404430
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40438d
cmp dword [esi + 0x18], ebx
je 0x40437f
cmp dword [esi + 8], ebx
je 0x404374
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4a1c14
call fcn.00404430
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp eax, ebx
je 0x4043c6
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x4043ed
cmp word [ecx], bx
push eax
sete byte [esp + 0x13]
call edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
cmp byte [esp + 0xf], bl
je 0x4043ed
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
cmp dword [esi + 0x18], ebx
je 0x4043e3
cmp dword [esi + 8], ebx
je 0x4043d8
mov ecx, dword [esi]
push ecx
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
mov edx, dword [esi + 4]
push edx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x404402
mov dword [esi + 4], ebx
jmp 0x4043c6
cmp dword [esi + 0x18], ebx
je 0x40441f
cmp dword [esi + 8], ebx
je 0x404414
mov eax, dword [esi]
push eax
call edi
mov dword [esi + 8], ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 0x18], ebx
mov dword [esi], ebx
push 0x4a1c34
call fcn.00404430
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x404500
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x404510
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x4045df
push 0x104
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
push 0xb
lea edx, [esp + 4]
push str.Link_Source
push edx
call fcn.0048ecd7
add esp, 0xc
test eax, eax
je 0x4045d6
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.0048e489
add esp, 8
test eax, eax
je 0x4045d6
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.0048e489
add esp, 8
test eax, eax
je 0x4045d6
lea edx, [esp]
push str.Native
push edx
call fcn.0048e489
add esp, 8
test eax, eax
je 0x4045d6
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.0048e489
add esp, 8
test eax, eax
je 0x4045d6
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.0048e489
add esp, 8
test eax, eax
je 0x4045cc
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.0048e489
add esp, 8
test eax, eax
jne 0x4045e5
test esi, esi
je 0x4045d6
mov dword [esi], 1
xor eax, eax
add esp, 0x20c
ret
xor eax, eax
mov word [esp], ax
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
add esp, 0x20c
ret
Function at 0x404600
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0
je 0x404612
mov eax, 1
ret 4
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [0x4c8508]
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push ecx
mov edi, eax
call ebx
test eax, eax
jne 0x404680
mov eax, dword [0x4c48dc]
cmp eax, 0xffffffff
je 0x404651
test eax, eax
je 0x404696
call esi
mov edx, dword [0x4c48dc]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x404696
push 1
push 0x8000012f
mov dword [0x4c48e0], 0
call fcn.00401360
mov eax, dword [0x4c8508]
add esp, 8
push eax
mov dword [0x4c48e0], 1
call ebx
test eax, eax
je 0x404632
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx + 0x18], 1
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
Function at 0x407950
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
cmp byte [0x4c740d], 0
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
je 0x407a0b
mov al, byte [0x4c740f]
cmp al, 0xa0
je 0x407976
cmp al, 0x10
jne 0x407a0b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c7410]
cmp eax, 0x16
jae 0x407a0b
test ebp, 0x100
jne case.0x4079a7.13
movzx eax, byte [esp + 0x14]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x4079a7.13
movzx eax, byte [eax + 0x407bb4]
jmp dword [eax*4 + 0x407bac]
mov cl, 1
jmp 0x4079b4
xor cl, cl
cmp byte [0x4c740e], 0
jne 0x4079d1
xor ecx, ecx
nop
cmp byte [ecx + 0x4c73f4], 0
jne 0x4079dc
inc ecx
cmp ecx, 0x16
jl 0x4079c0
jmp 0x407a0b
cmp byte [esp + 0x1c], 0
je 0x4079e5
test cl, cl
je 0x407a0b
mov byte [0x4c7416], 1
jmp 0x4079e9
test cl, cl
je 0x407a0b
mov cl, byte [0x4c740c]
mov dl, byte [0x4c740b]
mov al, byte [0x4c740a]
mov byte [0x4c8507], cl
mov byte [0x4c8538], dl
mov byte [0x4c85c8], al
mov cl, byte [0x4c8507]
movzx esi, byte [esp + 0x14]
mov dl, byte [0x4c8538]
mov al, byte [0x4c85c8]
mov byte [0x4c740c], cl
lea ecx, [esi + esi*8]
mov byte [0x4c740b], dl
mov edx, dword [0x4c8f44]
shl ecx, 5
mov bl, byte [ecx + edx + 4]
mov byte [0x4c740a], al
test bl, bl
je case.default.0x407b82
cmp dword [edi + 0x10], 0xffc3d44f
setne dl
test byte [edi + 8], 0x10
mov byte [esp + 0xf], dl
je 0x407a62
xor al, al
jmp 0x407a77
mov eax, dword [esp + 0x1c]
push eax
mov al, byte [esp + 0x18]
call fcn.00407c10
mov dl, byte [esp + 0x13]
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x18], al
je 0x407b4e
cmp byte [esp + 0x20], 0
jne 0x407aa1
mov cl, bl
not cl
and byte [0x4c8505], cl
test dl, dl
je 0x407aa1
and byte [0x4c8506], cl
cmp byte [esp + 0x18], 0
je case.default.0x407b82
not bl
and byte [0x4c8507], bl
lea ecx, [esi - 0xa0]
mov byte [esi + 0x4c8528], 0
cmp ecx, 5
ja case.default.0x407b82
jmp dword [ecx*4 + 0x407bd8]
mov cl, byte [0x4c85c9]
mov byte [0x4c8538], cl
jmp case.default.0x407b82
mov dl, byte [0x4c85c8]
mov byte [0x4c8538], dl
jmp case.default.0x407b82
mov al, byte [0x4c85cb]
mov byte [0x4c8539], al
jmp case.default.0x407b82
mov cl, byte [0x4c85ca]
mov byte [0x4c8539], cl
jmp case.default.0x407b82
mov dl, byte [0x4c85cd]
mov byte [0x4c853a], dl
jmp case.default.0x407b82
mov al, byte [0x4c85cc]
mov byte [0x4c853a], al
test byte [edi + 8], 0x10
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
mov word [0x4c7414], bp
pop ebp
mov byte [0x4c740f], al
mov byte [0x4c740e], cl
pop ebx
je 0x407b90
xor al, al
mov byte [0x4c740d], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c7410], eax
pop ecx
ret
cmp byte [esp + 0x20], 0
jne 0x407b65
or byte [0x4c8505], bl
test dl, dl
je 0x407b65
or byte [0x4c8506], bl
test al, al
je case.default.0x407b82
or byte [0x4c8507], bl
lea ecx, [esi - 0xa0]
mov al, 0x80
mov byte [esi + 0x4c8528], al
cmp ecx, 5
ja case.default.0x407b82
jmp dword [ecx*4 + 0x407bf0]
mov byte [0x4c8538], al
jmp case.default.0x407b82
push ecx
call fcn.00407c10
add esp, 4
mov byte [0x4c740d], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c7410], eax
pop ecx
ret
Function at 0x407c10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp al, 0xa0
je 0x407c1f
cmp al, 0x10
jne case.0x407c76.13
cmp byte [esp + 8], 0
jne case.0x407c76.13
cmp byte [0x4c7416], 0
je 0x407c4b
xor eax, eax
cmp byte [eax + 0x4c73f4], 0
jne 0x407c4b
inc eax
cmp eax, 0x16
jl 0x407c31
mov byte [0x4c7416], 0
xor al, al
pop esi
ret
cmp byte [0x4c740e], 0
je case.0x407c76.13
test dword [0x4c7414], 0x100
jne case.0x407c76.13
movzx eax, byte [0x4c740f]
add eax, 0xfffffff4
cmp eax, 0x22
ja case.0x407c76.13
movzx eax, byte [eax + 0x407ca4]
jmp dword [eax*4 + 0x407c9c]
call esi
sub eax, dword [0x4c7410]
cmp eax, 0x16
jb 0x407c47
call esi
mov dword [0x4cb338], eax
mov dword [0x4cb334], eax
mov al, 1
pop esi
ret
Function at 0x408b90
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 [0x4c8638], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408bb4
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4c863c], 0
je 0x408bc3
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x408dd0
test al, al
jne 0x408c06
cmp byte [ebp + 0xc], al
jne 0x408c06
push 0x4c73f0
push 0
push 0
push 0x408ea0
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4c8f34], eax
test eax, eax
je 0x408c97
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 [0x4c73f0]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x408c3c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x408c16
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x1f], 0
call edi
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, eax
cmp byte [ebp + 8], 0
je 0x408ca3
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x408d0a
cmp dword [esp + 0x2c], 0
je 0x408cb2
mov byte [esp + 0x1f], 1
call fcn.00409240
test al, al
jne 0x408cb2
cmp byte [ebp + 0xc], al
jne 0x408d9e
mov byte [ebp + 8], al
jmp 0x408c51
call fcn.00409260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x408cee
call fcn.00409240
test al, al
jne 0x408d0a
cmp byte [ebp + 0xc], 0
jne 0x408d97
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4c8638], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
je 0x408d42
test byte [esp + 0x1e], 1
jne 0x408d5b
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4c8f2c], eax
jmp 0x408d5b
mov ecx, dword [0x4c8f34]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x408d22
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x408cb2
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408c51
mov edx, dword [0x4c8f34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4c8f34], 0
call fcn.00409260
jmp 0x408cc2
test byte [esp + 0x1e], 1
je 0x408d5b
mov eax, dword [0x4c8f2c]
push eax
call edi
mov dword [0x4c8f2c], 0
cmp dword [0x4c863c], 0
je 0x408d7d
test byte [esp + 0x1e], 2
jne 0x408d97
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4c8f30], eax
jmp 0x408d97
test byte [esp + 0x1e], 2
je 0x408d97
mov ecx, dword [0x4c8f30]
push ecx
call edi
mov dword [0x4c8f30], 0
cmp byte [esp + 0x1f], 0
je 0x408dd0
fldz
push 0
sub esp, 8
fstp qword [esp]
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.
mov dword [0x4c48e0], 0
call fcn.00479930
add esp, 0x18
mov dword [0x4c48e0], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret