joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415220
Capabilities:
Set current directory

Disassembly:
sub esp, 0x48c
push ebx
push ebp
mov ebp, dword [esp + 0x498]
xor ebx, ebx
push esi
push edi
mov dword [ebp + 0x594], ecx
cmp eax, ebx
je 0x415246
mov byte [esp + 0x17], 1
cmp byte [eax], bl
je 0x41524a
mov byte [esp + 0x17], bl
cmp eax, ebx
je 0x4152b3
cmp byte [eax], bl
je 0x4152b3
push eax
push str.Critical_Error:__s_n_nThe_program_will_exit.
mov esi, 0x400
lea edi, [esp + 0xa0]
call fcn.0046ebc0
mov edx, dword [0x4a92a0]
mov ecx, dword [0x4a6c70]
add esp, 8
push 0x10000
push edx
mov eax, edi
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [0x4a6c70]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4152ac
mov eax, dword [0x4a6c70]
push eax
mov byte [0x4a6c6c], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call fcn.00409890
cmp dword [ebp + 0x590], ebx
je 0x4153e5
cmp byte [0x4a951a], bl
jne 0x4153e5
mov esi, dword [0x4a7474]
cmp byte [esi + 0x17], bl
jne 0x4152d9
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4152e6
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4152ff
test byte [esi + 0x15], 4
je 0x4152fa
mov eax, esi
call fcn.0042d890
mov eax, dword [esi + 8]
jmp 0x41530f
cmp al, 2
jne 0x41530a
call fcn.00401000
jmp 0x41530f
mov eax, 0x4a857d
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00484520
mov eax, dword [0x4a3440]
inc dword [0x4a6ddc]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xa3], bl
mov ecx, 0x3a
mov esi, 0x4a5930
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4a3440], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4a8ce0
call fcn.00414eb0
mov dword [0x4a92c0], ebx
mov dword [0x4a92c4], ebx
cmp dword [0x4a6e08], ebx
je 0x415376
push 0x4a7478
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [0x4a33a4]
mov ecx, dword [ebp + 0x590]
mov dword [0x4a33a4], ebx
mov byte [0x4a951a], 1
call fcn.00401210
test eax, eax
jne 0x4153a6
mov edx, dword [esp + 0x4a4]
push edx
push ebp
call fcn.00415410
mov byte [0x4a951a], bl
cmp byte [esp + 0x17], bl
je 0x4153c0
mov eax, dword [esp + 0x4a4]
push eax
push ebp
call fcn.00415410
lea ecx, [esp + 0x18]
push ecx
call fcn.004031c0
add esp, 4
pop edi
mov dword [0x4a33a4], esi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x48c
ret 8
mov eax, dword [esp + 0x4a4]
mov edx, dword [0x4a3440]
push eax
push ebp
mov dword [0x4a33a4], ebx
mov byte [edx + 0xd4], bl
call fcn.00415410
int3
Function at 0x41b2a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, byte [0x4a3367]
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 word [esp + 0x1e], 0x3f2e
mov byte [esp + 0x20], 0
mov edi, ebp
test ebp, ebp
je 0x41b30b
mov dl, byte [ebp]
test dl, dl
je 0x41b30b
lea ecx, [esp + 0xc]
mov al, 0x20
cmp dl, al
je 0x41b35e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41b2f7
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x41b2f1
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41b310
sub eax, edx
lea edi, [eax + ebp - 1]
cmp edi, ebp
jbe 0x41b330
mov al, byte [edi]
cmp al, 0x20
je 0x41b32b
cmp al, 9
jne 0x41b330
dec edi
cmp edi, ebp
ja 0x41b321
mov esi, edi
sub esi, ebp
inc esi
cmp esi, 0xfd
jbe 0x41b365
cmp byte [esp + 0x30], 0
je 0x41b353
mov ecx, dword [esp + 0x28]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042d320
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0xc
cmp edi, ebp
jbe 0x41b330
dec edi
jmp 0x41b31d
push esi
push ebp
push ebx
call fcn.00484520
add esp, 0xc
mov eax, edi
pop edi
mov byte [esi + ebx], 0
pop esi
pop ebp
add esp, 0x18
ret 0xc
Function at 0x42a370
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4a6ddc]
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4a33b0]
jl 0x42a399
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
mov esi, dword [0x4a7474]
cmp byte [esi + 0x17], 0
jne 0x42a3a8
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42a3b5
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42a3ce
test byte [esi + 0x15], 4
je 0x42a3c9
mov eax, esi
call fcn.0042d890
mov eax, dword [esi + 8]
jmp 0x42a3de
cmp al, 2
jne 0x42a3d9
call fcn.00401000
jmp 0x42a3de
mov eax, 0x4a857d
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00484520
mov eax, dword [0x4a3440]
inc dword [0x4a6ddc]
add eax, 0xe8
mov edi, eax
mov byte [esp + 0xa3], 0
mov ecx, 0x3a
mov esi, 0x4a5930
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x4a3440], eax
push edi
mov eax, 0x4a8ce0
mov dword [esi + 0x2c], edi
call fcn.00414eb0
mov dword [0x4a92c0], edi
mov dword [0x4a92c4], edi
cmp dword [0x4a6e08], edi
je 0x42a44a
push 0x4a7478
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xca], 0
jne 0x42a465
mov byte [esi + 0xca], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4a92cc], edi
je 0x42a475
cmp dword [0x4a92c8], edi
jne 0x42a47e
cmp byte [esi + 0xca], 0
je 0x42a4b6
cmp byte [esi + 0xca], 0
mov byte [esi + 0xc8], 0
jne 0x42a4b6
cmp dword [0x4a92cc], edi
jge 0x42a49e
mov dword [esi + 0xbc], eax
jmp 0x42a4b6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb8], eax
mov edx, dword [0x4a92cc]
mov dword [esi + 0xbc], edx
mov eax, dword [0x4a925c]
mov ebp, dword [0x4a9260]
mov ecx, dword [0x4a9294]
mov edx, dword [0x4a9298]
mov edi, eax
mov dword [0x4a9260], eax
mov eax, dword [esp + 0xa4]
mov ebx, ecx
mov dword [esp + 0x14], edx
mov dword [0x4a9298], ecx
mov dword [0x4a925c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0xa0]
push 0
push 0xffffffffffffffff
push 0
push ecx
mov dword [0x4a92d4], eax
mov dword [0x4a92d0], eax
mov dword [0x4a9294], eax
call fcn.00456a90
mov esi, eax
cmp esi, 1
jne 0x42a52a
mov edx, dword [esp + 0xa0]
push edx
call fcn.00428ab0
mov esi, eax
mov eax, dword [0x4a3440]
mov ecx, dword [eax + 0xa0]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov dword [0x4a6df8], ecx
mov dword [0x4a925c], edi
mov dword [0x4a9294], ebx
mov dword [0x4a9260], ebp
mov dword [0x4a9298], edx
call fcn.004031c0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8
Function at 0x42d760
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x2000
call fcn.0048dd20
cmp dword [esp + 0x2008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x2018]
mov ebx, ecx
je 0x42d87f
test ebx, ebx
jne 0x42d798
mov eax, dword [esp + 0x200c]
mov ebx, dword [eax + 0x368]
test ebx, ebx
je 0x42d7a2
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42d7af
mov ecx, dword [eax + 0x164]
movzx eax, word [eax + 0x168]
mov edx, dword [esp + 0x2014]
mov ecx, dword [ecx*4 + 0x4a6c60]
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.0046ebc0
add esp, 0x10
cmp byte [ebp], 0
lea edi, [esp + eax + 0x10]
je 0x42d7fc
push ebp
lea esi, [esp + 0x2014]
push str._____Specifically:__s_n
sub esi, edi
call fcn.0046ebc0
add esp, 8
mov esi, dword [esp + 0x2018]
cmp esi, 3
jne 0x42d82b
call fcn.00481d92
add eax, 0x20
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00483bed
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 0x42d87d
test ebx, ebx
jne 0x42d850
mov ecx, dword [esp + 0x2014]
mov ebx, dword [ecx + 0x368]
test ebx, ebx
je 0x42d86f
mov ecx, dword [esp + 0x201c]
push ebp
push 1
push ecx
mov ecx, ebx
call fcn.0042d070
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
mov edx, dword [esp + 0x201c]
push ebp
push edx
call fcn.0042d320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2000
ret 0x10
Function at 0x42db90
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 ebp, ebp
cmp eax, ebp
je 0x42dbbf
push 0x64
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42dbc7
mov byte [esp + 0xa0], 0
push 0x7f
lea edx, [esp + 0x25]
push ebp
push edx
mov byte [esp + 0x2c], 0
call fcn.0048aa20
mov esi, dword [0x4a9278]
add esp, 0xc
cmp esi, ebp
je 0x42dc0e
cmp byte [esi + 0x11], 0
je 0x42dc07
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
push 0x4997c0
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.0046ec00
add esp, 8
mov esi, dword [esi + 0x14]
cmp esi, ebp
jne 0x42dbe6
cmp byte [esp + 0x20], 0
je 0x42dc5d
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dc20
sub eax, edx
cmp eax, 0x7b
jbe 0x42dc4e
mov esi, 0x7f
sub esi, eax
push esi
lea ebx, [esp + eax + 0x24]
push 0x49726c
push ebx
call fcn.00484520
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x42dc5d
cmp byte [esp + eax + 0x1f], 0x20
lea eax, [esp + eax + 0x20]
jne 0x42dc5d
mov byte [eax - 1], 0
mov edx, dword [0x4a5840]
cmp byte [edx + 0xd4], 0
je 0x42dc7d
cmp byte [0x4a92b9], 0
mov dword [esp + 0x14], 1
je 0x42dc81
mov dword [esp + 0x14], ebp
mov eax, dword [0x4a6ddc]
mov dword [esp + 0x10], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42dd8c
mov dword [esp + 0x10], 0x4957f9
mov dword [esp + 0x18], ebp
cmp dword [0x4a6da4], ebp
mov ebp, 0x4969f8
je 0x42dcb5
mov ebp, 0x4969f4
cmp dword [0x4a6da0], 0
mov esi, 0x4969f8
je 0x42dcc8
mov esi, 0x4969f4
push 1
call fcn.00411020
mov bl, al
add esp, 4
lea eax, [esp + 0x108]
call fcn.004113b0
mov ecx, dword [0x4a6ddc]
mov edx, dword [0x4a6de0]
sub edx, dword [esp + 0x14]
push eax
mov eax, dword [0x4a6dd8]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [0x4a9280]
push ecx
mov ecx, dword [0x4a9284]
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.0046ebc0
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.00408ca0
mov eax, edi
add esp, 8
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dd50
sub eax, ecx
add edi, eax
cmp dword [0x4a7584], 0
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42dd6e
mov eax, str._r_nKey_History_has_been_disabled_via_KeyHistory_0.
sub esi, edi
push eax
add esi, 0xfffe
call fcn.0046ebc0
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 0x42dca3
Function at 0x433510
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x118
push ebx
push ebp
mov ebp, dword [0x4a6c10]
push esi
push edi
mov ecx, ebp
call fcn.00412600
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x130]
push eax
mov eax, dword [esp + 0x13c]
call fcn.00441340
mov esi, eax
test esi, esi
je 0x4335f0
push 0
push esi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
test edi, edi
je 0x43358a
cmp edi, dword [0x4a8c80]
je 0x43358a
call fcn.00473540
test al, al
jne 0x43358a
mov ecx, dword [0x4a8c80]
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 0x4335ac
mov edx, dword [0x4a8c80]
push 0
push edi
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4335f0
lea ecx, [esp + 0x20]
push 0xfc
mov edx, ecx
push edx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x4335f0
lea eax, [esp + 0x10]
push eax
push 0x4336a0
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 0x433648
mov ecx, dword [0x4a3440]
cmp byte [ecx + 0xe4], 0
jne 0x433623
mov edx, dword [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x496ed0
push edx
call fcn.004716d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 0x14
mov ecx, dword [esp + 0x12c]
push 0x4957f9
push 0
push 0x496ed0
call fcn.0042cdb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 0x14
mov eax, dword [esp + 0x18]
push eax
push 0x495840
mov eax, 0x101
lea ecx, [esp + 0x28]
call fcn.0046ec00
mov ecx, dword [0x4a7474]
add esp, 8
push 1
push 0
push 0xffffffffffffffff
push 0x495870
push ecx
call fcn.004716d0
push 1
push 0
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edx
push ebp
call fcn.004716d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 0x14
Function at 0x433720
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.00441340
mov edi, eax
test edi, edi
je 0x43374e
mov esi, dword [esp + 0x1c]
push edi
call fcn.00473050
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x433799
mov ecx, dword [0x4a3440]
cmp byte [ecx + 0xe4], 0
jne 0x43377c
mov edx, dword [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x496ed0
push edx
call fcn.004716d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x4957f9
push 0
push 0x496ed0
call fcn.0042cdb0
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 0x4337d1
cmp ebp, dword [0x4a8c80]
je 0x4337d1
mov esi, edi
call fcn.00473540
test al, al
jne 0x4337d1
mov eax, dword [0x4a8c80]
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 0x43380f
mov edx, dword [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x495870
push edx
call fcn.004716d0
mov eax, dword [0x4a3440]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x43380f
push 1
push eax
call fcn.00401280
add esp, 8
test bl, bl
je 0x433823
mov ecx, dword [0x4a8c80]
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 0x434650
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.0042f0e0
mov ebx, eax
test ebx, ebx
jne 0x434683
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042d070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x43468f
jmp dword [eax*4 + 0x434888]
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4346a9
push eax
call fcn.00450ff0
add esp, 4
jmp 0x4346af
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4a7474]
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.00450ff0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x434727
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x434727
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 [0x4a7474]
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 [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x495870
push ecx
call fcn.004716d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx edx, byte [edi]
push edx
call fcn.00483dc3
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x434762.67
movzx eax, byte [eax + 0x4348b8]
jmp dword [eax*4 + 0x43489c]
mov esi, 0x40
jmp 0x434791
mov esi, 0x4000
jmp 0x434791
mov esi, 0x20
jmp 0x434791
mov esi, 0x8000
jmp 0x434791
mov esi, 0x80
jmp 0x434791
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4347a4
push eax
call fcn.00450ff0
add esp, 4
jmp 0x4347aa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x434727
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x434727
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x4346fb
mov edx, dword [0x4a7474]
push 1
push 0
push 0xffffffffffffffff
push 0x495870
push edx
call fcn.004716d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [edi], 0
je 0x434823
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.004125c0
fmul qword [0x49d690]
call fcn.0048ff10
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x434830
mov byte [esp + 0x13], 1
xor edi, edi
lea ebx, [ebx]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00450ff0
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43484d
test esi, esi
jne 0x43470a
jmp 0x434851
test esi, esi
je case.0x434762.67
cmp byte [esp + 0x13], 0
jne 0x43486f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43470a
push 1
push 0x64
call fcn.00401280
add esp, 8
jmp 0x434830
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x435120
Capabilities:
Get graphical window text
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4a6c10]
push eax
mov eax, dword [esp + 0x18]
call fcn.00441340
mov ebp, eax
test ebp, ebp
je 0x435146
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ebx, [eax + 1]
jmp 0x43514b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
push edi
call fcn.004716d0
cmp eax, 1
je 0x435169
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x435272
cmp byte [edi + 0x17], 0
jne 0x43517c
mov esi, dword [edi + 0xc]
jmp 0x43517e
mov esi, edi
test byte [esi + 0x15], 8
je 0x43518b
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4351a4
test byte [esi + 0x15], 4
je 0x43519f
mov eax, esi
call fcn.0042d890
mov eax, dword [esi + 8]
jmp 0x4351b4
cmp al, 2
jne 0x4351af
call fcn.00401000
jmp 0x4351b4
mov eax, 0x4a857d
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x4351ca
mov esi, dword [edi + 0xc]
jmp 0x4351cc
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x4351e4
test byte [esi + 0x15], 8
je 0x4351df
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x4351e9
mov eax, 0x4a9514
mov dword [eax], ebx
cmp byte [edi + 0x17], 0
jne 0x4351f6
mov esi, dword [edi + 0xc]
jmp 0x4351f8
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x435210
test byte [esi + 0x15], 8
je 0x43520b
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x435215
mov eax, 0x4a9514
cmp dword [eax], 0
jne 0x4352e8
cmp byte [edi + 0x17], 0
jne 0x435229
mov esi, dword [edi + 0xc]
jmp 0x43522b
mov esi, edi
test byte [esi + 0x15], 8
je 0x435238
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x435257
test byte [esi + 0x15], 4
je 0x43524c
mov eax, esi
call fcn.0042d890
mov eax, dword [esi + 8]
mov byte [eax], 0
jmp 0x4352e8
cmp al, 2
jne 0x435268
call fcn.00401000
mov byte [eax], 0
jmp 0x4352e8
mov eax, 0x4a857d
mov byte [eax], 0
jmp 0x4352e8
cmp byte [edi + 0x17], 0
jne 0x43527d
mov esi, dword [edi + 0xc]
jmp 0x43527f
mov esi, edi
test byte [esi + 0x15], 8
je 0x43528c
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4352a5
test byte [esi + 0x15], 4
je 0x4352a0
mov eax, esi
call fcn.0042d890
mov eax, dword [esi + 8]
jmp 0x4352b5
cmp al, 2
jne 0x4352b0
call fcn.00401000
jmp 0x4352b5
mov eax, 0x4a857d
mov byte [eax], 0
cmp byte [edi + 0x17], 0
jne 0x4352c3
mov esi, dword [edi + 0xc]
jmp 0x4352c5
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x4352dd
test byte [esi + 0x15], 8
je 0x4352d8
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x4352e2
mov eax, 0x4a9514
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x4352f1
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x435316
cmp dword [0x4a8cd0], 0
je 0x435316
pop edi
pop esi
pop ebp
pop ebx
mov dword [esp + 4], 1
mov ecx, 0x4a8cc4
jmp fcn.00403f00
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x436140
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x8000
call fcn.0048dd20
push ebp
mov ebp, dword [0x4a6c10]
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 0x43626a
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push ebp
call fcn.004716d0
test eax, eax
jne 0x436190
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
cmp byte [ebp + 0x17], 0
jne 0x43619b
mov esi, dword [ebp + 0xc]
jmp 0x43619d
mov esi, ebp
test byte [esi + 0x15], 8
je 0x4361aa
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4361c3
test byte [esi + 0x15], 4
je 0x4361be
mov eax, esi
call fcn.0042d890
mov eax, dword [esi + 8]
jmp 0x4361d3
cmp al, 2
jne 0x4361ce
call fcn.00401000
jmp 0x4361d3
mov eax, 0x4a857d
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x436225
cmp byte [ebp + 0x17], al
jne 0x4361ea
mov esi, dword [ebp + 0xc]
jmp 0x4361ec
mov esi, ebp
test byte [esi + 0x15], 8
je 0x4361f9
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x436212
test byte [esi + 0x15], 4
je 0x43620d
mov eax, esi
call fcn.0042d890
mov eax, dword [esi + 8]
jmp 0x436222
cmp al, 2
jne 0x43621d
call fcn.00401000
jmp 0x436222
mov eax, 0x4a857d
mov byte [eax], 0
cmp byte [ebp + 0x17], 0
jne 0x436230
mov eax, dword [ebp + 0xc]
jmp 0x436232
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x436257
cmp dword [0x4a8cd0], 0
je 0x436257
push 1
mov ecx, 0x4a8cc4
call fcn.00403f00
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 0x436277
mov eax, 0x4957f9
push 1
push 0
push edi
push eax
push ebp
call fcn.004716d0
pop edi
pop esi
pop ebp
add esp, 0x8000
ret
Function at 0x438a80
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 0x438ab8
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x438b33
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 0x438ab0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x438ab0
dec eax
mov dword [esp + 0x10], eax
cmp byte [esp + eax + 0x18], bl
jne 0x438b17
cmp eax, ebx
je 0x438b33
lea ecx, [esp + 0x18]
cmp byte [ecx + eax - 1], bl
jne 0x438b11
dec eax
jne 0x438b08
mov dword [esp + 0x10], eax
jmp 0x438b2f
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x438b2b
mov byte [esp + 0x18], bl
xor eax, eax
jmp 0x438b33
mov byte [esp + eax + 0x18], bl
cmp eax, ebx
jne 0x438b41
cmp edi, ebx
jne 0x438b41
mov edi, 0x100
jmp 0x438a94
mov esi, dword [esp + 0x120]
cmp esi, ebx
je 0x438b5e
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 0x438b54
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret