joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43be38
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4527d8
call fcn.0044ff8c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x43be78
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43be78
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43be90
cmp eax, 0x20b
je 0x43be7d
mov dword [ebp - 0x1c], ebx
jmp 0x43bea4
cmp dword [ecx + 0x84], 0xe
jbe 0x43be78
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x43be9e
cmp dword [ecx + 0x74], 0xe
jbe 0x43be78
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x460ae4], 0xffffffff
or dword [0x460ae8], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x45c584]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x45c580]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x460ae0], eax
call fcn.0043bd62
call fcn.0043be2e
cmp dword [0x45b0c0], ebx
jne 0x43bf04
push fcn.0043be2e
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0043bd3e
push 0x45b034
push 0x45b030
call sub.MSVCR71.dll__initterm
push 0x43bda6
call fcn.0043be1c
mov eax, dword [0x45c57c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x45c578]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x43bf58
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x45b02c
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x43bfd6
cmp al, bl
je 0x43bf82
cmp dword [ebp - 0x20], ebx
jne 0x43bfd6
mov al, byte [esi]
cmp al, bl
je 0x43bf92
cmp al, 0x20
ja 0x43bf92
inc esi
mov dword [ebp - 0x24], esi
jmp 0x43bf82
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x43bfae
movzx eax, word [ebp - 0x54]
jmp 0x43bfb1
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.0044027a
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x43bfce
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x43c02b
cmp al, 0x22
jne 0x43bfe5
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x43bff8
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x43bf70
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0044ffc7
ret
Function at 0x43c06e
Capabilities:
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, 0x460050
mov ecx, esi
call fcn.0043c7e9
test eax, eax
jne 0x43c0a4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push 0x45282f
push 0
push str.Cant_open_clipboard_for_writing.
call fcn.00444eab
jmp 0x43c0e7
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x43c0d2
cmp dword [ebp - 4], 4
jae 0x43c181
xor edi, edi
call fcn.0043c45d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret 8
push ebx
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x43c1ec
cmp dword [ebp - 4], 4
jb 0x43c1ec
push dword [ebp - 0x10]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x43c18c
cmp dword [ebp - 0x10], ebx
je 0x43c15b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x43c1a9
push ebx
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x43c1da
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x43c1da
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x43c1ec
cmp dword [ebp - 4], 4
jb 0x43c1ec
cmp dword [ebp - 0xc], ebx
jne 0x43c0ec
jmp 0x43c1ec
xor edi, edi
call fcn.0043c45d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x45282f
push ebx
push str.Out_of_memory.
jmp 0x43c1cd
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
call fcn.0043c45d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x45282f
push ebx
push 0x452a20
mov ecx, dword [ebp + 8]
call fcn.00444eab
jmp 0x43c0e5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
call fcn.0043c45d
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], ebx
jne 0x43c0e2
mov ecx, dword [0x45e2f0]
push 1
push ebx
push 0xffffffffffffffff
push 0x452954
call fcn.0040161c
jmp 0x43c0e5
Function at 0x43c21f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, 0x460050
mov ecx, esi
call fcn.0043c7e9
test eax, eax
jne 0x43c24e
mov ecx, dword [ebp + 8]
push 0x45282f
push eax
push str.Cant_open_clipboard_for_reading.
call fcn.00444eab
jmp 0x43c406
mov ecx, dword [0x45e2f0]
push ebx
push edi
push 1
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x454094
call fcn.0040161c
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x43c28f
xor edi, edi
call fcn.0043c45d
jmp 0x43c404
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
mov byte [ebp - 3], bl
mov dword [ebp - 8], ebx
push ebx
jmp 0x43c39b
cmp eax, 1
je 0x43c2b3
cmp eax, 7
je 0x43c2b3
cmp eax, 0xd
mov byte [ebp + 0xb], bl
jne 0x43c2b7
mov byte [ebp + 0xb], 1
cmp eax, 8
je 0x43c2c4
cmp eax, 0x11
mov byte [ebp + 0xf], bl
jne 0x43c2c8
mov byte [ebp + 0xf], 1
cmp eax, 0xe
je 0x43c2d6
cmp eax, 3
je 0x43c2d6
xor cl, cl
jmp 0x43c2d8
mov cl, 1
cmp byte [ebp + 0xb], bl
je 0x43c2e6
cmp byte [ebp - 1], bl
jne 0x43c39a
cmp byte [ebp + 0xf], bl
je 0x43c2f4
cmp byte [ebp - 2], bl
jne 0x43c39a
cmp cl, bl
je 0x43c301
cmp byte [ebp - 3], bl
jne 0x43c39a
cmp byte [ebp + 0xb], bl
je 0x43c30c
mov byte [ebp - 1], 1
jmp 0x43c31f
cmp byte [ebp + 0xf], bl
je 0x43c317
mov byte [ebp - 2], 1
jmp 0x43c31f
cmp cl, bl
je 0x43c31f
mov byte [ebp - 3], 1
push eax
call fcn.0043c6a7
mov esi, eax
cmp esi, ebx
je 0x43c397
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x43c347
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x43c397
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x43c3ae
push ebx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x43c3ae
cmp dword [ebp - 0x10], ebx
je 0x43c397
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call edi
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp edi, ebx
je 0x43c3ba
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_EnumClipboardFormats]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x43c2a1
jmp 0x43c3ba
cmp dword [ebp - 0x10], ebx
je 0x43c3ba
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor edi, edi
mov esi, 0x460050
call fcn.0043c45d
cmp dword [ebp - 8], ebx
jne 0x43c3f8
push ebx
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43c3f8
mov ecx, dword [0x45e2f0]
push 1
push ebx
push 0xffffffffffffffff
push 0x452954
call fcn.0040161c
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x43c49f
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x43c4c7
mov ecx, esi
call fcn.0043c7e9
test eax, eax
jne 0x43c4c7
push str.Cant_open_clipboard_for_writing.
mov eax, esi
call fcn.0043c40b
jmp 0x43c533
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x43c4e7
xor edi, edi
call fcn.0043c45d
push 0x4529e0
mov eax, esi
call fcn.0043c40b
jmp 0x43c532
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x43c52b
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x43c539
cmp byte [eax], bl
jne 0x43c50a
cmp dword [ebp + 8], 0xd
jne 0x43c504
cmp byte [eax + 1], bl
jne 0x43c50a
mov byte [ebp - 1], 1
jmp 0x43c50d
mov byte [ebp - 1], bl
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp byte [ebp - 1], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
je 0x43c539
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 4], eax
xor edi, edi
call fcn.0043c45d
pop edi
pop esi
pop ebx
leave
ret 4
push dword [esi + 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x43c54e
mov dword [esi + 4], ebx
jmp 0x43c52b
xor edi, edi
call fcn.0043c45d
push 0x4529cc
jmp 0x43c4de

Function at 0x43c6a7
Capabilities:
Check for time delay via gettickcount
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0xc000
push esi
jb 0x43c758
cmp ebx, 0xffff
ja 0x43c758
push 0x104
lea eax, [ebp - 0x10c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea eax, [ebp - 0x10c]
push str.Link_Source
push eax
call dword [sym.imp.MSVCR71.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x43c751
mov esi, dword [sym.imp.MSVCR71.dll__stricmp]
lea eax, [ebp - 0x10c]
push str.ObjectLink
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x43c751
lea eax, [ebp - 0x10c]
push str.OwnerLink
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x43c751
lea eax, [ebp - 0x10c]
push str.Native
push eax
call esi
test eax, eax
pop ecx
pop ecx
je 0x43c751
lea eax, [ebp - 0x10c]
push str.Embed_Source
push eax
call esi
test eax, eax
pop ecx
pop ecx
jne 0x43c75f
xor eax, eax
jmp 0x43c7e3
mov byte [ebp - 0x10c], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push ebx
mov dword [ebp - 4], eax
call esi
test eax, eax
jne 0x43c7e2
xor ebx, ebx
inc ebx
cmp dword [ebp + 8], 0xf
je 0x43c7e0
lea eax, [ebp - 0x10c]
push str.OwnerLink
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x43c7e0
mov eax, dword [0x45b0cc]
cmp eax, 0xffffffff
je 0x43c7bb
test eax, eax
je 0x43c7e0
call edi
mov ecx, dword [0x45b0cc]
mov edx, dword [ebp - 4]
add ecx, edx
sub ecx, eax
cmp ecx, 5
jle 0x43c7e0
and dword [0x45b0d4], 0
push ebx
push 0x8000012f
call fcn.0040d9dd
pop ecx
pop ecx
push dword [ebp + 8]
mov dword [0x45b0d4], ebx
call esi
test eax, eax
je 0x43c77b
jmp 0x43c7e2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43c7e9
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ecx
cmp dword [ecx + 0x18], 0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
je 0x43c7fd
xor eax, eax
inc eax
jmp 0x43c86c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push dword [0x45d9cc]
mov edi, dword [sym.imp.USER32.dll_OpenClipboard]
mov ebx, eax
call edi
xor ebp, ebp
inc ebp
jmp 0x43c85b
mov eax, dword [0x45b0cc]
cmp eax, 0xffffffff
je 0x43c839
test eax, eax
je 0x43c86a
call esi
mov ecx, dword [0x45b0cc]
add ecx, ebx
sub ecx, eax
cmp ecx, 5
jle 0x43c86a
and dword [0x45b0d4], 0
push ebp
push 0x8000012f
call fcn.0040d9dd
pop ecx
pop ecx
push dword [0x45d9cc]
mov dword [0x45b0d4], ebp
call edi
test eax, eax
je 0x43c81a
mov eax, dword [esp + 0x10]
mov dword [eax + 0x18], ebp
mov eax, ebp
jmp 0x43c86c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x43cb8d
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, eax
jmp 0x43cb9c
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 0
je 0x43cb99
cmp byte [ebp + 0x17], 0
jne 0x43cbab
mov ebp, dword [ebp + 0xc]
mov eax, ebp
call fcn.00401b7d
xor ebx, ebx
inc ebx
cmp byte [esi + 0x17], bl
jne 0x43cbfa
push ebx
mov ecx, esi
call fcn.00401c0d
cmp dword [ebp + 8], eax
je 0x43cbf6
push ebx
push 0
push dword [ebp + 0xc]
mov ecx, esi
push 0
call fcn.0040161c
test eax, eax
je 0x43cc47
mov eax, dword [ebp + 0xc]
inc eax
push eax
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00401c0d
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
or byte [esi + 0x15], bl
mov eax, ebx
jmp 0x43cc47
mov ecx, 0x460050
call fcn.0043c7e9
test eax, eax
jne 0x43cc1e
push 0x45282f
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x45fb58
call fcn.0044506b
jmp 0x43cc47
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea eax, [eax + edi + 1]
lea ebp, [edi + 4]
cmp ebp, eax
mov dword [esp + 0x18], eax
jbe 0x43cc52
xor edi, edi
mov esi, 0x460050
call fcn.0043c45d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov eax, dword [esp + 0x18]
mov edi, dword [edi]
test edi, edi
mov dword [esp + 0x10], edi
je 0x43cc3a
mov ecx, ebp
add ebp, 4
cmp ebp, eax
ja 0x43cc3a
mov ebx, dword [ecx]
mov edi, ebp
add ebp, ebx
cmp ebp, eax
ja 0x43cc3a
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43ccb7
test ebx, ebx
je 0x43cca1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43ccdc
push ebx
push edi
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, ebp
push esi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
lea ebp, [edi + 4]
cmp ebp, dword [esp + 0x18]
jbe 0x43cc4e
jmp 0x43cc3a
xor edi, edi
mov esi, 0x460050
call fcn.0043c45d
push 0x45282f
push str.Out_of_memory.
mov ecx, 0x45fb58
call fcn.0044506b
jmp 0x43cc46
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
mov esi, 0x460050
call fcn.0043c45d
push 0x45282f
push 0x452a20
jmp 0x43cccd
Function at 0x43ccfb
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 0x28
call fcn.0043db1b
cmp byte [esp + 0x2c], al
mov byte [esp + 2], al
je 0x43cef8
test al, al
push esi
jne 0x43cd4c
cmp byte [esp + 0x34], al
jne 0x43cd4c
push 0x45c8b0
xor esi, esi
push esi
push esi
push 0x43dc97
push 0x2000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x460240], eax
je 0x43cde3
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
movzx esi, byte [esp + 0x30]
push ebx
xor eax, eax
xor ebx, ebx
cmp byte [esp + 0x38], al
push ebp
sete al
push edi
mov edi, 0x417
mov ebp, eax
push ebp
push esi
push edi
push dword [0x45c8b0]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x43cd87
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x43cd66
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x13], 0
call ebp
mov dword [esp + 0x18], eax
cmp byte [esp + 0x3c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x43cded
push 1
push edi
push edi
xor esi, esi
push esi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43ce1e
cmp dword [esp + 0x24], esi
je 0x43ce4d
mov byte [esp + 0x13], 1
call fcn.0043db1b
test al, al
jne 0x43ce4d
cmp byte [esp + 0x40], al
jne 0x43cec9
mov byte [esp + 0x3c], al
jmp 0x43cd98
call fcn.0043daa8
jmp 0x43cef7
cmp byte [esp + 0x40], 0
je 0x43ce01
call fcn.0043db1b
xor esi, esi
test al, al
je 0x43ce4d
jmp 0x43ce1e
lea eax, [esp + 0x14]
push eax
push dword [0x460240]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x14], 0x103
jne 0x43ce37
xor esi, esi
call ebp
sub eax, dword [esp + 0x18]
cmp eax, 0x1f4
ja 0x43ce4d
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43cd98
push dword [0x460240]
call ebx
and dword [0x460240], 0
call fcn.0043daa8
xor esi, esi
cmp byte [esp + 0x40], 0
jne 0x43cec2
cmp dword [0x45db00], esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
je 0x43ce79
test byte [esp + 0x12], 1
jne 0x43ce8e
push str.AHK_Keybd
push esi
push esi
call edi
mov dword [0x45e414], eax
jmp 0x43ce8e
test byte [esp + 0x12], 1
je 0x43ce8e
push dword [0x45e414]
call ebx
mov dword [0x45e414], esi
cmp dword [0x45db04], esi
je 0x43cead
test byte [esp + 0x12], 2
jne 0x43cec2
push str.AHK_Mouse
push esi
push esi
call edi
mov dword [0x45e418], eax
jmp 0x43cec2
test byte [esp + 0x12], 2
je 0x43cec2
push dword [0x45e418]
call ebx
mov dword [0x45e418], esi
cmp byte [esp + 0x13], 0
je 0x43cef4
push ecx
fldz
push ecx
fstp qword [esp]
push esi
push esi
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 [0x45b0d4], esi
call fcn.0043b30a
add esp, 0x18
mov dword [0x45b0d4], 1
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x28
ret
Function at 0x43de1e
Capabilities:
Check for time delay via gettickcount

Disassembly:
test byte [esp + 4], 0x10
je 0x43de28
xor al, al
ret
cmp byte [esp + 8], 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x43de3d
cmp byte [esp + 0xc], 0x10
jne 0x43de8f
xor cl, cl
cmp byte [esp + 0x10], cl
jne 0x43de8f
cmp byte [0x45c8db], cl
je 0x43de60
call fcn.0043da91
test al, al
jne 0x43de60
mov byte [0x45c8db], cl
xor al, al
pop esi
ret
cmp byte [0x45c8d5], cl
je 0x43de8f
xor eax, eax
mov ax, word [0x45c8d8]
push eax
mov al, byte [0x45c8da]
call fcn.0043ddc6
add esp, 4
test al, al
je 0x43de8f
call esi
sub eax, dword [0x45c8d0]
cmp eax, 0x16
jb 0x43de5c
call esi
mov dword [0x460230], eax
mov al, 1
pop esi
ret
Function at 0x43fce0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x45c8d4], 0
je 0x43fd5c
mov al, byte [0x45c8da]
cmp al, 0xa0
je 0x43fcfa
cmp al, 0x10
jne 0x43fd5c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x45c8d0]
cmp eax, 0x16
jae 0x43fd5c
push dword [ebp + 0xc]
mov al, byte [ebp + 8]
call fcn.0043ddc6
add esp, 4
cmp byte [0x45c8d5], 0
jne 0x43fd34
call fcn.0043da91
test al, al
je 0x43fd5c
mov byte [0x45c8db], 1
jmp 0x43fd3e
cmp byte [ebp + 0x10], 0
jne 0x43fd27
test al, al
je 0x43fd5c
mov al, byte [0x45c8cc]
mov byte [0x45d9ea], al
mov al, byte [0x45c8cb]
mov byte [0x45da00], al
mov al, byte [0x45c8ca]
mov byte [0x45da90], al
mov al, byte [0x45d9ea]
mov ecx, dword [0x45e428]
mov byte [0x45c8cc], al
mov al, byte [0x45da00]
push ebx
mov byte [0x45c8cb], al
mov al, byte [0x45da90]
push esi
movzx esi, byte [ebp + 8]
mov byte [0x45c8ca], al
lea eax, [esi + esi*8]
shl eax, 5
mov bl, byte [eax + ecx + 4]
test bl, bl
je 0x43fea2
push dword [ebp + 0x10]
cmp dword [edi + 0x10], 0xffc3d44f
push dword [ebp + 8]
setne byte [ebp - 1]
push dword [edi + 8]
call fcn.0043de1e
add esp, 0xc
cmp byte [ebp + 0x10], 0
je 0x43fe48
cmp byte [ebp + 0x14], 0
jne 0x43fdda
mov cl, bl
not cl
and byte [0x45d9e8], cl
cmp byte [ebp - 1], 0
je 0x43fdda
and byte [0x45d9e9], cl
test al, al
je 0x43fea2
not bl
and byte [0x45d9ea], bl
sub esi, 0xa0
mov byte [esi + 0x45da90], 0
je 0x43fe41
dec esi
je 0x43fe35
dec esi
je 0x43fe29
dec esi
je 0x43fe22
dec esi
je 0x43fe13
dec esi
jne 0x43fea2
mov al, byte [0x45da94]
jmp 0x43fe18
mov al, byte [0x45da95]
mov byte [0x45da02], al
jmp 0x43fea2
mov al, byte [0x45da92]
jmp 0x43fe2e
mov al, byte [0x45da93]
mov byte [0x45da01], al
jmp 0x43fea2
mov al, byte [0x45da90]
mov byte [0x45da00], al
jmp 0x43fea2
mov al, byte [0x45da91]
jmp 0x43fe3a
cmp byte [ebp + 0x14], 0
jne 0x43fe60
or byte [0x45d9e8], bl
cmp byte [ebp - 1], 0
je 0x43fe60
or byte [0x45d9e9], bl
test al, al
je 0x43fea2
or byte [0x45d9ea], bl
cmp byte [ebp + 8], 0xa0
mov byte [esi + 0x45d9f0], 0x80
jb 0x43fea2
cmp byte [ebp + 8], 0xa1
jbe 0x43fe9b
cmp byte [ebp + 8], 0xa3
jbe 0x43fe92
cmp byte [ebp + 8], 0xa5
ja 0x43fea2
mov byte [0x45da02], 0x80
jmp 0x43fea2
mov byte [0x45da01], 0x80
jmp 0x43fea2
mov byte [0x45da00], 0x80
mov ax, word [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov word [0x45c8d8], ax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push dword [edi + 8]
mov byte [0x45c8da], cl
mov byte [0x45c8d5], al
call fcn.0043de1e
add esp, 0xc
mov byte [0x45c8d4], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop esi
mov dword [0x45c8d0], eax
pop ebx
leave
ret
Function at 0x440c61
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x10c
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x440c8d
cmp byte [0x460004], al
je 0x440d2a
push 1
push eax
push 0xffffffffffffffff
push 0x454094
jmp 0x440d1f
cmp byte [0x460004], 0
push ebx
push ebp
push edi
mov edi, 0x45e2f8
jne 0x440ca2
lea edi, [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
mov ebp, 0x104
push ebp
call ebx
test eax, eax
je 0x440cff
cmp byte [esi], 0
je 0x440d08
cmp byte [esi + 1], 0x3a
jne 0x440d08
cmp byte [esi + 2], 0
jne 0x440d08
push edi
push esi
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x440d08
push esi
lea eax, [esp + 0x10]
push 0x456abc
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x440d08
push edi
push ebp
call ebx
test eax, eax
jne 0x440d08
mov eax, ebp
push esi
call fcn.00438a10
pop ecx
cmp byte [0x460004], 0
pop edi
pop ebp
pop ebx
je 0x440d2a
push 1
push 0
push 0xffffffffffffffff
push 0x452954
mov ecx, dword [0x45e2f0]
call fcn.0040161c
add esp, 0x10c
ret