joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e9e0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4000
call fcn.004992b0
cmp dword [esp + 0x4008], 0
push ebx
push ebp
mov ebp, dword [esp + 0x4018]
mov ebx, ecx
je 0x42eb03
test ebx, ebx
jne 0x42ea18
mov eax, dword [esp + 0x400c]
mov ebx, dword [eax + 0x630]
test ebx, ebx
je 0x42ea22
movzx ecx, word [ebx + 2]
movzx eax, word [ebx + 4]
jmp 0x42ea2f
mov ecx, dword [eax + 0x26c]
movzx eax, word [eax + 0x270]
mov edx, dword [esp + 0x4014]
mov ecx, dword [ecx*4 + 0x4c8440]
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.004745b0
add esp, 0x10
cmp word [ebp], 0
lea edi, [esp + eax*2 + 0x10]
je 0x42ea80
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.004745b0
add esp, 8
mov esi, dword [esp + 0x4018]
cmp esi, 3
jne 0x42eaaf
call fcn.0048e06d
add eax, 0x20
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0048fa99
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 0x42eb01
test ebx, ebx
jne 0x42ead4
mov ecx, dword [esp + 0x4014]
mov ebx, dword [ecx + 0x630]
test ebx, ebx
je 0x42eaf3
mov eax, dword [esp + 0x401c]
push ebp
push 1
push eax
mov ecx, ebx
call fcn.0042e2a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
mov edx, dword [esp + 0x401c]
push ebp
push edx
call fcn.0042e560
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4000
ret 0x10
Function at 0x42ef10
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 0x42ef37
push 0x64
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42ef41
xor edx, edx
mov word [esp + 0x120], dx
mov esi, dword [0x4cb0a4]
xor eax, eax
mov word [esp + 0x20], ax
test esi, esi
je 0x42eff8
cmp byte [esi + 0x11], 0
je 0x42ef99
mov ecx, dword [esi]
push ecx
call fcn.0046f9c0
add esp, 4
sub eax, 0
je 0x42ef7d
dec eax
je 0x42ef76
mov eax, str.Object
jmp 0x42ef82
mov edx, dword [esi]
mov eax, dword [edx + 4]
jmp 0x42ef82
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
push 0x4a95b8
mov eax, 0x7d
lea ecx, [esp + 0x28]
call fcn.004745f0
add esp, 8
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x42ef56
cmp word [esp + 0x20], si
je 0x42eff8
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42efb0
sub eax, edx
sar eax, 1
cmp eax, 0x7b
jbe 0x42efe6
mov esi, 0x7f
sub esi, eax
push esi
lea edi, [esp + eax*2 + 0x24]
push 0x4a58e4
push edi
call fcn.004907b4
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
jmp 0x42eff8
cmp word [esp + eax*2 + 0x1e], 0x20
lea eax, [esp + eax*2 + 0x20]
jne 0x42eff8
xor edx, edx
mov word [eax - 2], dx
mov eax, dword [0x4c6fc0]
cmp byte [eax + 0xf8], 0
je 0x42f017
cmp byte [0x4cb0e5], 0
mov dword [esp + 0x14], 1
je 0x42f01f
mov dword [esp + 0x14], 0
mov eax, dword [0x4c8618]
mov dword [esp + 0x18], str.__preempted:_they_will_resume_when_the_current_thread_finishes_
cmp eax, 1
jg 0x42f13d
mov dword [esp + 0x18], 0x4ac2b4
xor ebp, ebp
cmp dword [0x4c85dc], 0
mov edi, 0x4a3a30
je 0x42f052
mov edi, 0x4a3a28
cmp dword [0x4c85d8], 0
mov esi, 0x4a3a30
je 0x42f065
mov esi, 0x4a3a28
push 1
call fcn.004118d0
mov bl, al
add esp, 4
lea eax, [esp + 0x1e8]
call fcn.00411c90
mov ecx, dword [0x4c8614]
mov edx, dword [0x4c8618]
push eax
mov eax, dword [0x4c861c]
sub eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [0x4cb0ac]
push ecx
mov ecx, dword [0x4cb0b0]
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.004745b0
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.00409430
mov eax, esi
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f0f2
sub eax, edx
sar eax, 1
cmp dword [0x4c8ebc], 0
lea edi, [esi + eax*2]
mov eax, str._r_nPress__F5__to_refresh.
jne 0x42f117
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.004745b0
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 0x42f03f
Function at 0x435860
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.00442e90
mov edi, eax
test edi, edi
je 0x43588e
mov esi, dword [esp + 0x1c]
push edi
call fcn.00478d70
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4358d9
mov ecx, dword [0x4c49ac]
cmp byte [ecx + 0x108], 0
jne 0x4358bc
mov edx, dword [0x4c8ca8]
push 1
push 0
push 0xffffffffffffffff
push 0x4a4480
push edx
call fcn.004773d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [esp + 0x18]
push 0x4ac2b4
push 0
push 0x4a4480
call fcn.0042dfe0
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 0x435911
cmp ebp, dword [0x4ca5c0]
je 0x435911
mov esi, edi
call fcn.00479290
test al, al
jne 0x435911
mov eax, dword [0x4ca5c0]
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 0x43594f
mov edx, dword [0x4c8ca8]
push 1
push 0
push 0xffffffffffffffff
push 0x4a1928
push edx
call fcn.004773d0
mov eax, dword [0x4c49ac]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x43594f
push 1
push eax
call fcn.00401360
add esp, 8
test bl, bl
je 0x435963
mov ecx, dword [0x4ca5c0]
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 0x4367c0
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.004303d0
mov ebx, eax
test ebx, ebx
jne 0x4367f3
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042e2a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x4367ff
jmp dword [eax*4 + 0x4369f8]
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x43681a
push eax
call fcn.004546f0
add esp, 4
jmp 0x436820
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4c8ca8]
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.004546f0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436898
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436898
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 [0x4c8ca8]
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 [0x4c8ca8]
push 1
push 0
push 0xffffffffffffffff
push 0x4a1928
push ecx
call fcn.004773d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx edx, word [edi]
push edx
call fcn.0048fc0d
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x4368d6.67
movzx eax, byte [eax + 0x436a28]
jmp dword [eax*4 + 0x436a0c]
mov esi, 0x40
jmp 0x436905
mov esi, 0x4000
jmp 0x436905
mov esi, 0x20
jmp 0x436905
mov esi, 0x8000
jmp 0x436905
mov esi, 0x80
jmp 0x436905
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x436919
push eax
call fcn.004546f0
add esp, 4
jmp 0x43691f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x436898
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x436898
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x43686c
mov edx, dword [0x4c8ca8]
push 1
push 0
push 0xffffffffffffffff
push 0x4a1928
push edx
call fcn.004773d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [edi], 0
je 0x436999
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00413350
fmul qword [0x4be898]
call fcn.0049c3e0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x4369a0
mov byte [esp + 0x13], 1
xor edi, edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.004546f0
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x4369bd
test esi, esi
jne 0x43687b
jmp 0x4369c1
test esi, esi
je case.0x4368d6.67
cmp byte [esp + 0x13], 0
jne 0x4369df
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43687b
push 1
push 0x64
call fcn.00401360
add esp, 8
jmp 0x4369a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437260
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x4c83f0]
push eax
mov eax, dword [esp + 0x18]
call fcn.00442e90
mov ebp, eax
test ebp, ebp
je 0x437286
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
jmp 0x43728b
mov ebx, 1
push 1
push 0
lea ecx, [ebx - 1]
push ecx
push 0
push edi
call fcn.004773d0
cmp eax, 1
je 0x4372a9
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
test ebp, ebp
je 0x4373be
cmp byte [edi + 0x17], 0
jne 0x4372bc
mov esi, dword [edi + 0xc]
jmp 0x4372be
mov esi, edi
test byte [esi + 0x15], 8
je 0x4372cb
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4372e4
test byte [esi + 0x15], 4
je 0x4372df
mov eax, esi
call fcn.0042eb10
mov eax, dword [esi + 8]
jmp 0x4372f4
cmp al, 2
jne 0x4372ef
call fcn.00401000
jmp 0x4372f4
mov eax, 0x4ca5ac
push ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [edi + 0x17], 0
mov ebx, eax
jne 0x43730a
mov esi, dword [edi + 0xc]
jmp 0x43730c
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x437324
test byte [esi + 0x15], 8
je 0x43731f
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x437329
mov eax, 0x4cb304
lea edx, [ebx + ebx]
mov dword [eax], edx
cmp byte [edi + 0x17], 0
jne 0x437339
mov esi, dword [edi + 0xc]
jmp 0x43733b
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x437353
test byte [esi + 0x15], 8
je 0x43734e
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x437358
mov eax, 0x4cb304
test dword [eax], 0xfffffffe
jne 0x437435
cmp byte [edi + 0x17], 0
jne 0x43736f
mov esi, dword [edi + 0xc]
jmp 0x437371
mov esi, edi
test byte [esi + 0x15], 8
je 0x43737e
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x43739f
test byte [esi + 0x15], 4
je 0x437392
mov eax, esi
call fcn.0042eb10
mov eax, dword [esi + 8]
xor ecx, ecx
mov word [eax], cx
jmp 0x437435
cmp al, 2
jne 0x4373b2
call fcn.00401000
xor ecx, ecx
mov word [eax], cx
jmp 0x437435
mov eax, 0x4ca5ac
xor ecx, ecx
mov word [eax], cx
jmp 0x437435
cmp byte [edi + 0x17], 0
jne 0x4373c9
mov esi, dword [edi + 0xc]
jmp 0x4373cb
mov esi, edi
test byte [esi + 0x15], 8
je 0x4373d8
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4373f1
test byte [esi + 0x15], 4
je 0x4373ec
mov eax, esi
call fcn.0042eb10
mov eax, dword [esi + 8]
jmp 0x437401
cmp al, 2
jne 0x4373fc
call fcn.00401000
jmp 0x437401
mov eax, 0x4ca5ac
xor edx, edx
mov word [eax], dx
cmp byte [edi + 0x17], dl
jne 0x437410
mov esi, dword [edi + 0xc]
jmp 0x437412
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x43742a
test byte [esi + 0x15], 8
je 0x437425
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x43742f
mov eax, 0x4cb304
mov dword [eax], 0
cmp byte [edi + 0x17], 0
jne 0x43743e
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 2
jne 0x43745e
cmp dword [0x4cb14c], 0
je 0x43745e
mov ecx, 0x4cb140
call fcn.00404340
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 0x4382b0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004992b0
push ebp
mov ebp, dword [0x4c83f0]
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 0x4383da
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push ebp
call fcn.004773d0
test eax, eax
jne 0x438300
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
cmp byte [ebp + 0x17], 0
jne 0x43830b
mov esi, dword [ebp + 0xc]
jmp 0x43830d
mov esi, ebp
test byte [esi + 0x15], 8
je 0x43831a
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x438333
test byte [esi + 0x15], 4
je 0x43832e
mov eax, esi
call fcn.0042eb10
mov eax, dword [esi + 8]
jmp 0x438343
cmp al, 2
jne 0x43833e
call fcn.00401000
jmp 0x438343
mov eax, 0x4ca5ac
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x438397
cmp byte [ebp + 0x17], al
jne 0x43835a
mov esi, dword [ebp + 0xc]
jmp 0x43835c
mov esi, ebp
test byte [esi + 0x15], 8
je 0x438369
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x438382
test byte [esi + 0x15], 4
je 0x43837d
mov eax, esi
call fcn.0042eb10
mov eax, dword [esi + 8]
jmp 0x438392
cmp al, 2
jne 0x43838d
call fcn.00401000
jmp 0x438392
mov eax, 0x4ca5ac
xor edx, edx
mov word [eax], dx
cmp byte [ebp + 0x17], 0
jne 0x4383a2
mov eax, dword [ebp + 0xc]
jmp 0x4383a4
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x4383c7
cmp dword [0x4cb14c], 0
je 0x4383c7
mov ecx, 0x4cb140
call fcn.00404340
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 0x4383e7
mov eax, 0x4ac2b4
push 1
push 0
push edi
push eax
push ebp
call fcn.004773d0
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
Function at 0x43a6f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [0x4cb0dc]
push ebx
push eax
push str.__s_s
mov esi, 0x800
call fcn.004745b0
mov esi, eax
lea ecx, [esi + 1]
add esp, 0xc
cmp ecx, 0x800
jg 0x43a747
lea edx, [edi + 2]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a747
mov edx, dword [esp + 0x14]
mov dword [edi + esi*2], 0x22
mov ecx, dword [0x4cb0dc]
pop edi
pop esi
mov dword [edx], ecx
mov al, 1
pop ebp
ret
push ebp
call fcn.0043ad40
add esp, 4
test eax, eax
je 0x43a797
push ebx
push ebp
push str.__s_s
mov esi, 0x800
call fcn.004745b0
mov esi, eax
lea edx, [esi + 1]
add esp, 0xc
cmp edx, 0x800
jg 0x43a797
lea eax, [edi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a797
mov eax, dword [esp + 0x14]
mov dword [edi + esi*2], 0x22
pop edi
mov dword [eax], ebp
pop esi
mov al, 1
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebp
ret

Function at 0x43a7a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x2214
call fcn.004992b0
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
lea ebp, [esp + 0x1224]
push ecx
mov eax, ebp
mov dword [esp + 0x18], 0x4ac2b4
call fcn.0043a6f0
add esp, 8
test al, al
jne 0x43a7de
pop edi
pop esi
pop ebp
add esp, 0x2214
ret
cmp byte [esp + 0x2224], 0
je 0x43a84e
mov edx, dword [esp + 0x14]
push 0x4aadd8
push edx
push str.__s_s
mov esi, 0x800
lea edi, [esp + 0x22c]
call fcn.004745b0
mov esi, eax
lea eax, [esi + 1]
add esp, 0xc
cmp eax, 0x800
jg 0x43a84e
lea ecx, [esp + 0x222]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a84e
mov edx, 0x22
xor eax, eax
lea ecx, [esp + 0x1220]
mov word [esp + esi*2 + 0x220], dx
mov word [esp + esi*2 + 0x222], ax
mov ebp, edi
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0x4ca618
mov edx, ebp
call fcn.0042f150
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebp
add esp, 0x2214
ret
Function at 0x43ad40
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 0x43ad80
xor edx, edx
mov word [esp + 0x18], dx
xor eax, eax
jmp 0x43ade5
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 0x43ae13
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ae13
shr eax, 1
dec eax
mov dword [esp + 0x10], eax
cmp word [esp + eax*2 + 0x18], si
jne 0x43adf3
test eax, eax
je 0x43ade5
lea ecx, [esp + eax*2 + 0x16]
cmp word [ecx], 0
jne 0x43addd
sub ecx, 2
dec eax
jne 0x43add1
mov dword [esp + 0x10], eax
test eax, eax
jne 0x43ae1c
test edi, edi
jne 0x43ae1c
mov edi, 0x100
jmp 0x43ad58
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x43ae0a
xor ecx, ecx
mov word [esp + 0x18], cx
xor eax, eax
jmp 0x43ade5
xor edx, edx
mov word [esp + eax*2 + 0x18], dx
jmp 0x43ade1
xor eax, eax
mov word [esp + 0x18], ax
jmp 0x43ade5
mov esi, dword [esp + 0x224]
test esi, esi
je 0x43ae3f
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 0x43ae30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
Function at 0x43e760
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x218
push ebx
push ebp
mov ebp, dword [0x4c83f0]
push esi
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
xor ecx, ecx
mov eax, esi
call fcn.00412320
mov bl, al
add esp, 8
test bl, bl
jne 0x43e7ff
push 0
lea ebx, [esp + 0x18]
mov eax, esi
call fcn.0044f7a0
mov edi, eax
add esp, 4
test edi, edi
jne 0x43e7c2
push 1
push eax
push 0xffffffffffffffff
push 0x4ac2b4
push ebp
call fcn.004773d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov dword [esp + 0x18], eax
push 0
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
call fcn.0044fa50
fstp st(0)
add esp, 8
lea eax, [esp + 0x18]
mov ebx, ebp
call fcn.00476cf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov edx, dword [esp + 0x22c]
movzx esi, word [edx]
test esi, 0xffffff80
jne 0x43e823
push 2
push esi
call fcn.0048ed0e
add esp, 8
test eax, eax
je 0x43e823
and esi, 0xffffffdf
movzx eax, si
cmp eax, 0x50
je 0x43e83b
xor ecx, ecx
cmp eax, 0x54
setne cl
lea eax, [ecx - 1]
and eax, 2
jmp 0x43e840
mov eax, 1
push eax
call fcn.0044f9a0
add esp, 4
test al, al
mov eax, 0x4ab2a8
jne 0x43e857
mov eax, 0x4ab2ac
push 1
push 0
push 0xffffffffffffffff
push eax
push ebp
call fcn.004773d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
Function at 0x43e880
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x238
push esi
mov esi, ecx
mov ecx, dword [0x4c83f0]
push edi
call fcn.00413390
test esi, esi
je 0x43e9f9
cmp word [esi], 0
je 0x43e9f9
push 0x104
lea eax, [esp + 0x34]
push esi
push eax
call fcn.004907b4
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x30]
mov word [esp + 0x238], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e8d1
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x2e], 0x5c
je 0x43e908
lea edx, [eax + 1]
cmp edx, 0x105
jae 0x43e9f9
mov ecx, 0x5c
xor edx, edx
mov word [esp + eax*2 + 0x30], cx
mov word [esp + eax*2 + 0x32], dx
test byte [0x4cbec4], 1
jne 0x43e936
or dword [0x4cbec4], 1
push str.GetDiskFreeSpaceExW
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cbec0], eax
jmp 0x43e93b
mov eax, dword [0x4cbec0]
test eax, eax
je 0x43e987
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call eax
test eax, eax
je 0x43e9f9
test bl, bl
je 0x43e974
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43e9c7
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43e9c7
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x43e9f9
mov eax, dword [esp + 0x14]
test bl, bl
jne 0x43e9b6
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 edx, dword [0x4c8ca8]
push 1
push 0
push 0xffffffffffffffff
push 0x4a1928
push edx
call fcn.004773d0
mov eax, dword [0x4c83f0]
push 0x18
push edi
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4c49ac]
cmp byte [eax + 0x108], 0
jne 0x43ea26
mov ecx, dword [0x4c8ca8]
push 1
push 0
push 0xffffffffffffffff
push 0x4a4480
push ecx
call fcn.004773d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x4ac2b4
push 0
push 0x4a4480
call fcn.0042dfe0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x440890
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x218
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
call ebp
test eax, eax
jne 0x4408bd
cmp byte [0x4cb0e4], al
je 0x440969
call fcn.00409870
pop ebp
add esp, 0x218
ret
cmp byte [0x4cb0e4], 0
push ebx
push esi
mov esi, 0x4c8cb0
jne 0x4408d1
lea esi, [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
push 0x104
call ebx
test eax, eax
je 0x44092f
cmp word [edi], 0
je 0x440947
cmp word [edi + 2], 0x3a
jne 0x440947
cmp word [edi + 4], 0
jne 0x440947
push esi
push edi
call fcn.0048dab9
add esp, 8
test eax, eax
je 0x440947
push edi
lea ecx, [esp + 0x10]
push 0x4ab740
push ecx
call fcn.0048dec3
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call ebp
test eax, eax
je 0x440947
push esi
push 0x104
call ebx
test eax, eax
jne 0x440947
push 0x103
push edi
push esi
call fcn.004907b4
add esp, 0xc
xor eax, eax
mov word [esi + 0x206], ax
cmp byte [0x4cb0e4], 0
pop esi
pop ebx
je 0x440969
mov ecx, dword [0x4c8ca8]
push 1
push 0
push 0xffffffffffffffff
push 0x4a1928
push ecx
call fcn.004773d0
pop ebp
add esp, 0x218
ret