joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40107e
Capabilities:
Delete file
Manipulate console buffer
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.0040b620
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 4]
xor ebx, ebx
cmp dword [0x45aa64], 0x594
push edi
mov dword [ebp - 0x14], ecx
jne 0x4010b6
push ebx
lea eax, [ebp - 0x844]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x44e5e8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x44e5ec]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], 0x9e3779b9
call fcn.00401077
mov eax, dword [0x44e5f0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x28], eax
mov eax, dword [0x44e5f4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0x20
jmp 0x4010fb
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, dword [ebp - 0x14]
shl eax, 4
cmp dword [0x45aa64], 0xc
mov dword [ebp - 4], eax
jne 0x401156
push ebx
lea eax, [ebp - 0x444]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push ebx
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
xor eax, eax
mov word [ebp - 0x20], ax
lea edi, [ebp - 0x1e]
stosw word es:[edi], ax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x1044]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x45aa64]
cmp eax, 0xfa9
jne 0x401172
mov dword [0x45aa60], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401198
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x45a9b8], ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add eax, edx
shr edx, cl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [0x45aa5c], 0xf4ea3dee
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add eax, esi
shr esi, cl
mov dword [ebp - 0x1c], eax
add esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
cmp dword [0x45aa64], 0xb03
jne 0x401211
push str.durumiwoxupik_lupohilapivuhavufuxuxujimerafa_jofasejupajihihu
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor dword [ebp - 4], esi
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
sub dword [ebp - 8], eax
dec dword [ebp - 0x24]
jne 0x4010f8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x404c30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d500]
jne 0x404c3a
repz ret
jmp fcn.0040ae73

Function at 0x40ab2e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405efb
and dword [ebp - 4], 0
cmp dword [0x450608], 0
mov ebx, eax
jne 0x40abdf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ac90
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ac90
push eax
call fcn.00405e89
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x450608], eax
call esi
push eax
call fcn.00405e89
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45060c], eax
call esi
push eax
call fcn.00405e89
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x450610], eax
call esi
push eax
call fcn.00405e89
pop ecx
mov dword [0x450618], eax
test eax, eax
je 0x40abdf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405e89
pop ecx
mov dword [0x450614], eax
mov eax, dword [0x450614]
cmp eax, ebx
je 0x40ac37
cmp dword [0x450618], ebx
je 0x40ac37
push eax
call fcn.00405f04
push dword [0x450618]
mov esi, eax
call fcn.00405f04
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ac37
test edi, edi
je 0x40ac37
call esi
test eax, eax
je 0x40ac2e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ac2e
test byte [ebp - 0xc], 1
jne 0x40ac37
or dword [ebp + 0x10], 0x200000
jmp 0x40ac70
mov eax, dword [0x45060c]
cmp eax, ebx
je 0x40ac70
push eax
call fcn.00405f04
pop ecx
test eax, eax
je 0x40ac70
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ac70
mov eax, dword [0x450610]
cmp eax, ebx
je 0x40ac70
push eax
call fcn.00405f04
pop ecx
test eax, eax
je 0x40ac70
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x450608]
call fcn.00405f04
pop ecx
test eax, eax
je 0x40ac90
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ac92
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4062e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b508
cmp edx, dword [eax]
je 0x406307
add eax, 8
inc ecx
cmp eax, 0x40b598
jl 0x4062f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b508]
jne 0x406435
mov eax, dword [0x40ba54]
cmp eax, 1
je 0x40640f
test eax, eax
jne 0x406338
cmp dword [0x40b1b4], 1
je 0x40640f
cmp edx, 0xfc
je 0x406435
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40636f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40957c
push edi
call fcn.004077b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037c0
lea eax, [ebp - 0xa0]
push 0x40955c
push eax
call fcn.004037c0
push dword [esi + 0x40b50c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407726
add esp, 0x2c
pop edi
jmp 0x406435
lea eax, [ebp + 8]
lea esi, [esi + 0x40b50c]
push 0
push eax
push dword [esi]
call fcn.004038a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0xc0e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc0e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc0e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0e06a
add dl, dl
jne 0xc0e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0e0dc
xor eax, eax
add dl, dl
jne 0xc0e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0e17d
add dl, dl
jne 0xc0e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc0e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc0e075
mov eax, 1
add dl, dl
jne 0xc0e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc0e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0e0e1
sub eax, ebx
mov ebx, 1
jne 0xc0e128
mov ecx, 1
add dl, dl
jne 0xc0e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc0e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc0e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc0e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc0e136
cmp eax, 0x7d00
jae 0xc0e16d
cmp eax, 0x500
jb 0xc0e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0e075
cmp eax, 0x7f
ja 0xc0e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc0e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc0e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc0e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402c34
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
lea ebx, [ecx + 4]
push edi
mov edi, edx
test ebx, ebx
je 0x402c6a
lea esi, [edi + 4]
test esi, esi
je 0x402c6a
call fcn.00402b96
test al, al
je 0x402c6a
mov ecx, edi
call fcn.00402b96
test al, al
je 0x402c6a
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x402c6c
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x40602b
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x4060ac
mov byte [esi + 8], 1
call main
cmp dword [esi + 0x10], 0
je 0x4060ac
test al, al
je 0x40604b
mov byte [esi + 0xa], 1
mov ecx, esi
call fcn.00406645
test al, al
jne 0x406072
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.00406acb
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
pop esi
ret
mov ecx, esi
call main
cmp dword [esi + 0x18], 0
jne 0x406099
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.00406acb
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
cmp dword [esi + 0x10], 0
mov byte [esi + 9], 1
je 0x4060ac
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
pop esi
ret

Function at 0x406645
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x406652
xor al, al
pop esi
ret
push 0x1f4
push dword [esi + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x40668b
cmp eax, 0x80
je 0x40668b
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.00406acb
add esp, 0xc
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x40664e
mov al, 1
pop esi
ret

Function at 0x4070de
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40714d
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
test eax, eax
je 0x407129
push ebx
push edi
push eax
call fcn.0040ac80
add esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x407144
push esi
call dword [sym.imp.kernel32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret
Function at 0x402344
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov ebx, ecx
mov esi, dword [edi]
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 8]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x170], eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, dword [edi + 0x174]
jne 0x4023eb
cmp eax, dword [edi + 0x178]
jne 0x4023eb
push dword [ebx + 0x18]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
push dword [ebx + 0x1c]
movzx eax, ax
shr eax, 0xf
mov dword [ebp + 8], eax
call esi
movzx esi, ax
mov eax, dword [ebp + 8]
shr esi, 0xf
cmp eax, dword [edi + 0x17c]
jne 0x43c1fe
cmp dword [ebp + 0xc], 0
je 0x4023ca
mov dword [edi + 0x17c], eax
cmp esi, dword [edi + 0x180]
jne 0x43c26a
cmp dword [ebp + 0xc], 0
je 0x4023e2
mov dword [edi + 0x180], esi
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 8
cmp dword [ebp + 0xc], 1
mov dword [edi + 0x174], ecx
mov dword [edi + 0x178], eax
jl 0x402390
jmp 0x43c1ed
push eax
push ecx
push edi
push 0xfffffffffffffff5
push ebx
pop ecx
call fcn.004863d0
jmp 0x402390
cmp dword [ebp + 0xc], 1
jl 0x4023be
cmp byte [edi + 0x1a8], 0
je 0x4023be
push ebx
pop ecx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
or eax, eax
je 0x43c226
push 0xfffffffffffffff9
jmp 0x43c256
push 0xfffffffffffffff8
call fcn.004863d0
cmp byte [edi + 0x184], 0
je 0x43c25b
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push ebx
pop ecx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test eax, 0x1000000
je 0x43c254
push 0xfffffffffffffffa
jmp 0x43c256
push 0xfffffffffffffff4
call fcn.004863d0
mov eax, dword [ebp + 8]
mov byte [edi + 0x184], 0
jmp 0x4023be
cmp dword [ebp + 0xc], 1
jl 0x4023d6
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
or esi, esi
je 0x43c285
push 0xfffffffffffffff7
jmp 0x43c287
push 0xfffffffffffffff6
call fcn.004863d0
jmp 0x4023d6
Function at 0x402a5b
Capabilities:
Hide graphical window

Disassembly:
push ebp
push esp
pop ebp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4c67b0
jne 0x43c41c
mov ecx, dword [0x4c681c]
cmp ecx, 0xffffffff
je 0x402af4
mov eax, dword [0x4c6810]
sub edx, edx
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0xc], ecx
cmp byte [esi + 0x3a], dl
je 0x402a9f
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x43c433
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x43c475
je 0x402ac7
test edi, edi
je 0x402b15
cmp edi, 1
je 0x402ac7
cmp edi, 2
je 0x402b0c
cmp edi, 3
je 0x402b03
jle 0x402aeb
cmp edi, 5
jg 0x402af8
cmp byte [esi + 0x38], 0
jne 0x402b23
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x402ae7
cmp edi, 4
je 0x402ae7
push dword [ebp + 0xc]
call fcn.00404a35
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
sub eax, eax
jmp 0x402aef
cmp edi, 6
je 0x43c45d
jmp 0x402aeb
mov byte [esi + 0x38], 1
jmp 0x43c4ca
mov byte [esi + 0x38], 1
jmp 0x43c45d
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x402aeb
sub eax, eax
jmp 0x402aee
push dword [ebp + 0xc]
push edi
pop ecx
call fcn.00402612
mov ecx, eax
mov dword [0x4c681c], ecx
jmp 0x402a74
cmp byte [esi + 0x198], dl
je 0x402a9f
push dword [esi + 0x194]
push edi
pop ecx
push esi
call fcn.0048b958
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x402a9f
cmp byte [esi + 0x38], 0
je 0x402b23
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402aeb
mov eax, edi
sub eax, 9
je 0x43c4ca
sub eax, 0x37
je 0x43c4bc
dec eax
je 0x43c4b9
dec eax
je 0x43c4a9
dec eax
jne 0x402aeb
push edx
mov byte [esi + 0x39], dl
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x402aeb
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x402aeb
push edx
jmp 0x43c4be
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402aeb
cmp byte [esi + 0x38], 0
je 0x402b23
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call fcn.00404a35
jmp 0x402aeb
Function at 0x4035b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x40362f
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x40362f
sub eax, eax
xor ebx, ebx
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40362f
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or eax, eax
jne 0x403614
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0x403626
sub ecx, ecx
mov word [esi + eax*2], cx
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret
sub eax, eax
mov word [edi + esi - 2], ax
jmp 0x403612
xor al, al
jmp 0x403620
Function at 0x403b4c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.00431b90
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004077c7
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0x1002c]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.00403778
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x43d4ad
mov eax, dword [0x4c62e0]
test eax, eax
je 0x403c97
xor edi, edi
mov esi, 0x4c7290
inc edi
cmp eax, edi
je 0x43d4c7
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c62e0
push 0x4c62f8
mov ecx, esi
call fcn.004073e5
test al, al
je 0x403ca0
mov al, byte [0x4c7290]
mov byte [0x4c62e4], al
mov al, byte [0x4c7291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c62f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c62d0
call fcn.00407d2c
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0x4c62e0]
push 0x4c62f8
call fcn.00410a8d
test eax, eax
jne 0x43d4e6
cmp byte [ebp - 5], 1
je 0x43d505
call fcn.00403a58
call fcn.004039e7
cmp byte [0x4c62e4], 0
jne 0x403c55
mov ecx, 0x4c6890
call fcn.004043db
push edi
mov ecx, 0x4c6310
call fcn.00410b30
cmp byte [0x4c62e4], 0
jne 0x403c73
mov ecx, 0x4c6890
call fcn.004044cb
mov ecx, esi
call fcn.0040743b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.00405a64
pop edi
pop esi
push ebp
pop esp
pop ebp
ret 4
or dword [0x4c627c], 0xffffffff
jmp 0x403c7a
mov dword [0x4c627c], edi
jmp 0x403c7a
push 0x10
push 0x4b93f0
push str.This_is_a_third_party_compiled_AutoIt_script.
sub eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c87
push 0xffffffffffffffff
push dword [0x4c62e8]
push esi
pop ecx
push edi
call fcn.00407373
mov al, byte [0x4c6284]
mov byte [0x4c7292], al
jmp 0x403c16
mov ecx, esi
call fcn.0040743b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c627c], edi
jmp 0x403c87
call fcn.00464c03
test al, al
jne 0x403c38
cmp byte [ebp - 7], al
jne 0x403c38
lea ecx, [ebp - 0x2c]
call fcn.00404864
push 0x4b5d40
lea ecx, [ebp - 0x1c]
call fcn.00407f41
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0x43d55f
mov edi, 0x4b9424
push edi
call fcn.00407e0b
push 0x4c62f8
lea ecx, [ebp - 0x1c]
call fcn.00407c8e
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407e0b
push 1
jmp 0x43d568
push dword [ebp + 8]
call fcn.00407e0b
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4b9428
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00405a64
jmp 0x403c73
Function at 0x404a35
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x43da81
sub eax, eax
inc eax
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x43da96
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43daaa
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43db85
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43db61
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x43db66
push 4
jmp 0x43db63
push 3
pop ebx
jmp 0x43db69
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x43db88
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x404a53