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

Disassembly:
mov eax, dword [0x4d4a28]
add eax, 4
imul eax, eax, 0x108
push ebx
push ebp
push esi
push edi
push eax
call fcn.004996ee
add esp, 4
mov dword [0x4d71d0], eax
test eax, eax
jne 0x41e439
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, dword [0x4d4b14]
push 0x403ea0
mov edi, eax
push 0x4ef6d80
mov ecx, 0x42
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4d86a0]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4d4b14], eax
call edi
cmp dword [0x4d96d0], 0
jne 0x41e47b
mov ebx, 1
jmp 0x41e593
mov edx, dword [0x4d4b14]
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov byte [edx + 0xec], 0
call esi
cmp byte [0x4d87fc], 0
mov ecx, dword [0x4d4b14]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
jne 0x41e4cb
mov eax, dword [0x4d86a0]
push 0x403d00
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4d87fc], cl
mov byte [0x4da1b5], 1
call esi
mov dword [0x4da1dc], eax
mov dword [0x4da1d8], eax
mov eax, dword [0x4d963c]
mov esi, 1
add dword [0x4d8814], esi
cmp eax, dword [0x4d9640]
jne 0x41e500
call fcn.0040558f
mov eax, dword [0x4d963c]
cmp eax, dword [0x4d9638]
jb 0x41e515
mov edx, dword [0x4d9d04]
mov dword [eax], edx
mov eax, dword [0x4d963c]
add eax, 0xc
push 0
mov dword [0x4d963c], eax
push 0
mov dword [eax], 0
mov dword [eax + 4], str.Auto_execute
mov dword [eax + 8], 0
mov ecx, dword [0x4d96d0]
push esi
call fcn.00430780
mov ebx, eax
mov eax, dword [0x4d963c]
sub eax, 0xc
mov dword [0x4d963c], eax
cmp eax, dword [0x4d9638]
jb 0x41e564
mov eax, dword [eax]
mov dword [0x4d964c], eax
mov dword [0x4d9d04], eax
sub dword [0x4d8814], esi
cmp byte [0x4d87fc], 0
je 0x41e58c
mov eax, dword [0x4d86a0]
push 0xb
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x41e58c
mov byte [0x4d87fc], 0
mov byte [0x4da1b5], 0
mov ebp, dword [0x4d4b14]
cmp dword [ebp + 0x104], 0
je 0x41e5ed
mov eax, dword [ebp + 0x104]
cmp dword [eax + 8], 6
jne 0x41e5b8
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0x104]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41e5ce
push eax
call fcn.0049978d
add esp, 4
mov ecx, dword [ebp + 0x104]
push ecx
call fcn.00499782
mov dword [ebp + 0x104], 0
mov ebp, dword [0x4d4b14]
add esp, 4
mov eax, ebp
call fcn.00401000
mov edx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
mov byte [ebp + 0xec], 1
push 0x4af9bc
mov ecx, 0x42
mov esi, ebp
mov edi, 0x4d72e0
rep movsd dword es:[edi], dword [esi]
push edx
mov byte [ebp + 0xec], 1
mov dword [ebp + 0xe0], 0
mov word [ebp + 0xed], 1
mov dword [ebp + 0x2c], closesocket
call fcn.00482920
mov eax, dword [0x4d5d3c]
cmp word [eax], 0
jne 0x41e685
cmp dword [0x4d8f14], 0
jne 0x41e685
cmp dword [0x4d87d0], 0
jne 0x41e685
cmp dword [0x4d87d4], 0
jne 0x41e685
cmp byte [0x4d87dd], 0
jne 0x41e685
neg ebx
sbb ebx, ebx
and ebx, 5
push 0
inc ebx
push ebx
mov ecx, 0x4d96d0
call fcn.0041e8d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x41e8d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [ecx + 0xa9c], eax
cmp byte [0x4da3cf], bl
jne 0x41ead2
cmp byte [ecx + 0xae4], bl
je 0x41ead2
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4d8ea8]
push ebx
push 1
mov dword [0x4daf84], eax
call fcn.00401280
push 0x7f
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0049c904
mov eax, dword [0x4d4b14]
inc dword [0x4d8814]
add eax, 0x108
xor edx, edx
mov edi, eax
mov word [esp + 0x142], dx
mov ecx, 0x42
mov esi, 0x4d72e0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov dword [0x4d4b14], eax
mov dword [eax + 0x2c], ebx
push ebx
mov eax, 0x4d96d0
call fcn.0041e310
mov dword [0x4da1c8], ebx
mov dword [0x4da1cc], ebx
cmp dword [0x4d8844], ebx
je 0x41e996
mov eax, dword [0x4d5d34]
cmp eax, ebx
je 0x41e98a
mov eax, dword [eax]
cmp eax, ebx
jne 0x41e98f
mov eax, 0x4af9ac
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov eax, dword [0x4d963c]
mov edi, dword [0x4d4a1c]
mov dword [0x4d4a1c], ebx
mov byte [0x4da3cf], 1
cmp eax, dword [0x4d9640]
jne 0x41e9c0
call fcn.0040558f
mov eax, dword [0x4d963c]
cmp eax, dword [0x4d9638]
jb 0x41e9d5
mov ecx, dword [0x4d9d04]
mov dword [eax], ecx
mov eax, dword [0x4d963c]
mov esi, dword [esp + 0x14]
add eax, 0xc
mov dword [0x4d963c], eax
mov dword [eax], ebx
mov dword [eax + 4], str.OnExit
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0xa90]
mov byte [esp + 0x13], 1
mov byte [0x4d60d4], bl
cmp ecx, ebx
je 0x41ea17
call fcn.00401300
test eax, eax
je 0x41ea17
cmp byte [0x4d60d4], bl
jne 0x41ea17
mov byte [esp + 0x13], bl
mov byte [0x4d60d4], 1
cmp byte [esp + 0x13], bl
je 0x41ea70
mov dword [esp + 0x20], ebx
call fcn.0044eee0
mov dword [esp + 0x18], eax
mov eax, dword [0x4daf84]
cdq
mov dword [esp + 0x2c], edx
xor edx, edx
cmp dword [esi + 0xa90], ebx
mov dword [esp + 0x28], eax
sete dl
lea eax, [esp + 0x18]
lea ebx, [esi + 0xa5c]
mov dword [esp + 0x30], 1
push edx
push 2
push eax
call fcn.0047a400
xor ebx, ebx
cmp eax, 3
jne 0x41ea70
mov byte [esp + 0x13], bl
mov eax, dword [0x4d963c]
sub eax, 0xc
mov dword [0x4d963c], eax
cmp eax, dword [0x4d9638]
jb 0x41ea91
mov eax, dword [eax]
mov dword [0x4d964c], eax
mov dword [0x4d9d04], eax
mov byte [0x4da3cf], bl
cmp byte [esp + 0x13], bl
jne 0x41eac4
cmp dword [ebp + 8], 0xffffffff
jle 0x41eac4
lea ecx, [esp + 0x38]
push ecx
call fcn.00403b70
add esp, 4
mov dword [0x4d4a1c], edi
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
push esi
call fcn.0041eb20
cmp byte [0x4d60d4], bl
jne 0x41eb08
cmp eax, 6
jne 0x41eb08
mov ecx, dword [0x4d8630]
cmp word [ecx], bx
je 0x41eaf3
mov edx, dword [ebp + 0xc]
mov dword [0x4daf84], edx
pop edi
pop esi
mov byte [0x4d60d4], 1
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0041eb20
int3
Function at 0x425bf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4d4a38]
push esi
mov eax, 0x20
push edi
mov word [esp + 8], ax
mov word [esp + 0xa], cx
mov dword [esp + 0xc], 0x90028
mov dword [esp + 0x10], 0x3e003c
mov dword [esp + 0x14], 0x3d003a
mov dword [esp + 0x18], 0x2d002b
mov dword [esp + 0x1c], 0x2f002a
mov dword [esp + 0x20], 0x7e0021
mov dword [esp + 0x24], 0x7c0026
mov dword [esp + 0x28], 0x5b005e
mov dword [esp + 0x2c], 0x3f002e
mov dword [esp + 0x30], 0x7b
mov edi, edx
test edx, edx
je 0x425c9d
movzx eax, word [edx]
test ax, ax
je 0x425c9d
lea esp, [esp]
movzx esi, ax
lea ecx, [esp + 8]
mov eax, 0x20
lea esp, [esp]
cmp si, ax
je 0x425d03
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x425c80
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425c70
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425ca2
sub eax, esi
sar eax, 1
lea edi, [edx + eax*2 - 2]
cmp edi, edx
jbe 0x425cd4
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x425ccd
cmp eax, 9
jne 0x425cd4
sub edi, 2
cmp edi, edx
ja 0x425cc0
mov esi, edi
sub esi, edx
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x425d0c
cmp byte [esp + 0x3c], 0
je 0x425cf9
mov ecx, dword [esp + 0x38]
push edx
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0043a280
xor eax, eax
pop edi
pop esi
add esp, 0x2c
ret 8
cmp edi, edx
jbe 0x425cd4
add edi, 0xfffffffe
jmp 0x425cb5
push esi
push edx
push ebx
call fcn.0049c904
add esp, 0xc
xor edx, edx
mov eax, edi
pop edi
mov word [ebx + esi*2], dx
pop esi
add esp, 0x2c
ret 8
Function at 0x42b050
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10004
call fcn.004a7660
mov eax, dword [esp + 0x10008]
push esi
push edi
push eax
push ecx
push 0x4b8810
mov esi, 0x8001
lea edi, [esp + 0x14]
call fcn.0047f670
add esp, 0xc
mov edx, edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b0c0
test al, 0x10
je 0x42b0c0
lea eax, [esi + esi + 0x204]
call fcn.0047c690
mov dword [ebx], eax
test eax, eax
je 0x42b0c0
lea ecx, [esi + esi + 2]
push ecx
mov edx, edi
push edx
push eax
call fcn.004a3680
add esp, 0xc
pop edi
mov dword [ebx + 4], esi
pop esi
add esp, 0x10004
ret 4
pop edi
mov dword [ebx], 0x4af9ac
pop esi
add esp, 0x10004
ret 4
Function at 0x43a7d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4004
call fcn.004a7660
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x43a8ff
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x43a802
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43a80c
movzx edx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x43a819
mov edx, dword [ecx + 0x270]
movzx eax, word [ecx + 0x274]
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [0x4d95c4]
mov edx, dword [ecx + edx*4]
movzx eax, ax
push eax
push edx
push str._s___d__:___Warning:__s_n
mov esi, 0x2000
lea edi, [esp + 0x20]
call fcn.0047f670
mov esi, dword [ebp + 0x10]
add esp, 0x10
cmp word [esi], 0
lea edi, [esp + eax*2 + 0x10]
je 0x43a870
lea ecx, [esp + 0x10]
mov eax, edi
push esi
sub eax, ecx
sar eax, 1
mov esi, 0x2000
push str._____Specifically:__s_n
sub esi, eax
call fcn.0047f670
mov esi, dword [ebp + 0x10]
add esp, 8
mov edi, dword [ebp + 8]
cmp edi, 3
jne 0x43a896
mov edx, dword [esp + 0xc]
push 0x4b6388
push 0
push edx
lea esi, [esp + 0x1c]
call fcn.00439df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x4d9674], 0
je 0x43a8b3
push str.stderr
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4d9638
call fcn.0040857b
cmp dword [0x4d9674], 2
je 0x43a8c7
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp edi, 2
jne 0x43a8ff
test ebx, ebx
jne 0x43a8de
mov ecx, dword [esp + 0xc]
mov ebx, dword [ecx + 0x634]
test ebx, ebx
je 0x43a8f5
mov edx, dword [ebp + 0xc]
push esi
push 1
push edx
mov ecx, ebx
call fcn.00439fb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
push esi
push eax
call fcn.0043a280
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43ad40
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 0x43ad67
push 0x64
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43ad71
xor edx, edx
mov word [esp + 0x120], dx
mov esi, dword [0x4da170]
xor eax, eax
mov word [esp + 0x20], ax
test esi, esi
je 0x43ae28
cmp byte [esi + 0x12], 0
je 0x43adc9
mov ecx, dword [esi]
push ecx
call fcn.0047a300
add esp, 4
sub eax, 0
je 0x43adad
dec eax
je 0x43ada6
mov eax, 0x4b94c0
jmp 0x43adb2
mov edx, dword [esi]
mov eax, dword [edx + 4]
jmp 0x43adb2
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
push 0x4ba398
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.0047f6b0
add esp, 8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x43ad86
cmp word [esp + 0x20], si
je 0x43ae28
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ade0
sub eax, edx
sar eax, 1
cmp eax, 0x7b
jbe 0x43ae16
mov esi, 0x7f
sub esi, eax
push esi
lea edi, [esp + eax*2 + 0x24]
push 0x4b51c8
push edi
call fcn.0049c904
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
jmp 0x43ae28
cmp word [esp + eax*2 + 0x1e], 0x20
lea eax, [esp + eax*2 + 0x20]
jne 0x43ae28
xor edx, edx
mov word [eax - 2], dx
mov eax, dword [0x4d71d0]
cmp byte [eax + 0xf8], 0
je 0x43ae47
cmp byte [0x4da1b5], 0
mov dword [esp + 0x14], 1
je 0x43ae4f
mov dword [esp + 0x14], 0
mov eax, dword [0x4d8814]
mov dword [esp + 0x18], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x43af6d
mov dword [esp + 0x18], 0x4af9ac
xor ebp, ebp
cmp dword [0x4d87d4], 0
mov edi, 0x4b2d90
je 0x43ae82
mov edi, 0x4b2d88
cmp dword [0x4d87d0], 0
mov esi, 0x4b2d90
je 0x43ae95
mov esi, 0x4b2d88
push 1
call fcn.00418780
mov bl, al
add esp, 4
lea eax, [esp + 0x1e8]
call fcn.00418b70
mov ecx, dword [0x4d8810]
mov edx, dword [0x4d8814]
push eax
mov eax, dword [0x4d8818]
sub eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [0x4da178]
push ecx
mov ecx, dword [0x4da17c]
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.0047f670
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.0040ea10
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43af22
sub eax, edx
sar eax, 1
cmp dword [0x4d8eb8], 0
lea edi, [esi + eax*2]
mov eax, str._r_nPress__F5__to_refresh.
jne 0x43af47
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.0047f670
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 0x43ae6f
Function at 0x440ad0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x20]
call fcn.0044dd10
mov edi, eax
test edi, edi
je 0x440af9
mov esi, dword [esp + 0x18]
push edi
call fcn.00484330
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x440b42
mov ecx, dword [0x4d4b14]
test byte [ecx + 0x100], 1
jne 0x440b26
mov edx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4b355c
push edx
call fcn.00482920
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov edi, dword [esp + 0x14]
push 0x4af9ac
push 0
push 0x4b355c
call fcn.00439ba0
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push 0
push edi
xor bl, bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
test ebp, ebp
je 0x440b7a
cmp ebp, dword [0x4d969c]
je 0x440b7a
mov esi, edi
call fcn.00484870
test al, al
jne 0x440b7a
mov eax, dword [0x4d969c]
push 1
push ebp
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne bl
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x440bb8
mov edx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4af9bc
push edx
call fcn.00482920
mov eax, dword [0x4d4b14]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x440bb8
push 1
push eax
call fcn.004014c0
add esp, 8
test bl, bl
je 0x440bcc
mov ecx, dword [0x4d969c]
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
Function at 0x441910
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.0041c200
mov dword [esp + 0x10], eax
test eax, eax
jne 0x441945
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.00439fb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
dec eax
cmp eax, 4
ja case.default.0x44194f
jmp dword [eax*4 + 0x441b40]
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
je 0x441966
call fcn.0045f490
jmp 0x44196c
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4d8ea8]
call fcn.00401140
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
call fcn.0045f490
mov ebx, eax
test ebx, ebx
je 0x4419e0
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x4419e0
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 [0x4d8ea8]
push 0x18
push 0
push esi
call fcn.00401140
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4af9bc
push eax
call fcn.00482920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx ecx, word [ebx]
push ecx
call fcn.0049bec3
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x441a1d.67
movzx edx, byte [eax + 0x441b70]
jmp dword [edx*4 + 0x441b54]
mov esi, 0x40
jmp 0x441a4c
mov esi, 0x4000
jmp 0x441a4c
mov esi, 0x20
jmp 0x441a4c
mov esi, 0x8000
jmp 0x441a4c
mov esi, 0x80
jmp 0x441a4c
mov esi, pe_nt_image_headers32
mov ebx, dword [ebp + 0xc]
cmp word [ebx], 0
je 0x441a5c
call fcn.0045f490
jmp 0x441a62
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x4419e0
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x4419e0
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SetPriorityClass]
jmp 0x4419b4
mov ecx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4af9bc
push ecx
call fcn.00482920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [ebx], 0
je 0x441adc
mov esi, ebx
mov byte [esp + 0xf], 0
call fcn.0041a210
fmul qword [0x4cece0]
call fcn.004aa1c0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x441ae3
mov byte [esp + 0xf], 1
xor edi, edi
mov ebx, dword [ebp + 0xc]
call fcn.0045f490
cmp dword [esp + 0x10], 4
mov esi, eax
jne 0x441afe
test esi, esi
jne 0x4419c3
jmp 0x441b06
test esi, esi
je 0x4419e0
cmp byte [esp + 0xf], 0
jne 0x441b24
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, edi
sub edx, eax
cmp edx, 5
jle 0x4419c3
push 1
push 0x64
call fcn.004014c0
add esp, 8
jmp 0x441ae3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x442410
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4d85e0]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.0044dd10
mov edi, eax
test edi, edi
je 0x442436
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [eax + 1]
jmp 0x44243b
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.00482920
cmp eax, 1
je 0x442459
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x4424eb
push ebp
push 0
push 1
call fcn.00401280
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x442482
mov edi, dword [esi + 0xc]
jmp 0x442484
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x44249c
test byte [edi + 0x15], 8
je 0x442497
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x4424a1
mov eax, 0x4da3c8
lea edx, [ebp + ebp]
mov dword [eax], edx
cmp byte [esi + 0x17], 0
jne 0x4424b2
mov edi, dword [esi + 0xc]
jmp 0x4424b4
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x4424cc
test byte [edi + 0x15], 8
je 0x4424c7
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x4424d1
mov eax, 0x4da3c8
test dword [eax], 0xfffffffe
jne 0x442528
push 0
push 1
mov ecx, esi
call fcn.00401280
xor ecx, ecx
mov word [eax], cx
jmp 0x442528
push 0
push 1
call fcn.00401280
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], dl
jne 0x442503
mov edi, dword [esi + 0xc]
jmp 0x442505
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x44251d
test byte [edi + 0x15], 8
je 0x442518
mov eax, edi
call fcn.004011c0
lea eax, [edi + 0xc]
jmp 0x442522
mov eax, 0x4da3c8
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x442531
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x442551
cmp dword [0x4d96c0], 0
je 0x442551
mov ecx, 0x4d96b4
call fcn.004050b0
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 0x4432e0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004a7660
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
push esi
mov esi, dword [0x4d85e0]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x443394
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.00482920
test eax, eax
jne 0x443332
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
push edi
push 0
push 1
mov ecx, esi
call fcn.00401280
push eax
push ebx
call ebp
test eax, eax
jne 0x443355
push eax
push 1
mov ecx, esi
call fcn.00401280
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], 0
jne 0x44335e
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x443381
cmp dword [0x4d96c0], 0
je 0x443381
mov ecx, 0x4d96b4
call fcn.004050b0
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x4433a1
mov eax, 0x4af9ac
push 1
push 0
push edi
push eax
push esi
call fcn.00482920
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
Function at 0x445800
Capabilities:
Check if file exists
Get file attributes
Set current directory

Disassembly:
sub esp, 0x288
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [0x4da1a8]
push eax
mov edi, 0x4af9ac
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push esi
call ebp
cmp eax, 0xffffffff
setne bl
test bl, bl
jne 0x445867
lea ecx, [esp + 0x90]
push ecx
call fcn.00445db0
add esp, 4
test eax, eax
je 0x44585a
lea edx, [esp + 0x90]
push edx
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
push esi
call ebp
cmp eax, 0xffffffff
jne 0x445867
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x288
ret
cmp byte [esp + 0x29c], 0
je 0x445892
test bl, bl
je 0x445892
push esi
push str._script__s
mov esi, 0x40
lea edi, [esp + 0x18]
call fcn.0047f670
mov esi, dword [0x4da1a4]
add esp, 8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0x4d96d0
mov edx, esi
call fcn.0043af80
test eax, eax
mov eax, dword [0x4d5d34]
setne bl
test eax, eax
je 0x4458c1
mov eax, dword [eax]
test eax, eax
jne 0x4458c6
mov eax, 0x4af9ac
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x288
ret

Function at 0x445db0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push edi
xor edi, edi
lea eax, [esp + 0x14]
push eax
mov ecx, edi
or ecx, 1
push ecx
push 0
push str.SOFTWAREAutoHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x445df0
xor edx, edx
mov word [esp + 0x18], dx
xor eax, eax
jmp 0x445e55
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.InstallDir
push edx
mov dword [esp + 0x28], 0x208
call ebp
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x445e83
mov eax, dword [esp + 0x10]
test eax, eax
je 0x445e83
shr eax, 1
dec eax
mov dword [esp + 0x10], eax
cmp word [esp + eax*2 + 0x18], si
jne 0x445e63
test eax, eax
je 0x445e55
lea ecx, [esp + eax*2 + 0x16]
cmp word [ecx], 0
jne 0x445e4d
sub ecx, 2
dec eax
jne 0x445e41
mov dword [esp + 0x10], eax
test eax, eax
jne 0x445e8c
test edi, edi
jne 0x445e8c
mov edi, pe_nt_image_headers32
jmp 0x445dc8
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x445e7a
xor ecx, ecx
mov word [esp + 0x18], cx
xor eax, eax
jmp 0x445e55
xor edx, edx
mov word [esp + eax*2 + 0x18], dx
jmp 0x445e51
xor eax, eax
mov word [esp + 0x18], ax
jmp 0x445e55
mov esi, dword [esp + 0x224]
test esi, esi
je 0x445eaf
lea ecx, [esp + 0x18]
mov edx, ecx
sub esi, edx
nop
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x445ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret