joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a620
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4aa39c]
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4a6890]
jl 0x42a649
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 8
mov esi, dword [0x4aaa2c]
cmp byte [esi + 0x17], 0
jne 0x42a658
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42a665
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42a67e
test byte [esi + 0x15], 4
je 0x42a679
mov eax, esi
call fcn.0042dcd0
mov eax, dword [esi + 8]
jmp 0x42a68e
cmp al, 2
jne 0x42a689
call fcn.00401000
jmp 0x42a68e
mov eax, 0x4abb35
push 0x7f
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00487d80
mov eax, dword [0x4a6918]
inc dword [0x4aa39c]
add eax, 0xf0
mov edi, eax
mov byte [esp + 0xbb], 0
mov ecx, 0x3c
mov esi, 0x4a8ed8
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x4a6918], eax
push edi
mov eax, 0x4ac290
mov dword [esi + 0x2c], edi
call fcn.00415870
mov dword [0x4ac898], edi
mov dword [0x4ac89c], edi
cmp dword [0x4aa3c8], edi
je 0x42a6fa
push 0x4aaa30
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xce], 0
jne 0x42a715
mov byte [esi + 0xce], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4ac8a4], edi
je 0x42a725
cmp dword [0x4ac8a0], edi
jne 0x42a72e
cmp byte [esi + 0xce], 0
je 0x42a766
cmp byte [esi + 0xce], 0
mov byte [esi + 0xcc], 0
jne 0x42a766
cmp dword [0x4ac8a4], edi
jge 0x42a74e
mov dword [esi + 0xc0], eax
jmp 0x42a766
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xbc], eax
mov edx, dword [0x4ac8a4]
mov dword [esi + 0xc0], edx
mov eax, dword [0x4ac818]
mov ecx, dword [0x4ac870]
mov edx, dword [0x4ac874]
mov ebp, dword [0x4ac81c]
mov esi, dword [esp + 0xbc]
mov edi, eax
mov ebx, ecx
mov dword [esp + 0x1c], edx
mov dword [0x4ac81c], eax
mov dword [0x4ac874], ecx
mov dword [0x4ac818], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ac8ac], eax
mov dword [0x4ac8a8], eax
mov dword [0x4ac870], eax
mov eax, dword [esp + 0xb8]
cmp byte [eax], 5
jne 0x42a7ca
mov esi, dword [eax + 0xc]
call fcn.0042a5b0
mov esi, eax
jmp 0x42a807
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x24]
push edx
xor eax, eax
push str.call
push ecx
lea edx, [eax + 1]
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], esi
call fcn.0046a840
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a807
mov esi, dword [esp + 0x14]
neg esi
sbb esi, esi
add esi, 4
mov eax, dword [0x4a6918]
mov ecx, dword [eax + 0xa4]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
mov dword [0x4aa3b0], ecx
mov dword [0x4ac818], edi
mov dword [0x4ac870], ebx
mov dword [0x4ac81c], ebp
mov dword [0x4ac874], edx
call fcn.00403620
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 8
Function at 0x42dba0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2000
call fcn.004915b0
cmp dword [esp + 0x2008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2018]
mov ebx, ecx
je 0x42dcbf
test ebx, ebx
jne 0x42dbd8
mov eax, dword [esp + 0x200c]
mov ebx, dword [eax + 0x370]
test ebx, ebx
je 0x42dbe2
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42dbef
mov ecx, dword [eax + 0x16c]
movzx eax, word [eax + 0x170]
mov edx, dword [esp + 0x2014]
mov ecx, dword [ecx*4 + 0x4aa1c8]
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.00471fa0
add esp, 0x10
cmp byte [ebp], 0
lea edi, [esp + eax + 0x10]
je 0x42dc3c
push ebp
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.00471fa0
add esp, 8
mov esi, dword [esp + 0x2018]
cmp esi, 3
jne 0x42dc6b
call fcn.004854a7
add eax, 0x20
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0048744f
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, 2
jne 0x42dcbd
test ebx, ebx
jne 0x42dc90
mov ecx, dword [esp + 0x2014]
mov ebx, dword [ecx + 0x370]
test ebx, ebx
je 0x42dcaf
mov ecx, dword [esp + 0x201c]
push ebp
push 1
push ecx
mov ecx, ebx
call fcn.0042d4a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
mov edx, dword [esp + 0x201c]
push ebp
push edx
call fcn.0042d750
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
Function at 0x42dfd0
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 0x42dfff
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42e006
mov byte [esp + 0xa0], bl
mov esi, dword [0x4ac854]
mov byte [esp + 0x20], bl
cmp esi, ebx
je 0x42e0ab
cmp byte [esi + 0x11], bl
je 0x42e059
mov edx, dword [esi]
push edx
call fcn.0046d660
add esp, 4
sub eax, ebx
je 0x42e03d
dec eax
je 0x42e036
mov eax, str.Object
jmp 0x42e042
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x42e042
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
push eax
push 0x49ca90
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.00471fe0
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x42e018
cmp byte [esp + 0x20], bl
je 0x42e0ab
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42e070
sub eax, edx
cmp eax, 0x7b
jbe 0x42e09d
mov esi, 0x7f
sub esi, eax
push esi
lea ebp, [esp + eax + 0x24]
push 0x49aa88
push ebp
call fcn.00487d80
add esp, 0xc
mov byte [esi + ebp], bl
jmp 0x42e0ab
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x42e0ab
mov byte [eax - 1], bl
mov edx, dword [0x4a8de0]
cmp byte [edx + 0xd8], bl
je 0x42e0c9
mov dword [esp + 0x14], 1
cmp byte [0x4ac895], bl
je 0x42e0cd
mov dword [esp + 0x14], ebx
mov eax, dword [0x4aa39c]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42e1dc
mov dword [esp + 0x10], 0x498861
mov dword [esp + 0x18], ebx
mov ebp, 0x499a50
cmp dword [0x4aa364], ebx
je 0x42e101
mov ebp, 0x499a4c
mov esi, 0x499a50
cmp dword [0x4aa360], ebx
je 0x42e113
mov esi, 0x499a4c
push 1
call fcn.004114a0
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.00411860
mov ecx, dword [0x4aa39c]
mov edx, dword [0x4aa3a0]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4aa398]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4ac85c]
push ecx
mov ecx, dword [0x4ac860]
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.00471fa0
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.00409140
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42e1a0
sub eax, ecx
add edi, eax
cmp dword [0x4aab3c], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42e1be
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.00471fa0
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 0x42e0ef
Function at 0x434170
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.004411a0
mov edi, eax
test edi, edi
je 0x43419e
mov esi, dword [esp + 0x1c]
push edi
call fcn.004766d0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4341e9
mov ecx, dword [0x4a6918]
cmp byte [ecx + 0xe8], 0
jne 0x4341cc
mov edx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f90
push edx
call fcn.00474cc0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x498861
push 0
push 0x499f90
call fcn.0042d1e0
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 0x434221
cmp ebp, dword [0x4ac238]
je 0x434221
mov esi, edi
call fcn.00476b90
test al, al
jne 0x434221
mov eax, dword [0x4ac238]
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 0x43425f
mov edx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x4988ac
push edx
call fcn.00474cc0
mov eax, dword [0x4a6918]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x43425f
push 1
push eax
call fcn.00401350
add esp, 8
test bl, bl
je 0x434273
mov ecx, dword [0x4ac238]
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 0x4350a0
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 edi, ecx
call fcn.0042f430
mov ebx, eax
test ebx, ebx
jne 0x4350d3
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042d4a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x4350df
jmp dword [eax*4 + 0x4352d8]
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4350f9
push eax
call fcn.00451f90
add esp, 4
jmp 0x4350ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4aaa2c]
call fcn.004010d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00451f90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x435177
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x435177
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 [0x4aaa2c]
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 ecx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x4988ac
push ecx
call fcn.00474cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx edx, byte [edi]
push edx
call fcn.00487625
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x4351b2.67
movzx eax, byte [eax + 0x435308]
jmp dword [eax*4 + 0x4352ec]
mov esi, 0x40
jmp 0x4351e1
mov esi, 0x4000
jmp 0x4351e1
mov esi, 0x20
jmp 0x4351e1
mov esi, 0x8000
jmp 0x4351e1
mov esi, 0x80
jmp 0x4351e1
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4351f4
push eax
call fcn.00451f90
add esp, 4
jmp 0x4351fa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x435177
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x435177
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x43514b
mov edx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x4988ac
push edx
call fcn.00474cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x435273
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00412c50
fmul qword [0x4a0b78]
call fcn.004937a0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x435280
mov byte [esp + 0x13], 1
xor edi, edi
lea ebx, [ebx]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00451f90
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43529d
test esi, esi
jne 0x43515a
jmp 0x4352a1
test esi, esi
je case.0x4351b2.67
cmp byte [esp + 0x13], 0
jne 0x4352bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43515a
push 1
push 0x64
call fcn.00401350
add esp, 8
jmp 0x435280
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x435b10
Capabilities:
Get graphical window text
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4aa178]
push eax
mov eax, dword [esp + 0x18]
call fcn.004411a0
mov ebp, eax
test ebp, ebp
je 0x435b36
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebx, [eax + 1]
jmp 0x435b3b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
push edi
call fcn.00474cc0
cmp eax, 1
je 0x435b59
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x435c62
cmp byte [edi + 0x17], 0
jne 0x435b6c
mov esi, dword [edi + 0xc]
jmp 0x435b6e
mov esi, edi
test byte [esi + 0x15], 8
je 0x435b7b
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x435b94
test byte [esi + 0x15], 4
je 0x435b8f
mov eax, esi
call fcn.0042dcd0
mov eax, dword [esi + 8]
jmp 0x435ba4
cmp al, 2
jne 0x435b9f
call fcn.00401000
jmp 0x435ba4
mov eax, 0x4abb35
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x435bba
mov esi, dword [edi + 0xc]
jmp 0x435bbc
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x435bd4
test byte [esi + 0x15], 8
je 0x435bcf
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x435bd9
mov eax, 0x4acaa0
mov dword [eax], ebx
cmp byte [edi + 0x17], 0
jne 0x435be6
mov esi, dword [edi + 0xc]
jmp 0x435be8
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x435c00
test byte [esi + 0x15], 8
je 0x435bfb
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x435c05
mov eax, 0x4acaa0
cmp dword [eax], 0
jne 0x435cd8
cmp byte [edi + 0x17], 0
jne 0x435c19
mov esi, dword [edi + 0xc]
jmp 0x435c1b
mov esi, edi
test byte [esi + 0x15], 8
je 0x435c28
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x435c47
test byte [esi + 0x15], 4
je 0x435c3c
mov eax, esi
call fcn.0042dcd0
mov eax, dword [esi + 8]
mov byte [eax], 0
jmp 0x435cd8
cmp al, 2
jne 0x435c58
call fcn.00401000
mov byte [eax], 0
jmp 0x435cd8
mov eax, 0x4abb35
mov byte [eax], 0
jmp 0x435cd8
cmp byte [edi + 0x17], 0
jne 0x435c6d
mov esi, dword [edi + 0xc]
jmp 0x435c6f
mov esi, edi
test byte [esi + 0x15], 8
je 0x435c7c
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x435c95
test byte [esi + 0x15], 4
je 0x435c90
mov eax, esi
call fcn.0042dcd0
mov eax, dword [esi + 8]
jmp 0x435ca5
cmp al, 2
jne 0x435ca0
call fcn.00401000
jmp 0x435ca5
mov eax, 0x4abb35
mov byte [eax], 0
cmp byte [edi + 0x17], 0
jne 0x435cb3
mov esi, dword [edi + 0xc]
jmp 0x435cb5
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x435ccd
test byte [esi + 0x15], 8
je 0x435cc8
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x435cd2
mov eax, 0x4acaa0
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x435ce1
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x435d06
cmp dword [0x4ac8fc], 0
je 0x435d06
pop edi
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4ac8f0
jmp fcn.00404380
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x436b30
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.004915b0
push ebp
mov ebp, dword [0x4aa178]
push esi
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, eax
cmp edi, 0x7fff
jb 0x436c5a
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push ebp
call fcn.00474cc0
test eax, eax
jne 0x436b80
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
cmp byte [ebp + 0x17], 0
jne 0x436b8b
mov esi, dword [ebp + 0xc]
jmp 0x436b8d
mov esi, ebp
test byte [esi + 0x15], 8
je 0x436b9a
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x436bb3
test byte [esi + 0x15], 4
je 0x436bae
mov eax, esi
call fcn.0042dcd0
mov eax, dword [esi + 8]
jmp 0x436bc3
cmp al, 2
jne 0x436bbe
call fcn.00401000
jmp 0x436bc3
mov eax, 0x4abb35
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x436c15
cmp byte [ebp + 0x17], al
jne 0x436bda
mov esi, dword [ebp + 0xc]
jmp 0x436bdc
mov esi, ebp
test byte [esi + 0x15], 8
je 0x436be9
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x436c02
test byte [esi + 0x15], 4
je 0x436bfd
mov eax, esi
call fcn.0042dcd0
mov eax, dword [esi + 8]
jmp 0x436c12
cmp al, 2
jne 0x436c0d
call fcn.00401000
jmp 0x436c12
mov eax, 0x4abb35
mov byte [eax], 0
cmp byte [ebp + 0x17], 0
jne 0x436c20
mov eax, dword [ebp + 0xc]
jmp 0x436c22
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x436c47
cmp dword [0x4ac8fc], 0
je 0x436c47
push 1
mov ecx, 0x4ac8f0
call fcn.00404380
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
and byte [eax + 0x15], 0x86
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x436c67
mov eax, 0x498861
push 1
push 0
push edi
push eax
push ebp
call fcn.00474cc0
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
Function at 0x439400
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
push edi
xor ebx, ebx
xor edi, edi
lea eax, [esp + 0x14]
push eax
mov ecx, edi
or ecx, 1
push ecx
push ebx
push str.SOFTWAREAutoHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
je 0x439438
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x4394b3
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push str.InstallDir
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x439430
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x439430
dec eax
mov dword [esp + 0x10], eax
cmp byte [esp + eax + 0x18], bl
jne 0x439497
cmp eax, ebx
je 0x4394b3
lea ecx, [esp + 0x18]
cmp byte [ecx + eax - 1], bl
jne 0x439491
dec eax
jne 0x439488
mov dword [esp + 0x10], eax
jmp 0x4394af
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x4394ab
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x4394b3
mov byte [esp + eax + 0x18], bl
cmp eax, ebx
jne 0x4394c1
cmp edi, ebx
jne 0x4394c1
mov edi, 0x100
jmp 0x439414
mov esi, dword [esp + 0x120]
cmp esi, ebx
je 0x4394de
lea ecx, [esp + 0x18]
mov edx, ecx
sub esi, edx
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
cmp dl, bl
jne 0x4394d4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x43cb90
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
sub esp, 0x118
push ebx
push ebp
mov ebp, dword [0x4aa178]
push esi
push edi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov cl, byte [edi]
test cl, cl
je 0x43cc7e
cmp byte [edi + 1], 0
jne 0x43cbfa
mov byte [esp + 0x14], cl
cmp cl, 0xa
jne 0x43cbca
mov al, 0xd
jmp 0x43cc6f
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx ecx, ax
mov eax, ecx
shr eax, 8
cmp al, 0xff
jne 0x43cbee
cmp cl, 0xff
jne 0x43cbee
xor al, al
jmp 0x43cc6f
and al, 0x38
neg al
sbb al, al
not al
and al, cl
jmp 0x43cc6f
movzx esi, cl
test esi, 0xffffff80
jne 0x43cc17
push 2
push esi
call fcn.0048631e
add esp, 8
test eax, eax
je 0x43cc17
and esi, 0xffffffdf
mov eax, esi
cmp al, 0x56
jne 0x43cc3b
mov al, byte [edi + 1]
call fcn.00409390
cmp al, 0x4b
jne 0x43cc3b
push 0x10
lea eax, [edi + 2]
push 0
push eax
call fcn.00486764
add esp, 0xc
jmp 0x43cc6f
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esi*8 + 0x4a7658]
push edi
push eax
call fcn.00484de1
add esp, 8
test eax, eax
je 0x43ccb1
inc esi
cmp esi, 0x6d
jl 0x43cc40
mov eax, edi
call fcn.00411cb0
movzx ebx, ax
test bx, bx
je 0x43cc7e
call fcn.00412490
mov byte [esp + 0x13], al
cmp byte [esp + 0x13], 0
jne 0x43ccfb
push 0
lea ebx, [esp + 0x18]
mov eax, edi
call fcn.0044d350
mov edi, eax
add esp, 4
test edi, edi
jne 0x43ccbe
push 1
push eax
push 0xffffffffffffffff
push 0x498861
push ebp
call fcn.00474cc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
mov cl, byte [esi*8 + 0x4a765c]
mov byte [esp + 0x13], cl
jmp 0x43cc73
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], edx
call fcn.0044d5f0
fstp st(0)
add esp, 8
lea eax, [esp + 0x18]
mov ebx, ebp
call fcn.00474610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
mov ecx, dword [esp + 0x12c]
movzx ebx, byte [ecx]
test ebx, 0xffffff80
jne 0x43cd1f
push 2
push ebx
call fcn.0048631e
add esp, 8
test eax, eax
je 0x43cd1f
and bl, 0xdf
cmp bl, 0x50
je 0x43cd32
xor eax, eax
cmp bl, 0x54
setne al
dec eax
and eax, 2
jmp 0x43cd37
mov eax, 1
mov bl, byte [esp + 0x13]
push eax
call fcn.0044d540
add esp, 4
test al, al
mov eax, 0x49dc38
jne 0x43cd52
mov eax, 0x49dc3c
push 1
push 0
push 0xffffffffffffffff
push eax
push ebp
call fcn.00474cc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
Function at 0x43cd70
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
push esi
mov esi, ecx
mov ecx, dword [0x4aa178]
push edi
call fcn.00412c90
test esi, esi
je 0x43cede
cmp byte [esi], 0
je 0x43cede
push 0x104
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00487d80
lea eax, [esp + 0x3c]
add esp, 0xc
mov byte [esp + 0x134], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43cdc0
sub eax, edx
cmp byte [esp + eax + 0x2f], 0x5c
je 0x43cde9
lea ecx, [eax + 1]
cmp ecx, 0x105
jae 0x43cede
mov byte [esp + eax + 0x30], 0x5c
mov byte [esp + eax + 0x31], 0
test byte [0x4ad4e0], 1
jne 0x43ce17
or dword [0x4ad4e0], 1
push str.GetDiskFreeSpaceExA
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ad4dc], eax
jmp 0x43ce1c
mov eax, dword [0x4ad4dc]
test eax, eax
je 0x43ce6a
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x3c]
push ecx
call eax
test eax, eax
je 0x43cede
cmp byte [ebp + 0xc], 0
je 0x43ce57
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43ceac
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43ceac
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x43cede
cmp byte [ebp + 0xc], 0
mov eax, dword [esp + 0x14]
jne 0x43ce9b
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 8]
shr eax, 0x14
mov esi, eax
xor edi, edi
mov ecx, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x4988ac
push ecx
call fcn.00474cc0
mov eax, dword [0x4aa178]
push 0x18
push edi
push esi
call fcn.004010d0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x4a6918]
cmp byte [edx + 0xe8], 0
jne 0x43cf0b
mov eax, dword [0x4aaa2c]
push 1
push 0
push 0xffffffffffffffff
push 0x499f90
push eax
call fcn.00474cc0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x498861
push 0
push 0x499f90
call fcn.0042d1e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8