joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432d20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46bf08
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042d620
test eax, eax
je 0x432e28
lea ecx, [esp + 0xc]
call fcn.004063a0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042d620
mov ecx, eax
call fcn.0042ade0
test eax, eax
je 0x432e0f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x432e0f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x432e0f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004065a0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x432df1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x432e0f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x49bc80]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4713c8
call fcn.004065a0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x432e70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042d620
test eax, eax
je 0x432f5f
mov ecx, edi
call fcn.0042d620
mov ecx, eax
call fcn.0042ac90
test eax, eax
jne 0x432f5f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x432f5f
mov eax, dword [0x49bc80]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x432ed2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042d620
mov ecx, eax
call fcn.0042aec0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x432f5f
cmp ebx, eax
jne 0x432f5f
cmp dword [esp + 0x10], eax
jne 0x432f45
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x435ba0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c198
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435bd9
inc eax
mov dword [esi + 0x10], eax
jmp 0x435cec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435bed
mov eax, 0xffffffc7
jmp 0x435cee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435bfe
cmp dword [esi + 8], eax
jne 0x435bed
cmp dword [esi + 8], eax
jne 0x435c17
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435c17
mov eax, 0xffffffc7
jmp 0x435cee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x435c2b
push eax
mov ecx, ebx
call fcn.004353d0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004063a0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x435c5c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004063c0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434b40
test eax, eax
mov dword [esp + 0x38], eax
je 0x435c8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4713c8
call fcn.004065a0
mov eax, dword [esp + 0x38]
jmp 0x435cee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435a00
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435cd3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435a20
mov esi, eax
test esi, esi
jne 0x435d03
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435a00
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435ca5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4713c8
call fcn.004065a0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4713c8
call fcn.004065a0
mov eax, esi
jmp 0x435cee

Function at 0x438e30
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x438e90
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x438e90
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x438e90
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x438e90
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x438ed0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43f000
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c7c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046546d
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043e9a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046539b
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00461c5f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00461c5f
push 1
push 0
push 0
mov ecx, esi
call fcn.00461c07
push 1
push 0
push 1
mov ecx, esi
call fcn.00461c07
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004654df
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f180
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c7e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046546d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043e9a0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046539b
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f244
cmp dword [esp + 0x40], 1
jne 0x43f242
cmp ecx, eax
jge 0x43f244
mov eax, ecx
cmp eax, 0xc8
jge 0x43f250
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043f000
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004654df
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f9c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c853
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046007d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00465715
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00466c74
test eax, eax
je 0x43fadc
mov ecx, dword [esp + 0x3c]
call fcn.00465742
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43faa0
push edi
mov ecx, esi
call fcn.00462daa
mov ecx, esi
call fcn.0043fc40
cmp dword [esp + 0x38], 1
jne 0x43fad5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00462ee5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4424f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442523
push esi
call fcn.004455e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44251c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4425a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442592
mov eax, dword [esi + 8]
test eax, eax
je 0x442547
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44258e
cmp eax, 2
je 0x442592
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44253a
cmp eax, 3
je 0x44256d
cmp eax, 1
jne 0x44253a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44253a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44253a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004425d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4425b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004425d0
add esp, 4
pop esi
ret

Function at 0x460e72
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460eaa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045ef29
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045ef01
jmp 0x460eb6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x462567
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4625a9
call fcn.0046805a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4625a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4625a0
xor eax, eax
jmp 0x4625b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004625b7
pop edi
pop esi
pop ebx
ret 4

Function at 0x46858a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4685b8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4685d6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004684f0
jmp 0x4685d6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4685d6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004684f0
test edi, edi
mov eax, edi
jne 0x4685c0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401850
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x15c
push ebx
push ebp
push esi
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.00407c30
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [edi], ecx
lea ecx, [esp + 0x60]
mov dword [edi + 8], eax
push ecx
mov eax, esi
mov dword [edi + 4], edx
call fcn.00401b00
call fcn.00401440
mov eax, 0x47fcbc
mov ecx, esi
call fcn.004013b0
mov eax, dword [edi]
xor ebx, ebx
sub eax, 5
mov byte [edi + 0x26], bl
mov byte [edi + 0x20], bl
mov byte [edi + 0x21], bl
mov byte [edi + 0x1c], bl
mov byte [edi + 0x1d], bl
mov byte [edi + 0x22], bl
mov byte [edi + 0x23], bl
mov byte [edi + 0x24], bl
mov byte [edi + 0x25], bl
mov byte [edi + 0x1e], bl
mov byte [edi + 0x1f], bl
je 0x42af64
sub eax, 1
jne 0x4018f8
cmp byte [esp + 0x166], 1
mov byte [edi + 0x21], 1
mov byte [edi + 0x1d], 1
mov byte [edi + 0x25], 1
jne 0x42af53
mov byte [edi + 0x24], 1
lea esi, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
call fcn.004017f0
cmp dword [esp + 0x18], ebx
je 0x40193d
mov dword [esp + 0xc], ebx
call fcn.004017f0
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x42afbc
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 0xc], 1
jne 0x40193d
mov byte [edi + 0x26], 1
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp byte [edi + 0x26], bl
je 0x42afe0
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
call fcn.00401820
cmp dword [esp + 0x24], ebx
je 0x42afd0
call fcn.00401820
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42afc6
lea ecx, [esp + 0x28]
push ecx
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4019b0
push eax
call ebp
mov eax, dword [esp + 0x10]
mov cx, word [esp + 0x28]
mov word [edi + 0x28], cx
cmp eax, ebx
je 0x4019c4
push eax
call ebp
pop esi
pop ebp
mov eax, edi
pop ebx
add esp, 0x15c
ret
mov byte [edi + 0x23], 1
mov byte [edi + 0x1f], 1
mov byte [edi + 0x1e], 1
jmp 0x4018f8
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x42af78
mov byte [edi + 0x21], 1
mov byte [edi + 0x20], 1
jmp 0x4018f8
cmp eax, 1
jne 0x42af8b
mov byte [edi + 0x21], al
mov byte [edi + 0x1d], al
mov byte [edi + 0x1c], al
jmp 0x4018f8
cmp eax, 2
jne 0x4018f8
cmp byte [esp + 0x166], 1
mov byte [edi + 0x21], 1
mov byte [edi + 0x1d], 1
mov byte [edi + 0x23], 1
jne 0x42afb3
mov byte [edi + 0x1c], 1
jmp 0x4018f8
mov byte [edi + 0x22], 1
jmp 0x4018f8
mov esi, 0x439e66
jmp 0x401924
mov eax, 0x435d83
jmp 0x40199e
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x4019a5
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x4019b0
Function at 0x40e950
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
sub esp, 0x438
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.0040c840
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x433960
mov byte [esp + 0xf], al
mov esi, 0x4a0430
cmp dword [0x49f43c], eax
je 0x433979
push 0x49f43c
lea ecx, [esp + 0x13]
mov eax, 0x49f454
call fcn.0040fee0
test al, al
je 0x43399c
mov cl, byte [0x4a0430]
mov bl, byte [0x4a0431]
push 0x49f438
lea edx, [esp + 0x234]
push edx
push 0x104
push 0x49f454
mov byte [0x49f440], cl
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [0x49f43c]
push eax
push 0x49f454
call fcn.00401750
test eax, eax
jne 0x4339b0
cmp bl, 1
je 0x4339d4
call fcn.00411590
call fcn.00411770
cmp byte [0x49f440], 0
jne 0x40ea1c
mov esi, 0x49fa58
call fcn.0040ee50
push 1
mov ecx, 0x49f660
call fcn.0040aeb0
cmp byte [0x49f440], 0
jne 0x40ea3b
mov ecx, 0x49fa58
call fcn.0040ef50
mov ebx, 0x4a0430
call fcn.004011e0
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0x438
ret
push 0x10
push 0x47f69e
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 0x40ea50
mov ecx, dword [0x49f444]
push 0xffffffffffffffff
push ecx
push 1
xor bl, bl
call fcn.00410860
mov dl, byte [0x48e8cc]
mov byte [0x4a0432], dl
jmp 0x40e9de
lea eax, [esp + 0x20]
mov dword [0x48e8e4], 1
push eax
jmp 0x40ea4a
mov ebx, 0x4a0430
call fcn.004011e0
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x48e8e4], 1
jmp 0x40ea50
call fcn.00437a26
test al, al
jne 0x40e9ff
push 0x104
lea edx, [esp + 0x234]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [esp + 0xf], 0
je 0x433a55
mov edi, 0x47f708
lea esi, [esp + 0x10]
call fcn.0040cc90
mov edi, 0x49f454
mov eax, esi
call fcn.0040dc50
mov edi, 0x47f708
mov eax, esi
call fcn.0040dc50
mov ecx, dword [esp + 0x10]
push 1
lea eax, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x23c]
push edx
push 0x47f70c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, esi
call fcn.0040c3f0
jmp 0x40ea3b
push 1
lea eax, [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x23c]
push ecx
push 0x47f70c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40ea3b
Function at 0x410290
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x4102a5
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
ret
cmp eax, 4
push edi
jle 0x41031c
mov edi, 4
mov eax, 4
sub eax, edi
push eax
lea ecx, [edi + esi + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
call fcn.00415e90
mov eax, dword [esi + 0x58]
sub eax, edi
mov edx, esi
push edi
lea ecx, [eax + esi + 0x14]
sub edx, edi
push ecx
add edx, 0x14
push edx
call fcn.00412990
mov eax, dword [esi + 4]
push eax
push 0x40
lea ecx, [esi + 0x14]
push 1
push ecx
mov dword [esi + 0x54], edi
call fcn.00415c47
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
pop edi
test eax, eax
jne 0x410298
mov edx, dword [esi + 4]
push edx
call fcn.00415c64
add esp, 4
test eax, eax
je 0x429b5d
or eax, 0xffffffff
ret
mov edi, eax
jmp 0x4102b0
mov eax, dword [esi + 4]
push eax
call fcn.00415c98
add esp, 4
test eax, eax
jne 0x410318
ret

Function at 0x410320
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
call fcn.00410290
cmp eax, 0xffffffff
je 0x41041c
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor ebx, ebx
lea edi, [ebx + 1]
call fcn.004101f0
mov edi, dword [esp + 0x18]
dec edi
test edi, edi
jle 0x410396
jmp 0x410350
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x4103a3
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
cmp eax, 0xd
je 0x410388
cmp eax, 0xffffffff
je 0x410396
cmp eax, 0xa
je 0x410396
mov byte [ebx + ebp], al
inc ebx
cmp ebx, edi
jl 0x410350
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
call fcn.00410290
cmp eax, 0xa
jne 0x429ba8
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
cmp eax, 4
jle 0x429b72
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov edx, 4
sub edx, eax
push edx
add eax, ecx
push eax
push ecx
call fcn.00415e90
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x58]
mov ecx, esi
sub ecx, eax
lea ecx, [ecx + edx + 0x14]
push eax
mov edx, esi
sub edx, eax
push ecx
add edx, 0x14
push edx
call fcn.00412990
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
push ecx
push 0x40
lea edx, [esi + 0x14]
push 1
push edx
mov dword [esi + 0x54], eax
call fcn.00415c47
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
test eax, eax
jne 0x410358
jmp 0x429b7b
xor al, al
pop esi
ret 8
mov dword [esp + 0x14], eax
jmp 0x4103b8
mov eax, dword [esi + 4]
push eax
call fcn.00415c64
add esp, 4
test eax, eax
jne 0x410396
mov ecx, dword [esi + 4]
push ecx
call fcn.00415c98
add esp, 4
test eax, eax
jne 0x410396
jmp 0x410373
cmp eax, 0xffffffff
je 0x410396
mov edi, 1
call fcn.004101f0
jmp 0x410396