joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x10015bbc]
mov dword [ebp - 4], eax
jmp 0x1000e067
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000e080
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1000e07e
mov eax, dword [ebp - 4]
jmp 0x1000e104
jmp 0x1000e05f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1000fd92
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000e101
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x1000e0c3
mov edx, dword [ebp - 4]
mov eax, dword [0x10015bbc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10015bbc], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1000fd92
mov esp, ebp
pop ebp
ret

Function at 0x1000e5f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x1000e639
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x1000e639
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x1000e639
xor eax, eax
jmp 0x1000e67a
mov dword [ebp - 4], 1
jmp 0x1000e64b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000e675
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1000e673
xor eax, eax
jmp 0x1000e67a
jmp 0x1000e642
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
push 0x100
push 0x65
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004012e0
add esp, 8
mov dword [ebp - 8], eax
call fcn.004011f0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00401330
add esp, 8
call fcn.00401290
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401290
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x44
push 0
lea eax, [ebp - 0x54]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x54], 0x44
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x405448
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret

Function at 0x401d1e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401d5d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401d5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401d5d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401d5d
cmp dword [ecx + 0x74], 0xe
jbe 0x401d5d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x403bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 8], 0
je 0x403c1f
push edi
xor edi, edi
test ebx, ebx
je 0x403be0
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x403bf0
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 0x403bc1
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 0x403be0
mov eax, dword [ebp - 4]
test eax, eax
je 0x403be0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x403bc9
push esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040e3b0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x403bba
Function at 0x40d820
Capabilities:
Create process on windows
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.00401f00
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x42e1d0
mov eax, dword [0x4a6f54]
test eax, eax
je 0x42e1e9
mov byte [ebp - 1], 0
mov esi, 0x4a80e8
cmp eax, 1
je 0x42e1ff
push 0x4a6f54
lea ecx, [ebp - 1]
mov eax, 0x4a6f6c
call fcn.0040f6e0
test al, al
je 0x42e226
mov cl, byte [0x4a80e8]
mov bl, byte [0x4a80e9]
push 0x4a6f50
lea edx, [ebp - 0x438]
push edx
push 0x104
push 0x4a6f6c
mov byte [0x4a6f58], cl
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [0x4a6f54]
push eax
push 0x4a6f6c
call fcn.00401460
test eax, eax
jne 0x42e23c
cmp bl, 1
je 0x42e262
call fcn.00410530
call fcn.00410710
cmp byte [0x4a6f58], 0
jne 0x40d8f9
mov esi, 0x4a7710
call fcn.0040e420
push 1
mov ecx, 0x4a7178
call fcn.00409470
cmp byte [0x4a6f58], 0
jne 0x40d918
mov ecx, 0x4a7710
call fcn.00401000
mov ebx, 0x4a80e8
call fcn.0040ede0
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push 0x483c9a
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 0x40d92f
lea ecx, [ebp - 0x228]
mov dword [0x4964f4], 0xffffffff
push ecx
jmp 0x40d929
mov ebx, dword [0x4a6f5c]
push 0xffffffffffffffff
push 1
mov byte [ebp - 2], 0
call fcn.00403cf0
mov dl, byte [0x4964e8]
mov bl, byte [ebp - 2]
mov byte [0x4a80eb], dl
jmp 0x40d8bb
lea eax, [ebp - 0x228]
mov dword [0x4964f4], 1
push eax
jmp 0x40d929
mov ebx, 0x4a80e8
call fcn.0040ede0
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4964f4], 1
jmp 0x40d92f
call fcn.00432f25
test al, al
jne 0x40d8dc
push 0x104
lea edx, [ebp - 0x438]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [ebp - 1], 0
je 0x42e2e0
mov edi, 0x483d08
lea esi, [ebp - 0x14]
call fcn.00401c20
mov edi, 0x4a6f6c
mov eax, esi
call fcn.0040d4d0
mov edi, 0x483d08
mov eax, esi
call fcn.0040d4d0
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x228]
push eax
push ecx
lea edx, [ebp - 0x438]
push edx
push 0x483d0c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
call fcn.00402250
jmp 0x40d918
push 1
lea eax, [ebp - 0x228]
push eax
push edi
lea ecx, [ebp - 0x438]
push ecx
push 0x483d0c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40d918
Function at 0x40dd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
call fcn.004035f0
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42732b
mov edx, dword [ebp - 8]
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0
push 0x484624
push edx
xor bl, bl
call edi
test eax, eax
jne 0x40ddd4
mov eax, dword [ebp - 4]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00411777
add esp, 4
lea esi, [ebp - 0x10]
call fcn.0040f680
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push 0x484624
push ecx
call edi
test eax, eax
jne 0x40ddcc
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebp + 8]
mov ebx, esi
call fcn.00402160
mov bl, 1
lea esi, [ebp - 0x10]
call fcn.0040f290
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e6c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.0040bf00
lea eax, [ebp - 0x15c]
push eax
mov byte [edi + 0x2e], 0
mov dword [ebp - 0x15c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
mov dword [edi + 8], eax
lea ebx, [ebp - 0x148]
mov eax, esi
mov dword [edi], ecx
mov dword [edi + 4], edx
call fcn.00402160
call fcn.0040e820
mov eax, 0x484338
call fcn.0040e840
mov eax, dword [edi]
xor ebx, ebx
sub eax, 5
mov byte [edi + 0x2a], bl
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov word [edi + 0x28], bx
je 0x427689
dec eax
jne 0x40e777
mov eax, dword [edi + 4]
mov byte [edi + 0x1d], 1
mov byte [edi + 0x1f], 1
mov byte [edi + 0x21], 1
cmp eax, ebx
je 0x42765a
cmp eax, 1
jne 0x40e777
mov byte [edi + 0x23], al
mov byte [edi + 0x25], al
cmp byte [ebp - 0x42], al
jne 0x42767a
mov word [edi + 0x26], 0x101
lea esi, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call fcn.0040f120
cmp dword [ebp - 8], ebx
je 0x40e7a9
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.0040f0e0
call eax
cmp dword [ebp - 4], 1
jne 0x40e7a9
mov byte [edi + 0x2a], 1
xor eax, eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
cmp byte [edi + 0x2a], bl
je 0x4276ea
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040f190
cmp dword [ebp - 0x14], ebx
je 0x4276db
lea edx, [ebp - 0x40]
push edx
call fcn.0040f150
call eax
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, ebx
je 0x40e801
push eax
call esi
mov eax, dword [ebp - 0x10]
mov dx, word [ebp - 0x40]
mov word [edi + 0x2c], dx
cmp eax, ebx
je 0x40e813
push eax
call esi
pop esi
mov eax, edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x42], 1
jne 0x42766b
mov word [edi + 0x22], 0x101
jmp 0x40e777
mov byte [edi + 0x23], 1
mov word [edi + 0x24], 0x101
jmp 0x40e777
mov byte [edi + 0x27], 1
mov word [edi + 0x28], 0x101
jmp 0x40e777
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x427698
mov word [edi + 0x1c], 0x101
jmp 0x4276c9
cmp eax, 1
jne 0x4276a8
mov byte [edi + 0x1d], al
mov word [edi + 0x1e], 0x101
jmp 0x4276c9
cmp eax, 2
jne 0x4276c9
cmp byte [ebp - 0x42], 1
mov byte [edi + 0x1d], 1
mov byte [edi + 0x1f], 1
mov byte [edi + 0x21], 1
jne 0x4276c5
mov byte [edi + 0x1e], 1
jmp 0x4276c9
mov byte [edi + 0x20], 1
movzx eax, byte [ebp - 0x44]
shr eax, 6
and eax, 1
mov byte [edi + 0x2e], al
jmp 0x40e777
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x40e7f1
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40e801
Function at 0x40f3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp - 8]
push ecx
xor eax, eax
push 1
push eax
mov word [esi], ax
mov eax, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425f9d
mov edx, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push eax
mov eax, dword [ebp - 8]
push edx
add edi, edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40f463
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0x10]
jae 0x425fa3
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 8]
push eax
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push eax
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
xor edx, edx
mov word [edi + esi - 2], dx
jmp 0x40f44f
Function at 0x40f780
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.004223e0
xor eax, eax
nop
mov cl, byte [eax + 0x4911a0]
mov dl, byte [eax + 0x491198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40f790
lea eax, [ebp - 8]
push str.AU3_
push eax
call fcn.00413800
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00411000
add esp, 0x14
push ebx
push esi
mov dword [ebp - 0xc], 0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [ebp - 0x10020]
push 1
push edx
call fcn.00414eb4
add esp, 0x10
cmp eax, 0x18
jl 0x40f851
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40f820
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x40f83e
cmp ecx, 0x14
je 0x425ea9
inc edx
cmp edx, esi
jl 0x40f800
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx + edi - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0xc], edx
call fcn.00415281
add esp, 0xc
jmp 0x40f7d4
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x40f85f
inc ecx
jmp 0x40f812
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
je 0x40f874
add ecx, 2
jmp 0x40f812
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425ea1
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x425e90
add ecx, 4
jmp 0x40f812
add ecx, 5
cmp ecx, 0x14
jl 0x40f802
jmp 0x40f812
add ecx, 3
jmp 0x40f812
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.00415281
mov eax, dword [esi]
push eax
push 4
lea ecx, [ebp - 8]
push 1
push ecx
call fcn.00414eb4
lea edx, [ebp - 8]
push str.EA06
push edx
mov byte [ebp - 4], 0
call fcn.00414ee0
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40f856
Function at 0x40f920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
or ecx, 0xffffffff
mov ebx, 0x483eb0
call fcn.0040f8b0
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413800
push esi
call fcn.0041137c
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f9e0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040fa10
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f974
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x487128
push eax
call fcn.00414b72
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x427c3f
push edi
call fcn.0040f780
cmp eax, ebx
je 0x427c49
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414bf6
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f9d3
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00414eb4
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044b31e
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x427c75
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00415192
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f9d3

Function at 0x40f9e0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004130e0
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 0x410710
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x496520]
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 [0x496520]
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 [0x496518], eax
call esi
mov edx, dword [0x496518]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x496514], eax
call esi
mov eax, dword [0x496518]
push 0
push eax
call esi
pop esi
ret

Function at 0x410c50
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 0x41a3a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48fd40]
jne 0x41a3b2
repz ret
jmp fcn.004220a6

Function at 0x42023c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48fd40]
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.00417a1c
and dword [ebp - 0x14], 0
cmp dword [0x496154], 0
mov dword [ebp - 0x18], eax
jne 0x4202ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x420397
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4833b8
push ebx
call edi
test eax, eax
je 0x420397
mov esi, dword [section..data]
push eax
call esi
push 0x4833a8
push ebx
mov dword [0x496154], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x496158], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49615c], eax
call edi
push eax
call esi
mov dword [0x496164], eax
test eax, eax
je 0x4202ef
push 0x483360
push ebx
call edi
push eax
call esi
mov dword [0x496160], eax
mov eax, dword [0x496160]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x48f004]
cmp eax, ecx
je 0x420348
cmp dword [0x496164], ecx
je 0x420348
push eax
call esi
push dword [0x496164]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x420348
test ebx, ebx
je 0x420348
call edi
test eax, eax
je 0x42033f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42033f
test byte [ebp - 8], 1
jne 0x420348
or dword [ebp + 0x10], 0x200000
jmp 0x42037b
mov eax, dword [0x496158]
cmp eax, dword [ebp - 0x18]
je 0x42037b
push eax
call esi
test eax, eax
je 0x42037b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42037b
mov eax, dword [0x49615c]
cmp eax, dword [ebp - 0x18]
je 0x42037b
push eax
call esi
test eax, eax
je 0x42037b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x496154]
call esi
test eax, eax
je 0x420397
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x420399
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a3a8
leave
ret
Function at 0x4300a8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
cmp word [eax], 0
push ebx
push esi
push edi
je 0x4301c9
push 0
push 0
push 3
push 0
push 0
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4300e6
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4300db
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 8]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0x481a00
push 0
push 0
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4300db
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 0
mov eax, dword [ebp + 0x14]
jne 0x4301a2
cmp dword [eax], 0
jne 0x4301a2
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
push 0x2000
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4301d0
mov dword [ebp + 0xc], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4301e1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
push eax
push 0
mov dword [esi + 0x60], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10