joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413d00
Capabilities:
Log keystrokes

Disassembly:
movzx ecx, bx
mov eax, ecx
cmp eax, 0x11c
jg 0x413d5d
je 0x413d5a
sub eax, 0x1d
cmp eax, 0x36
ja case.0x413d6e.286
movzx eax, byte [eax + 0x413e08]
jmp dword [eax*4 + 0x413dbc]
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.0x413d6e.286
movzx edx, byte [eax + 0x413e68]
jmp dword [edx*4 + 0x413e40]
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 0x413db0
movzx eax, cl
push 1
or eax, 0xe000
push eax
call esi
test eax, eax
jne 0x413db8
movzx ecx, bl
push 1
push ecx
call esi
pop esi
ret

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

Disassembly:
mov dword [0x4ab238], eax
mov edx, 1
mov eax, 0x4ab238
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, 0x4abbf4
jl 0x413ec0
mov dword [0x4a88d8], 1
mov dword [0x4acbc4], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4acbc4], 0
push esi
mov esi, 0x4ab238
jne 0x413f1a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00413eb0
mov dword [0x4a88d8], 0x270
mov dword [0x4ab230], 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 0x413f30
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 0x413f65
mov ecx, dword [esi]
mov eax, dword [0x4ab238]
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 0x413fd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4a88d8]
jne 0x413fdd
call fcn.00413f00
mov eax, dword [0x4ab230]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4ab230], 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 0x414020
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4a88d8]
jne 0x41402e
call fcn.00413f00
mov ecx, dword [0x4ab230]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4ab230], 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 0x414075
fadd qword [0x4a2e70]
fmul qword [0x4a2eb0]
pop ecx
ret
Function at 0x416fc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4a88f8]
add eax, 4
imul eax, eax, 0xe8
push ebx
push ebp
push esi
push edi
push eax
call fcn.00487797
xor ebx, ebx
add esp, 4
mov dword [0x4aaec0], eax
cmp eax, ebx
jne 0x416fed
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4a8978]
push 0x403b60
mov edi, eax
push 0x4ef6d80
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4ac2ec]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4a8978], eax
call edi
cmp dword [0x4ad2a8], ebx
jne 0x41702e
mov ebp, 1
jmp 0x4170d7
mov edx, dword [0x4a8978]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xcc], bl
call esi
mov ecx, dword [0x4a8978]
mov dword [ecx + 0xbc], eax
mov dword [ecx + 0xc0], 0x64
cmp byte [0x4ac44a], bl
jne 0x41707c
mov eax, dword [0x4ac2ec]
push 0x4039d0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4ac44a], cl
mov byte [0x4ad8c1], 1
call esi
mov ecx, dword [0x4ad2a8]
push ebx
mov esi, 1
add dword [0x4ac460], esi
push ebx
push esi
mov dword [0x4ad8dc], eax
mov dword [0x4ad8d8], eax
call fcn.00426040
sub dword [0x4ac460], esi
mov ebp, eax
cmp byte [0x4ac44a], bl
je 0x4170d1
mov edx, dword [0x4ac2ec]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4170d1
mov byte [0x4ac44a], bl
mov byte [0x4ad8c1], bl
mov eax, dword [0x4a8978]
cmp dword [eax + 0xe4], ebx
lea esi, [eax + 0xe4]
je 0x417120
mov eax, dword [esi]
cmp dword [eax + 8], 6
jne 0x4170fc
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x41710e
push eax
call fcn.004873d8
add esp, 4
mov ecx, dword [esi]
push ecx
call fcn.00487138
mov eax, dword [0x4a8978]
add esp, 4
mov dword [esi], ebx
mov edx, dword [0x4acaf4]
push 1
push ebx
push 0xffffffffffffffff
mov byte [eax + 0xcc], 1
mov esi, eax
push 0x49a8d8
mov dword [eax + 0x94], ebx
mov dword [eax + 0x98], ebx
mov dword [eax + 0x9c], ebx
mov dword [eax + 0xa4], ebx
mov dword [eax + 0xa8], ebx
mov byte [eax + 0xd8], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xc8], bl
mov dword [eax + 0x48], 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 dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], ebx
mov ecx, 0x3a
mov edi, 0x4aafb0
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [eax + 0xcc], 1
mov dword [eax + 0xc0], ebx
mov word [eax + 0xcd], 1
mov dword [eax + 0x2c], CreateStatusWindowA
call fcn.00477130
mov eax, dword [0x4a9ab4]
cmp word [eax], bx
jne 0x4171f7
cmp dword [0x4acb64], ebx
jne 0x4171f7
cmp dword [0x4ac41c], ebx
jne 0x4171f7
cmp dword [0x4ac420], ebx
jne 0x4171f7
cmp byte [0x4ac42a], bl
jne 0x4171f7
neg ebp
sbb ebp, ebp
and ebp, 6
push ebx
inc ebp
push ebp
push 0x4ad2a8
call fcn.00417240
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x417240
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
sub esp, 0xa4
push ebx
xor ebx, ebx
push esi
push edi
mov dword [eax + 0x5d4], ecx
cmp byte [0x4adac3], bl
jne 0x4173dc
cmp byte [eax + 0x618], bl
je 0x4173dc
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x4acaf4]
push ebx
push 1
mov dword [0x4ae514], eax
call fcn.00401210
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0048a150
mov eax, dword [0x4a8978]
inc dword [0x4ac460]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xbb], bl
mov ecx, 0x3a
mov esi, 0x4aafb0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4a8978], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4ad2a8
call fcn.00416ec0
mov dword [0x4ad8c8], ebx
mov dword [0x4ad8cc], ebx
cmp dword [0x4ac494], ebx
je 0x417302
mov eax, dword [0x4a9aac]
cmp eax, ebx
je 0x4172f6
mov eax, dword [eax]
cmp eax, ebx
jne 0x4172fb
mov eax, 0x49a8bd
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x5c8]
mov edi, dword [0x4a88ec]
mov dword [0x4a88ec], ebx
mov byte [0x4adac3], 1
mov byte [esp + 0xf], 1
mov byte [0x4a9e68], bl
cmp ecx, ebx
je 0x417342
call fcn.00401280
test eax, eax
je 0x417342
cmp byte [0x4a9e68], bl
jne 0x417342
mov byte [esp + 0xf], bl
mov byte [0x4a9e68], 1
cmp byte [esp + 0xf], bl
je 0x41739b
mov dword [esp + 0x18], ebx
call fcn.00443b20
mov dword [esp + 0x10], eax
mov eax, dword [0x4ae514]
cdq
mov dword [esp + 0x24], edx
xor edx, edx
cmp dword [esi + 0x5c8], ebx
mov dword [esp + 0x20], eax
sete dl
lea eax, [esp + 0x10]
lea ebx, [esi + 0x594]
mov dword [esp + 0x28], 1
push edx
push 2
push eax
call fcn.0046f650
xor ebx, ebx
cmp eax, 3
jne 0x41739b
mov byte [esp + 0xf], bl
mov byte [0x4adac3], bl
cmp byte [esp + 0xf], bl
jne 0x4173ce
cmp dword [ebp + 0xc], 2
je 0x4173ce
lea ecx, [esp + 0x30]
push ecx
call fcn.00403840
add esp, 4
mov dword [0x4a88ec], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.00417420
cmp byte [0x4a9e68], bl
jne 0x417411
cmp ecx, 7
jne 0x417411
mov ecx, dword [0x4ac288]
cmp byte [ecx], bl
je 0x4173fc
mov edx, dword [ebp + 0x10]
mov dword [0x4ae514], edx
pop edi
pop esi
mov byte [0x4a9e68], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push edx
push ecx
push eax
call fcn.00417420
int3
Function at 0x4178f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0xa
push str._AUTOHOTKEY_SCRIPT_
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 0
call edi
mov esi, eax
test esi, esi
jne 0x417931
push 0xa
push str._AHK_WITH_ICON_
push eax
call edi
mov esi, eax
test esi, esi
je 0x417995
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x417995
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x417995
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0xc], eax
test eax, eax
je 0x417995
mov ecx, dword [esp + 0x20]
push 0xc
mov eax, 0xfde9
lea edx, [esp + 0x10]
call fcn.00471cb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x600]
inc dword [0x4ad20c]
mov dword [0x4ab234], ecx
mov eax, 3
pop edi
pop esi
add esp, 0x10
ret 0xc
fldz
mov edx, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
push 0
push edx
push 0
push str.Could_not_extract_script_from_EXE.
call fcn.00478d60
add esp, 0x18
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 0xc
Function at 0x41d9b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4a83b3]
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 0x41da1a
mov dl, byte [ebp]
test dl, dl
je 0x41da1a
lea ecx, [ecx]
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41da6e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41da06
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41da00
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41da20
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41da40
mov al, byte [edi]
cmp al, 0x20
je 0x41da3b
cmp al, 9
jne 0x41da40
dec edi
cmp edi, ebp
ja 0x41da31
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41da75
cmp byte [esp + 0x30], 0
je 0x41da63
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042f790
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41da40
dec edi
jmp 0x41da2d
push esi
push ebp
push ebx
call fcn.0048a150
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42fce0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004
call fcn.004938a0
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x42fddb
test ebx, ebx
jne 0x42fd10
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x374]
test ebx, ebx
je 0x42fd1a
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42fd27
mov ecx, dword [eax + 0x170]
movzx eax, word [eax + 0x174]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ecx*4 + 0x4ab234]
push edx
movzx eax, ax
push eax
push ecx
push str._s___d__:___Warning:__s_n
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.00474230
mov esi, dword [ebp + 0x14]
add esp, 0x10
cmp byte [esi], 0
lea edi, [esp + eax + 0x10]
je 0x42fd73
push esi
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.00474230
mov esi, dword [ebp + 0x14]
add esp, 8
mov edi, dword [ebp + 0xc]
cmp edi, 3
jne 0x42fd99
mov eax, dword [ebp + 8]
push 0x49d244
push 0
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0042f360
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp edi, 2
jne 0x42fddb
test ebx, ebx
jne 0x42fdba
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x374]
test ebx, ebx
je 0x42fdd1
mov edx, dword [ebp + 0x10]
push esi
push 1
push edx
mov ecx, ebx
call fcn.0042f4f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
push esi
push eax
call fcn.0042f790
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430210
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
cmp eax, ebx
je 0x43023f
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x430246
mov byte [esp + 0xa0], bl
mov esi, dword [0x4ad880]
mov byte [esp + 0x20], bl
cmp esi, ebx
je 0x4302eb
cmp byte [esi + 0x11], bl
je 0x430299
mov edx, dword [esi]
push edx
call fcn.0046f550
add esp, 4
sub eax, ebx
je 0x43027d
dec eax
je 0x430276
mov eax, str.Object
jmp 0x430282
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x430282
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
push eax
push 0x49ee0c
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00474270
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x430258
cmp byte [esp + 0x20], bl
je 0x4302eb
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4302b0
sub eax, edx
cmp eax, 0x7b
jbe 0x4302dd
mov esi, 0x7f
sub esi, eax
push esi
lea ebp, [esp + eax + 0x24]
push 0x49ce28
push ebp
call fcn.0048a150
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x4302eb
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x4302eb
mov byte [eax - 1], bl
mov edx, dword [0x4aaec0]
cmp byte [edx + 0xd8], bl
je 0x430309
mov dword [esp + 0x14], 1
cmp byte [0x4ad8c1], bl
je 0x43030d
mov dword [esp + 0x14], ebx
mov eax, dword [0x4ac460]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x43041c
mov dword [esp + 0x10], 0x49a8bd
mov dword [esp + 0x18], ebx
mov ebp, 0x49bb30
cmp dword [0x4ac420], ebx
je 0x430341
mov ebp, 0x49bb2c
mov esi, 0x49bb30
cmp dword [0x4ac41c], ebx
je 0x430353
mov esi, 0x49bb2c
push 1
call fcn.00412b90
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00412f80
mov ecx, dword [0x4ac460]
mov edx, dword [0x4ac464]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4ac45c]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4ad888]
push ecx
mov ecx, dword [0x4ad88c]
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push ebp
push esi
lea edx, [esp + 0xcc]
push edx
push str.Window:__s_r_nKeybd_hook:__s_r_nMouse_hook:__s_r_nEnabled_Timers:__u_of__u___s__r_nInterrupted_threads:__d_s_r_nPaused_threads:__d_of__d___d_layers__r_nModifiers__GetKeyState___now____s_r_n
mov esi, 0xfffe
call fcn.00474230
mov esi, dword [esp + 0x50]
add edi, eax
mov eax, esi
sub eax, edi
add esp, 0x34
add eax, 0xfffe
push eax
push edi
call fcn.00409210
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4303e0
sub eax, ecx
add edi, eax
cmp dword [0x4acb04], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x4303fe
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00474230
add esp, 4
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret
dec eax
mov dword [esp + 0x18], eax
jmp 0x43032f
Function at 0x435f90
Capabilities:
Log keystrokes

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
call fcn.00442aa0
mov edi, eax
test edi, edi
je 0x435fbe
mov esi, dword [esp + 0x1c]
push edi
call fcn.00478b80
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x436009
mov ecx, dword [0x4a8978]
test byte [ecx + 0xe0], 1
jne 0x435fec
mov edx, dword [0x4acaf4]
push 1
push 0
push 0xffffffffffffffff
push 0x49bf28
push edx
call fcn.00477130
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x49a8bd
push 0
push 0x49bf28
call fcn.0042f0f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x436041
cmp ebp, dword [0x4ad274]
je 0x436041
mov esi, edi
call fcn.00479060
test al, al
jne 0x436041
mov eax, dword [0x4ad274]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x43607f
mov edx, dword [0x4acaf4]
push 1
push 0
push 0xffffffffffffffff
push 0x49a8d8
push edx
call fcn.00477130
mov eax, dword [0x4a8978]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x43607f
push 1
push eax
call fcn.004013c0
add esp, 8
test bl, bl
je 0x436093
mov ecx, dword [0x4ad274]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10
Function at 0x436db0
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00431570
mov dword [esp + 0x10], eax
test eax, eax
jne 0x436de5
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042f4f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
dec eax
cmp eax, 4
ja case.default.0x436def
jmp dword [eax*4 + 0x436fdc]
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x436e05
call fcn.00453b70
jmp 0x436e0b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4acaf4]
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
call fcn.00453b70
mov ebx, eax
test ebx, ebx
je 0x436e7f
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436e7f
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, ebx
mov eax, dword [0x4acaf4]
push 0x18
push 0
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4acaf4]
push 1
push 0
push 0xffffffffffffffff
push 0x49a8d8
push eax
call fcn.00477130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx ecx, byte [ebx]
push ecx
call fcn.00489a45
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x436eb9.67
movzx edx, byte [eax + 0x43700c]
jmp dword [edx*4 + 0x436ff0]
mov esi, 0x40
jmp 0x436ee8
mov esi, 0x4000
jmp 0x436ee8
mov esi, 0x20
jmp 0x436ee8
mov esi, 0x8000
jmp 0x436ee8
mov esi, 0x80
jmp 0x436ee8
mov esi, 0x100
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x436ef7
call fcn.00453b70
jmp 0x436efd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x436e7f
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436e7f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x436e53
mov ecx, dword [0x4acaf4]
push 1
push 0
push 0xffffffffffffffff
push 0x49a8d8
push ecx
call fcn.00477130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [ebx], 0
je 0x436f76
mov esi, ebx
mov byte [esp + 0xf], 0
call fcn.004144c0
fmul qword [0x4a2ea0]
call fcn.00495a90
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x436f80
mov byte [esp + 0xf], 1
xor edi, edi
lea ecx, [ecx]
mov ebx, dword [ebp + 0xc]
call fcn.00453b70
cmp dword [esp + 0x10], 4
mov esi, eax
jne 0x436f9b
test esi, esi
jne 0x436e62
jmp 0x436fa3
test esi, esi
je 0x436e7f
cmp byte [esp + 0xf], 0
jne 0x436fc1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x436e62
push 1
push 0x64
call fcn.004013c0
add esp, 8
jmp 0x436f80
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437810
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4ac238]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.00442aa0
mov edi, eax
test edi, edi
je 0x437836
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebp, [eax + 1]
jmp 0x43783b
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.00477130
cmp eax, 1
je 0x437859
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x4378de
push ebp
push 0
push 1
call fcn.00401210
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x43787e
mov edi, dword [esi + 0xc]
jmp 0x437880
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x437898
test byte [edi + 0x15], 8
je 0x437893
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x43789d
mov eax, 0x4adabc
mov dword [eax], ebp
cmp byte [esi + 0x17], 0
jne 0x4378aa
mov edi, dword [esi + 0xc]
jmp 0x4378ac
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x4378c4
test byte [edi + 0x15], 8
je 0x4378bf
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x4378c9
mov eax, 0x4adabc
cmp dword [eax], 0
jne 0x43791a
push 0
push 1
mov ecx, esi
call fcn.00401210
mov byte [eax], 0
jmp 0x43791a
push 0
push 1
call fcn.00401210
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x4378f5
mov edi, dword [esi + 0xc]
jmp 0x4378f7
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x43790f
test byte [edi + 0x15], 8
je 0x43790a
mov eax, edi
call fcn.00401150
lea eax, [edi + 0xc]
jmp 0x437914
mov eax, 0x4adabc
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x437923
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x437945
cmp dword [0x4ad298], 0
je 0x437945
push 1
mov ecx, 0x4ad28c
call fcn.004047d0
pop edi
pop esi
pop ebp
pop ecx
ret 4
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4

Function at 0x4386e0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.004938a0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
mov esi, dword [0x4ac238]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x438794
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.00477130
test eax, eax
jne 0x438732
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
push edi
push 0
push 1
mov ecx, esi
call fcn.00401210
push eax
push ebx
call ebp
test eax, eax
jne 0x438753
push eax
push 1
mov ecx, esi
call fcn.00401210
mov byte [eax], 0
cmp byte [esi + 0x17], 0
jne 0x43875c
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x438781
cmp dword [0x4ad298], 0
je 0x438781
push 1
mov ecx, 0x4ad28c
call fcn.004047d0
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x8000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x4387a1
mov eax, 0x49a8bd
push 1
push 0
push edi
push eax
push esi
call fcn.00477130
pop edi
pop esi
pop ebp
add esp, 0x8000
ret