joyce8/EMBER2024-capa huggingface dataset:
Function at 0x685f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19b000]
push edi
or ebp, 0xffffffff
jmp 0x685f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x685f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x685f38
mov eax, 1
add ebx, ebx
jne 0x685f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x685f6c
jne 0x685f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x685f8b
dec eax
add ebx, ebx
jne 0x685f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x685f50
add ebx, ebx
jne 0x685f87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x685fdd
xor ecx, ecx
sub eax, 3
jb 0x685fa3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x686012
sar eax, 1
mov ebp, eax
jmp 0x685fae
add ebx, ebx
jne 0x685fae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x685f7c
inc ecx
add ebx, ebx
jne 0x685fbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x685f7c
add ebx, ebx
jne 0x685fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x685fbe
jne 0x685fda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x685fbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x685ffc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x685fee
jmp 0x685f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x685ffc
add edi, ecx
jmp 0x685f3e
pop esi
mov edi, esi
mov ecx, 0x5f39
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x68601a
cmp byte [edi], 0xa
jne 0x68601a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x68601f
lea edi, [esi + 0x27c000]
mov eax, dword [edi]
or eax, eax
je 0x686097
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28bfac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28c0ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x68604c
mov ecx, edi
jns 0x68607b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28c0f0]
or eax, eax
je 0x686091
mov dword [ebx], eax
add ebx, 4
jmp 0x686069
call dword [esi + 0x28c100]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6860c8
cmp al, 0xef
ja 0x6860bb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x68609d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6860aa
mov ebp, dword [esi + 0x28c0f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6860fc
sub esp, 0xffffff80
jmp 0x4a2a63
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x35586ef2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5fde7e83
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x431003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40910b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x410004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004042b3
and dword [ebp - 0x14], 0
cmp dword [0x411b38], 0
mov dword [ebp - 0x18], eax
jne 0x4091be
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409266
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409266
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411b38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411b3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411b40], eax
call edi
push eax
call esi
mov dword [0x411b48], eax
test eax, eax
je 0x4091be
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411b44], eax
mov eax, dword [0x411b44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409217
cmp dword [0x411b48], ecx
je 0x409217
push eax
call esi
push dword [0x411b48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409217
test ebx, ebx
je 0x409217
call edi
test eax, eax
je 0x40920e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40920e
test byte [ebp - 8], 1
jne 0x409217
or dword [ebp + 0x10], 0x200000
jmp 0x40924a
mov eax, dword [0x411b3c]
cmp eax, dword [ebp - 0x18]
je 0x40924a
push eax
call esi
test eax, eax
je 0x40924a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40924a
mov eax, dword [0x411b40]
cmp eax, dword [ebp - 0x18]
je 0x40924a
push eax
call esi
test eax, eax
je 0x40924a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411b38]
call esi
test eax, eax
je 0x409266
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409268
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401b66
leave
ret

Function at 0x41b497
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [eax + 6]
mov al, byte [eax + 4]
xor byte [edx], al
inc edx
dec ecx
test ecx, ecx
jne 0x41b4a3
ret 4
Function at 0x41b4ae
Capabilities:
Access peb ldr_data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword fs:[0x30]
mov dword [edi], eax
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
push 0
lea eax, [edi + 4]
mov dword [eax], 0x3376500f
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 0
lea eax, [edi + 0xc]
mov dword [eax], 0x2dfc830f
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 0
lea eax, [edi + 0x14]
mov dword [eax], 0x552e48c2
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 0
lea eax, [edi + 0x1c]
mov dword [eax], 0xb3f819f8
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 0
lea eax, [edi + 0x24]
mov dword [eax], 0x7c76ecf5
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 1
lea eax, [edi + 0x2c]
mov dword [eax], 0x116893e9
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 1
lea eax, [edi + 0x34]
mov dword [eax], 0x529977e2
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 1
lea eax, [edi + 0x3c]
mov dword [eax], 0x7b62ef3
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 1
lea eax, [edi + 0x44]
mov dword [eax], 0xa9c5b599
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 1
lea eax, [edi + 0x4c]
mov dword [eax], 0x6b372c05
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 1
lea eax, [edi + 0x54]
mov dword [eax], 0xa9e25a1d
push eax
push esi
call fcn.0041b5ec
test eax, eax
je 0x41b5e8
push 1
lea eax, [edi + 0x5c]
mov dword [eax], 0xf67464e4
push eax
push esi
call fcn.0041b5ec
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x41b5e3
Function at 0x41b5ec
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov eax, dword [edi + eax + 0x78]
add eax, edi
mov ecx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [eax + 0x1c]
add edx, edi
mov dword [ebp - 8], edx
mov ecx, dword [eax + 0x20]
add ecx, edi
mov dword [ebp - 0xc], ecx
mov edx, dword [eax + 0x24]
add edx, edi
mov dword [ebp - 0x10], edx
xor esi, esi
test ebx, ebx
je 0x41b6bc
mov eax, dword [ecx + esi*4]
add eax, edi
mov edx, 0x811c9dc5
movzx ecx, byte [eax]
test cl, cl
je 0x41b6a8
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
jmp 0x41b632
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx ecx, word [ecx + esi*2]
mov eax, dword [eax + ecx*4]
add eax, edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov ecx, eax
xor eax, eax
inc eax
cmp dword [ebp + 0x10], 1
jne 0x41b6be
dec eax
xor edx, edx
cmp byte [ecx + edx], 0xf
jne 0x41b676
cmp byte [ecx + edx + 1], 5
je 0x41b6bc
cmp byte [ecx + edx], 0xc2
je 0x41b6bc
cmp byte [ecx + edx], 0xc3
je 0x41b6bc
cmp byte [ecx + edx], 0xb8
jne 0x41b6a5
cmp byte [ecx + edx + 5], 0xba
jne 0x41b6a5
mov esi, dword [ecx + edx + 1]
mov edi, dword [ecx + edx + 6]
mov dword [ebx + 5], edi
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], esi
xor eax, eax
inc eax
jmp 0x41b6be
inc edx
jmp 0x41b669
mov eax, dword [ebp + 0xc]
cmp edx, dword [eax]
je 0x41b646
mov ecx, dword [ebp - 0xc]
inc esi
cmp esi, dword [ebp - 4]
jb 0x41b628
xor eax, eax
pop edi
pop esi
add esp, 0x10
pop ebp
ret 0xc
Function at 0x41b6d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor edx, edx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push dword [esi + 0x48]
call fcn.0041b6c7
push edx
push edx
push 0x60
push 1
push edx
push 0x80
push edx
lea eax, [ebp - 0x24]
push eax
push edi
push 0x80100080
lea eax, [ebp - 4]
push eax
call fcn.0041b6d1
add esp, 0x2c
test eax, eax
jne 0x41b862
cmp dword [ebp - 0x20], 1
jne 0x41b862
xor edx, edx
xorps xmm0, xmm0
mov dword [ebp - 0x2c], edx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
push dword [esi + 0x40]
call fcn.0041b6c7
push 5
push 0x18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call fcn.0041b6d1
add esp, 0x14
test eax, eax
jne 0x41b862
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x41b862
push dword [ebp - 0x14]
push 8
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
push eax
call dword [esi + 0x20]
mov dword [ebp - 0x2c], eax
push dword [esi + 0x58]
call fcn.0041b6c7
xor edx, edx
push edx
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push edx
push edx
push edx
push dword [ebp - 4]
call fcn.0041b6d1
add esp, 0x24
test eax, eax
jne 0x41b862
push dword [esi + 0x50]
call fcn.0041b6c7
push dword [ebp - 4]
call fcn.0041b6d1
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x5a4d
je 0x41b85e
movdqu xmm0, xmmword [ebx + 9]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
movdqu xmm1, xmmword [eax + ecx]
xorps xmm1, xmm0
movdqu xmmword [eax + ecx], xmm1
add ecx, 0x10
mov eax, edx
sub eax, ecx
cmp eax, 0x10
jge 0x41b7d1
test eax, eax
je 0x41b802
push edx
mov dl, byte [ebx + 9]
mov eax, dword [ebp - 0x2c]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, dword [esp]
jne 0x41b7f8
pop edx
push dword [esi + 0x48]
call fcn.0041b6c7
xor edx, edx
push edx
push edx
push 0x60
push 1
push edx
push 0x80
push edx
lea eax, [ebp - 0x24]
push eax
push edi
push 0x40100080
lea eax, [ebp - 4]
push eax
call fcn.0041b6d1
add esp, 0x2c
test eax, eax
jne 0x41b862
push dword [esi + 0x60]
call fcn.0041b6c7
xor edx, edx
push edx
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
push edx
push edx
push edx
push dword [ebp - 4]
call fcn.0041b6d1
add esp, 0x24
test eax, eax
jne 0x41b862
inc eax
jmp 0x41b865
xor eax, eax
jmp 0x41b865
xor eax, eax
dec eax
push eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41b87a
push eax
xor edx, edx
push edx
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
push eax
call dword [esi + 0x28]
pop eax
pop edi
pop esi
add esp, 0x30
pop ebp
ret 8
Function at 0x401276
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c20c1]
push ebx
push esi
push edi
mov esi, ecx
push 0x8000
push esi
mov edi, edx
mov byte [ebp - 1], al
call fcn.00424093
pop ecx
push eax
call fcn.00423ec5
pop ecx
pop ecx
push 0xb
mov ecx, edi
mov ebx, eax
call fcn.0040c8f7
test al, al
jne 0x4758d7
lea ecx, [ebp - 0x18]
call fcn.00409efc
mov ecx, edi
call fcn.00407d4f
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.0040131d
push dword [ebp - 0x18]
push 0x4afc3c
push esi
call fcn.0042428c
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 8], eax
jne 0x4758f7
lea ecx, [ebp - 0x18]
call fcn.00407487
mov edi, dword [ebp - 8]
push esi
call fcn.00424451
pop ecx
cmp ebx, 0xffffffff
je 0x47590e
push ebx
push esi
call fcn.00424093
pop ecx
push eax
call fcn.00423ec5
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push esi
mov ecx, edi
call fcn.0044ca72
push eax
push 1
call fcn.0044ca29
push eax
call fcn.0042420e
add esp, 0x10
mov edi, eax
jmp 0x4012f6
mov ecx, edi
call fcn.00407d4f
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4012eb
push 0x4000
jmp 0x401307

Function at 0x4019bd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x4765d3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424f7e
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x4019e3

Function at 0x401b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x401bd4
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x401b97
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x401ba7
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
inc edi
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx - 1], al
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x401b77
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401b97
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x401b97
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x401b7f
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00401c81
jmp 0x401b6e
Function at 0x402111
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 0x402149
push edi
push 0
push str.SCRIPT
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x476529
pop edi
pop esi
pop ebx
leave
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x402148
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x402148
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x402148
mov ecx, dword [ebx]
push 0
mov edx, dword [ecx]
push edi
push eax
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
push edx
push edx
push edx
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x402148
Function at 0x40441e
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
push ebx
push esi
push edi
lea eax, [ebp - 0x22c]
push eax
xor bl, bl
push 0x104
mov byte [ebp - 5], bl
xor bh, bh
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 6]
push eax
push dword [ebp + 8]
call fcn.00404b2f
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x472ed3
mov eax, dword [0x4c2124]
test eax, eax
je 0x40453d
xor edi, edi
inc edi
mov esi, 0x4c32e8
cmp eax, edi
je 0x472eec
lea eax, [ebp - 5]
push eax
push ecx
push 0x4c2124
push 0x4c213c
mov ecx, esi
call fcn.004048f6
test al, al
je 0x404546
mov al, byte [0x4c32e8]
mov bh, byte [0x4c32e9]
push 0x4c2120
mov byte [0x4c2128], al
lea eax, [ebp - 0x43c]
push eax
push 0x104
push 0x4c213c
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov bl, byte [ebp - 5]
push dword [0x4c2124]
push 0x4c213c
call fcn.004045b2
test eax, eax
jne 0x472f0b
cmp bh, 1
je 0x472f2a
call fcn.00403683
call fcn.00404731
cmp byte [0x4c2128], 0
mov ebx, 0x4c28f0
jne 0x404507
mov ecx, ebx
call fcn.00404647
push edi
mov ecx, 0x4c2348
call fcn.0040d8a0
cmp byte [0x4c2128], 0
jne 0x404522
mov ecx, ebx
call fcn.0040454e
mov ecx, esi
call fcn.004047bb
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
leave
ret 4
or dword [0x4c20bc], 0xffffffff
jmp 0x404529
mov dword [0x4c20bc], edi
jmp 0x404529
push 0x10
push 0x4b393c
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404536
push 0xffffffffffffffff
push dword [0x4c212c]
mov ecx, esi
push edi
call fcn.004439b2
mov al, byte [0x4c20c2]
mov byte [0x4c32ea], al
jmp 0x4044c7
mov ecx, esi
call fcn.004047bb
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c20bc], edi
jmp 0x404536
call fcn.00448621
test al, al
jne 0x4044e8
cmp byte [ebp - 6], al
jne 0x4044e8
push 0x104
lea eax, [ebp - 0x43c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x49eaa4
lea ecx, [ebp - 0x18]
call fcn.0040c540
lea ecx, [ebp - 0x18]
test bl, bl
je 0x472f8d
mov edi, 0x4b39a8
push edi
call fcn.00403465
push 0x4c213c
lea ecx, [ebp - 0x18]
call fcn.00403465
push edi
lea ecx, [ebp - 0x18]
call fcn.00403465
push 1
jmp 0x472f96
push dword [ebp + 8]
call fcn.00403465
push edi
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x43c]
push eax
push 0x4b39ac
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.00407487
jmp 0x404522
Function at 0x41b944
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]
mov esi, dword [edi]
push eax
mov ebx, ecx
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 0x41b9e9
cmp eax, dword [edi + 0x178]
jne 0x41b9e9
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 0x47fd24
cmp dword [ebp + 0xc], 0
je 0x41b9ca
mov dword [edi + 0x17c], eax
cmp esi, dword [edi + 0x180]
jne 0x47fd90
cmp dword [ebp + 0xc], 0
je 0x41b9e2
mov dword [edi + 0x180], esi
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [ebp + 0xc], 1
mov dword [edi + 0x174], ecx
mov dword [edi + 0x178], eax
jl 0x41b990
jmp 0x47fd13
push eax
push ecx
push edi
push 0xfffffffffffffff5
mov ecx, ebx
call fcn.004699d3
jmp 0x41b990
cmp dword [ebp + 0xc], 1
jl 0x41b9be
cmp byte [edi + 0x1a8], 0
je 0x41b9be
push dword [ebp - 4]
mov ecx, ebx
push dword [ebp - 8]
push edi
test eax, eax
je 0x47fd4c
push 0xfffffffffffffff9
jmp 0x47fd7c
push 0xfffffffffffffff8
call fcn.004699d3
cmp byte [edi + 0x184], 0
je 0x47fd81
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp - 4]
mov ecx, ebx
push dword [ebp - 8]
push edi
test eax, 0x1000000
je 0x47fd7a
push 0xfffffffffffffffa
jmp 0x47fd7c
push 0xfffffffffffffff4
call fcn.004699d3
mov eax, dword [ebp + 8]
mov byte [edi + 0x184], 0
jmp 0x41b9be
cmp dword [ebp + 0xc], 1
jl 0x41b9d6
push dword [ebp - 4]
mov ecx, ebx
push dword [ebp - 8]
push edi
test esi, esi
je 0x47fdab
push 0xfffffffffffffff7
jmp 0x47fdad
push 0xfffffffffffffff6
call fcn.004699d3
jmp 0x41b9d6