joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fef1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
xor ebx, ebx
cmp byte [0x466064], bl
mov dword [ebp - 8], ecx
jne 0x410060
cmp dword [0x46553c], ebx
jne 0x40ff1f
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x46553c], eax
inc dword [0x466060]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [0x466060]
mov esi, dword [0x462080]
mov edx, eax
sub edx, dword [0x46553c]
cmp ecx, dword [0x46207c]
mov dword [0x465540], eax
jbe 0x40ffc2
cmp edx, esi
jae 0x40ffc2
push edx
push ecx
push str._u_hotkeys_have_been_received_in_the_last__ums._n_nDo_you_want_to_continue__n_see_MaxHotkeysPerInterval_in_the_help_file_
lea eax, [ebp - 0x808]
push 0x800
xor edi, edi
push eax
inc edi
call fcn.0040aa6c
add esp, 0x14
call fcn.0040fce6
fldz
push ebx
push ecx
push ecx
fstp qword [esp]
push ebx
lea eax, [ebp - 0x808]
push 4
push eax
mov byte [0x466064], 1
mov byte [0x462069], bl
call fcn.0043b17b
add esp, 0x18
cmp eax, 7
jne 0x40ffae
push ebx
push ebx
push edi
mov ecx, 0x464e00
call fcn.00415eb0
mov eax, dword [0x465540]
mov byte [0x462069], 1
mov byte [0x466064], bl
jmp 0x40ffc8
xor edi, edi
cmp edx, esi
jbe 0x40ffdb
cmp edi, ebx
mov dword [0x466060], ebx
mov dword [0x46553c], eax
jne 0x41005e
mov ecx, dword [ebp - 8]
mov al, byte [ecx + 0x11]
mov byte [0x465291], al
cmp byte [ecx + 0x1a], bl
je 0x410028
cmp byte [ecx + 0x1b], bl
je 0x410028
mov byte [ebp - 1], 1
call fcn.0040f77b
mov esi, dword [ebp + 8]
mov eax, dword [esi]
inc byte [esi + 0x19]
mov ecx, dword [eax + 4]
push ebx
push ebx
push 1
call fcn.00405839
dec byte [esi + 0x19]
cmp byte [ebp - 1], bl
mov edi, eax
je 0x41001f
mov ecx, dword [ebp - 8]
call fcn.0040fc7a
cmp edi, ebx
jne 0x41002d
mov byte [esi + 0x1d], bl
jmp 0x41005e
mov byte [ebp - 1], bl
jmp 0x40fff9
cmp byte [esi + 0x1d], bl
je 0x41005e
mov byte [esi + 0x1d], bl
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esi + 4]
cmp eax, 0x3e8
ja 0x41005e
mov eax, dword [ebp - 8]
movzx eax, word [eax]
push ebx
push eax
push 0x312
push dword [0x464380]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4104b3
Capabilities:
Log keystrokes via polling

Disassembly:
cmp byte [esp + 4], 0xa
jne 0x4104bd
mov al, 0xd
ret
push ebx
push dword [esp + 0x10]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_VkKeyScanExA]
mov ebx, eax
shr ebx, 8
cmp bl, 0xff
jne 0x4104de
cmp al, 0xff
jne 0x4104de
xor al, al
pop ebx
ret
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x410531
mov dl, bl
and dl, 6
cmp dl, 6
jne 0x4104fe
cmp byte [0x4654c1], 0
je 0x4104fe
or byte [ecx], 8
jmp 0x410520
test bl, 2
je 0x41050f
mov dl, byte [ecx]
test dl, 3
jne 0x41050f
or dl, 1
mov byte [ecx], dl
test bl, 4
je 0x410520
mov dl, byte [ecx]
test dl, 0xc
jne 0x410520
or dl, 4
mov byte [ecx], dl
test bl, 1
je 0x410531
mov dl, byte [ecx]
test dl, 0x30
jne 0x410531
or dl, 0x10
mov byte [ecx], dl
pop ebx
ret
Function at 0x4107dd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x14]
cmp edi, 3
jge 0x4107f1
mov eax, dword [ebp + 0x10]
jmp 0x4108a2
push ebx
mov bl, byte [ebp + 8]
test bl, bl
push esi
mov esi, dword [ebp + 0x10]
mov byte [esi], 0
jne 0x410817
cmp word [ebp + 0xc], 0
je 0x41089e
push dword [ebp + 0xc]
call fcn.004120c7
mov bl, al
jmp 0x41082c
cmp word [ebp + 0xc], 0
jne 0x410834
push 0
push dword [ebp + 8]
call fcn.0041218a
pop ecx
mov dword [ebp + 0xc], eax
cmp word [ebp + 0xc], 0
pop ecx
je 0x410852
cmp bl, 0x9e
je 0x410852
cmp bl, 0x9f
je 0x410852
movzx eax, word [ebp + 0xc]
push edi
push esi
shl eax, 0x10
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
test eax, eax
jne 0x41089e
mov eax, dword [0x4631c8]
xor ecx, ecx
test eax, eax
jle 0x410879
cmp byte [ecx*8 + 0x462e0c], bl
je 0x41086b
inc ecx
cmp ecx, eax
jl 0x41085d
cmp ecx, eax
jge 0x410879
push edi
push dword [ecx*8 + 0x462e08]
jmp 0x410895
movzx eax, bl
push eax
call fcn.0043bbd1
test eax, eax
pop ecx
je 0x41088f
mov byte [esi], bl
mov byte [esi + 1], 0
jmp 0x41089e
push edi
push str.not_found
push esi
call fcn.0043880f
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x4108a5
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4644b0], 0
je 0x4108bb
cmp byte [esp + 4], 0
jne 0x4108bb
mov al, byte [0x46439c]
ret
push ebx
xor bl, bl
cmp byte [0x4654b9], bl
push esi
push edi
jne 0x41095b
cmp byte [0x4654ba], bl
jne 0x41095b
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call edi
mov esi, 0x8000
test si, ax
je 0x4108f2
add bl, 0x10
push 0xa1
call edi
test si, ax
je 0x410901
or bl, 0x20
push 0xa2
call edi
test si, ax
je 0x410910
or bl, 1
push 0xa3
call edi
test si, ax
je 0x41091f
or bl, 2
push 0xa4
call edi
test si, ax
je 0x41092e
or bl, 4
push 0xa5
call edi
test si, ax
je 0x41093d
or bl, 8
push 0x5b
call edi
test si, ax
je 0x410949
or bl, 0x40
push 0x5c
call edi
test si, ax
je 0x4109d6
or bl, 0x80
jmp 0x4109d6
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push ebp
push 0x10
call edi
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
test si, ax
jne 0x41097f
push 0x10
call ebp
test si, ax
je 0x410981
mov bl, 0x10
push 0x11
call edi
test si, ax
jne 0x410993
push 0x11
call ebp
test si, ax
je 0x410996
or bl, 1
push 0x12
call edi
test si, ax
jne 0x4109a8
push 0x12
call ebp
test si, ax
je 0x4109ab
or bl, 4
push 0x5b
call edi
test si, ax
jne 0x4109bd
push 0x5b
call ebp
test si, ax
je 0x4109c0
or bl, 0x40
push 0x5c
call edi
test si, ax
jne 0x4109d2
push 0x5c
call ebp
test si, ax
je 0x4109d5
or bl, 0x80
pop ebp
cmp dword [0x4644b0], 0
je 0x410a13
mov al, bl
not al
and al, byte [0x46439c]
je 0x410a13
not al
and byte [0x46439e], al
and byte [0x46439c], al
and byte [0x46439d], al
xor eax, eax
mov al, byte [0x46439e]
push eax
push 0x4643a0
call fcn.004103f5
pop ecx
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x41161f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
xor ecx, ecx
mov eax, dword [ecx*8 + 0x4660a0]
test eax, eax
je 0x41163b
cmp eax, ebx
je 0x411658
inc ecx
cmp ecx, 0xa
jl 0x411626
cmp ecx, 0xa
jl 0x411643
push 9
pop ecx
mov eax, dword [esp + 0xc]
test eax, eax
push esi
lea esi, [ecx*8 + 0x4660a0]
je 0x411677
mov dword [esi + 4], eax
jmp 0x4116ad
mov edx, dword [esp + 0xc]
test edx, edx
je 0x41166e
lea eax, [ecx*8 + 0x4660a4]
cmp dword [eax], 0
jne 0x41166e
mov dword [eax], edx
mov eax, dword [ecx*8 + 0x4660a4]
pop ebx
ret
and dword [esi + 4], 0
push edi
push 0x20
pop edi
push ebx
push edi
call dword [sym.imp.USER32.dll_VkKeyScanExA]
cmp ax, 0xffff
je 0x411697
and ax, 0x600
cmp ax, 0x600
je 0x4116a2
inc edi
cmp edi, 0x100
jl 0x41167f
jmp 0x4116a9
mov dword [esi + 4], 3
mov eax, dword [esi + 4]
pop edi
mov dword [esi], ebx
pop esi
pop ebx
ret

Function at 0x411b53
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov ebx, 0x80000000
cmp ecx, ebx
je 0x411cbb
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp eax, ebx
je 0x411cba
mov edx, dword [0x4660f0]
cmp edx, 2
jne 0x411bb7
push eax
mov al, byte [ebp + 0x18]
neg al
push ecx
push 0
sbb eax, eax
and eax, ebx
or eax, 1
push eax
call fcn.00410270
add esp, 0x10
call fcn.00410775
cmp byte [ebp + 0x18], 0
je 0x411cba
mov dword [esi], ebx
mov dword [edi], ebx
jmp 0x411cba
mov eax, dword [ebp + 0x10]
or word [eax], 0x8001
cmp byte [ebp + 0x18], 0
je 0x411c01
cmp edx, 1
jne 0x411bed
cmp dword [0x466070], ebx
jne 0x411bdd
push 0x466070
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x466070]
add dword [esi], eax
mov eax, dword [0x466074]
add dword [edi], eax
jmp 0x411c13
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0xc]
add dword [esi], eax
mov eax, dword [ebp - 8]
jmp 0x411be9
test byte [0x464370], 2
jne 0x411c13
push edi
push esi
call fcn.00438bcc
pop ecx
pop ecx
cmp dword [0x4660f0], 1
jne 0x411c2a
mov eax, dword [esi]
mov dword [0x466070], eax
mov eax, dword [edi]
mov dword [0x466074], eax
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov dword [ebp - 4], eax
call ebx
mov dword [ebp + 8], eax
mov eax, dword [esi]
shl eax, 0x10
cdq
idiv dword [ebp - 4]
mov ebx, dword [ebp + 0x14]
inc eax
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 0x10
cdq
idiv dword [ebp + 8]
inc eax
test ebx, ebx
mov dword [edi], eax
jl 0x411ca3
cmp ebx, 0x64
jle 0x411c65
push 0x64
pop ebx
test ebx, ebx
je 0x411ca3
cmp dword [0x4660f0], 1
je 0x411ca3
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 8]
shl eax, 0x10
cdq
idiv dword [ebp + 8]
push ebx
push dword [edi]
push dword [esi]
inc eax
push eax
mov eax, dword [ebp - 0xc]
shl eax, 0x10
cdq
idiv dword [ebp - 4]
inc eax
push eax
call fcn.0042a86a
add esp, 0x14
jmp 0x411cba
push eax
push dword [esi]
push 0
push 0x8001
call fcn.00411b0f
add esp, 0x10
call fcn.00410775
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41218a
Capabilities:
Log keystrokes

Disassembly:
push esi
movzx esi, byte [esp + 8]
mov ecx, esi
mov eax, 0x90
cmp ecx, eax
jg 0x412210
je 0x412206
sub ecx, 0x5b
cmp ecx, 0x14
ja case.0x4121a9.93
jmp dword [ecx*4 + 0x4122b6]
mov eax, 0x15b
jmp 0x4122a2
mov eax, 0x15c
jmp 0x4122a2
push 0x52
jmp 0x412246
push 0x4f
jmp 0x412246
push 0x50
jmp 0x412246
push 0x51
jmp 0x412246
push 0x4b
jmp 0x412246
push 0x4c
jmp 0x412246
push 0x4d
jmp 0x412246
push 0x47
jmp 0x412246
push 0x48
jmp 0x412246
push 0x49
jmp 0x412246
push 0x53
jmp 0x412246
mov eax, 0x135
jmp 0x4122a2
push 0x37
jmp 0x412246
push 0x4a
jmp 0x412246
push 0x4e
jmp 0x412246
mov eax, 0x145
jmp 0x4122a2
sub ecx, 0xa0
je 0x412244
dec ecx
je 0x41223d
dec ecx
je 0x412239
dec ecx
je 0x412232
dec ecx
je 0x41222e
dec ecx
jne case.0x4121a9.93
mov eax, 0x138
jmp 0x4122a2
push 0x38
jmp 0x412246
mov eax, 0x11d
jmp 0x4122a2
push 0x1d
jmp 0x412246
mov eax, 0x136
jmp 0x4122a2
push 0x2a
pop eax
jmp 0x4122a2
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test ax, ax
jne 0x412259
pop esi
ret
cmp esi, 0x2e
jg 0x41228e
cmp esi, 0x2d
jge 0x41227e
cmp esi, 3
je 0x41229d
cmp esi, 0xd
je 0x41227e
cmp esi, 0x20
jle 0x4122a2
cmp esi, 0x28
jle 0x41227e
cmp esi, 0x2c
je 0x41229d
jmp 0x4122a2
cmp byte [esp + 0xc], 0
movzx eax, ax
je 0x4122b4
or ax, 0x100
pop esi
ret
sub esi, 0x5d
je 0x41229d
sub esi, 0x12
je 0x41229d
sub esi, 0x21
jne 0x4122a2
or eax, 0x100
mov cl, byte [esp + 0xc]
neg cl
movzx eax, ax
sbb ecx, ecx
not ecx
and ecx, eax
mov ax, cx
pop esi
ret
Function at 0x41235e
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebp
xor ebp, ebp
cmp dword [0x4660f0], ebp
push esi
push edi
je 0x412376
mov al, byte [0x466078]
jmp 0x4124e2
cmp dword [0x4644b0], ebp
je 0x412388
mov al, byte [0x46439c]
jmp 0x4124e2
push ebx
xor bl, bl
cmp byte [0x4654b9], bl
jne 0x412426
cmp byte [0x4654ba], bl
jne 0x412426
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call edi
mov esi, 0x8000
test si, ax
je 0x4123bd
add bl, 0x10
push 0xa1
call edi
test si, ax
je 0x4123cc
or bl, 0x20
push 0xa2
call edi
test si, ax
je 0x4123db
or bl, 1
push 0xa3
call edi
test si, ax
je 0x4123ea
or bl, 2
push 0xa4
call edi
test si, ax
je 0x4123f9
or bl, 4
push 0xa5
call edi
test si, ax
je 0x412408
or bl, 8
push 0x5b
call edi
test si, ax
je 0x412414
or bl, 0x40
push 0x5c
call edi
test si, ax
je 0x4124a1
or bl, 0x80
jmp 0x4124a1
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call edi
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
test si, ax
jne 0x412449
push 0x10
call ebp
test si, ax
je 0x41244b
mov bl, 0x10
push 0x11
call edi
test si, ax
jne 0x41245d
push 0x11
call ebp
test si, ax
je 0x412460
or bl, 1
push 0x12
call edi
test si, ax
jne 0x412472
push 0x12
call ebp
test si, ax
je 0x412475
or bl, 4
push 0x5b
call edi
test si, ax
jne 0x412487
push 0x5b
call ebp
test si, ax
je 0x41248a
or bl, 0x40
push 0x5c
call edi
test si, ax
jne 0x41249c
push 0x5c
call ebp
test si, ax
je 0x41249f
or bl, 0x80
xor ebp, ebp
cmp dword [0x4644b0], ebp
je 0x4124dd
mov al, bl
not al
and al, byte [0x46439c]
je 0x4124dd
not al
and byte [0x46439e], al
and byte [0x46439c], al
and byte [0x46439d], al
xor eax, eax
mov al, byte [0x46439e]
push eax
push 0x4643a0
call fcn.004103f5
pop ecx
pop ecx
xor eax, eax
mov al, bl
pop ebx
push 0xffc3d44f
push 1
push ebp
mov byte [esp + 0x18], al
push ebp
push dword [esp + 0x1c]
and eax, 0xffffffc4
or eax, 4
push eax
call fcn.00410a19
mov eax, dword [esp + 0x2c]
mov esi, eax
movsx eax, byte [eax]
add esp, 0x18
mov edi, 0xffc3d44d
jmp 0x41252a
cmp al, 0x39
jg 0x41252e
push edi
push ebp
add al, 0x30
push ebp
push ebp
push eax
push 2
call fcn.00411044
add esp, 0x18
inc esi
mov al, byte [esi]
cmp al, 0x30
jge 0x412512
push edi
push ebp
push ebp
push ebp
push 0x12
push 1
call fcn.00411044
add esp, 0x18
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x413741
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp byte [ebp + 8], bl
push edi
lea eax, [ebp - 0x10]
jge 0x41375a
mov byte [ebp - 0x10], 0x30
lea eax, [ebp - 0xf]
push 0xa
push eax
movzx eax, byte [ebp + 8]
push eax
call fcn.004017e8
mov edi, dword [ebp + 0xc]
add esp, 0xc
cmp edi, ebx
jle 0x4137e9
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp dword [0x4660f0], ebx
jne 0x4137c1
call esi
sub eax, dword [0x4652cc]
cmp eax, dword [0x464360]
jbe 0x4137c1
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4137ba
push 1
push 0xffffffffffffffff
mov byte [0x462069], bl
call fcn.0040be3b
pop ecx
pop ecx
mov byte [0x462069], 1
call esi
mov dword [0x4652cc], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041235e
cmp dword [0x4660f0], 2
mov eax, dword [0x464298]
pop ecx
je 0x4137de
mov eax, dword [0x464294]
push eax
call fcn.00410722
dec edi
pop ecx
jne 0x413778
pop esi
pop edi
pop ebx
leave
ret

Function at 0x413d35
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
movzx eax, byte [esp + 8]
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push eax
call edi
mov ebp, dword [esp + 0x14]
and al, 1
neg al
sbb eax, eax
inc eax
inc eax
cmp ebp, 1
mov dword [esp + 8], eax
je 0x413d64
cmp ebp, 2
jne 0x413e31
cmp eax, ebp
je 0x413e31
push ebx
xor ebx, ebx
cmp byte [esp + 0x14], 0x90
push esi
mov esi, 0xffc3d44d
jne 0x413da1
cmp byte [0x4654b9], bl
je 0x413d8e
call fcn.00413e35
jmp 0x413e2b
push esi
push ebx
push ebx
push ebx
push 0x90
push 1
call fcn.00411044
add esp, 0x18
push esi
push ebx
push ebx
push ebx
push dword [esp + 0x28]
push 2
call fcn.00411044
add esp, 0x18
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x464dbc]
sete byte [esp + 0x1c]
cmp byte [esp + 0x1c], bl
je 0x413dea
push 1
push 0xffffffffffffffff
mov byte [0x462069], bl
call fcn.0040be3b
pop ecx
pop ecx
mov byte [0x462069], 1
cmp byte [esp + 0x18], 0x14
jne 0x413e2b
cmp ebp, 2
jne 0x413e2b
push 0x14
call edi
test al, 1
je 0x413e2b
push esi
push ebx
push ebx
push ebx
push 0x10
push ebp
call fcn.00411044
add esp, 0x18
cmp byte [esp + 0x1c], bl
je 0x413e2b
push 1
push 0xffffffffffffffff
mov byte [0x462069], bl
call fcn.0040be3b
pop ecx
pop ecx
mov byte [0x462069], 1
mov eax, dword [esp + 0x10]
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret
Function at 0x413e5e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x464dac]
test eax, eax
je 0x413f6c
mov ecx, dword [0x464db0]
mov dl, byte [ebp + 8]
imul ecx, ecx, 0x70
mov byte [ecx + eax + 5], dl
mov eax, dword [0x464db0]
mov ecx, dword [0x464dac]
imul eax, eax, 0x70
mov dl, byte [ebp + 0xc]
mov byte [eax + ecx], dl
mov eax, dword [0x464db0]
mov ecx, dword [0x464dac]
imul eax, eax, 0x70
mov dx, word [ebp + 0x10]
mov word [eax + ecx + 2], dx
mov eax, dword [0x464db0]
mov ecx, dword [0x464dac]
imul eax, eax, 0x70
push esi
mov byte [eax + ecx + 4], 0x69
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x464db4], eax
sub eax, dword [0x4654d0]
test eax, eax
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jge 0x413edf
fadd dword [0x458a94]
mov eax, dword [0x464db0]
fmul dword [0x458a90]
mov ecx, dword [0x464dac]
imul eax, eax, 0x70
fstp dword [eax + ecx + 8]
mov eax, dword [0x464db4]
mov dword [0x4654d0], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x464dac]
mov esi, eax
mov eax, dword [0x464db0]
imul eax, eax, 0x70
test esi, esi
je 0x413f3a
cmp esi, dword [0x464db8]
je 0x413f33
push 0x64
lea eax, [eax + ecx + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x413f4b
mov byte [eax + ecx + 0xc], 0
jmp 0x413f4b
lea eax, [eax + ecx + 0xc]
push 0x458a8c
push eax
call fcn.00454650
pop ecx
pop ecx
inc dword [0x464db0]
mov eax, dword [0x464db0]
cmp eax, dword [0x46206c]
mov dword [0x464db8], esi
pop esi
jl 0x413f6c
and dword [0x464db0], 0
leave
ret

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

Disassembly:
dec dword [0x4631d8]
jne 0x413fc8
call fcn.0044df0f
mov eax, dword [0x466108]
mov ecx, dword [eax]
add dword [0x466108], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

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

Disassembly:
dec dword [0x4631d8]
jne 0x41400c
call fcn.0044df0f
mov eax, dword [0x466108]
mov ecx, dword [eax]
add dword [0x466108], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

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

Disassembly:
push ecx
dec dword [0x4631d8]
jne 0x41404f
call fcn.0044df0f
mov eax, dword [0x466108]
mov eax, dword [eax]
add dword [0x466108], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x414095
fadd qword [0x459088]
fmul qword [0x459080]
pop ecx
ret
Function at 0x41409d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
inc esi
mov dword [0x466110], eax
push edi
mov edx, esi
mov eax, 0x466110
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, 0x466acc
jl 0x4140b2
pop edi
mov dword [0x4631d8], esi
mov dword [0x466ad0], esi
pop esi
ret

Function at 0x415e55
Capabilities:
Terminate process

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
push 0
call fcn.00442f4b
mov eax, dword [0x4644b8]
test eax, eax
pop ecx
pop ecx
je 0x415e7a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x4631d0]
push esi
xor esi, esi
cmp word [eax], si
jbe 0x415ea6
mov ecx, dword [esi*4 + 0x465548]
test ecx, ecx
je 0x415e99
push 1
call fcn.0040e3d7
mov eax, dword [0x4631d0]
movzx eax, word [eax]
inc esi
cmp esi, eax
jl 0x415e87
push dword [esp + 8]
call fcn.0043d042
pop esi

Function at 0x415eb0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x544
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esi + 0x468], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x415ed7
cmp byte [eax], bl
mov byte [ebp + 0xb], 1
je 0x415eda
mov byte [ebp + 0xb], bl
cmp eax, ebx
je 0x415f23
cmp byte [eax], bl
je 0x415f23
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
lea eax, [ebp - 0x544]
push 0x400
push eax
call fcn.0040aa6c
add esp, 0x10
push 0x10000
push dword [0x465294]
lea eax, [ebp - 0x544]
push eax
push dword [0x464380]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 2
mov ecx, esi
call fcn.00416044
cmp dword [esi + 0x464], ebx
je 0x415f33
cmp byte [0x467c7c], bl
je 0x415f3d
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00416044
mov ecx, dword [0x464c98]
push 0x80
call fcn.00401c8a
push eax
push 0x4642cc
call fcn.0043880f
push 0x140
lea eax, [ebp - 0x144]
push 0x464238
push eax
call fcn.00454280
push ebx
push 1
push 1
push ebx
call fcn.0040bd3e
add esp, 0x28
cmp dword [0x4644f4], ebx
je 0x415f8f
push 0x464ca0
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
mov al, byte [0x462069]
mov byte [ebp + 0xf], al
mov al, byte [0x4644c9]
push ebx
mov ecx, 0x464e00
mov byte [0x462069], bl
mov byte [ebp - 1], al
call fcn.00415d7f
mov eax, dword [esi + 0x464]
mov ecx, dword [eax + 4]
push ebx
push ebx
push 1
mov byte [0x467c7c], 1
call fcn.00405839
test eax, eax
jne 0x415fd7
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00416044
cmp byte [ebp + 0xb], bl
mov byte [0x467c7c], bl
je 0x415fec
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00416044
lea eax, [ebp - 0x144]
push ebx
push eax
call fcn.0040bc5b
cmp byte [ebp - 1], bl
mov al, byte [ebp + 0xf]
pop ecx
pop ecx
mov byte [0x462069], al
je 0x41603b
cmp byte [0x4644c9], bl
jne 0x41603b
mov eax, dword [0x4652c4]
cmp eax, 0xa
jge 0x41601d
push 0xa
pop eax
push 0x40bc27
push eax
push 0xa
push dword [0x464380]
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne al
mov byte [0x4644c9], al
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0xc
Function at 0x4160e0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
jne 0x4160f9
lea esi, [ebp - 0x104]
cmp byte [ebp + 8], 0
mov byte [esi], 0
mov ebx, 0x104
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
je 0x416126
push ebx
push esi
push str.Common_AppData
push edi
push CreateStatusWindowA
call fcn.0043850b
add esp, 0x14
cmp byte [esi], 0
jne 0x41613b
push ebx
push esi
push str.AppData
push edi
push 0x80000001
call fcn.0043850b
add esp, 0x14
push esi
call fcn.00454880
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41627e
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
jne 0x416297
lea esi, [ebp - 0x104]
cmp byte [ebp + 8], 0
mov byte [esi], 0
mov ebx, 0x104
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
je 0x4162c4
push ebx
push esi
push str.Common_Desktop
push edi
push CreateStatusWindowA
call fcn.0043850b
add esp, 0x14
cmp byte [esi], 0
jne 0x4162d9
push ebx
push esi
push str.Desktop
push edi
push 0x80000001
call fcn.0043850b
add esp, 0x14
push esi
call fcn.00454880
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4165cd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x2af8
jae 0x416649
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x464aa0]
test ecx, ecx
je 0x416649
cmp eax, dword [ecx + 0xc]
jae 0x416649
cmp dword [ebp + 0x10], 0
mov ecx, dword [ecx + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 8]
je 0x416628
test ecx, ecx
je 0x416619
push dword [ecx + 0x10]
push dword [ebp + 0x10]
call fcn.00454650
push eax
call fcn.00454880
add esp, 0xc
jmp 0x416655
push 0x40
push dword [ebp + 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x416655
test ecx, ecx
je 0x416637
push dword [ecx + 0x10]
call fcn.00454880
pop ecx
jmp 0x416655
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, 0x3f
jbe 0x416655
push 0x3f
pop eax
jmp 0x416655
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x416653
mov byte [eax], 0
xor eax, eax
pop ebp
ret 0xc

Function at 0x416d5b
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x416d72
lea esi, [ebp - 0x104]
push 0x104
push esi
push str.Personal
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call fcn.0043850b
push esi
call fcn.0042b4b3
add esp, 0x18
pop esi
leave
ret 4