joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007faf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10007fbe
pop dword [ebp - 0x10]
mov eax, 0x849dbab0
sub eax, 0x749d3af2
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa71f119a
sub dword [ebp - 0x20], 0x58cccc4f
mov dword [ebp - 0x1c], 0xf9df15d8
sub dword [ebp - 0x1c], 0xc7abc993
mov dword [ebp - 0x18], 0x37160bd2
add dword [ebp - 0x18], 0x1536385c
mov dword [ebp - 0x14], 0x1b07e058
sub dword [ebp - 0x14], 0x1b07e058
lea eax, [ebp - 0x20]
push eax
mov eax, 0x93b8fc8e
sub eax, 0x83b73c0e
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x95be3b76
sub dword [ebp - 0x20], 0x214bd220
mov dword [ebp - 0x1c], 0x1da5d478
sub dword [ebp - 0x1c], 0xdc397303
mov dword [ebp - 0x18], 0x8299474e
add dword [ebp - 0x18], 0xe0d6251e
mov dword [ebp - 0x14], 0x9673c45e
sub dword [ebp - 0x14], 0x9673c45e
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xaff41f14
sub eax, 0x9ff25f14
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3474b
push 0
call eax
mov ecx, 0xfc71e5db
add ecx, 0x38e55fb
mov esi, eax
mov edi, 0x10026800
add edi, dword [ebp - 0x10]
mov ebx, 0x399d00d7
sub ebx, 0xeb7a753b
sub dword [ebp - 8], 0xae2ecc61
mov edx, dword [edi]
sub dword [ebp - 4], ecx
xor edx, ebx
xor dword [ebp - 0xc], ecx
mov dword [esi], edx
sub dword [ebp - 8], 0xca122a0b
add esi, 0x7390a503
add esi, 0x8c6f5b01
add edi, 4
loop 0x100080da
add eax, 0x6ac2e776
sub eax, 0x6ac2054b
mov ebx, eax
add eax, 0x1acbbc29
sub eax, 0x1acbbc24
mov ecx, 0x2570f89c
sub ecx, 0x1570f89c
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x10008fc4
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1000
mov dword [esp + 0x14], ebp
call sub.glib_lite.dll_Ordinal_406
mov esi, dword [esp + 0x1c]
mov edi, eax
mov ebx, dword [esp + 0x20]
pop ecx
mov dword [ebx], ebp
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x11c]
sbb ecx, dword [esi + 0x114]
add eax, 0xffffffff
adc ecx, 0xffffffff
cmp ecx, ebp
ja 0x1000901f
jb 0x10009011
cmp eax, 0xffe
ja 0x1000901f
mov eax, dword [esi + 0x118]
sub eax, dword [esi + 0x110]
jmp 0x10009024
mov eax, 0x1000
test edi, edi
je 0x1000909a
push ebp
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [esi + 0x104]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10009093
push sub.glib_lite.dll_Ordinal_109
push edi
push dword [esp + 0x18]
push ebp
push 0x1000
push edi
push ebp
call sub.gstreamer_lite.dll_Ordinal_25
add esp, 0x1c
mov dword [ebx], eax
test eax, eax
je 0x10009072
mov ecx, dword [esi + 0x110]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x114]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x10]
add eax, dword [esi + 0x110]
push 0
pop edx
adc edx, dword [esi + 0x114]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], edx
jmp 0x1000909e
push edi
call sub.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x43b659
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x43b3c1
mov eax, dword [esp]
add esp, 4
and edi, ebx
call fcn.0043b68a
or edi, ebx
xor dword [edx], eax
and edi, ebx
inc edx
sub ebx, 0xeb12e7b4
cmp edx, ecx
jne fcn.0043b659
dec ebx
ret
Function at 0x4016e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
call fcn.004015ad
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov ebx, dword [edi]
jmp 0x40172c
push 0xa
push 0xa
push 0xaa9204
push 0x3114b604
call fcn.00401dd2
add esp, 0xc
push eax
push dword [ebx + 0x30]
call fcn.0040161c
add esp, 0xc
test eax, eax
je 0x401735
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x401704
jmp 0x4017c7
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x4017c7
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
and dword [esp + 0xc], 0
add edi, ebx
mov eax, dword [edi + 0x1c]
add eax, ebx
push ebp
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
add eax, ebx
add ebp, ebx
cmp dword [edi + 0x18], 0
mov dword [esp + 0x18], eax
jbe 0x4017c3
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
push 0x16
add eax, ebx
push 0xaa91ec
push 0x40704011
mov dword [esp + 0x20], eax
call fcn.00401d84
push eax
push dword [esp + 0x24]
call fcn.00401648
add esp, 0x14
test eax, eax
je 0x4017ab
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x18]
jb 0x40176c
jmp 0x4017c3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
add eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
pop ebp
cmp dword [esi + 0x30], 0
je 0x40192e
push 0xa
push 0xaa91e0
push 0x29a1a909
call fcn.00401d84
add esp, 0xc
push eax
push esi
mov ecx, esi
call fcn.004016be
push 0xc
push 0xaa91d0
push 0x13cbcee9
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.004016be
push 0x18
push 0xaa91b4
push 0x17ce53be
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.004016be
push 0xf
push 0xaa91a4
push 0x26b30b69
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.004016be
push 0x12
push 0xaa9190
push 0x3d924530
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x14]
push eax
mov ecx, esi
call fcn.004016be
push 7
push 0xaa9188
push 0x2236409a
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call fcn.004016be
push 0x14
push 0xaa9170
push 0x149ccd04
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, esi
call fcn.004016be
push 0x11
push 0xaa915c
push 0x673ebfe9
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x20]
push eax
mov ecx, esi
call fcn.004016be
push 0x11
push 0xaa9148
push 0x68d29b96
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.004016be
push 0x16
push 0xaa9130
push 0x7db65c79
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x28]
push eax
mov ecx, esi
call fcn.004016be
push 0x13
push 0xaa911c
push 0x65fa79df
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x2c]
push eax
mov ecx, esi
call fcn.004016be
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x401937
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0x1a47
mov esi, 0x1f9587
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x401947
pop esi
ret

Function at 0x401aa3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x401aea
push 7
push str..custom
push edi
call fcn.0040161c
add esp, 0xc
test eax, eax
je 0x401af1
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x401ac7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.00401e30
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x401960
mov dword [ebp - 0x14], 0x40196b
call fcn.0040379c
add esp, 0x28
test eax, eax
je 0x401b51
push dword [ebp - 4]
call fcn.00401e47
pop ecx
jmp 0x401aea
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x401aec

Function at 0x401d84
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x401dc3
push edi
mov edi, dword [esp + 0x14]
sub edi, 0xca3590
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + 0xca3590]
inc esi
mov byte [esi + 0xca358f], al
cmp esi, ebx
jb 0x401d9f
pop edi
pop esi
mov byte [ebx + 0xca3590], 0
mov eax, 0xca3590
pop ebx
ret

Function at 0x401dd2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x401e10
mov eax, dword [esp + 0x10]
sub eax, 0xca3590
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + 0xca3590]
inc esi
mov byte [esi + 0xca358f], bl
cmp esi, edi
jb 0x401dec
pop ebx
mov byte [edi + 0xca3590], 0
mov byte [edi + 0xca3591], 0
pop edi
mov eax, 0xca3590
pop esi
ret
Function at 0x401eec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x401f05
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x401f28
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x401f2d
inc edi
cmp edi, dword [ebp - 4]
jb 0x401f1f
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x402025
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x401f84
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x401f58
cmp cl, 0xff
jne 0x401faf
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x401fbd
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x401fc4
dec ecx
shl edx, cl
and edx, 7
je 0x401f49
movzx ecx, byte [edx + 0xaa9294]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0xaa928c], 0
mov cl, byte [ebx + 4]
je 0x401fac
test cl, cl
je 0x401fac
cmp cl, 0xff
jne 0x401f49
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x401f1a
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x401ff8
movzx esi, byte [edx + 0xaa9294]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x401fe3
cmp al, 0xff
jne 0x401ff5
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x401f76
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x401f1a
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x4022c4
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 0x40236b
cmp eax, dword [edi + 0x178]
jne 0x40236b
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 0x43c9a6
cmp dword [ebp + 0xc], 0
je 0x40234a
mov dword [edi + 0x17c], eax
cmp esi, dword [edi + 0x180]
jne 0x43ca12
cmp dword [ebp + 0xc], 0
je 0x402362
mov dword [edi + 0x180], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 1
mov dword [edi + 0x174], ecx
mov dword [edi + 0x178], eax
jl 0x402310
jmp 0x43c995
push eax
push ecx
push edi
push 0xfffffffffffffff5
mov ecx, ebx
call fcn.004860e3
jmp 0x402310
cmp dword [ebp + 0xc], 1
jl 0x40233e
cmp byte [edi + 0x1a8], 0
je 0x40233e
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test eax, eax
je 0x43c9ce
push 0xfffffffffffffff9
jmp 0x43c9fe
push 0xfffffffffffffff8
call fcn.004860e3
cmp byte [edi + 0x184], 0
je 0x43ca03
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test eax, 0x1000000
je 0x43c9fc
push 0xfffffffffffffffa
jmp 0x43c9fe
push 0xfffffffffffffff4
call fcn.004860e3
mov eax, dword [ebp + 8]
mov byte [edi + 0x184], 0
jmp 0x40233e
cmp dword [ebp + 0xc], 1
jl 0x402356
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test esi, esi
je 0x43ca2d
push 0xfffffffffffffff7
jmp 0x43ca2f
push 0xfffffffffffffff6
call fcn.004860e3
jmp 0x402356
Function at 0x4029db
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4c57b0
jne 0x43cbc4
mov ecx, dword [0x4c581c]
cmp ecx, 0xffffffff
je 0x402a74
mov eax, dword [0x4c5810]
xor 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 0x402a1f
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x43cbdb
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x43cc1d
je 0x402a47
test edi, edi
je 0x402a95
cmp edi, 1
je 0x402a47
cmp edi, 2
je 0x402a8c
cmp edi, 3
je 0x402a83
jle 0x402a6b
cmp edi, 5
jg 0x402a78
cmp byte [esi + 0x38], 0
jne 0x402aa3
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x402a67
cmp edi, 4
je 0x402a67
push dword [ebp + 0xc]
call fcn.00404899
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
xor eax, eax
jmp 0x402a6f
cmp edi, 6
je 0x43cc05
jmp 0x402a6b
mov byte [esi + 0x38], 1
jmp 0x43cc72
mov byte [esi + 0x38], 1
jmp 0x43cc05
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x402a6b
xor eax, eax
jmp 0x402a6e
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00402592
mov ecx, eax
mov dword [0x4c581c], ecx
jmp 0x4029f4
cmp byte [esi + 0x198], dl
je 0x402a1f
push dword [esi + 0x194]
mov ecx, edi
push esi
call fcn.0048b623
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x402a1f
cmp byte [esi + 0x38], 0
je 0x402aa3
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402a6b
mov eax, edi
sub eax, 9
je 0x43cc72
sub eax, 0x37
je 0x43cc64
dec eax
je 0x43cc61
dec eax
je 0x43cc51
dec eax
jne 0x402a6b
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 0x402a6b
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x402a6b
push edx
jmp 0x43cc66
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402a6b
cmp byte [esi + 0x38], 0
je 0x402aa3
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call fcn.00404899
jmp 0x402a6b
Function at 0x403aff
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.00432370
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00407627
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.0040372b
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x43dc23
mov eax, dword [0x4c52e0]
test eax, eax
je 0x403c4a
xor edi, edi
mov esi, 0x4c6290
inc edi
cmp eax, edi
je 0x43dc3d
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c52e0
push 0x4c52f8
mov ecx, esi
call fcn.00407245
test al, al
je 0x403c53
mov al, byte [0x4c6290]
mov byte [0x4c52e4], al
mov al, byte [0x4c6291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c52f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c52d0
call fcn.00407b8c
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0x4c52e0]
push 0x4c52f8
call fcn.00410c2d
test eax, eax
jne 0x43dc5c
cmp byte [ebp - 5], 1
je 0x43dc7b
call fcn.00403a0b
call fcn.0040399a
cmp byte [0x4c52e4], 0
jne 0x403c08
mov ecx, 0x4c5890
call fcn.0040430c
push edi
mov ecx, 0x4c5310
call fcn.00410cd0
cmp byte [0x4c52e4], 0
jne 0x403c26
mov ecx, 0x4c5890
call fcn.004043fc
mov ecx, esi
call fcn.0040729b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.004058c3
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
or dword [0x4c527c], 0xffffffff
jmp 0x403c2d
mov dword [0x4c527c], edi
jmp 0x403c2d
push 0x10
push 0x4b7780
push str.This_is_a_third_party_compiled_AutoIt_script.
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c3a
push 0xffffffffffffffff
push dword [0x4c52e8]
mov ecx, esi
push edi
call fcn.004071d3
mov al, byte [0x4c5284]
mov byte [0x4c6292], al
jmp 0x403bc9
mov ecx, esi
call fcn.0040729b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c527c], edi
jmp 0x403c3a
call fcn.00458ff3
test al, al
jne 0x403beb
cmp byte [ebp - 7], al
jne 0x403beb
lea ecx, [ebp - 0x2c]
call fcn.004046c8
push 0x4b4270
lea ecx, [ebp - 0x1c]
call fcn.00407da1
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0x43dcd5
mov edi, 0x4b77b4
push edi
call fcn.00407c6b
push 0x4c52f8
lea ecx, [ebp - 0x1c]
call fcn.00407aee
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407c6b
push 1
jmp 0x43dcde
push dword [ebp + 8]
call fcn.00407c6b
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4b77b8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.004058c3
jmp 0x403c26
Function at 0x404899
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 0x43e009
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x43e01e
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 0x43e032
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 0x43e10d
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 0x43e0e9
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 0x43e0ee
push 4
jmp 0x43e0eb
push 3
pop ebx
jmp 0x43e0f1
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 0x43e110
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x4048b7
Function at 0x404e49
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x404e81
push edi
push 0
push 0x48faf0
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x43e29c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x404e80
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x404e80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404e80
mov ecx, dword [ebx]
push 0
push edi
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x404e80

Function at 0x404ecb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x43e336
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00426002
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x404ef1