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

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
jmp 0x411b00
cmp byte [eax*8 + 0x4c21fc], bl
je 0x411b30
inc eax
cmp eax, 0x6d
jl 0x411b00
push ebp
movzx ebp, bl
push 2
push ebp
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [edi], ax
test ax, ax
je 0x411b4e
xor edx, edx
pop ebp
mov word [edi + 2], dx
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [eax*8 + 0x4c21f8]
dec esi
push esi
push eax
push edi
call fcn.0048f214
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
mov eax, edi
pop edi
pop esi
ret
cmp byte [esp + 0x10], 0
je 0x411b6d
test bl, bl
je 0x411b6d
push ebp
push str.vk_02X
call fcn.00473270
add esp, 8
pop ebp
mov eax, edi
pop edi
pop esi
ret
xor eax, eax
mov word [edi], ax
pop ebp
mov eax, edi
pop edi
pop esi
ret

Function at 0x411ce0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp ax, 0xa
jne 0x411ce9
mov al, 0xd
ret
push ecx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx eax, ax
mov edx, eax
shr edx, 8
cmp dl, 0xff
jne 0x411d05
cmp al, 0xff
jne 0x411d05
xor al, al
ret
test dl, 0x38
jne 0x411d02
test esi, esi
je 0x411d50
mov cl, dl
and cl, 6
cmp cl, 6
jne 0x411d1d
or byte [esi], 8
jmp 0x411d3f
test dl, 2
je 0x411d2e
mov cl, byte [esi]
test cl, 3
jne 0x411d2e
or cl, 1
mov byte [esi], cl
test dl, 4
je 0x411d3f
mov cl, byte [esi]
test cl, 0xc
jne 0x411d3f
or cl, 4
mov byte [esi], cl
test dl, 1
je 0x411d50
mov cl, byte [esi]
test cl, 0x30
jne 0x411d50
or cl, 0x10
mov byte [esi], cl
ret

Function at 0x411f80
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov bl, byte [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, eax
xor eax, eax
mov word [esi], ax
test bl, bl
jne 0x411fae
test di, di
jne 0x411fa1
pop edi
pop ebp
mov eax, esi
pop ebx
ret
mov ecx, edi
call fcn.00412300
mov byte [esp + 0x10], al
jmp 0x411fc5
test di, di
jne 0x411fce
mov ecx, dword [esp + 0x10]
push ecx
xor bl, bl
call fcn.00412080
add esp, 4
movzx edi, ax
mov bl, byte [esp + 0x10]
test di, di
je 0x411ffb
cmp bl, 0x9c
jb 0x411fd8
cmp bl, 0x9f
jbe 0x411ffb
xor eax, eax
lea ebx, [ebx]
cmp word [eax*8 + 0x4c2564], di
je 0x41202b
inc eax
cmp eax, 0xd
jl 0x411fe0
xor ecx, ecx
mov word [esi], cx
cmp word [esi], 0
jne 0x411f9b
xor eax, eax
lea ecx, [ecx]
cmp byte [eax*8 + 0x4c21fc], bl
je 0x412048
inc eax
cmp eax, 0x6d
jl 0x412000
movzx ecx, bl
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [esi], ax
test ax, ax
je 0x412065
xor edx, edx
mov word [esi + 2], dx
jmp 0x41206a
mov edx, dword [eax*8 + 0x4c2560]
lea edi, [ebp - 1]
push edi
push edx
push esi
call fcn.0048f214
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x411ff5
mov edx, dword [eax*8 + 0x4c21f8]
lea edi, [ebp - 1]
push edi
push edx
push esi
call fcn.0048f214
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x41206a
xor eax, eax
mov word [esi], ax
cmp word [esi], 0
mov eax, esi
jne 0x412076
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
ret
Function at 0x412300
Capabilities:
Log keystrokes

Disassembly:
movzx eax, cx
cmp eax, 0x11c
jg 0x412358
je 0x412355
sub eax, 0x1d
cmp eax, 0x36
ja case.0x412369.286
movzx eax, byte [eax + 0x4123d8]
jmp dword [eax*4 + 0x412390]
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, 0xd
ret
sub eax, 0x11d
cmp eax, 0x40
ja case.0x412369.286
movzx edx, byte [eax + 0x41242c]
jmp dword [edx*4 + 0x412410]
mov al, 0xa1
ret
mov al, 0xa3
ret
mov al, 0xa5
ret
mov al, 0x90
ret
mov al, 0x6f
ret
mov al, 0x5d
ret
movzx eax, cl
push 1
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
ret

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

Disassembly:
mov dword [0x4c3eb8], eax
mov edx, 1
mov eax, 0x4c3eb8
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, 0x4c4874
jl 0x412480
mov dword [0x4c13c4], 1
mov dword [0x4c69dc], 1
pop edi
ret

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

Disassembly:
cmp dword [0x4c69dc], 0
push esi
mov esi, 0x4c3eb8
jne 0x4124da
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00412470
mov dword [0x4c13c4], 0x270
mov dword [0x4c3eb4], 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 0x4124f0
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 0x412525
mov ecx, dword [esi]
mov eax, dword [0x4c3eb8]
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 0x412590
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4c13c4]
jne 0x41259d
call fcn.004124c0
mov eax, dword [0x4c3eb4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c3eb4], 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 0x4125e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4c13c4]
jne 0x4125ee
call fcn.004124c0
mov ecx, dword [0x4c3eb4]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4c3eb4], 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 0x412635
fadd qword [0x4bc188]
fmul qword [0x4bc1c8]
pop ecx
ret
Function at 0x4154d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x4c13e0]
add eax, 4
imul eax, eax, 0x108
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.0048c5a4
xor ebx, ebx
add esp, 4
mov dword [0x4c3aa0], eax
cmp eax, ebx
jne 0x415503
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4c140c]
push 0x4033d0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c4f70]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4c140c], eax
call edi
cmp dword [ebp], ebx
jne 0x415544
mov dword [esp + 0x14], 1
jmp 0x4155ee
mov edx, dword [0x4c140c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xe8], bl
call esi
mov ecx, dword [0x4c140c]
mov dword [ecx + 0xd8], eax
mov dword [ecx + 0xdc], 0x64
cmp byte [0x4c50c4], bl
jne 0x415592
mov eax, dword [0x4c4f70]
push 0x4032d0
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4c50c4], cl
mov byte [ebp + 0xaa9], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4c50dc], esi
push ebx
push esi
mov dword [ebp + 0xac4], eax
mov dword [ebp + 0xac0], eax
call fcn.00426850
sub dword [0x4c50dc], esi
mov dword [esp + 0x14], eax
cmp byte [0x4c50c4], bl
je 0x4155e8
mov edx, dword [0x4c4f70]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4155e8
mov byte [0x4c50c4], bl
mov byte [ebp + 0xaa9], bl
mov eax, dword [0x4c140c]
cmp dword [eax + 0xfc], ebx
lea ecx, [eax + 0xfc]
je 0x41561a
mov eax, dword [eax + 0x100]
push eax
push ecx
call fcn.0042ff60
mov dword [esp + 0x1c], eax
mov eax, dword [0x4c140c]
add esp, 8
push 1
push ebx
mov byte [eax + 0xe8], 1
mov esi, eax
push 0xffffffffffffffff
mov dword [eax + 0xb4], ebx
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xc0], ebx
mov dword [eax + 0xc4], ebx
mov byte [eax + 0xf4], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xe4], 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 + 0xfc], ebx
mov byte [eax + 0x104], bl
mov ecx, 0x42
mov edi, 0x4c3bb0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c5774]
push 0x49f8e0
push ecx
mov byte [eax + 0xe8], 1
mov dword [eax + 0xdc], ebx
mov word [eax + 0xe9], 1
mov dword [eax + 0x2c], SysStringLen
call fcn.00475ef0
mov edx, dword [0x4c25d0]
cmp word [edx], bx
jne 0x4156f9
cmp dword [0x4c6978], ebx
jne 0x4156f9
cmp dword [0x4c50a0], ebx
jne 0x4156f9
cmp dword [0x4c50a4], ebx
jne 0x4156f9
cmp byte [0x4c50c0], bl
jne 0x4156f9
mov ecx, dword [esp + 0x14]
neg ecx
sbb ecx, ecx
push ebx
and ecx, 7
add ecx, 2
push 0x4c70d0
xor eax, eax
call fcn.00415740
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x415740
Capabilities:
Set current directory

Disassembly:
sub esp, 0x90c
push ebx
push ebp
mov ebp, dword [esp + 0x918]
xor ebx, ebx
push esi
push edi
mov dword [ebp + 0xa64], ecx
cmp eax, ebx
je 0x415767
mov byte [esp + 0x17], 1
cmp word [eax], bx
je 0x41576b
mov byte [esp + 0x17], bl
cmp eax, ebx
je 0x4157d5
cmp word [eax], bx
je 0x4157d5
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
mov esi, 0x400
lea edi, [esp + 0x120]
call fcn.00473270
mov edx, dword [0x4c7b60]
mov ecx, dword [0x4c4f70]
add esp, 8
push 0x10000
push edx
mov eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [0x4c4f70]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4157ce
mov eax, dword [0x4c4f70]
push eax
mov byte [0x4c4f6c], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call fcn.00409ba0
cmp dword [ebp + 0xa60], ebx
je 0x41590a
cmp byte [0x4c7d62], bl
jne 0x41590a
mov esi, dword [0x4c5774]
cmp byte [esi + 0x17], bl
jne 0x4157fb
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x415808
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x415821
test byte [esi + 0x15], 4
je 0x41581c
mov eax, esi
call fcn.00430310
mov eax, dword [esi + 8]
jmp 0x415831
cmp al, 2
jne 0x41582c
call fcn.00401000
jmp 0x415831
mov eax, 0x4c7078
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0048f214
mov eax, dword [0x4c140c]
inc dword [0x4c50dc]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x122], dx
mov ecx, 0x42
mov esi, 0x4c3bb0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4c140c], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4c70d0
call fcn.004153d0
mov dword [0x4c7b80], ebx
mov dword [0x4c7b84], ebx
cmp dword [0x4c510c], ebx
je 0x41589b
push 0x4c5778
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [0x4c13d4]
mov ecx, dword [ebp + 0xa60]
mov dword [0x4c13d4], ebx
mov byte [0x4c7d62], 1
call fcn.00401220
test eax, eax
jne 0x4158cb
mov eax, dword [esp + 0x924]
push eax
push ebp
call fcn.00415930
mov byte [0x4c7d62], bl
cmp byte [esp + 0x17], bl
je 0x4158e5
mov ecx, dword [esp + 0x924]
push ecx
push ebp
call fcn.00415930
lea edx, [esp + 0x18]
push edx
call fcn.00403190
add esp, 4
pop edi
mov dword [0x4c13d4], esi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x90c
ret 8
mov ecx, dword [esp + 0x924]
mov eax, dword [0x4c140c]
push ecx
push ebp
mov dword [0x4c13d4], ebx
mov byte [eax + 0xf4], bl
call fcn.00415930
int3
Function at 0x41bff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4c13fc]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
push esi
mov word [esp + 0xc], ax
xor edx, edx
push edi
lea ebx, [esp + 0x10]
mov eax, ebp
mov word [esp + 0x12], cx
mov dword [esp + 0x14], 0x90028
mov dword [esp + 0x18], 0x3e003c
mov dword [esp + 0x1c], 0x3d003a
mov dword [esp + 0x20], 0x2d002b
mov dword [esp + 0x24], 0x2f002a
mov dword [esp + 0x28], 0x7e0021
mov dword [esp + 0x2c], 0x7c0026
mov dword [esp + 0x30], 0x5b005e
mov dword [esp + 0x34], 0x3f002e
mov word [esp + 0x38], dx
call fcn.00409160
test eax, eax
je 0x41c078
cmp eax, ebp
jbe 0x41c093
sub eax, 2
jmp 0x41c093
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c080
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 2]
mov edi, eax
cmp eax, ebp
jbe 0x41c0b4
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x41c0ad
cmp eax, 9
jne 0x41c0b4
sub edi, 2
cmp edi, ebp
ja 0x41c0a0
mov esi, edi
sub esi, ebp
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x41c0e5
cmp byte [esp + 0x4c], 0
je 0x41c0d9
mov ecx, dword [esp + 0x40]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042fd70
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov ebx, dword [esp + 0x44]
push esi
push ebp
push ebx
call fcn.0048f214
add esp, 0xc
xor eax, eax
mov word [ebx + esi*2], ax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x42cc80
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4c50dc]
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4c13e0]
jl 0x42cca9
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov esi, dword [0x4c5774]
cmp byte [esi + 0x17], 0
jne 0x42ccb8
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42ccc5
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42ccde
test byte [esi + 0x15], 4
je 0x42ccd9
mov eax, esi
call fcn.00430310
mov eax, dword [esi + 8]
jmp 0x42ccee
cmp al, 2
jne 0x42cce9
call fcn.00401000
jmp 0x42ccee
mov eax, 0x4c7078
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0048f214
mov eax, dword [0x4c140c]
inc dword [0x4c50dc]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x122], dx
mov ecx, 0x42
mov esi, 0x4c3bb0
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor ebx, ebx
mov dword [0x4c140c], eax
push ebx
mov eax, 0x4c70d0
mov dword [esi + 0x2c], ebx
call fcn.004153d0
mov dword [0x4c7b80], ebx
mov dword [0x4c7b84], ebx
cmp dword [0x4c510c], ebx
je 0x42cd5c
push 0x4c5778
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or eax, 0xffffffff
cmp byte [esi + 0xea], bl
jne 0x42cd76
mov byte [esi + 0xea], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x4c7b8c], ebx
je 0x42cd8c
cmp dword [0x4c7b88], ebx
jne 0x42cd94
cmp byte [esi + 0xea], bl
je 0x42cdbd
mov byte [esi + 0xe8], bl
cmp byte [esi + 0xea], bl
jne 0x42cdbd
cmp dword [0x4c7b8c], ebx
jl 0x42cdb7
call edi
mov dword [esi + 0xd8], eax
mov eax, dword [0x4c7b8c]
mov dword [esi + 0xdc], eax
mov eax, dword [0x4c7b1c]
mov ebx, dword [0x4c7b20]
mov ecx, dword [0x4c7b54]
mov edx, dword [0x4c7b58]
mov ebp, eax
mov dword [0x4c7b20], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [0x4c7b58], ecx
mov dword [0x4c7b1c], eax
call edi
mov esi, dword [esp + 0x120]
mov ecx, dword [0x4c140c]
mov dword [0x4c7b94], eax
mov dword [0x4c7b90], eax
mov dword [0x4c7b54], eax
mov dword [0x4c7700], esi
cmp byte [ecx + 0xf5], 0
je 0x42ce57
mov edx, dword [0x4c7020]
mov dword [edx*4 + 0x4c69e0], esi
call edi
mov ecx, dword [0x4c7020]
mov dword [ecx*4 + 0x4c4878], eax
inc ecx
mov dword [0x4c7020], ecx
cmp ecx, 0x190
jl 0x42ce57
mov dword [0x4c7020], 0
push 0
push 0xffffffffffffffff
push 0
push esi
call fcn.0045adb0
mov esi, eax
cmp esi, 1
jne 0x42ce79
mov eax, dword [esp + 0x120]
push eax
call fcn.0042b2d0
mov esi, eax
mov ecx, dword [0x4c140c]
mov edx, dword [ecx + 0xc0]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x4c50fc], edx
lea edx, [esp + 0x18]
push edx
mov dword [0x4c7b1c], ebp
mov dword [0x4c7b54], eax
mov dword [0x4c7b20], ebx
mov dword [0x4c7b58], ecx
call fcn.00403190
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
Function at 0x4301e0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4000
call fcn.00497d00
cmp dword [esp + 0x4008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x4018]
mov ebx, ecx
je 0x430303
test ebx, ebx
jne 0x430218
mov eax, dword [esp + 0x400c]
mov ebx, dword [eax + 0x630]
test ebx, ebx
je 0x430222
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43022f
mov ecx, dword [eax + 0x26c]
movzx eax, word [eax + 0x270]
mov edx, dword [esp + 0x4014]
mov ecx, dword [ecx*4 + 0x4c4f58]
push esi
push edi
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.00473270
add esp, 0x10
cmp word [ebp], 0
lea edi, [esp + eax*2 + 0x10]
je 0x430280
lea eax, [esp + 0x10]
mov edx, edi
sub edx, eax
sar edx, 1
push ebp
push str._____Specifically:__s_n
sub esi, edx
call fcn.00473270
add esp, 8
mov esi, dword [esp + 0x4018]
cmp esi, 3
jne 0x4302af
call fcn.0048cacd
add eax, 0x20
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0048e4f9
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 2
jne 0x430301
test ebx, ebx
jne 0x4302d4
mov ecx, dword [esp + 0x4014]
mov ebx, dword [ecx + 0x630]
test ebx, ebx
je 0x4302f3
mov eax, dword [esp + 0x401c]
push ebp
push 1
push eax
mov ecx, ebx
call fcn.0042fab0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
mov edx, dword [esp + 0x401c]
push ebp
push edx
call fcn.0042fd70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
Function at 0x430620
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x3d8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x430647
push 0x64
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x430651
xor edx, edx
mov word [esp + 0x120], dx
xor eax, eax
push 0xfe
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.004953e0
mov esi, dword [0x4c7b38]
add esp, 0xc
test esi, esi
je 0x43069d
cmp byte [esi + 0x11], 0
je 0x430696
mov edx, dword [esi]
mov eax, dword [edx]
push eax
push 0x4a70a8
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.004732b0
add esp, 8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x430675
cmp word [esp + 0x20], 0
je 0x4306f8
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4306b0
sub eax, edx
sar eax, 1
cmp eax, 0x7b
jbe 0x4306e6
mov esi, 0x7f
sub esi, eax
push esi
lea edi, [esp + eax*2 + 0x24]
push 0x4a29fc
push edi
call fcn.0048f214
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
jmp 0x4306f8
cmp word [esp + eax*2 + 0x1e], 0x20
lea eax, [esp + eax*2 + 0x20]
jne 0x4306f8
xor edx, edx
mov word [eax - 2], dx
mov eax, dword [0x4c3aa0]
cmp byte [eax + 0xf4], 0
je 0x430717
cmp byte [0x4c7b79], 0
mov dword [esp + 0x14], 1
je 0x43071f
mov dword [esp + 0x14], 0
mov eax, dword [0x4c50dc]
mov dword [esp + 0x18], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x43083d
mov dword [esp + 0x18], 0x4a9e04
xor ebp, ebp
cmp dword [0x4c50a4], 0
mov edi, 0x4a19a0
je 0x430752
mov edi, 0x4a1998
cmp dword [0x4c50a0], 0
mov esi, 0x4a19a0
je 0x430765
mov esi, 0x4a1998
push 1
call fcn.00411400
mov bl, al
add esp, 4
lea eax, [esp + 0x1e8]
call fcn.00411790
mov ecx, dword [0x4c50d8]
mov edx, dword [0x4c50dc]
push eax
mov eax, dword [0x4c50e0]
sub eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [0x4c7b40]
push ecx
mov ecx, dword [0x4c7b44]
push ebp
lea edx, [esp + 0x38]
push edx
push eax
push ecx
push edi
mov edi, dword [esp + 0x414]
push esi
lea edx, [esp + 0x14c]
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.00473270
lea esi, [edi + eax*2]
mov eax, esi
mov ebx, edi
sub eax, ebx
sar eax, 1
mov ecx, 0xfffe
add esp, 0x34
sub ecx, eax
push ecx
push esi
call fcn.00408eb0
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4307f2
sub eax, edx
sar eax, 1
cmp dword [0x4c5988], 0
lea edi, [esi + eax*2]
mov eax, str._r_nPress__F5__to_refresh.
jne 0x430817
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
mov edx, edi
sub edx, ebx
sar edx, 1
mov esi, 0xfffe
push eax
sub esi, edx
call fcn.00473270
add esp, 4
lea eax, [edi + eax*2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3d8
ret 4
lea ebp, [eax - 1]
jmp 0x43073f
Function at 0x4366a0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x218
push ebx
push ebp
mov ebp, dword [0x4c4f08]
push esi
push edi
mov ecx, ebp
call fcn.00412a30
mov eax, dword [esp + 0x234]
mov ecx, dword [esp + 0x23c]
mov edx, dword [esp + 0x230]
push eax
mov eax, dword [esp + 0x23c]
call fcn.00444510
mov esi, eax
test esi, esi
je 0x436780
push 0
push esi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
test edi, edi
je 0x43671a
cmp edi, dword [0x4c708c]
je 0x43671a
call fcn.00477dc0
test al, al
jne 0x43671a
mov ecx, dword [0x4c708c]
push 1
push edi
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x1c], eax
test bl, bl
je 0x43673c
mov edx, dword [0x4c708c]
push 0
push edi
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x436780
lea ecx, [esp + 0x20]
push 0xfc
mov edx, ecx
push edx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x436780
lea eax, [esp + 0x10]
push eax
push 0x436830
push esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x20], 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [esp + 0x14], 0
jne 0x4367d8
mov ecx, dword [0x4c140c]
cmp byte [ecx + 0x104], 0
jne 0x4367b3
mov edx, dword [0x4c5774]
push 1
push 0
push 0xffffffffffffffff
push 0x4a2324
push edx
call fcn.00475ef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x14
mov ecx, dword [esp + 0x22c]
push 0x4a9e04
push 0
push 0x4a2324
call fcn.0042f7f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x14
mov eax, dword [esp + 0x18]
push eax
push 0x49f888
mov eax, 0x101
lea ecx, [esp + 0x28]
call fcn.004732b0
mov ecx, dword [0x4c5774]
add esp, 8
push 1
push 0
push 0xffffffffffffffff
push 0x49f8e0
push ecx
call fcn.00475ef0
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
push ebp
call fcn.00475ef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x14
Function at 0x4368c0
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.00444510
mov edi, eax
test edi, edi
je 0x4368ee
mov esi, dword [esp + 0x1c]
push edi
call fcn.00477880
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x436939
mov ecx, dword [0x4c140c]
cmp byte [ecx + 0x104], 0
jne 0x43691c
mov edx, dword [0x4c5774]
push 1
push 0
push 0xffffffffffffffff
push 0x4a2324
push edx
call fcn.00475ef0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x4a9e04
push 0
push 0x4a2324
call fcn.0042f7f0
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 0x436971
cmp ebp, dword [0x4c708c]
je 0x436971
mov esi, edi
call fcn.00477dc0
test al, al
jne 0x436971
mov eax, dword [0x4c708c]
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 0x4369af
mov edx, dword [0x4c5774]
push 1
push 0
push 0xffffffffffffffff
push 0x49f8e0
push edx
call fcn.00475ef0
mov eax, dword [0x4c140c]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x4369af
push 1
push eax
call fcn.00401290
add esp, 8
test bl, bl
je 0x4369c3
mov ecx, dword [0x4c708c]
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