joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417e20
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
cmp dword [0x4bbcac], 0
push esi
je 0x417e37
mov al, byte [0x4ba339]
jmp 0x417f5e
cmp dword [0x4bb558], 0
je 0x417e4a
mov al, byte [0x4bb425]
jmp 0x417f5e
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
mov byte [esp + 0xb], 0
call esi
mov ecx, 0x8000
test cx, ax
je 0x417e6b
mov byte [esp + 7], 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x417e81
or byte [esp + 7], 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x417e97
or byte [esp + 7], 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x417ead
or byte [esp + 7], 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x417ec3
or byte [esp + 7], 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x417ed9
or byte [esp + 7], 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x417eec
or byte [esp + 7], 0x40
push 0x5c
call esi
mov edx, 0x8000
test dx, ax
je 0x417eff
or byte [esp + 7], 0x80
cmp dword [0x4bb558], 0
je 0x417f5a
push ebx
mov bl, byte [esp + 0xb]
not bl
and bl, byte [0x4bb425]
je 0x417f59
mov cl, byte [0x4bb427]
mov al, bl
not al
and byte [0x4bb425], al
and byte [0x4bb426], al
and cl, al
mov al, cl
mov byte [0x4bb427], cl
mov ecx, 0x4bb450
call fcn.0041a7f0
mov eax, dword [0x4ba32c]
test eax, eax
je 0x417f59
test byte [eax + 8], bl
je 0x417f59
mov dword [0x4ba32c], 0
pop ebx
mov al, byte [esp + 7]
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push 1
and al, 0xc4
push 0
or al, 4
push 0
movzx edx, al
push ecx
push edx
mov esi, 0xffc3d44f
call fcn.0041a010
mov al, byte [edi]
add esp, 0x14
mov esi, edi
cmp al, 0x30
jl 0x417fb7
lea ebx, [ebx]
cmp al, 0x39
jg 0x417fb7
push 0xffc3d44d
push 0
add al, 0x30
push 0
movzx eax, al
push 0
push eax
push 2
call fcn.00418240
mov al, byte [esi + 1]
inc esi
add esp, 0x18
cmp al, 0x30
jge 0x417f90
push 0xffc3d44d
push 0
push 0
push 0
push 0x12
push 1
call fcn.00418240
add esp, 0x18
pop esi
add esp, 8
ret
Function at 0x4194d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esi]
push edi
cmp eax, 0x80000000
je 0x4196b1
mov edi, dword [ebp]
cmp edi, 0x80000000
je 0x4196b1
mov edx, dword [0x4bbcac]
cmp edx, 2
jne 0x419545
movzx ebx, byte [esp + 0x24]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
call fcn.00419890
add esp, 4
call fcn.00419d20
cmp byte [esp + 0x24], 0
je 0x4196b1
mov dword [esi], connect
mov dword [ebp], connect
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
or dword [ecx], 0x8001
cmp byte [esp + 0x24], 0
je 0x41959a
cmp edx, 1
jne 0x419580
cmp dword [0x4ba33c], 0x80000000
jne 0x41956e
push 0x4ba33c
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4ba33c]
add dword [esi], eax
mov ecx, dword [0x4ba340]
add dword [ebp], ecx
jmp 0x4195bf
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add dword [esi], eax
add dword [ebp], ecx
jmp 0x4195bf
mov edx, dword [0x4b7a60]
movzx eax, word [edx + 0xd0]
shr eax, 2
and eax, 3
cmp eax, 2
je 0x4195bf
push eax
mov edi, ebp
mov ebx, esi
call fcn.00480600
add esp, 4
cmp dword [0x4bbcac], 1
jne 0x4195d8
mov eax, dword [esi]
mov dword [0x4ba33c], eax
mov ecx, dword [ebp]
mov dword [0x4ba340], ecx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov edi, eax
call ebx
mov ecx, dword [esi]
mov ebx, eax
mov eax, ecx
shl eax, 0x10
cdq
idiv edi
xor edx, edx
test ecx, ecx
setns dl
lea eax, [eax + edx*2 - 1]
mov dword [esi], eax
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 0x10
cdq
idiv ebx
xor edx, edx
test ecx, ecx
setns dl
lea edx, [edx + edx - 1]
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [ebp], edx
test eax, eax
js 0x41969b
cmp eax, 0x64
jle 0x419633
mov dword [esp + 0x20], 0x64
jmp 0x419637
test eax, eax
je 0x41969b
cmp dword [0x4bbcac], 1
je 0x41969b
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, ecx
shl eax, 0x10
cdq
idiv ebx
mov esi, dword [esp + 0x1c]
xor edx, edx
test ecx, ecx
setns dl
mov ebx, eax
lea ebx, [ebx + edx*2 - 1]
mov eax, esi
shl eax, 0x10
cdq
idiv edi
mov ecx, eax
xor eax, eax
test esi, esi
setns al
lea ecx, [ecx + eax*2 - 1]
mov eax, ebx
call fcn.0045ecc0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi]
push 0x8001
xor ecx, ecx
call fcn.004196c0
add esp, 4
call fcn.00419d20
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x419af0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ecx
cmp dword [0x4bbcac], 1
jne 0x419bb5
push ebx
xor bl, bl
cmp dword [0x4bb558], 0
mov byte [esp + 4], bl
je 0x419b14
mov bl, 1
mov byte [esp + 4], bl
cmp dword [0x4bb55c], 0
je 0x419b24
or bl, 2
mov byte [esp + 4], bl
test bl, bl
je 0x419b3f
mov al, byte [0x4ba338]
not al
and al, bl
movzx ecx, al
push 1
push ecx
call fcn.004105c0
add esp, 8
mov edx, dword [0x4ba350]
mov eax, dword [0x4ba34c]
push 0x1c
push edx
push eax
call dword [sym.imp.USER32.dll_SendInput]
test bl, bl
je 0x419c35
mov cl, byte [0x4ba338]
and cl, bl
test cl, 1
je 0x419b9c
push 1
call fcn.0041a6c0
mov dl, byte [esp + 0x14]
mov cl, al
xor cl, dl
mov bl, cl
and bl, dl
not bl
and bl, byte [0x4bb427]
and cl, al
or bl, cl
add esp, 4
mov byte [0x4bb427], bl
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [0x4ba1d0], eax
mov edx, dword [esp + 4]
pop ebx
add esp, 4
mov dword [esp + 8], 1
mov dword [esp + 4], edx
jmp fcn.004105c0
mov eax, dword [0x4bb41c]
push 0
push eax
push 0x417fe0
push 1
mov dword [0x4ba344], 0
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4bb560], eax
test eax, eax
je 0x419c36
mov byte [0x4bb44a], 1
push 1
push 0x8000012f
mov dword [0x4b79cc], 0
call fcn.00401450
add esp, 8
cmp dword [0x4bb560], 0
mov dword [0x4b79cc], 1
jne 0x419be4
mov eax, dword [0x4ba350]
mov ecx, dword [0x4ba34c]
cmp dword [eax + ecx*8 - 8], 0
mov byte [0x4bb44a], 0
jne 0x419c36
mov ecx, dword [eax + ecx*8 - 4]
mov edx, dword [esp + 8]
mov dword [edx], ecx
pop ecx
ret
pop ebx
pop ecx
ret

Function at 0x419e10
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x4bbc40]
test eax, eax
je 0x419efd
mov ecx, dword [0x4bbc44]
imul ecx, ecx, 0x70
add eax, ecx
mov cl, byte [esp + 8]
mov byte [eax + 5], dl
mov dx, word [esp + 0xc]
mov byte [eax], cl
mov word [eax + 2], dx
push esi
mov byte [eax + 4], 0x69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x4bcc24]
mov dword [0x4bbc48], eax
mov dword [esp + 4], ecx
fild dword [esp + 4]
jns 0x419e63
fadd dword [0x4b15b8]
fdiv qword [0x4b15b0]
mov edx, dword [0x4bbc44]
mov ecx, dword [0x4bbc40]
mov dword [0x4bcc24], eax
imul edx, edx, 0x70
fstp dword [esp + 4]
fld dword [esp + 4]
fstp dword [edx + ecx + 8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x419ec2
mov edx, dword [0x4bbc44]
mov eax, dword [0x4bbc40]
imul edx, edx, 0x70
cmp esi, dword [0x4bbc4c]
je 0x419ebb
push 0x64
lea ecx, [edx + eax + 0xc]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x419ed9
mov byte [edx + eax + 0xc], 0
jmp 0x419ed9
mov ecx, dword [0x4bbc44]
mov edx, dword [0x4bbc40]
imul ecx, ecx, 0x70
mov dword [ecx + edx + 0xc], 0x412f4e
mov eax, dword [0x4bbc44]
inc eax
mov dword [0x4bbc4c], esi
mov dword [0x4bbc44], eax
pop esi
cmp eax, dword [0x4b79d0]
jl 0x419efd
mov dword [0x4bbc44], 0
pop ecx
ret
Function at 0x419f00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
movzx edi, bl
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
movsx esi, al
neg esi
sbb esi, esi
add esi, 2
cmp ebp, 1
je 0x419f2b
cmp ebp, 2
jne 0x41a001
cmp esi, ebp
je 0x41a001
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
mov ecx, 0x8000
test cx, ax
je 0x419f5c
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 1
call fcn.00418240
add esp, 0x18
push 0xffc3d44d
push 0
push 0
push 0
push ebx
push 2
call fcn.00418240
add esp, 0x18
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4bc41c]
sete al
mov byte [esp + 0x10], al
test al, al
je 0x419fb2
push 1
push 0xffffffffffffffff
mov dword [0x4b79cc], 0
call fcn.00401450
add esp, 8
mov dword [0x4b79cc], 1
cmp bl, 0x14
jne 0x41a001
cmp ebp, 2
jne 0x41a001
push 0x14
call edi
test al, 1
je 0x41a001
push 0xffc3d44d
push 0
push 0
push 0
push 0x10
push ebp
call fcn.00418240
add esp, 0x18
cmp byte [esp + 0x10], 0
je 0x41a001
push 1
push 0xffffffffffffffff
mov dword [0x4b79cc], 0
call fcn.00401450
add esp, 8
mov dword [0x4b79cc], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x41a6c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp dword [0x4bb558], 0
je 0x41a6d8
cmp byte [esp + 8], 0
jne 0x41a6d8
mov al, byte [0x4bb425]
pop ecx
ret
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
mov byte [esp + 0xb], 0
call esi
mov ecx, 0x8000
test cx, ax
je 0x41a6fa
mov byte [esp + 7], 0x10
push 0xa1
call esi
mov edx, 0x8000
test dx, ax
je 0x41a710
or byte [esp + 7], 0x20
push 0xa2
call esi
mov ecx, 0x8000
test cx, ax
je 0x41a726
or byte [esp + 7], 1
push 0xa3
call esi
mov edx, 0x8000
test dx, ax
je 0x41a73c
or byte [esp + 7], 2
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x41a752
or byte [esp + 7], 4
push 0xa5
call esi
mov edx, 0x8000
test dx, ax
je 0x41a768
or byte [esp + 7], 8
push 0x5b
call esi
mov ecx, 0x8000
test cx, ax
je 0x41a77b
or byte [esp + 7], 0x40
push 0x5c
call esi
mov edx, 0x8000
pop esi
test dx, ax
je 0x41a78f
or byte [esp + 3], 0x80
cmp dword [0x4bb558], 0
je 0x41a7ea
push ebx
mov bl, byte [esp + 7]
not bl
and bl, byte [0x4bb425]
je 0x41a7e9
mov cl, byte [0x4bb427]
mov al, bl
not al
and byte [0x4bb425], al
and byte [0x4bb426], al
and cl, al
mov al, cl
mov byte [0x4bb427], cl
mov ecx, 0x4bb450
call fcn.0041a7f0
mov eax, dword [0x4ba32c]
test eax, eax
je 0x41a7e9
test byte [eax + 8], bl
je 0x41a7e9
mov dword [0x4ba32c], 0
pop ebx
mov al, byte [esp + 3]
pop ecx
ret
Function at 0x41abe0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x34
push esi
xor esi, esi
push edi
test eax, eax
je 0x41ac1e
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push esi
push eax
call edi
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x30
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x41ac1e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41ac1e
push 0
push eax
call edi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
pop edi
pop esi
add esp, 0x34
ret

Function at 0x41ae00
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x110
push esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
mov al, byte [esp + 0x118]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x41aef0
push ebx
push ebp
push pe_nt_image_headers32
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0049bcd0
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
add esp, 0xc
push esi
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x6e
xor bl, bl
call ebp
cmp eax, 2
jne 0x41ae5e
mov bl, byte [esp + 0x10]
movzx ecx, byte [esp + 0x120]
push esi
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push ecx
call ebp
mov dword [esp + 0x18], eax
test eax, eax
jns 0x41ae93
push esi
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0x6e
call ebp
test bl, bl
je 0x41aed0
push edi
push 1
push esi
lea edi, [esp + 0x1b]
call fcn.0041b0a0
add esp, 8
mov bl, al
pop edi
test bl, bl
je 0x41aed0
mov al, byte [esp + 0xf]
lea ecx, [esp + 0x1c]
call fcn.0041a7f0
push esi
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
movzx eax, bl
push 0
push eax
call ebp
cmp dword [esp + 0x18], 0
pop ebp
pop ebx
je 0x41aee6
movsx eax, byte [esp + 8]
pop esi
add esp, 0x110
ret
xor eax, eax
pop esi
add esp, 0x110
ret
push esi
movzx ecx, al
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
pop esi
add esp, 0x110
ret

Function at 0x41b0a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp bl, 0xa
jne 0x41b0aa
mov al, 0xd
pop ecx
ret
mov eax, dword [esp + 8]
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
mov dl, cl
cmp al, 0xff
jne 0x41b10d
cmp cl, 0xff
jne 0x41b10d
cmp byte [esp + 0x10], 0
je 0x41b111
movzx esi, bl
test esi, 0xffffff80
jne 0x41b111
push 0x103
push esi
call fcn.004938f7
add esp, 8
test eax, eax
je 0x41b111
mov al, bl
call fcn.00410fa0
push 1
push esi
mov byte [esp + 0xf], al
call fcn.004938f7
mov dl, byte [esp + 0xf]
add esp, 8
test eax, eax
setne al
test al, 0x38
je 0x41b116
xor al, al
pop esi
pop ecx
ret
test edi, edi
je 0x41b157
mov cl, al
and cl, 6
cmp cl, 6
jne 0x41b129
or byte [edi], 8
jmp 0x41b149
test al, 2
je 0x41b139
mov cl, byte [edi]
test cl, 3
jne 0x41b139
or cl, 1
mov byte [edi], cl
test al, 4
je 0x41b149
mov cl, byte [edi]
test cl, 0xc
jne 0x41b149
or cl, 4
mov byte [edi], cl
test al, 1
je 0x41b157
mov al, byte [edi]
test al, 0x30
jne 0x41b157
or al, 0x10
mov byte [edi], al
mov al, dl
pop esi
pop ecx
ret
Function at 0x41b830
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x41b88d
je 0x41b88a
sub eax, 0x1d
cmp eax, 0x36
ja case.0x41b89e.286
movzx eax, byte [eax + 0x41b938]
jmp dword [eax*4 + 0x41b8ec]
mov al, 0xa0
ret
mov al, 0xa2
ret
mov al, 0xa4
ret
mov al, 0x6a
ret
mov al, 0x6d
ret
mov al, 0x6b
ret
mov al, 0x2e
ret
mov al, 0xc
ret
mov al, 0x2d
ret
mov al, 0x26
ret
mov al, 0x28
ret
mov al, 0x25
ret
mov al, 0x27
ret
mov al, 0x24
ret
mov al, 0x23
ret
mov al, 0x21
ret
mov al, 0x22
ret
mov al, 0x13
ret
mov al, 0xd
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x41b89e.286
movzx edx, byte [eax + 0x41b998]
jmp dword [edx*4 + 0x41b970]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x5b
ret
mov al, 0x5c
ret
mov al, 0x90
ret
mov al, 0x6f
ret
mov al, 0x5d
ret
mov al, 0x2c
ret
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
test ebx, 0x100
je 0x41b8e0
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x41b8e8
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

Function at 0x41b9e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4ba368], eax
mov edx, 1
mov eax, 0x4ba368
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4bad24
jl 0x41b9f0
mov dword [0x4b79b8], 1
mov dword [0x4bbd00], 1
pop edi
ret

Function at 0x41ba30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4bbd00], 0
push esi
mov esi, 0x4ba368
jne 0x41ba4a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.0041b9e0
mov dword [0x4b79b8], 0x270
mov dword [0x4ba360], esi
mov ecx, 0xe3
nop
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x41ba60
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x41ba95
mov ecx, dword [esi]
mov eax, dword [0x4ba368]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

Function at 0x41bb00
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4b79b8]
jne 0x41bb0d
call fcn.0041ba30
mov eax, dword [0x4ba360]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ba360], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x41bb50
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4b79b8]
jne 0x41bb5e
call fcn.0041ba30
mov ecx, dword [0x4ba360]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4ba360], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
jns 0x41bba5
fadd qword [0x4b1580]
fmul qword [0x4b15d0]
pop ecx
ret

Function at 0x41c440
Capabilities:
Write clipboard data

Disassembly:
cmp byte [eax + 0x17], 0
jne 0x41c449
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 2
jne 0x41c46a
cmp dword [0x4bc440], 0
je 0x41c46a
mov dword [esp + 4], 1
mov ecx, 0x4bc434
jmp fcn.00405130
and byte [eax + 0x15], 0x86
cmp byte [esp + 4], 0
mov cl, byte [eax + 0x15]
je 0x41c47e
or cl, 1
mov byte [eax + 0x15], cl
mov eax, 1
ret 4
Function at 0x4204d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [ecx + 0x5d4], eax
cmp byte [0x4bcc7b], bl
jne 0x420699
cmp byte [ecx + 0x61c], bl
je 0x420699
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4bbc30]
push ebx
push 1
mov dword [0x4bd6e8], eax
call fcn.00401210
push 0x7f
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00495b20
mov eax, dword [0x4b7a60]
inc dword [0x4bb59c]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xc3], bl
mov ecx, 0x3a
mov esi, 0x4ba0e0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4b7a60], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4bc450
call fcn.0041ff40
mov dword [0x4bca80], ebx
mov dword [0x4bca84], ebx
cmp dword [0x4bb5cc], ebx
je 0x420593
mov eax, dword [0x4b8c80]
cmp eax, ebx
je 0x420587
mov eax, dword [eax]
cmp eax, ebx
jne 0x42058c
mov eax, 0x4a7935
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edi, dword [0x4b79cc]
push str.OnExit
mov dword [0x4b79cc], ebx
mov byte [0x4bcc7b], 1
call fcn.0040b5b0
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x5c8]
mov byte [esp + 0x13], 1
mov byte [0x4b9024], bl
cmp ecx, ebx
je 0x4205de
call fcn.00401290
test eax, eax
je 0x4205de
cmp byte [0x4b9024], bl
jne 0x4205de
mov byte [esp + 0x13], bl
mov byte [0x4b9024], 1
cmp byte [esp + 0x13], bl
je 0x420637
mov dword [esp + 0x20], ebx
call fcn.0044f1e0
mov dword [esp + 0x18], eax
mov eax, dword [0x4bd6e8]
cdq
mov dword [esp + 0x2c], edx
xor edx, edx
cmp dword [esi + 0x5c8], ebx
mov dword [esp + 0x28], eax
sete dl
lea eax, [esp + 0x18]
lea ebx, [esi + 0x594]
mov dword [esp + 0x30], 1
push edx
push 2
push eax
call fcn.0047a320
xor ebx, ebx
cmp eax, 3
jne 0x420637
mov byte [esp + 0x13], bl
mov eax, dword [0x4bc3bc]
sub eax, 0xc
mov dword [0x4bc3bc], eax
cmp eax, dword [0x4bc3b8]
jb 0x420658
mov eax, dword [eax]
mov dword [0x4bc3cc], eax
mov dword [0x4bc7c4], eax
mov byte [0x4bcc7b], bl
cmp byte [esp + 0x13], bl
jne 0x42068b
cmp dword [ebp + 8], 0xffffffff
jle 0x42068b
lea ecx, [esp + 0x38]
push ecx
call fcn.00403a30
add esp, 4
mov dword [0x4b79cc], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push esi
call fcn.004206e0
cmp byte [0x4b9024], bl
jne 0x4206ce
cmp eax, 6
jne 0x4206ce
mov ecx, dword [0x4bb3b8]
cmp byte [ecx], bl
je 0x4206b9
mov edx, dword [ebp + 0xc]
mov dword [0x4bd6e8], edx
pop edi
pop esi
mov byte [0x4b9024], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.004206e0
int3
Function at 0x427280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4b79c2]
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], al
mov dword [esp + 0xe], 0x3e3c0928
mov dword [esp + 0x12], 0x2d2b3d3a
mov dword [esp + 0x16], 0x7e212f2a
mov dword [esp + 0x1a], 0x5b5e7c26
mov dword [esp + 0x1e], 0x7b3f2e
mov edi, ebp
test ebp, ebp
je 0x4272ea
mov dl, byte [ebp]
test dl, dl
je 0x4272ea
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x42733e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4272d6
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x4272d0
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4272f0
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x427310
mov al, byte [edi]
cmp al, 0x20
je 0x42730b
cmp al, 9
jne 0x427310
dec edi
cmp edi, ebp
ja 0x427301
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x427345
cmp byte [esp + 0x30], 0
je 0x427333
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0043b430
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x427310
dec edi
jmp 0x4272fd
push esi
push ebp
push ebx
call fcn.00495b20
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42c390
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x20c
push ebx
push ebp
mov ebp, dword [esp + 0x218]
mov ecx, dword [ebp + 0x604]
push esi
mov ebx, eax
push edi
mov eax, str.Lib_
call fcn.0042c450
lea eax, [esp + 0x118]
push 0
push eax
call fcn.0044f8f0
push str.AutoHotkeyLib_
lea ecx, [esp + 0x124]
push ecx
push 0x4acbd0
mov esi, 0x105
lea edi, [esp + 0x24]
call fcn.0047f340
add esp, 0x14
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c420
test al, 0x10
je 0x42c420
lea eax, [esi + 0x102]
call fcn.0047c340
mov dword [ebx + 8], eax
test eax, eax
je 0x42c420
lea ecx, [esi + 1]
push ecx
mov edx, edi
push edx
push eax
call fcn.0049b100
add esp, 0xc
mov dword [ebx + 0xc], esi
jmp 0x42c427
mov dword [ebx + 8], 0x4a7935
mov ecx, dword [ebp + 0x610]
add ebx, 0x10
mov eax, str.Lib_
call fcn.0042c450
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x42c450
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x108
push esi
push edi
push eax
push ecx
push 0x4acbd0
mov esi, 0x105
lea edi, [esp + 0x14]
call fcn.0047f340
add esp, 0xc
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c4b1
test al, 0x10
je 0x42c4b1
lea eax, [esi + 0x102]
call fcn.0047c340
mov dword [ebx], eax
test eax, eax
je 0x42c4b1
lea ecx, [esi + 1]
push ecx
mov edx, edi
push edx
push eax
call fcn.0049b100
add esp, 0xc
pop edi
mov dword [ebx + 4], esi
pop esi
add esp, 0x108
ret
pop edi
mov dword [ebx], 0x4a7935
pop esi
add esp, 0x108
ret