joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d1290c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
call fcn.5d126e7c
mov esi, dword [esp + 0x18]
push 5
push dword [esp + 0x20]
xor ebp, ebp
push esi
mov dword [esp + 0x18], ebp
call fcn.5d121b6b
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x5d129198
push ebx
push edi
push 0xf0
push dword [esp + 0x28]
push esi
call fcn.5d121b6b
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, dword [sym.imp.kernel32.dll_LockResource]
add esp, 0xc
cmp eax, ebp
je 0x5d12911d
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x5d12917b
push eax
call ebx
mov edi, eax
test edi, edi
je 0x5d12917b
push ebp
push edi
call fcn.5d126e7c
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x5d129167
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x5d129185
push ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x5d129185
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop edi
pop ebx
je 0x5d129198
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x5d1291a2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
call fcn.5d126e7c
mov esi, dword [esp + 0x18]
push 5
push dword [esp + 0x20]
xor ebp, ebp
push esi
mov dword [esp + 0x18], ebp
call fcn.5d121b58
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x5d129279
push ebx
push edi
push 0xf0
push dword [esp + 0x28]
push esi
call fcn.5d121b58
mov edi, dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, dword [sym.imp.kernel32.dll_LockResource]
add esp, 0xc
cmp eax, ebp
je 0x5d1291fe
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x5d12925c
push eax
call ebx
mov edi, eax
test edi, edi
je 0x5d12925c
push ebp
push edi
call fcn.5d126e7c
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x5d129248
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x5d129266
push ebx
call dword [sym.imp.kernel32.dll_GlobalHandle]
push eax
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x5d129266
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop edi
pop ebx
je 0x5d129279
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_SetLastError]
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x5d1299d4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.5d1299c6
and byte [esi + 0xc], 0
mov eax, sym.ATL70.DLL_Ordinal_16
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call fcn.5d129e50
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x5d129a2e
cmp dword [ebp - 0x18], 5
jb 0x5d129a46
jmp 0x5d129a42
cmp dword [ebp - 0xc], 1
jne 0x5d129a46
cmp dword [ebp - 0x18], 4
ja 0x5d129a42
jne 0x5d129a46
cmp dword [ebp - 0x14], 0
jbe 0x5d129a46
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x5d12e234
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2b0000]
push edi
jmp 0x6b690a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6b6911
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b6900
mov eax, 1
add ebx, ebx
jne 0x6b6923
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6b6934
jne 0x6b6953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b6953
dec eax
add ebx, ebx
jne 0x6b6940
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6b6918
add ebx, ebx
jne 0x6b694f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6b69a5
xor ecx, ecx
sub eax, 3
jb 0x6b696b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6b69da
sar eax, 1
mov ebp, eax
jmp 0x6b6976
add ebx, ebx
jne 0x6b6976
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b6944
inc ecx
add ebx, ebx
jne 0x6b6984
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6b6944
add ebx, ebx
jne 0x6b6991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6b6986
jne 0x6b69a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6b6986
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6b69c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6b69b6
jmp 0x6b6906
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6b69c4
add edi, ecx
jmp 0x6b6906
pop esi
mov edi, esi
mov ecx, 0x2be
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6b69e2
cmp byte [edi], 1
jne 0x6b69e2
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 0x6b69e7
lea edi, [esi + 0x2b4000]
mov eax, dword [edi]
or eax, eax
je 0x6b6a5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d7350]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d7404]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6b6a14
mov ecx, edi
jns 0x6b6a43
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 + 0x2d7408]
or eax, eax
je 0x6b6a59
mov dword [ebx], eax
add ebx, 4
jmp 0x6b6a31
call dword [esi + 0x2d7418]
mov ebp, dword [esi + 0x2d740c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x6b6a93
sub esp, 0xffffff80
jmp 0x403a35
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.0040e3c0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x403bba
Function at 0x40d830
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 0x42e225
mov eax, dword [0x4a7f54]
test eax, eax
je 0x42e23e
mov byte [ebp - 1], 0
mov esi, 0x4a90e8
cmp eax, 1
je 0x42e254
push 0x4a7f54
lea ecx, [ebp - 1]
mov eax, 0x4a7f6c
call fcn.0040f710
test al, al
je 0x42e27b
mov cl, byte [0x4a90e8]
mov bl, byte [0x4a90e9]
push 0x4a7f50
lea edx, [ebp - 0x438]
push edx
push 0x104
push 0x4a7f6c
mov byte [0x4a7f58], cl
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [0x4a7f54]
push eax
push 0x4a7f6c
call fcn.00401460
test eax, eax
jne 0x42e291
cmp bl, 1
je 0x42e2b7
call fcn.00410580
call fcn.00410760
cmp byte [0x4a7f58], 0
jne 0x40d909
mov esi, 0x4a8710
call fcn.0040e430
push 1
mov ecx, 0x4a8178
call fcn.00409480
cmp byte [0x4a7f58], 0
jne 0x40d928
mov ecx, 0x4a8710
call fcn.00401000
mov ebx, 0x4a90e8
call fcn.0040ee40
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 0x484c92
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 0x40d93f
lea ecx, [ebp - 0x228]
mov dword [0x4974f4], 0xffffffff
push ecx
jmp 0x40d939
mov ebx, dword [0x4a7f5c]
push 0xffffffffffffffff
push 1
mov byte [ebp - 2], 0
call fcn.00403cf0
mov dl, byte [0x4974e8]
mov bl, byte [ebp - 2]
mov byte [0x4a90eb], dl
jmp 0x40d8cb
lea eax, [ebp - 0x228]
mov dword [0x4974f4], 1
push eax
jmp 0x40d939
mov ebx, 0x4a90e8
call fcn.0040ee40
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4974f4], 1
jmp 0x40d93f
call fcn.004330af
test al, al
jne 0x40d8ec
push 0x104
lea edx, [ebp - 0x438]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [ebp - 1], 0
je 0x42e335
mov edi, 0x484d00
lea esi, [ebp - 0x14]
call fcn.00401c20
mov edi, 0x4a7f6c
mov eax, esi
call fcn.0040d510
mov edi, 0x484d00
mov eax, esi
call fcn.0040d510
mov ecx, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x228]
push eax
push ecx
lea edx, [ebp - 0x438]
push edx
push 0x484d04
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
call fcn.00402250
jmp 0x40d928
push 1
lea eax, [ebp - 0x228]
push eax
push edi
lea ecx, [ebp - 0x438]
push ecx
push 0x484d04
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40d928
Function at 0x40dd30
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 0x427360
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 0x48561c
push edx
xor bl, bl
call edi
test eax, eax
jne 0x40dde4
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.004117a7
add esp, 4
lea esi, [ebp - 0x10]
call fcn.0040f690
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push 0x48561c
push ecx
call edi
test eax, eax
jne 0x40dddc
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.0040f6b0
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 0x40f400
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 0x425fc9
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 0x40f473
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0x10]
jae 0x425fcf
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 0x40f45f
Function at 0x40f7b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00422410
xor eax, eax
nop
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 0x40f7c0
lea eax, [ebp - 8]
push str.AU3_
push eax
call fcn.00413830
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00411030
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.00414ee4
add esp, 0x10
cmp eax, 0x18
jl 0x40f881
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40f850
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x40f86e
cmp ecx, 0x14
je 0x425ed0
inc edx
cmp edx, esi
jl 0x40f830
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.004152b1
add esp, 0xc
jmp 0x40f804
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x40f88f
inc ecx
jmp 0x40f842
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 0x40f8a4
add ecx, 2
jmp 0x40f842
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425ec8
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x425eb7
add ecx, 4
jmp 0x40f842
add ecx, 5
cmp ecx, 0x14
jl 0x40f832
jmp 0x40f842
add ecx, 3
jmp 0x40f842
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.004152b1
mov eax, dword [esi]
push eax
push 4
lea ecx, [ebp - 8]
push 1
push ecx
call fcn.00414ee4
lea edx, [ebp - 8]
push str.EA06
push edx
mov byte [ebp - 4], 0
call fcn.00414f10
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40f886
Function at 0x40f950
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, 0x484ea8
call fcn.0040f8e0
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413830
push esi
call fcn.004113ac
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040fa10
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040fa40
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 0x40f9a4
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x488120
push eax
call fcn.00414ba2
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x427c94
push edi
call fcn.0040f7b0
cmp eax, ebx
je 0x427c9e
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414c26
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40fa03
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00414ee4
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044b029
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 0x427cca
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.004151c2
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40fa03

Function at 0x40fa10
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00413110
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 0x410760
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

Function at 0x410c60
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 0x41a3d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490d40]
jne 0x41a3e2
repz ret
jmp fcn.004220d6

Function at 0x42026c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490d40]
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.00417a4c
and dword [ebp - 0x14], 0
cmp dword [0x497154], 0
mov dword [ebp - 0x18], eax
jne 0x42031f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4203c7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4843b0
push ebx
call edi
test eax, eax
je 0x4203c7
mov esi, dword [section..data]
push eax
call esi
push 0x4843a0
push ebx
mov dword [0x497154], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x497158], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49715c], eax
call edi
push eax
call esi
mov dword [0x497164], eax
test eax, eax
je 0x42031f
push 0x484358
push ebx
call edi
push eax
call esi
mov dword [0x497160], eax
mov eax, dword [0x497160]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x490004]
cmp eax, ecx
je 0x420378
cmp dword [0x497164], ecx
je 0x420378
push eax
call esi
push dword [0x497164]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x420378
test ebx, ebx
je 0x420378
call edi
test eax, eax
je 0x42036f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42036f
test byte [ebp - 8], 1
jne 0x420378
or dword [ebp + 0x10], 0x200000
jmp 0x4203ab
mov eax, dword [0x497158]
cmp eax, dword [ebp - 0x18]
je 0x4203ab
push eax
call esi
test eax, eax
je 0x4203ab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4203ab
mov eax, dword [0x49715c]
cmp eax, dword [ebp - 0x18]
je 0x4203ab
push eax
call esi
test eax, eax
je 0x4203ab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x497154]
call esi
test eax, eax
je 0x4203c7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4203c9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a3d8
leave
ret
Function at 0x4300fd
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 0x43021e
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 0x43013b
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 0x430130
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 0x4829f8
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 0x430130
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 0x4301f7
cmp dword [eax], 0
jne 0x4301f7
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 0x430225
mov dword [ebp + 0xc], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x430236
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
Function at 0x430258
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push esi
or ecx, 0x50000000
push edi
mov edi, dword [ebp + 8]
test eax, 0x80000
je 0x430278
and eax, 0xfff7ffff
mov edx, dword [0x4a8684]
push 0
push edx
mov edx, dword [ebp + 0x2c]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x4302e3
cmp byte [ebp + 0x30], 0
je 0x4302c8
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x190], 0
jl 0x4302e3
cmp byte [edi + 0x19c], 0
je 0x4302e3
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x2c