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

Disassembly:
mov eax, dword [0x4c48c0]
add eax, 4
imul eax, eax, 0x110
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push eax
call fcn.0048da84
xor ebx, ebx
add esp, 4
mov dword [0x4c6fe0], eax
cmp eax, ebx
jne 0x415ec3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov esi, dword [0x4c48ec]
push 0x403910
mov edi, eax
push 0x4ef6d80
mov ecx, 0x44
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c84c8]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0xe
push ecx
mov dword [0x4c48ec], eax
call edi
cmp dword [ebp], ebx
jne 0x415f04
mov dword [esp + 0x14], 1
jmp 0x415fae
mov edx, dword [0x4c48ec]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [edx + 0xec], bl
call esi
mov ecx, dword [0x4c48ec]
mov dword [ecx + 0xdc], eax
mov dword [ecx + 0xe0], 0x64
cmp byte [0x4c861c], bl
jne 0x415f52
mov eax, dword [0x4c84c8]
push 0x403810
push 0x64
push 0xb
push eax
call edi
test eax, eax
setne cl
mov byte [0x4c861c], cl
mov byte [ebp + 0xacd], 1
call esi
mov ecx, dword [ebp]
push ebx
mov esi, 1
add dword [0x4c8634], esi
push ebx
push esi
mov dword [ebp + 0xae4], eax
mov dword [ebp + 0xae0], eax
call fcn.00424a80
sub dword [0x4c8634], esi
mov dword [esp + 0x14], eax
cmp byte [0x4c861c], bl
je 0x415fa8
mov edx, dword [0x4c84c8]
push 0xb
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x415fa8
mov byte [0x4c861c], bl
mov byte [ebp + 0xacd], bl
mov eax, dword [0x4c48ec]
cmp dword [eax + 0x100], ebx
lea ecx, [eax + 0x100]
je 0x415fda
mov eax, dword [eax + 0x104]
push eax
push ecx
call fcn.0042e5f0
mov dword [esp + 0x1c], eax
mov eax, dword [0x4c48ec]
add esp, 8
push 1
push ebx
mov byte [eax + 0xec], 1
mov esi, eax
push 0xffffffffffffffff
mov dword [eax + 0xb4], ebx
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], ebx
mov dword [eax + 0xc4], ebx
mov dword [eax + 0xc8], ebx
mov byte [eax + 0xf8], bl
mov dword [eax + 0x28], ebx
mov dword [eax + 0x4c], ebx
mov byte [eax + 0xe8], 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 + 0x100], ebx
mov byte [eax + 0x108], bl
mov ecx, 0x44
mov edi, 0x4c70f8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4c8cc4]
push 0x4a190c
push ecx
mov byte [eax + 0xec], 1
mov dword [eax + 0xe0], ebx
mov word [eax + 0xed], 1
mov dword [eax + 0x2c], SysReAllocString
call fcn.00477330
mov edx, dword [0x4c5acc]
cmp word [edx], bx
jne 0x4160b9
cmp dword [0x4c9ec8], ebx
jne 0x4160b9
cmp dword [0x4c85f8], ebx
jne 0x4160b9
cmp dword [0x4c85fc], ebx
jne 0x4160b9
cmp byte [0x4c8618], bl
jne 0x4160b9
mov edx, dword [esp + 0x14]
neg edx
sbb edx, edx
push ebx
and edx, 7
add edx, 2
push 0x4ca650
xor eax, eax
call fcn.00416100
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x4164c0
Capabilities:
Set current directory

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0xab4]
xor ebx, ebx
mov byte [edi + 0x274], 1
mov word [edi + 0xacc], 0
cmp eax, ebx
je 0x4166ce
cmp word [eax], bx
je 0x4166ce
cmp dword [0x4ca590], ebx
jne 0x416508
call fcn.00471a20
mov dword [0x4ca590], eax
cmp eax, ebx
je 0x416554
mov ecx, dword [0x4ca594]
cmp dword [ecx + 8], 0x14
jae 0x416526
call fcn.00471a20
mov ecx, dword [0x4ca594]
mov dword [ecx + 0xc], eax
cmp eax, ebx
je 0x416554
mov eax, dword [ecx + 4]
add dword [ecx + 8], 0xffffffec
lea edx, [eax + 0x14]
mov dword [0x4ca598], eax
mov dword [ecx + 4], edx
cmp eax, ebx
je 0x416554
mov dword [eax], vtable.Label.0
mov dword [eax + 4], 0x4a1838
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x416556
xor eax, eax
mov dword [edi + 0x634], eax
cmp eax, ebx
je 0x4166ce
mov ecx, 0x4a5f58
cmp byte [0x4c85eb], bl
jne 0x416577
mov ecx, dword [edi + 0xab4]
push edi
call fcn.00416840
cmp eax, 1
jne 0x4166ce
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c8b0
test eax, eax
je 0x4166ce
mov eax, dword [edi]
push edi
call fcn.00421ee0
test eax, eax
je 0x4166ce
mov eax, dword [edi]
mov esi, edi
call fcn.00421fa0
cmp dword [edi + 8], ebx
je 0x4165cc
mov ecx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [eax + 0x14], ecx
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [edi + 8]
mov dword [edi], ecx
cmp dword [edi + 0x1c], ebx
jle 0x4165ff
mov edx, dword [edi + 0x18]
mov ebp, dword [edx + ebx*4]
cmp byte [ebp + 0x3d], 0
jne 0x4165f7
mov eax, dword [ebp + 0x1c]
push ebp
lea esi, [ebp + 0x28]
push edi
call fcn.0042eb10
mov eax, dword [ebp + 0x20]
push ebp
lea esi, [ebp + 0x30]
push edi
call fcn.0042eb10
inc ebx
cmp ebx, dword [edi + 0x1c]
jl 0x4165d1
xor ebx, ebx
cmp dword [edi + 0x260], ebx
je 0x416628
call fcn.0041fa30
test eax, eax
je 0x4166ce
mov eax, dword [edi + 0x260]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x260], ebx
mov eax, dword [0x4c8ed0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
inc dword [edi + 0x270]
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c8b0
test eax, eax
je 0x4166ce
push ebx
push ebx
push ebx
push 0x68
push edi
call fcn.0041c8b0
test eax, eax
je 0x4166ce
mov ecx, dword [edi + 0x634]
mov edx, dword [edi + 4]
push ebx
push ebx
mov dword [ecx + 8], edx
mov eax, dword [edi]
push ebx
push eax
mov ecx, edi
call fcn.00422000
test eax, eax
je 0x4166ce
mov eax, dword [edi]
push edi
call fcn.00422320
test eax, eax
je 0x4166ce
push 3
push ebx
push 0x4a5f5c
mov ecx, edi
call fcn.004214e0
mov dword [0x4c8cc4], eax
cmp eax, ebx
je 0x4166ce
push 1
push ebx
push 0xffffffffffffffff
push 0x4a190c
push eax
call fcn.00477330
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x10]
call fcn.00412ba0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
Function at 0x41c690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov cx, word [0x4c48dc]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
push esi
mov word [esp + 0xc], ax
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 dword [esp + 0x38], 0x7b
call fcn.00409670
test eax, eax
je 0x41c719
cmp eax, ebp
jbe 0x41c733
sub eax, 2
jmp 0x41c733
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c720
sub eax, edx
sar eax, 1
lea eax, [ebp + eax*2 - 2]
mov edi, eax
cmp eax, ebp
jbe 0x41c754
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x20
je 0x41c74d
cmp eax, 9
jne 0x41c754
sub edi, 2
cmp edi, ebp
ja 0x41c740
mov esi, edi
sub esi, ebp
sar esi, 1
inc esi
cmp esi, 0xfd
jbe 0x41c785
cmp byte [esp + 0x4c], 0
je 0x41c779
mov ecx, dword [esp + 0x40]
push ebp
push str.This_line_does_not_contain_a_recognized_action.
call fcn.0042e400
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.004906f4
add esp, 0xc
xor ecx, ecx
mov eax, edi
pop edi
mov word [ebx + esi*2], cx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x42b290
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, dword [0x4c8634]
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
cmp eax, dword [0x4c48c0]
jl 0x42b2b9
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov esi, dword [0x4c8cc4]
cmp byte [esi + 0x17], 0
jne 0x42b2c8
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x42b2d5
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42b2ee
test byte [esi + 0x15], 4
je 0x42b2e9
mov eax, esi
call fcn.0042e9b0
mov eax, dword [esi + 8]
jmp 0x42b2fe
cmp al, 2
jne 0x42b2f9
call fcn.00401000
jmp 0x42b2fe
mov eax, 0x4ca5c8
push 0x7f
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004906f4
mov eax, dword [0x4c48ec]
inc dword [0x4c8634]
add eax, 0x110
xor edx, edx
mov edi, eax
mov word [esp + 0x122], dx
mov ecx, 0x44
mov esi, 0x4c70f8
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor ebx, ebx
mov dword [0x4c48ec], eax
push ebx
mov eax, 0x4ca650
mov dword [esi + 0x2c], ebx
call fcn.00415d90
mov dword [0x4cb120], ebx
mov dword [0x4cb124], ebx
cmp dword [0x4c8664], ebx
je 0x42b36c
push 0x4c8cc8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or eax, 0xffffffff
cmp byte [esi + 0xee], bl
jne 0x42b386
mov byte [esi + 0xee], 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 [0x4cb12c], ebx
je 0x42b39c
cmp dword [0x4cb128], ebx
jne 0x42b3a4
cmp byte [esi + 0xee], bl
je 0x42b3cd
mov byte [esi + 0xec], bl
cmp byte [esi + 0xee], bl
jne 0x42b3cd
cmp dword [0x4cb12c], ebx
jl 0x42b3c7
call edi
mov dword [esi + 0xdc], eax
mov eax, dword [0x4cb12c]
mov dword [esi + 0xe0], eax
mov eax, dword [0x4cb0a0]
mov ebx, dword [0x4cb0a4]
mov ecx, dword [0x4cb0f8]
mov edx, dword [0x4cb0fc]
mov ebp, eax
mov dword [0x4cb0a4], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [0x4cb0fc], ecx
mov dword [0x4cb0a0], eax
call edi
mov esi, dword [esp + 0x120]
mov ecx, dword [0x4c48ec]
mov dword [0x4cb134], eax
mov dword [0x4cb130], eax
mov dword [0x4cb0f8], eax
mov dword [0x4cac80], esi
cmp byte [ecx + 0xf9], 0
je 0x42b467
mov edx, dword [0x4ca570]
mov dword [edx*4 + 0x4c9f30], esi
call edi
mov ecx, dword [0x4ca570]
mov dword [ecx*4 + 0x4c7dd0], eax
inc ecx
mov dword [0x4ca570], ecx
cmp ecx, 0x190
jl 0x42b467
mov dword [0x4ca570], 0
push 0
push 0xffffffffffffffff
push 0
push esi
call fcn.0045aa50
mov esi, eax
cmp esi, 1
jne 0x42b489
mov eax, dword [esp + 0x120]
push eax
call fcn.004298e0
mov esi, eax
mov ecx, dword [0x4c48ec]
mov edx, dword [ecx + 0xc4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x4c8654], edx
lea edx, [esp + 0x18]
push edx
mov dword [0x4cb0a0], ebp
mov dword [0x4cb0f8], eax
mov dword [0x4cb0a4], ebx
mov dword [0x4cb0fc], ecx
call fcn.004036c0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
Function at 0x42e880
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4000
call fcn.004991f0
cmp dword [esp + 0x4008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x4018]
mov ebx, ecx
je 0x42e9a3
test ebx, ebx
jne 0x42e8b8
mov eax, dword [esp + 0x400c]
mov ebx, dword [eax + 0x630]
test ebx, ebx
je 0x42e8c2
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42e8cf
mov ecx, dword [eax + 0x26c]
movzx eax, word [eax + 0x270]
mov edx, dword [esp + 0x4014]
mov ecx, dword [ecx*4 + 0x4c8460]
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.00474580
add esp, 0x10
cmp word [ebp], 0
lea edi, [esp + eax*2 + 0x10]
je 0x42e920
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.00474580
add esp, 8
mov esi, dword [esp + 0x4018]
cmp esi, 3
jne 0x42e94f
call fcn.0048dfad
add eax, 0x20
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0048f9d9
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 0x42e9a1
test ebx, ebx
jne 0x42e974
mov ecx, dword [esp + 0x4014]
mov ebx, dword [ecx + 0x630]
test ebx, ebx
je 0x42e993
mov eax, dword [esp + 0x401c]
push ebp
push 1
push eax
mov ecx, ebx
call fcn.0042e140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
mov edx, dword [esp + 0x401c]
push ebp
push edx
call fcn.0042e400
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
Function at 0x4356b0
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.004433b0
mov edi, eax
test edi, edi
je 0x4356de
mov esi, dword [esp + 0x1c]
push edi
call fcn.00478cd0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x435729
mov ecx, dword [0x4c48ec]
cmp byte [ecx + 0x108], 0
jne 0x43570c
mov edx, dword [0x4c8cc4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a4324
push edx
call fcn.00477330
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x4a1838
push 0
push 0x4a4324
call fcn.0042de80
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 0x435761
cmp ebp, dword [0x4ca5dc]
je 0x435761
mov esi, edi
call fcn.004791f0
test al, al
jne 0x435761
mov eax, dword [0x4ca5dc]
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 0x43579f
mov edx, dword [0x4c8cc4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a190c
push edx
call fcn.00477330
mov eax, dword [0x4c48ec]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x43579f
push 1
push eax
call fcn.00401360
add esp, 8
test bl, bl
je 0x4357b3
mov ecx, dword [0x4ca5dc]
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 0x436610
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.004301d0
mov ebx, eax
test ebx, ebx
jne 0x436643
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042e140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x43664f
jmp dword [eax*4 + 0x436848]
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x43666a
push eax
call fcn.00454c60
add esp, 4
jmp 0x436670
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4c8cc4]
call fcn.004010e0
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.00454c60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4366e8
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4366e8
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 [0x4c8cc4]
push 0x18
push 0
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4c8cc4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a190c
push ecx
call fcn.00477330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx edx, word [edi]
push edx
call fcn.0048fb4d
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x436726.67
movzx eax, byte [eax + 0x436878]
jmp dword [eax*4 + 0x43685c]
mov esi, 0x40
jmp 0x436755
mov esi, 0x4000
jmp 0x436755
mov esi, 0x20
jmp 0x436755
mov esi, 0x8000
jmp 0x436755
mov esi, 0x80
jmp 0x436755
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x436769
push eax
call fcn.00454c60
add esp, 4
jmp 0x43676f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x4366e8
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4366e8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x4366bc
mov edx, dword [0x4c8cc4]
push 1
push 0
push 0xffffffffffffffff
push 0x4a190c
push edx
call fcn.00477330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [edi], 0
je 0x4367e9
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00413180
fmul qword [0x4be5d8]
call fcn.0049c320
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x4367f0
mov byte [esp + 0x13], 1
xor edi, edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.00454c60
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43680d
test esi, esi
jne 0x4366cb
jmp 0x436811
test esi, esi
je case.0x436726.67
cmp byte [esp + 0x13], 0
jne 0x43682f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x4366cb
push 1
push 0x64
call fcn.00401360
add esp, 8
jmp 0x4367f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4370c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4c8410]
push eax
mov eax, dword [esp + 0x18]
call fcn.004433b0
mov ebp, eax
test ebp, ebp
je 0x4370e6
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
jmp 0x4370eb
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
push edi
call fcn.00477330
cmp eax, 1
je 0x437109
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x43721e
cmp byte [edi + 0x17], 0
jne 0x43711c
mov esi, dword [edi + 0xc]
jmp 0x43711e
mov esi, edi
test byte [esi + 0x15], 8
je 0x43712b
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437144
test byte [esi + 0x15], 4
je 0x43713f
mov eax, esi
call fcn.0042e9b0
mov eax, dword [esi + 8]
jmp 0x437154
cmp al, 2
jne 0x43714f
call fcn.00401000
jmp 0x437154
mov eax, 0x4ca5c8
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x43716a
mov esi, dword [edi + 0xc]
jmp 0x43716c
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x437184
test byte [esi + 0x15], 8
je 0x43717f
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x437189
mov eax, 0x4cb318
lea edx, [ebx + ebx]
mov dword [eax], edx
cmp byte [edi + 0x17], 0
jne 0x437199
mov esi, dword [edi + 0xc]
jmp 0x43719b
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x4371b3
test byte [esi + 0x15], 8
je 0x4371ae
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x4371b8
mov eax, 0x4cb318
test dword [eax], 0xfffffffe
jne 0x437295
cmp byte [edi + 0x17], 0
jne 0x4371cf
mov esi, dword [edi + 0xc]
jmp 0x4371d1
mov esi, edi
test byte [esi + 0x15], 8
je 0x4371de
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4371ff
test byte [esi + 0x15], 4
je 0x4371f2
mov eax, esi
call fcn.0042e9b0
mov eax, dword [esi + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x437295
cmp al, 2
jne 0x437212
call fcn.00401000
xor ecx, ecx
mov word [eax], cx
jmp 0x437295
mov eax, 0x4ca5c8
xor ecx, ecx
mov word [eax], cx
jmp 0x437295
cmp byte [edi + 0x17], 0
jne 0x437229
mov esi, dword [edi + 0xc]
jmp 0x43722b
mov esi, edi
test byte [esi + 0x15], 8
je 0x437238
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x437251
test byte [esi + 0x15], 4
je 0x43724c
mov eax, esi
call fcn.0042e9b0
mov eax, dword [esi + 8]
jmp 0x437261
cmp al, 2
jne 0x43725c
call fcn.00401000
jmp 0x437261
mov eax, 0x4ca5c8
xor edx, edx
mov word [eax], dx
cmp byte [edi + 0x17], dl
jne 0x437270
mov esi, dword [edi + 0xc]
jmp 0x437272
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x43728a
test byte [esi + 0x15], 8
je 0x437285
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x43728f
mov eax, 0x4cb318
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x43729e
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x4372be
cmp dword [0x4ca600], 0
je 0x4372be
mov ecx, 0x4ca5f4
call fcn.00404310
pop edi
pop esi
pop ebp
pop ebx
ret 4
and byte [edi + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x4380f0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004991f0
push ebp
mov ebp, dword [0x4c8410]
push esi
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp edi, 0x7fff
jb 0x43821a
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push ebp
call fcn.00477330
test eax, eax
jne 0x438140
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
cmp byte [ebp + 0x17], 0
jne 0x43814b
mov esi, dword [ebp + 0xc]
jmp 0x43814d
mov esi, ebp
test byte [esi + 0x15], 8
je 0x43815a
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x438173
test byte [esi + 0x15], 4
je 0x43816e
mov eax, esi
call fcn.0042e9b0
mov eax, dword [esi + 8]
jmp 0x438183
cmp al, 2
jne 0x43817e
call fcn.00401000
jmp 0x438183
mov eax, 0x4ca5c8
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4381d7
cmp byte [ebp + 0x17], al
jne 0x43819a
mov esi, dword [ebp + 0xc]
jmp 0x43819c
mov esi, ebp
test byte [esi + 0x15], 8
je 0x4381a9
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4381c2
test byte [esi + 0x15], 4
je 0x4381bd
mov eax, esi
call fcn.0042e9b0
mov eax, dword [esi + 8]
jmp 0x4381d2
cmp al, 2
jne 0x4381cd
call fcn.00401000
jmp 0x4381d2
mov eax, 0x4ca5c8
xor edx, edx
mov word [eax], dx
cmp byte [ebp + 0x17], 0
jne 0x4381e2
mov eax, dword [ebp + 0xc]
jmp 0x4381e4
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x438207
cmp dword [0x4ca600], 0
je 0x438207
mov ecx, 0x4ca5f4
call fcn.00404310
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
and byte [eax + 0x15], 0x86
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x438227
mov eax, 0x4a1838
push 1
push 0
push edi
push eax
push ebp
call fcn.00477330
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
Function at 0x43aa10
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 0x43aa50
xor edx, edx
mov word [esp + 0x18], dx
xor eax, eax
jmp 0x43aab5
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 0x43aae3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43aae3
shr eax, 1
dec eax
mov dword [esp + 0x10], eax
cmp word [esp + eax*2 + 0x18], si
jne 0x43aac3
test eax, eax
je 0x43aab5
lea ecx, [esp + eax*2 + 0x16]
cmp word [ecx], 0
jne 0x43aaad
sub ecx, 2
dec eax
jne 0x43aaa1
mov dword [esp + 0x10], eax
test eax, eax
jne 0x43aaec
test edi, edi
jne 0x43aaec
mov edi, 0x100
jmp 0x43aa28
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x43aada
xor ecx, ecx
mov word [esp + 0x18], cx
xor eax, eax
jmp 0x43aab5
xor edx, edx
mov word [esp + eax*2 + 0x18], dx
jmp 0x43aab1
xor eax, eax
mov word [esp + 0x18], ax
jmp 0x43aab5
mov esi, dword [esp + 0x224]
test esi, esi
je 0x43ab0f
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 0x43ab00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret