joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4065c9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42d2c4], 0
jne 0x406604
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065dd
mov dword [ecx*4 + 0x42d2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x4065d8
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406631
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42d2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406612
not eax
pop ebp
ret 0xc

Function at 0x1185058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.011851a8
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 0x118507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x118506a
add dl, dl
jne 0x1185089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x11850dc
xor eax, eax
add dl, dl
jne 0x1185096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x118517d
add dl, dl
jne 0x11850a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11850b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11850bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11850c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x11850d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1185075
mov eax, 1
add dl, dl
jne 0x11850ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x11850f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11850e1
sub eax, ebx
mov ebx, 1
jne 0x1185128
mov ecx, 1
add dl, dl
jne 0x118510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1185119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1185105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1185075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x118513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x118514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1185136
cmp eax, 0x7d00
jae 0x118516d
cmp eax, 0x500
jb 0x1185168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1185075
cmp eax, 0x7f
ja 0x1185170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1185075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x118519e
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 0x1185075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40a410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4725c8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
push 0
push 4
mov dword [esp + 0x30], 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0
push 8
call fcn.00459036
push eax
lea ecx, [esp + 0x10]
call fcn.0045aa31
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push 0
mov ebx, eax
call edi
mov edx, dword [esp + 0xc]
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
push DirectSoundEnumerateA
push str.HHXJL
push edx
push 0
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
call fcn.00458953
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0045a8f4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x410e20
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45e823
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
push 0x18
call fcn.00456e12
mov ebp, dword [esp + 0x30]
mov esi, eax
push 0xa
mov ax, word [ebp + 0x10]
mov word [esi + 0xc], ax
mov cx, word [ebp + 0xc]
mov word [esi + 0xe], cx
mov dx, word [ebp + 0xa]
mov word [esi + 0xa], dx
mov ax, word [ebp + 0xe]
mov word [esi + 8], ax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x18], ecx
mov ax, word [ebp + 8]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
push eax
mov word [esp + 0x28], cx
call fcn.0045220c
mov ecx, dword [0x4725c8]
add esp, 0x10
mov dword [esp + 0xc], ecx
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push str.talk
push eax
mov ecx, 0x47bc58
mov dword [esp + 0x30], 0
call fcn.0042eb90
xor ecx, ecx
lea edx, [ebp + 1]
mov dword [esp + 0x10], ecx
mov ax, word [edx]
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], cx
mov word [esp + 0x10], ax
mov cl, byte [edx + 2]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x16], cl
call fcn.004474c2
mov word [esi + 4], ax
mov cx, word [ebp + 4]
xor eax, eax
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x18], cx
mov word [esp + 0x20], ax
call fcn.004474c2
mov word [esi + 6], ax
mov eax, dword [esp + 0x14]
add esp, 8
lea ecx, [esp + 0xc]
mov eax, dword [eax - 8]
push eax
call fcn.0045aa99
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov dword [esi + 0x14], eax
call fcn.0045aae8
mov edi, dword [esi + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esi + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea edx, [ebp + 0x15]
mov word [esp + 0x18], cx
mov ax, word [edx]
mov word [esp + 0x10], ax
mov cl, byte [edx + 2]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x16], cl
call fcn.004474c2
mov cx, word [ebp + 0x18]
mov edi, eax
xor eax, eax
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x18], cx
mov word [esp + 0x20], ax
call fcn.004474c2
mov ecx, dword [0x475d70]
add esp, 8
test ecx, ecx
mov ebp, eax
je 0x410fa2
mov eax, dword [ecx]
call dword [eax + 0x64]
push 0x64
call fcn.00456e12
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x24], 1
je 0x410fc2
mov ecx, eax
call fcn.00401000
jmp 0x410fc4
xor eax, eax
push ebp
push edi
push esi
mov ecx, eax
mov byte [esp + 0x30], 0
mov dword [0x475d70], eax
call fcn.00401140
mov ecx, dword [0x475d70]
mov edx, dword [ecx]
call dword [edx + 0x58]
mov eax, dword [0x47bc7c]
mov ecx, dword [eax + 0xa5]
test byte [ecx + 0x44], 1
je 0x411001
mov eax, dword [ecx]
call dword [eax + 0xa4]
mov eax, dword [0x47bc7c]
inc word [eax + 6]
push esi
call fcn.00456e3b
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0045a8f4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x419ed0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x74
push esi
mov esi, ecx
mov eax, dword [esi + 0xee]
test eax, eax
je 0x41a050
movsx eax, word [eax + 0xfe]
push ebx
push ebp
push edi
push eax
mov ecx, 0x479c00
call fcn.00420810
mov ecx, 0xfffffffc
mov edx, 0xfffffff6
xor edi, edi
sub ecx, eax
sub edx, eax
mov dword [esp + 0x14], eax
lea ebx, [eax + 0x12]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x419f22
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x10], 0
je 0x419f37
mov dx, word [ebx + 6]
mov word [esp + 0x10], dx
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0xee]
add ecx, ebx
push eax
mov ax, word [ecx + edx]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00419d90
lea edx, [edi*8]
lea eax, [esp + 0x20]
sub edx, edi
push eax
lea ebp, [edi + edx*4]
lea ecx, [ebp + 0xb4]
push ecx
push 0x33
mov ecx, esi
call fcn.004293f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x419f83
mov ax, word [ebx]
jmp 0x419f87
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0xee]
add edx, ebx
mov cx, word [edx + eax]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00419d90
lea eax, [esp + 0x20]
add ebp, 0x14c
push eax
push ebp
push 0x33
mov ecx, esi
call fcn.004293f0
inc edi
add ebx, 2
cmp edi, 3
jl 0x419f1a
xor ebx, ebx
mov edi, 0x20
mov ecx, dword [esi + 0xee]
mov ax, word [edi + ecx]
test ax, ax
je 0x419fff
push eax
mov ecx, 0x479c08
call fcn.00422640
test eax, eax
je 0x419fff
cmp word [eax + 0x2c], 1
je 0x419fff
push 0
push eax
push ebx
mov ecx, esi
call fcn.00419a50
inc ebx
add edi, 2
cmp edi, 0x5c
jl 0x419fce
lea edi, [esi + 0xcc]
mov ebp, 0x10
movsx edx, word [edi]
mov eax, dword [esi + 0xee]
mov cx, word [eax + edx*2 + 0x5a]
push ecx
mov ecx, 0x479c08
call fcn.00422640
test eax, eax
je 0x41a03b
push 1
push eax
push ebx
mov ecx, esi
call fcn.00419a50
inc ebx
add edi, 2
dec ebp
jne 0x41a012
push 0xef77
mov ecx, esi
call fcn.00427c40
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x74
ret
Function at 0x419ed3
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x74
push esi
mov esi, ecx
mov eax, dword [esi + 0xee]
test eax, eax
je 0x41a050
movsx eax, word [eax + 0xfe]
push ebx
push ebp
push edi
push eax
mov ecx, 0x479c00
call fcn.00420810
mov ecx, 0xfffffffc
mov edx, 0xfffffff6
xor edi, edi
sub ecx, eax
sub edx, eax
mov dword [esp + 0x14], eax
lea ebx, [eax + 0x12]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x419f22
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x10], 0
je 0x419f37
mov dx, word [ebx + 6]
mov word [esp + 0x10], dx
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0xee]
add ecx, ebx
push eax
mov ax, word [ecx + edx]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00419d90
lea edx, [edi*8]
lea eax, [esp + 0x20]
sub edx, edi
push eax
lea ebp, [edi + edx*4]
lea ecx, [ebp + 0xb4]
push ecx
push 0x33
mov ecx, esi
call fcn.004293f0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x419f83
mov ax, word [ebx]
jmp 0x419f87
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0xee]
add edx, ebx
mov cx, word [edx + eax]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00419d90
lea eax, [esp + 0x20]
add ebp, 0x14c
push eax
push ebp
push 0x33
mov ecx, esi
call fcn.004293f0
inc edi
add ebx, 2
cmp edi, 3
jl 0x419f1a
xor ebx, ebx
mov edi, 0x20
mov ecx, dword [esi + 0xee]
mov ax, word [edi + ecx]
test ax, ax
je 0x419fff
push eax
mov ecx, 0x479c08
call fcn.00422640
test eax, eax
je 0x419fff
cmp word [eax + 0x2c], 1
je 0x419fff
push 0
push eax
push ebx
mov ecx, esi
call fcn.00419a50
inc ebx
add edi, 2
cmp edi, 0x5c
jl 0x419fce
lea edi, [esi + 0xcc]
mov ebp, 0x10
movsx edx, word [edi]
mov eax, dword [esi + 0xee]
mov cx, word [eax + edx*2 + 0x5a]
push ecx
mov ecx, 0x479c08
call fcn.00422640
test eax, eax
je 0x41a03b
push 1
push eax
push ebx
mov ecx, esi
call fcn.00419a50
inc ebx
add edi, 2
dec ebp
jne 0x41a012
push 0xef77
mov ecx, esi
call fcn.00427c40
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x74
ret
Function at 0x41ece0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45efaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ebx
mov word [edi + 0x4c], bx
mov dword [edi + 0x4e], ebx
mov dword [esp + 0x24], 0x461688
call fcn.00452d58
mov esi, 1
mov dword [esp + 0xc], esi
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x8c], ebx
call fcn.00452ece
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0x461678
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x24], 0x461674
push str.data1.fig
lea ecx, [esp + 0x24]
mov dword [esp + 0x8c], esi
call fcn.00423fd0
lea ecx, [esp + 0x20]
call fcn.00424540
test eax, eax
jne 0x41eda1
push str.Can_not_Open_File_1.fig__Exit__n
call fcn.004251e0
lea eax, [esp + 0x24]
add esp, 4
neg eax
sbb eax, eax
lea edx, [esp + 0x24]
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x20], 0x461690
and eax, edx
jmp 0x41ee7b
lea eax, [esp + 0x10]
push 0xe
push eax
lea ecx, [esp + 0x28]
call fcn.004242a0
cmp word [esp + 0x1a], si
je 0x41edca
push str.1.fig_Version_Error__Exit__n
call fcn.004251e0
add esp, 4
jmp 0x41ee5a
mov esi, str.fig_files
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41edf7
cmp cl, bl
je 0x41edf3
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41edf7
add eax, 2
add esi, 2
cmp cl, bl
jne 0x41edd3
xor eax, eax
jmp 0x41edfc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x41ee0f
push str.1.fig_No_logo__Exit__n
call fcn.004251e0
add esp, 4
jmp 0x41ee5a
mov eax, dword [esp + 0x1c]
mov word [edi + 0x4c], ax
and eax, 0xffff
lea ecx, [eax + eax*4]
lea edx, [ecx + ecx*8]
shl edx, 1
sub edx, eax
shl edx, 1
push edx
call fcn.00456e12
xor ecx, ecx
add esp, 4
mov cx, word [edi + 0x4c]
mov dword [edi + 0x4e], eax
lea edx, [ecx + ecx*4]
lea edx, [edx + edx*8]
shl edx, 1
sub edx, ecx
lea ecx, [esp + 0x20]
shl edx, 1
push edx
push eax
call fcn.004242a0
lea ecx, [esp + 0x24]
call fcn.0045400b
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
neg eax
sbb eax, eax
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x20], 0x461690
and eax, ecx
lea ecx, [eax + 0xc]
call fcn.0045300b
lea ecx, [esp + 0x30]
call fcn.00452e1a
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret
Function at 0x42f0e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp word [esi + 0x1b6], 0
jne 0x42f0f7
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x44]
test al, 0x20
je 0x42f105
xor eax, eax
pop esi
add esp, 8
ret
test al, 1
je 0x42f110
xor eax, eax
pop esi
add esp, 8
ret
push 0x7d0
lea ecx, [esi + 0x1bc]
call fcn.0042a970
test eax, eax
jne 0x42f129
pop esi
add esp, 8
ret
push ebx
lea ebx, [esi + 0x17]
mov eax, ebx
push ebp
push edi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov dx, word [eax + 4]
mov word [esp + 0x14], dx
mov di, word [esi + 0x1a2]
sub di, word [esi + 0x19e]
inc edi
call fcn.004471a4
mov ebp, eax
call fcn.0042a930
imul ebp, eax
movsx ecx, di
mov eax, ebp
xor edx, edx
div ecx
mov di, word [esi + 0x1a4]
sub di, word [esi + 0x1a0]
add dx, word [esi + 0x19e]
inc edi
mov word [esp + 0x10], dx
call fcn.004471a4
mov ebp, eax
call fcn.0042a930
imul ebp, eax
movsx ecx, di
mov eax, ebp
xor edx, edx
div ecx
mov ax, word [esp + 0x10]
add dx, word [esi + 0x1a0]
cmp ax, word [ebx]
mov word [esp + 0x12], dx
jne 0x42f1c5
cmp dx, word [ebx + 2]
jne 0x42f1c5
mov cx, word [esp + 0x14]
cmp cx, word [ebx + 4]
je 0x42f140
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x74]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x42f0e3
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp word [esi + 0x1b6], 0
jne 0x42f0f7
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x44]
test al, 0x20
je 0x42f105
xor eax, eax
pop esi
add esp, 8
ret
test al, 1
je 0x42f110
xor eax, eax
pop esi
add esp, 8
ret
push 0x7d0
lea ecx, [esi + 0x1bc]
call fcn.0042a970
test eax, eax
jne 0x42f129
pop esi
add esp, 8
ret
push ebx
lea ebx, [esi + 0x17]
mov eax, ebx
push ebp
push edi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov dx, word [eax + 4]
mov word [esp + 0x14], dx
mov di, word [esi + 0x1a2]
sub di, word [esi + 0x19e]
inc edi
call fcn.004471a4
mov ebp, eax
call fcn.0042a930
imul ebp, eax
movsx ecx, di
mov eax, ebp
xor edx, edx
div ecx
mov di, word [esi + 0x1a4]
sub di, word [esi + 0x1a0]
add dx, word [esi + 0x19e]
inc edi
mov word [esp + 0x10], dx
call fcn.004471a4
mov ebp, eax
call fcn.0042a930
imul ebp, eax
movsx ecx, di
mov eax, ebp
xor edx, edx
div ecx
mov ax, word [esp + 0x10]
add dx, word [esi + 0x1a0]
cmp ax, word [ebx]
mov word [esp + 0x12], dx
jne 0x42f1c5
cmp dx, word [ebx + 2]
jne 0x42f1c5
mov cx, word [esp + 0x14]
cmp cx, word [ebx + 4]
je 0x42f140
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x74]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x431960
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x93]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
call fcn.00456e12
mov edi, eax
mov eax, dword [ebp + 0x93]
mov dword [ebp + 0x8f], edi
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
lea esi, [eax*8]
push esi
call fcn.00456e12
add esp, 8
mov ebx, eax
mov dword [esp + 0x10], ebx
push esi
mov esi, dword [esp + 0x1c]
push ebx
mov ecx, esi
call fcn.00452ba4
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 8]
test eax, eax
jne 0x431a84
cmp word [ebp + 0xa], 0
mov ecx, dword [ebp + 0x8f]
mov esi, ebx
mov dword [esp + 0x1c], 0
jle 0x431a84
xor edi, edi
cmp word [ebp + 8], di
jle 0x431a6f
mov ax, word [esi]
mov ebx, 0xffff
mov word [ecx], ax
mov dx, word [esi + 2]
mov ax, word [ecx + 4]
mov word [ecx + 2], dx
mov dl, byte [esi + 4]
add ecx, 0xf
and dl, 1
add esi, 8
sub ebx, edx
mov dl, byte [ecx - 9]
xor bl, al
and ebx, 1
xor ebx, eax
mov al, dl
mov word [ecx - 0xb], bx
mov bl, byte [esi - 3]
xor al, bl
and al, 0x1f
xor al, dl
mov byte [ecx - 9], al
mov dl, byte [esi - 3]
xor al, dl
and al, 0x7f
xor al, dl
mov byte [ecx - 9], al
mov bl, byte [esi - 3]
mov dl, al
xor dl, bl
and dl, 0x40
xor dl, al
mov byte [ecx - 9], dl
mov bl, byte [esi - 3]
mov al, dl
xor al, bl
and al, 0x20
xor al, dl
inc edi
mov byte [ecx - 9], al
movsx edx, word [ebp + 8]
cmp edi, edx
jl 0x4319f8
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
movsx edx, word [ebp + 0xa]
inc eax
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x4319f0
push ebx
call fcn.00456e3b
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x403b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 8], 0
je 0x403baf
push edi
xor edi, edi
test ebx, ebx
je 0x403b70
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x403b80
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov al, byte [ecx + edx]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc dword [esi + 0xc]
inc edi
cmp edi, ebx
jb 0x403b51
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esi]
push 0
lea ecx, [ebp - 4]
push ecx
push 0x10000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403b70
mov eax, dword [ebp - 4]
test eax, eax
je 0x403b70
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x403b59
push esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040e270
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x403b4a

Function at 0x40d7a0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
push edi
mov edi, eax
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00402190
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x42e141
mov ebx, 1
mov byte [ebp - 1], al
mov esi, 0x4a90e8
cmp dword [0x4a7f54], ebx
je 0x42e15a
push 0x4a7f54
lea ecx, [ebp - 1]
mov eax, 0x4a7f6c
call fcn.0040f1d0
test al, al
je 0x42e180
mov al, byte [0x4a90e8]
mov bl, byte [0x4a90e9]
push 0x4a7f50
lea ecx, [ebp - 0x438]
push ecx
push 0x104
push 0x4a7f6c
mov byte [0x4a7f58], al
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edx, dword [0x4a7f54]
push edx
push 0x4a7f6c
call fcn.004016a0
test eax, eax
jne 0x42e192
cmp bl, 1
je 0x42e1b8
call fcn.004103e0
call fcn.00410350
cmp byte [0x4a7f58], 0
jne 0x40d872
mov esi, 0x4a8710
call fcn.0040e2c0
push 1
mov ecx, 0x4a8178
call fcn.00409430
cmp byte [0x4a7f58], 0
jne 0x40d891
mov ecx, 0x4a8710
call fcn.00401240
mov ebx, 0x4a90e8
call fcn.004010c0
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and dword [edi + 0x32], 0x85cd0e3
out dx, al
mov ch, 0x91
fnstcw word [esi - 0x33c243e2]

Function at 0x40f010
Capabilities:
Log keystrokes

Disassembly:
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [esi], 5
mov dword [esi + 4], 5
mov word [esi + 8], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov word [esi + 0x18], bx
push ebx
mov dword [esi + 0x1a], ebx
mov word [esi + 0x1e], bx
push 0x5b
mov dword [esi + 0xc], 4
call edi
push ebx
push 0x10
mov byte [esi + 0x29], al
call edi
push ebx
push 0xa0
mov byte [esi + 0x26], al
call edi
push ebx
push 0xa1
mov byte [esi + 0x27], al
call edi
push ebx
push 0x11
mov byte [esi + 0x28], al
call edi
push ebx
push 0x12
mov byte [esi + 0x24], al
call edi
pop edi
mov byte [esi + 0x25], al
pop ebx
ret
Function at 0x40f700
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412e60
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x40fe90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00422160
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
jmp 0x40feb0
mov cl, byte [eax + 0x4921a0]
mov dl, byte [eax + 0x492198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40feb0
lea eax, [ebp - 8]
push str.AU3_
push eax
call fcn.00413570
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00410d80
add esp, 0x14
mov dword [ebp - 0xc], 0
mov eax, dword [ebx]
push eax
push 0x10000
lea ecx, [ebp - 0x10020]
push 1
push ecx
call fcn.00414c24
add esp, 0x10
cmp eax, 0x18
jl 0x40ff62
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40ff47
xor edx, edx
lea ebx, [ebx]
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x425c1f
cmp ecx, 0x14
je 0x425c8e
inc edx
cmp edx, esi
jl 0x40ff20
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx]
push 1
lea edx, [ecx + edi - 0x14]
push 0xffffffffffffffec
push eax
mov dword [ebp - 0xc], edx
call fcn.00414ff1
add esp, 0xc
jmp 0x40fef1
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
jne 0x425c70
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
jne 0x425c76
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425c7e
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
jne 0x425c86
add ecx, 5
cmp ecx, 0x14
jl 0x40ff22
jmp 0x40ff36
inc ecx
jmp 0x40ff36
add ecx, 2
jmp 0x40ff36
add ecx, 3
jmp 0x40ff36
add ecx, 4
jmp 0x40ff36
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push 0
lea edx, [ecx + edx + 0x14]
push edx
push eax
call fcn.00414ff1
mov ecx, dword [esi]
push ecx
push 4
lea edx, [ebp - 8]
push 1
push edx
call fcn.00414c24
lea eax, [ebp - 8]
push str.EA06
push eax
mov byte [ebp - 4], 0
call fcn.00414c50
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40ff67

Function at 0x410350
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x497520]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x497520]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x497518], eax
call esi
mov edx, dword [0x497518]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x497514], eax
call esi
mov eax, dword [0x497518]
push 0
push eax
call esi
pop esi
ret