joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43840c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x450120]
cmp byte [eax + 0xc], 0
je 0x438579
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438572
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x451b64], 0
jne 0x438460
push 0x438580
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x438588
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b64], eax
cmp dword [0x44fb08], 0
jne 0x43855b
push 0x438598
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44fb08], eax
cmp dword [0x44fb08], 0
je 0x43855b
push 0x4385a4
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b68], eax
push 0x4385b4
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b6c], eax
push 0x4385c8
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b70], eax
push 0x4385e0
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b74], eax
push 0x4385f8
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b78], eax
push 0x43860c
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b7c], eax
push 0x438624
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b80], eax
push 0x43863c
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b84], eax
push 0x438658
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b88], eax
push 0x438664
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438579
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43c404
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c453
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443bfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443c4c]
test si, 4
je 0x443c10
or bl, 1
test si, 8
je 0x443c1a
or bl, 4
test si, 1
je 0x443c24
or bl, 8
test si, 2
je 0x443c2e
or bl, 0x10
test si, 0x10
je 0x443c38
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443c47
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x443c50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443c88]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443c69
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443c78
or bl, 4
test esi, 0x20000000
je 0x443c83
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44a34c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44a35e
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419524
mov eax, dword [0x44fdfc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a6f0
mov eax, dword [0x44fe08]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a6fc
mov eax, ebx
call fcn.0044a708
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x446b20
push eax
push 0
push 0
mov eax, dword [0x44ff48]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044ab58
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44aa20
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44aa20
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44aa20
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a49b
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44a804
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a9af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a990
mov dl, 1
mov eax, dword [0x411c38]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a97f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043876c
test al, al
je 0x44a972
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44a9c0
lea eax, [ebp - 0x254]
call fcn.00408c84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a972
xor eax, eax
push ebp
push 0x44a96b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44a9f8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a954
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44a954
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a972
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a875
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415714
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a9b6
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

Function at 0x44b2f8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x451bb0]
cmp byte [eax + 0xa5], 0
jne 0x44b369
cmp dword [0x451bc8], 0
jne 0x44b32a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44b2b4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bc8], eax
cmp dword [0x451bc4], 0
jne 0x44b345
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bc4], eax
cmp dword [0x451bcc], 0
jne 0x44b369
push esp
push 0
push 0
push 0x44b258
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bcc], eax
pop edx
ret
Function at 0x44b9fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451bb0]
cmp dword [eax + 0x30], 0
je 0x44baa6
cmp dword [ebx + 0x94], 0
jne 0x44baa0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b98c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44baa0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44ba66
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44baa0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413b84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ba75
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c604
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44c639
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042d0
jmp 0x44c646
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d758
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d799
mov eax, esi
call fcn.00433f74
test al, al
je 0x44d799
mov eax, dword [ebx + 0x84]
call fcn.00433c9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d799
push 0
mov eax, dword [ebx + 0x84]
call fcn.00433c9c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x54a280
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf4000]
push edi
jmp 0x54a29a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54a2a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a290
mov eax, 1
add ebx, ebx
jne 0x54a2b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54a2c4
jne 0x54a2e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a2e3
dec eax
add ebx, ebx
jne 0x54a2d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54a2a8
add ebx, ebx
jne 0x54a2df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54a335
xor ecx, ecx
sub eax, 3
jb 0x54a2fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54a36a
sar eax, 1
mov ebp, eax
jmp 0x54a306
add ebx, ebx
jne 0x54a306
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a2d4
inc ecx
add ebx, ebx
jne 0x54a314
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54a2d4
add ebx, ebx
jne 0x54a321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54a316
jne 0x54a332
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54a316
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54a354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54a346
jmp 0x54a296
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54a354
add edi, ecx
jmp 0x54a296
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54a372
cmp byte [edi], 0x11
jne 0x54a372
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 0x54a377
lea edi, [esi + 0x143000]
mov eax, dword [edi]
or eax, eax
je 0x54a3ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1becc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bee3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54a3a4
mov ecx, edi
jns 0x54a3d3
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 + 0x1bee40]
or eax, eax
je 0x54a3e9
mov dword [ebx], eax
add ebx, 4
jmp 0x54a3c1
call dword [esi + 0x1bee50]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x54a420
cmp al, 0xef
ja 0x54a413
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54a3f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x54a402
mov ebp, dword [esi + 0x1bee44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x54a454
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5d8e58
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5d8b64
and edi, edi
add edx, edi
sub edi, 1
call fcn.005d8eae
and edi, edx
xor dword [esi], eax
add edx, 0x7ef620e5
add edx, 1
add esi, 2
and edx, edx
or edi, edx
mov edx, 0xdfb1a96e
cmp esi, ecx
jl fcn.005d8e58
and edx, edx
push edi
mov edi, dword [esp]
add esp, 4
add edx, 0x53bb2896
ret
Function at 0x403b60
Capabilities:
Write clipboard data

Disassembly:
cmp dword [0x4a2c08], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
je 0x403b78
pop ebp
xor eax, eax
pop ebx
ret 4
push esi
test ebp, ebp
je 0x403bc5
cmp ebx, 0xffffffff
jne 0x403b92
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b87
sub eax, edx
mov ebx, eax
test ebx, ebx
je 0x403bc5
push edi
lea edi, [ebx + 1]
mov esi, 0x4a2bfc
call fcn.00403be0
pop edi
test eax, eax
jne 0x403baf
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [0x4a2c08]
push ebx
push ebp
push eax
mov esi, eax
call fcn.0047a8e0
add esp, 0xc
mov byte [esi + ebx], 0
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4a2bfc
jmp fcn.00403c50

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

Disassembly:
lea eax, [esi - 0xc000]
sub esp, 0x108
cmp eax, 0x3fff
ja 0x403ecd
push 0x104
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
push 0xb
lea edx, [esp + 4]
push 0x490254
push edx
call fcn.00477695
add esp, 0xc
test eax, eax
je 0x403ec4
lea eax, [esp]
push 0x490260
push eax
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x403ec4
lea ecx, [esp]
push 0x49026c
push ecx
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x403ec4
lea edx, [esp]
push 0x490278
push edx
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x403ec4
lea eax, [esp]
push 0x490280
push eax
call fcn.00476cb6
add esp, 8
test eax, eax
jne 0x403ed1
xor eax, eax
add esp, 0x108
ret
mov byte [esp], 0
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
mov edi, dword [sym.imp.USER32.dll_GetClipboardData]
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x403f60
jmp 0x403ef0
cmp esi, 0xf
je 0x403f5e
lea ecx, [esp + 0xc]
push 0x49026c
push ecx
call fcn.00476cb6
add esp, 8
test eax, eax
je 0x403f5e
mov eax, dword [0x49d324]
cmp eax, 0xffffffff
je 0x403f2a
test eax, eax
je 0x403f5e
call ebp
mov edx, dword [0x49d324]
add edx, ebx
sub edx, eax
cmp edx, 5
jle 0x403f5e
push 1
push 0x8000012f
mov dword [0x49d328], 0
call fcn.00401340
add esp, 8
push esi
mov dword [0x49d328], 1
call edi
test eax, eax
je 0x403ef0
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x403f70
Capabilities:
Check for time delay via gettickcount
Open clipboard

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ecx + 0x18], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
jne 0x403ffa
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
mov edi, eax
mov eax, dword [0x4a0a38]
push eax
call ebx
test eax, eax
jne 0x403fef
mov eax, dword [0x49d324]
cmp eax, 0xffffffff
je 0x403fbf
test eax, eax
je 0x404006
call esi
mov ecx, dword [0x49d324]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x404006
push 1
push 0x8000012f
mov dword [0x49d328], 0
call fcn.00401340
mov edx, dword [0x4a0a38]
add esp, 8
push edx
mov dword [0x49d328], 1
call ebx
test eax, eax
je 0x403fa0
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f6d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [ebp]
push edi
cmp esi, 0x80000000
je 0x40f87c
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
cmp eax, 0x80000000
je 0x40f87c
mov edx, dword [0x4a2500]
cmp edx, 2
jne 0x40f74d
movzx ebx, byte [esp + 0x2c]
neg ebx
sbb ebx, ebx
and ebx, 0x80000000
push 0
or ebx, 1
mov edi, eax
call fcn.0040fa50
add esp, 4
call fcn.0040fec0
cmp byte [esp + 0x2c], 0
je 0x40f87c
mov eax, dword [esp + 0x24]
mov dword [ebp], 0x80000000
mov dword [eax], 0x80000000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
or dword [ecx], 0x8001
cmp byte [esp + 0x2c], 0
je 0x40f7a3
cmp edx, 1
jne 0x40f789
cmp dword [0x49f960], 0x80000000
jne 0x40f776
push 0x49f960
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x49f960]
add dword [ebp], ecx
mov edx, dword [0x49f964]
add dword [edi], edx
jmp 0x40f7b8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add dword [ebp], ecx
add dword [edi], edx
jmp 0x40f7b8
mov eax, dword [0x49d3c8]
test byte [eax + 0xc8], 2
jne 0x40f7b8
mov ebx, ebp
call fcn.004652b0
cmp dword [0x4a2500], 1
jne 0x40f7d2
mov ecx, dword [ebp]
mov dword [0x49f960], ecx
mov edx, dword [edi]
mov dword [0x49f964], edx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebx, eax
call esi
mov esi, eax
mov eax, dword [ebp]
shl eax, 0x10
cdq
idiv ebx
inc eax
mov dword [ebp], eax
mov eax, dword [edi]
shl eax, 0x10
cdq
idiv esi
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
mov dword [edi], ecx
test eax, eax
js 0x40f865
cmp eax, 0x64
jle 0x40f815
mov dword [esp + 0x28], 0x64
jmp 0x40f819
test eax, eax
je 0x40f865
cmp dword [0x4a2500], 1
je 0x40f865
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [edi]
mov eax, dword [ebp]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
shl eax, 0x10
cdq
idiv esi
mov esi, eax
mov eax, dword [esp + 0x1c]
shl eax, 0x10
cdq
idiv ebx
lea ecx, [eax + 1]
lea eax, [esi + 1]
call fcn.0044a4d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [ebp]
push 0x8001
xor eax, eax
call fcn.0040f890
add esp, 4
call fcn.0040fec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x414720
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x49d334]
add eax, 4
imul eax, eax, 0xd8
push ebx
push esi
push edi
push eax
call fcn.00476de3
xor ebx, ebx
add esp, 4
mov dword [0x49f628], eax
cmp eax, ebx
jne 0x414757
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x49d3c8]
push 0x403290
mov edi, eax
push 0x4ef6d80
mov ecx, 0x36
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a0a38]
push 0xe
push ecx
mov dword [0x49d3c8], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [ebp + 8]
cmp dword [esi], ebx
jne 0x414798
mov dword [esp + 0xc], 1
jmp 0x414845
mov edx, dword [0x49d3c8]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xc4], bl
call edi
mov ecx, dword [0x49d3c8]
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0xb8], 0x64
cmp byte [0x4a0b7b], bl
jne 0x4147ea
mov eax, dword [0x4a0a38]
push 0x403190
push 0x64
push 0xb
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne cl
mov byte [0x4a0b7b], cl
mov byte [esi + 0x4cd], 1
call edi
mov ecx, dword [esi]
push ebx
mov edi, 1
add dword [0x4a0b94], edi
push ebx
push edi
mov dword [esi + 0x4ec], eax
mov dword [esi + 0x4e8], eax
call fcn.004217a0
sub dword [0x4a0b94], edi
mov dword [esp + 0xc], eax
cmp byte [0x4a0b7b], bl
je 0x41483f
mov edx, dword [0x4a0a38]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41483f
mov byte [0x4a0b7b], bl
mov byte [esi + 0x4cd], bl
mov eax, dword [0x49d3c8]
push 1
push ebx
mov byte [eax + 0xc4], 1
mov esi, eax
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa0], ebx
mov dword [eax + 0xa4], ebx
mov byte [eax + 0xce], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x50], 0x63
mov byte [eax + 0xc0], bl
mov dword [eax + 0x4c], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov ecx, 0x36
mov edi, 0x49f708
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4a13a4]
push 0xffffffffffffffff
push 0x4900b0
mov byte [eax + 0xc4], 1
mov dword [eax + 0xb8], ebx
mov word [eax + 0xc5], 1
mov dword [eax + 0x2c], 0x80000000
call fcn.004668b0
mov eax, dword [0x49e4e0]
cmp word [eax], bx
jne 0x41491f
cmp dword [0x4a24a8], ebx
jne 0x41491f
cmp dword [0x4a0b68], ebx
jne 0x41491f
cmp dword [0x4a0b6c], ebx
jne 0x41491f
cmp byte [0x4a0b5b], bl
jne 0x41491f
mov eax, dword [esp + 0xc]
neg eax
sbb eax, eax
push ebx
and eax, 7
push ebx
add eax, 2
push eax
mov ecx, 0x4a2c18
call fcn.00414960
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4