joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401240
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
inc esi
dec esi
or eax, 0xa2
and eax, 0xe7
bswap ebx
ror edx, 0x20
imul edi
sbb eax, 0x98
rcr eax, 0x52
imul eax
add ebx, 0x1a
rcl esi, 0x1d
sbb eax, 0xee
imul ebx
mov ebx, 0xe4
bswap edx
bswap edx
inc edx
inc esi
bswap eax
dec eax
rcr esi, 0x8d
bswap esi
not ebx
mov ebx, 0x6a
rol edi, 0x6a
add ebx, 0xc5
rcl ebx, 0x11
neg edi
neg edi
imul eax
imul edi
rol eax, 0x31
add eax, 0xd0
inc eax
ror edi, 0x96
neg edi
ror edx, 0xd6
or esi, 0xfc
imul ebx
bswap edi
imul edi
ror ebx, 0x39
dec ebx
rcr esi, 0xa0
neg ebx
or edi, 0xc7
rcr ebx, 0xc1
imul edx
and eax, 0x4d
xor ecx, ecx
xor edi, edi
inc edi
not edx
inc esi
neg ebx
inc ebx
bswap eax
ror ebx, 0x91
rcr ebx, 8
rcr eax, 0x75
dec eax
rcl edx, 0x59
sub edi, 0x80
add edx, 0x68
rcl edi, 0x87
imul edx
mov edx, 0x5b
mov esi, 0xb6
inc edi
sbb edx, 0x9f
add eax, 0xbf
not ebx
imul edi
not ebx
bswap edi
ror edx, 0xac
inc esi
bswap eax
imul esi
neg esi
or ebx, 0x99
not ebx
neg edi
inc edi
dec eax
sbb edi, 0xf
neg ebx
sbb esi, 0x93
add eax, 0x72
ror eax, 0x2e
imul edi
ror ebx, 0x43
imul edx
dec edx
imul ebx
sbb edi, 0x27
rcr esi, 0xc1
rol ebx, 0x9e
rol edx, 4
inc eax
rcr edx, 0x7c
mov ecx, dword [ebp + 0xc]
rcl edx, 0x55
inc edx
sub edi, 0x7a
inc esi
ror esi, 0x58
bswap edx
not esi
neg edx
imul ebx
rcr edi, 0x59
sbb edx, 0xbc
rcl eax, 0x11
dec edx
mov edi, 0xbf
ror edi, 0x40
imul ebx
add esi, 0xb5
bswap edi
rcr ebx, 0x5a
and eax, 0xf
or esi, 0x78
rcl edi, 0x2a
sub ebx, 0x2d
rol edx, 0x4f
rcl eax, 0x6b
sub eax, 0xd7
rcr eax, 0xf7
imul edi
or eax, 0x9c
neg esi
rcr esi, 0x8f
rcl ebx, 6
not ebx
inc eax
neg ebx
rcl eax, 0x33
rcr edi, 0
or ebx, 0x12
rol ebx, 0x21
not edi
dec esi
or esi, 0xeb
rcr edx, 0xff
sbb eax, 0xe9
inc esi
sbb esi, 0x2a
dec eax
imul ebx
add eax, 0x8e
bswap esi
mov edi, dword [ebp + 8]
xor esi, esi
mov esi, ebx
xor esi, eax
not byte [edi]
xor esi, esi
xor ebx, eax
xor eax, ebx
xor ebx, esi
mov ebx, esi
xor esi, ebx
xor eax, esi
mov eax, eax
mov eax, ebx
add byte [edi], 0x79
mov ebx, eax
mov eax, ebx
xor eax, ebx
mov eax, eax
mov eax, ebx
mov eax, esi
xor esi, esi
xor eax, eax
xor eax, ebx
sub byte [edi], 0x30
mov ebx, eax
mov ebx, ebx
mov eax, ebx
xor ebx, esi
xor ebx, eax
mov ebx, ebx
xor eax, esi
xor esi, esi
mov esi, eax
imul byte [edi]
inc edi
loop 0x4013f3
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4042f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444bd0]
jne 0x4042ff
repz ret
jmp fcn.00406075
Function at 0x404986
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403721
and dword [ebp - 4], 0
cmp dword [0x445a68], 0
mov ebx, eax
jne 0x404a37
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404ae8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404ae8
push eax
call fcn.004036af
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x445a68], eax
call esi
push eax
call fcn.004036af
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x445a6c], eax
call esi
push eax
call fcn.004036af
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x445a70], eax
call esi
push eax
call fcn.004036af
pop ecx
mov dword [0x445a78], eax
test eax, eax
je 0x404a37
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004036af
pop ecx
mov dword [0x445a74], eax
mov eax, dword [0x445a74]
cmp eax, ebx
je 0x404a8f
cmp dword [0x445a78], ebx
je 0x404a8f
push eax
call fcn.0040372a
push dword [0x445a78]
mov esi, eax
call fcn.0040372a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404a8f
test edi, edi
je 0x404a8f
call esi
test eax, eax
je 0x404a86
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404a86
test byte [ebp - 0xc], 1
jne 0x404a8f
or dword [ebp + 0x10], 0x200000
jmp 0x404ac8
mov eax, dword [0x445a6c]
cmp eax, ebx
je 0x404ac8
push eax
call fcn.0040372a
pop ecx
test eax, eax
je 0x404ac8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404ac8
mov eax, dword [0x445a70]
cmp eax, ebx
je 0x404ac8
push eax
call fcn.0040372a
pop ecx
test eax, eax
je 0x404ac8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445a68]
call fcn.0040372a
pop ecx
test eax, eax
je 0x404ae8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404aea
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x42b015
lea edi, [esi - 0x2a015]
push edi
jmp 0x43509a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4350a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x435090
mov eax, 1
add ebx, ebx
jne 0x4350b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4350a8
jne 0x4350c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4350a8
xor ecx, ecx
sub eax, 3
jb 0x4350d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43514a
mov ebp, eax
add ebx, ebx
jne 0x4350e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4350f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x435114
inc ecx
add ebx, ebx
jne 0x435100
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4350f5
jne 0x435111
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4350f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x435134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x435125
jmp 0x435096
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x435134
add edi, ecx
jmp 0x435096
pop esi
mov edi, esi
mov ecx, 0x43
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x435152
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x435157
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x4351bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x35000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x350e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43517d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x350e8]
or eax, eax
je 0x4351b9
mov dword [ebx], eax
add ebx, 4
jmp 0x43519a
call dword [esi + 0x350e4]
mov ebp, dword [esi + 0x350ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4351f3
sub esp, 0xffffff80
jmp 0x401219

Function at 0x408958
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
inc esi
or esi, edx
call fcn.00408980
sub edx, esi
sub esi, edx
xor dword [eax], edi
inc eax
add edx, 0xdccd9b4a
cmp eax, ebx
jne fcn.00408958
inc esi
push edx
pop esi
ret
Function at 0x401fc2
Capabilities:
Decompress data using aplib

Disassembly:
add dword [esp], 2
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, pe_nt_image_headers32
movsb byte es:[edi], byte [esi]
call fcn.00402040
jae 0x401fd2
xor ecx, ecx
call fcn.00402040
jae 0x401ffd
xor eax, eax
call fcn.00402040
jae 0x40200c
inc ecx
mov al, 0x10
call fcn.00402040
adc al, al
jae 0x401fef
jne 0x402036
stosb byte es:[edi], al
jmp 0x401fd3
call fcn.0040204c
dec ecx
loop 0x402015
call fcn.0040204a
jmp 0x402034
lodsb al, byte [esi]
shr eax, 1
je 0x40205c
adc ecx, ecx
jmp 0x402031
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0040204a
cmp eax, 0x7d00
jae 0x402031
cmp ah, 5
jae 0x402032
cmp eax, 0x7f
ja 0x402033
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x401fd3
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
call fcn.0040206a

Function at 0x402116
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
push 0xe4105e5c
push dword [ebp - 0x14]
call fcn.00401ee6
mov dword [ebp - 0x10], eax
test eax, eax
je 0x402247
push 0x940959b9
push dword [ebp - 0x14]
call fcn.00401ee6
mov dword [ebp - 0xc], eax
test eax, eax
je 0x402240
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
push 0x40
push 0x1000
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
call dword [ebp - 0xc]
test eax, eax
jne 0x402240
push dword [ebx + 4]
lea eax, [ebx + 0x3c]
push eax
push 0x20
lea eax, [ebx + 0x1c]
push eax
call fcn.00401e20
push dword [ebp - 0x1c]
lea eax, [ebx + 0x3c]
push eax
call fcn.00401fc2
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebx + 0xc]
sub edx, edi
mov esi, dword [ebx + 0x18]
add esi, edi
lodsd eax, dword [esi]
jmp 0x4021cb
lodsd eax, dword [esi]
test eax, eax
je 0x4021eb
mov edi, dword [ebp - 0x1c]
add edi, eax
lodsd eax, dword [esi]
lea ecx, [eax - 8]
shr ecx, 1
xor eax, eax
lodsw ax, word [esi]
test ax, 0x3000
je 0x4021e7
and ax, 0xfff
sub dword [eax + edi], edx
loop 0x4021d8
jmp 0x4021c6
mov edi, dword [ebp - 0x1c]
add edi, dword [ebx + 0x18]
mov ecx, dword [ebx]
sub ecx, dword [ebx + 0x18]
rep stosb byte es:[edi], al
push 0x94d07c92
push dword [ebp - 0x18]
call fcn.00401ee6
mov dword [ebp - 4], eax
test eax, eax
je 0x402240
push 0x3366cd77
push dword [ebp - 0x18]
call fcn.00401ee6
mov dword [ebp - 8], eax
test eax, eax
je 0x402240
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebx + 0x14]
push dword [ebp - 0x1c]
call fcn.00401f53
test eax, eax
je 0x402240
mov eax, dword [ebx + 0x10]
add eax, dword [ebp - 0x1c]
push dword [ebp + 0xc]
call eax
push 0
push 0xffffffffffffffff
call dword [ebp - 0x10]
leave
ret 8
Function at 0x43fa03
Capabilities:
Hash data with crc32

Disassembly:
je 0x43fbf7
jne 0x43fbf7
cmp dword [0x69a7642c], esi
lea edi, [eax + 0xcd0ea8]
cmp dword [0xd0c3a8], ecx
or dword [eax + 0x20], 0x80
mov byte [eax + esi - 1], 0
cmp dword [0xdeb3d8], edi
mov dword [0x112765ac], eax
mov dword [esi], 0xace0bc
movsx eax, word [ebp - 0x1c4]
push 0xaab9a8
int1
rcr byte [esi], 1
loop 0x43f2e7
sub eax, 0x22a93090
aaa
out 0x83, al
leave
jmp [eax + 3]
movsd dword es:[edi], dword [esi]
add byte [eax + 0x4561b4], bh
mov eax, 0x10d7a2b8
mov edx, 0xb1ced4
push 0xa76714
mov dword [esi], 0x9fb764
push str.xU:
mov dword [edx + esi + 0x13c], 0x10261f8c
push 0x697a2e6c
mov byte [ebp - 0x132], 0
mov ecx, 0x15
sti
and bh, byte [edi + 0x4232049f]
cmp byte [eax], bl
mov al, byte [0x6b249244]
dec edi
arpl word [eax], bx
cwde
jmp 0x43fa03
not ecx
xor ebx, ebx
je 0x43fafa
jne 0x43fafa
cmp dword [ebp + 0xc], eax
jmp dword [ecx*4 + 0x86d66c]
shr ecx, 8
je 0x43f8c9
jne 0x43f8c9
mov dword [0x112b2da8], eax
neg dword [ebp + 0x12]
push 0xa233fc
push 0x1016adc0
mov dword [0x1124da0c], eax
mov dword [0x111d2de4], eax
cmp dword [ebp + 0x1c], 0x80000000
mov dword [esi], 0xa0e618
pmaddwd xmm6, xmmword [0x69809430]
mov eax, 0x10dab0f8
push 0x100d8c6c
mov ecx, dword [0x42be3c]
movzx eax, word [0xf376c4]
add ebp, 0x518
mov dword [esi + 0x5c], 0x42edc0
push 0xaf4520
cmp byte [0xdef019], 0
mov dword [esp + 0xec], 0x1028d9a4
hlt
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], 0xfffffffe
push 0x43fb85
ret
push eax
push 0x43fe3a
ret
je 0x43f33b
movzx eax, byte [esi]
xor eax, ecx
je 0x43fd59
jne 0x43fd59
mov ecx, dword [0x1152b260]
lock cmpxchg dword [ebx], edx
mov dword [esi + 0x694], 1
mov dword [esi + 4], 0x63eba0
jmp dword [0x49140c]
xor ecx, dword [eax*4 + 0x401240]
push 0x43f5f1
ret
mov eax, edx
dec edx
mov dword [ebp - 0x130], edx
test eax, eax
jmp 0x43f814
mov dword [ebp - 0x124], esi
jmp 0x43f925
cmp ecx, 0x39b5d60d
sete bl
jmp 0x43f464
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b19b0
push 0x4a41c0
mov eax, dword fs:[0]
jmp 0x43f67a
and eax, 0xff
jmp 0x43f37a
Function at 0x41fb66
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x41fb75
pop dword [ebp - 0xc]
mov eax, 0xefa24e03
sub eax, 0xef60528e
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x4c18b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x37fc
xor esi, esi
add esi, eax
mov edx, 0x488e00
add edx, dword [ebp - 0xc]
mov ebx, 0xd021170a
add ebx, 0xd957c73f
xor dword [ebp - 4], esi
mov edi, dword [edx]
sub dword [ebp - 8], 0xc18f7595
sub edi, ebx
sub dword [ebp - 8], 0x15de2c7a
mov dword [esi], edi
add esi, 4
add edx, 0x7ed3a85c
sub edx, 0x7ed3a858
loop 0x41fbc5
add eax, 0xd1d62cc3
add eax, 0x2e2aa600
mov ebx, eax
add eax, 0x469cb8a8
add eax, 0xb963475d
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x403500
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x403514
inc dword [0x4c86a8]
add dword [0x4c4a14], 0x108
mov edx, dword [0x4c4a14]
push esi
push edi
mov ecx, 0x42
mov esi, 0x4c7170
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 0x403543
push 0
mov eax, 0x4c9718
call fcn.004165e0
cmp dword [0x4c86d4], 0
mov dword [0x4ca1f8], 0
mov dword [0x4ca1fc], 0
je 0x40356b
push 0x4c8d40
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [esp + 0x10], 0
jne 0x4035ef
or ecx, 0xffffffff
cmp byte [esi + 0xee], 0
jne 0x40359a
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xee], al
test al, al
je 0x40359a
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4ca204], 0
je 0x4035ac
cmp dword [0x4ca200], 0
jne 0x4035b5
cmp byte [esi + 0xee], 0
je 0x4035ef
cmp byte [esi + 0xee], 0
mov byte [esi + 0xec], 0
jne 0x4035ef
cmp dword [0x4ca204], 0
jge 0x4035d7
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 [0x4ca204]
mov dword [esi + 0xe0], edx
pop edi
pop esi
ret
Function at 0x4042d0
Capabilities:
Write clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x4042f3
call fcn.004045a0
test eax, eax
jne 0x4042f3
push str.Cant_open_clipboard_for_writing.
call fcn.004043d0
pop esi
pop ebx
pop ecx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40432c
cmp dword [esi + 0x18], ebx
je 0x40431e
cmp dword [esi + 8], ebx
je 0x404313
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 0x4a1bf4
call fcn.004043d0
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 0x404365
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x40438c
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 0x40438c
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 0x404382
cmp dword [esi + 8], ebx
je 0x404377
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 0x4043a1
mov dword [esi + 4], ebx
jmp 0x404365
cmp dword [esi + 0x18], ebx
je 0x4043be
cmp dword [esi + 8], ebx
je 0x4043b3
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 0x4a1c14
call fcn.004043d0
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4044a0
Capabilities:
Read clipboard data

Disassembly:
sub esp, 0x20c
test esi, esi
je 0x4044b0
mov dword [esi], 0
lea eax, [edi - 0xc000]
cmp eax, 0x3fff
ja 0x40457f
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.0048e737
add esp, 0xc
test eax, eax
je 0x404576
lea eax, [esp]
push str.ObjectLink
push eax
call fcn.0048dee9
add esp, 8
test eax, eax
je 0x404576
lea ecx, [esp]
push str.OwnerLink
push ecx
call fcn.0048dee9
add esp, 8
test eax, eax
je 0x404576
lea edx, [esp]
push str.Native
push edx
call fcn.0048dee9
add esp, 8
test eax, eax
je 0x404576
lea eax, [esp]
push str.Embed_Source
push eax
call fcn.0048dee9
add esp, 8
test eax, eax
je 0x404576
lea ecx, [esp]
push str.MSDEVColumnSelect
push ecx
call fcn.0048dee9
add esp, 8
test eax, eax
je 0x40456c
lea edx, [esp]
push str.MSDEVLineSelect
push edx
call fcn.0048dee9
add esp, 8
test eax, eax
jne 0x404585
test esi, esi
je 0x404576
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 0x408af0
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 [0x4c8668], 0
push esi
push edi
mov byte [esp + 0x1e], al
je 0x408b14
mov byte [esp + 0x1e], 1
mov al, byte [esp + 0x1e]
cmp dword [0x4c866c], 0
je 0x408b23
or al, 2
mov byte [esp + 0x1e], al
cmp byte [ebp + 8], al
je 0x408d30
test al, al
jne 0x408b66
cmp byte [ebp + 0xc], al
jne 0x408b66
push 0x4c7420
push 0
push 0
push 0x408e00
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4c8f64], eax
test eax, eax
je 0x408bf7
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 [0x4c7420]
push edi
push ebx
push 0x417
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x408b9c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x32
jl 0x408b76
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 0x408c03
push 1
push 0x417
push 0x417
push 0
lea edx, [esp + 0x34]
push edx
call esi
test eax, eax
je 0x408c6a
cmp dword [esp + 0x2c], 0
je 0x408c12
mov byte [esp + 0x1f], 1
call fcn.00409170
test al, al
jne 0x408c12
cmp byte [ebp + 0xc], al
jne 0x408cfe
mov byte [ebp + 8], al
jmp 0x408bb1
call fcn.00409190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
je 0x408c4e
call fcn.00409170
test al, al
jne 0x408c6a
cmp byte [ebp + 0xc], 0
jne 0x408cf7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4c8668], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
je 0x408ca2
test byte [esp + 0x1e], 1
jne 0x408cbb
push str.AHK_Keybd
push 0
push 0
call esi
mov dword [0x4c8f5c], eax
jmp 0x408cbb
mov ecx, dword [0x4c8f64]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x20], 0x103
jne 0x408c82
call edi
sub eax, ebx
cmp eax, 0x1f4
ja 0x408c12
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408bb1
mov edx, dword [0x4c8f64]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [0x4c8f64], 0
call fcn.00409190
jmp 0x408c22
test byte [esp + 0x1e], 1
je 0x408cbb
mov eax, dword [0x4c8f5c]
push eax
call edi
mov dword [0x4c8f5c], 0
cmp dword [0x4c866c], 0
je 0x408cdd
test byte [esp + 0x1e], 2
jne 0x408cf7
push str.AHK_Mouse
push 0
push 0
call esi
mov dword [0x4c8f60], eax
jmp 0x408cf7
test byte [esp + 0x1e], 2
je 0x408cf7
mov ecx, dword [0x4c8f60]
push ecx
call edi
mov dword [0x4c8f60], 0
cmp byte [esp + 0x1f], 0
je 0x408d30
fldz
sub esp, 8
fstp qword [esp]
mov dword [0x4c491c], 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.00479380
add esp, 0x18
mov dword [0x4c491c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a830
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x100c
call fcn.004996e0
cmp byte [0x4ca40c], 0
push ebx
push ebp
mov ebp, dword [esp + 0x101c]
push esi
push edi
jne 0x40a9a3
cmp dword [0x4c8f7c], 0
jne 0x40a866
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c8f7c], eax
mov ebx, 1
add dword [0x4ca410], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x4ca410]
mov esi, dword [0x4c4930]
mov ecx, eax
sub ecx, dword [0x4c8f7c]
mov dword [0x4c8f80], eax
cmp edx, dword [0x4c492c]
jbe 0x40a89c
cmp ecx, esi
jb 0x40a900
xor edx, edx
cmp ecx, esi
jbe 0x40a8b9
mov dword [0x4ca410], 0
mov dword [0x4c8f7c], eax
test edx, edx
jne 0x40a9a3
mov esi, dword [esp + 0x1020]
mov cl, byte [esi + 0xf]
push 0
mov byte [0x4ca1da], cl
mov ecx, dword [ebp]
add byte [ebp + 0x16], bl
push 0
push 0x4a18cc
push ecx
xor eax, eax
xor edx, edx
call fcn.0046cb20
dec byte [ebp + 0x16]
add esp, 0x10
test eax, eax
jne 0x40a971
mov byte [ebp + 0x1b], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100c
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 + 0x24]
call fcn.00474960
add esp, 0xc
call fcn.004097d0
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0
mov eax, edi
push 4
push eax
mov byte [0x4ca40c], bl
mov dword [0x4c491c], 0
call fcn.00479380
add esp, 0x18
cmp eax, 7
jne 0x40a958
push 0
push ebx
push 0x4c9718
call fcn.00416960
mov eax, dword [0x4c8f80]
mov dword [0x4c491c], ebx
mov byte [0x4ca40c], 0
mov edx, ebx
jmp 0x40a8a2
cmp byte [ebp + 0x1b], 0
je 0x40a9a3
mov byte [ebp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0xc]
cmp eax, 0x3e8
ja 0x40a9a3
movzx edx, word [esi + 4]
mov eax, dword [0x4c8538]
push 0
push edx
push 0x312
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100c
ret 8