joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10041c65
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10065084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1003531b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1003531b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10041cdc
cmp word [ecx], dx
je 0x10041cdc
mov eax, dword [0x100553c4]
push edi
dec eax
push eax
push 0x100552b0
call fcn.10041c04
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10041d4f
cmp word [eax], dx
je 0x10041d4f
mov eax, dword [edi]
test eax, eax
je 0x10041d00
cmp word [eax], dx
je 0x10041d00
lea eax, [ebp - 0x10]
push eax
call fcn.100415e7
jmp 0x10041d09
lea eax, [ebp - 0x10]
push eax
call fcn.10041682
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10041d79
mov eax, dword [0x100552ac]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10054fa0
call fcn.10041c04
add esp, 0xc
test al, al
je 0x10041d79
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10041d44
cmp word [eax], di
je 0x10041d44
lea eax, [ebp - 0x10]
push eax
call fcn.100415e7
pop ecx
jmp 0x10041d7b
lea eax, [ebp - 0x10]
push eax
call fcn.10041682
jmp 0x10041d41
mov eax, dword [edi]
test eax, eax
je 0x10041d66
cmp word [eax], dx
je 0x10041d66
lea eax, [ebp - 0x10]
push eax
call fcn.1004159c
pop ecx
jmp 0x10041d79
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10041e44
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10041a89
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10041e44
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10041e44
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10041e44
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10041dd1
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100399ff
test ebx, ebx
je 0x10041e3f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100399ff
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10041e44
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10041e44
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10045ba1
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10041e46
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012405
leave
ret
Function at 0x10045dc1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10045d3d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10045f30
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10045f30
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10045ee5
jg 0x10045e1d
test eax, eax
je 0x10045edb
push 1
push 0x1000
call fcn.10032805
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10045e40
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10045ed2
push 0x8000
push ebx
call fcn.10045c6e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10045e69
jg 0x10045e64
cmp ecx, 0x1000
jb 0x10045e69
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1003a60c
add esp, 0x10
cmp eax, 0xffffffff
je 0x10045eae
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10045e64
jl 0x10045e95
test ecx, ecx
jne 0x10045e56
push dword [ebp - 0xc]
push ebx
call fcn.10045c6e
push esi
call fcn.10032e1b
add esp, 0xc
xor ebx, ebx
jmp 0x10045f3e
cmp byte [edi + 0x24], 0
je 0x10045ec5
cmp dword [edi + 0x20], 5
jne 0x10045ec5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10045ed0
mov ebx, dword [edi + 0x18]
jmp 0x10045ed2
xor ebx, ebx
push esi
call fcn.10032e1b
pop ecx
jmp 0x10045f3e
test ecx, ecx
jg 0x10045ea7
jl 0x10045ee5
test eax, eax
jae 0x10045ea7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1003babf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10045f05
cmp byte [edi + 0x1c], 0
je 0x10045ea7
jmp 0x10045f36
push ebx
call fcn.10042f42
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10045ea7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10045f3e
cmp byte [edi + 0x1c], 0
je 0x10045f3b
mov ebx, dword [edi + 0x18]
jmp 0x10045f3e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1003babf
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100492d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004be4e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10065084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10065b74]
cmp eax, 0xffffffff
jne 0x10049306
xor ebx, ebx
jmp 0x1004930f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10049351
nop dword [eax]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x10049390
test esi, esi
jne 0x10049394
push 0x10048dd0
push 0x10069cd4
call fcn.10048940
mov eax, dword [0x10065b74]
add esp, 8
cmp eax, 0xffffffff
je 0x10049351
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1004937e
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1004937e
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100493d6
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100493bf
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10049394
cmp dword [ebx + 0x18], 0
je 0x10049320
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100493fd
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100493fd
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10048df0
cmp dword [ebx + 0x18], 0
jne 0x100493e0
jmp 0x10049320

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
mov ebx, 0x408f6c
nop
mov ecx, 0x6b5d30fc
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x42e3d0
mov ecx, 0x6fe11490
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x6216706f
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x5c50498e
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x10001070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
jmp 0x1000113c
lea eax, [ebp - 0x104]
push eax
call 0x100012e8
push 0x1000107e
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x10001209
lea eax, [ebp - 0x108]
push eax
push 0x20019
push 0
push 0x10001112
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x1000126e
mov dword [ebp - 0x10c], 0x103
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x10001102
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x1000126e
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x100011ee
mov word [ebx], 0x5c
push 0x10001132
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x1000126e
mov dword [0x1000300c], eax
push 0x10001107
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10001263
push eax
push 0x3ea
call eax
pop edx
test eax, eax
je 0x10001263
mov dword [0x10003008], eax
push 0x3eb
mov ebx, section..data
call edx
test eax, eax
je 0x10001263
mov dword [section..data], edx
call 0x1000124a
add dword [esp], 0x4db6
call eax
mov dword [0x10003004], eax
sub esp, 4
pop dword [0x10003010]
leave
ret
push dword [0x1000300c]
call sub.KERNEL32.dll_FreeLibrary
mov dword [0x1000300c], 0
mov dword [section..data], 0xffffffff
mov dword [0x10003010], 0
mov dword [0x10003004], 0
mov dword [0x10003008], 0
push 0x10
push 0x1000112c
push 0x10001088
push 0
call sub.USER32.dll_MessageBoxA
push 0xffffffffffffffff
call sub.KERNEL32.dll_ExitProcess
leave
ret
Function at 0x100ab700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x2cfa1
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x100bb0fc
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.100bb2ac
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x100bb1fa
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x100bb19d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x100bb1e0
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x100bb1b4
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x100bb1cf
test al, 0x40
je 0x100bb1c6
mov ecx, dword [edi + 0x20]
jmp 0x100bb1cd
test al, 0x80
je 0x100bb1e0
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x100bb1e0
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x100bb16c
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x100ee7f4
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0xb649a
jmp fcn.10001058

Function at 0x100ee7fe
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0xb6476
jmp fcn.10001058

Function at 0x100ee808
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0xb645e
jmp fcn.10001058

Function at 0x100ee812
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0xb646a
jmp fcn.10001058

Function at 0x100ee81c
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0xb6482
jmp fcn.10001058

Function at 0x100ee826
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0xb648e
jmp fcn.10001058

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

Function at 0x403910
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fe], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404670], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404604], eax
mov dword [0x4040f6], eax
mov dword [0x4045f0], 0x30
mov dword [0x4045f4], 2
jmp 0x403955
mov dword [0x4045f8], 0x402f69
mov dword [0x4045fc], 0
mov dword [0x404600], 0
mov dword [0x404618], 0x404564
mov dword [0x404610], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404608], eax
mov dword [0x40461c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40460c], eax
push 0x4045f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040f6]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push str.first
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404668], eax
push 5
push dword [0x404668]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404668]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404620]
jmp 0x403a29
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a1b
mov eax, dword [0x404628]
jmp 0x403a44
call 0x402a90
ret
Function at 0x401087
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
push edi
lea eax, [ebp - 0x220]
push eax
mov edi, 0x104
push edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push dword [ebp + 8]
call fcn.004013e8
call fcn.00445a9a
test eax, eax
je 0x4010d8
push 0x10
push 0x46bda6
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 0x40128b
cmp dword [0x48a324], 0
mov ebx, 0x48a338
jne 0x401106
push 0xffffffffffffffff
push dword [0x48a32c]
mov esi, 0x48b470
push 1
call fcn.004082b0
mov al, byte [0x4795bc]
mov byte [0x48b472], al
jmp 0x401154
lea eax, [ebp - 2]
push eax
push 0x48a324
mov esi, ebx
mov eax, 0x48b470
call fcn.004088f4
test al, al
jne 0x40112e
mov dword [0x4795d4], 1
jmp 0x40127e
mov al, byte [0x48b470]
mov byte [0x48a328], al
mov al, byte [0x48b471]
push 0x48a320
mov byte [ebp - 1], al
lea eax, [ebp - 0x430]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
push dword [0x48a324]
push ebx
call fcn.0041b390
test eax, eax
je 0x40118a
mov edi, 0x48b470
call fcn.00408466
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x4795d4], 1
jmp 0x40128b
cmp byte [ebp - 1], 1
jne 0x401239
cmp byte [0x48a2f5], 1
jne 0x401239
call fcn.0040f6ce
test al, al
jne 0x401239
push edi
lea eax, [ebp - 0x430]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
cmp byte [ebp - 2], 0
je 0x401212
mov edi, 0x46be10
push edi
lea esi, [ebp - 0x10]
call fcn.00410005
push ebx
mov eax, esi
call fcn.00410258
push edi
mov eax, esi
call fcn.00410258
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x430]
push eax
push 0x46be14
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x10]
call fcn.0044f971
pop ecx
jmp 0x401274
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x430]
push eax
push 0x46be14
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401274
call fcn.00401292
call fcn.00401377
cmp byte [0x48a328], 0
mov esi, 0x48aaf0
jne 0x401258
mov eax, esi
call fcn.0040bbe1
push 1
mov ecx, 0x48a548
call fcn.0041b544
cmp byte [0x48a328], 0
jne 0x401274
mov ecx, esi
call fcn.0040c0eb
mov edi, 0x48b470
call fcn.00408466
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40292b
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push 0xc
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
xor ebp, ebp
push ebp
mov edi, eax
push ebp
push edi
call esi
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
call esi
mov ebx, dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push eax
call ebx
push 2
push ebp
push ebp
lea eax, [edi + 8]
push eax
call esi
push eax
mov eax, dword [esp + 0x30]
push dword [eax]
call esi
push eax
call ebx
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push ebp
push ebp
push edi
push 0x402999
push ebp
push ebp
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x4037dc
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push edi
push 1
push dword [esi]
call fcn.0040522d
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebp, ebp
push ebp
push 0x25
call edi
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x10], ebp
push eax
jge 0x40382c
push 0x25
push 0x100
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x40384e
push 0x27
push 0x100
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push dword [esi]
call fcn.0040522d
pop edi
pop ebp
mov al, 1
pop ebx
ret 4

Function at 0x403cac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xb0
push dword [ebx]
call esi
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x403cd9
xor al, al
jmp 0x403ced
push edi
push 0
push 0
push 0xe
push dword [ebx]
call esi
mov edi, eax
test edi, edi
jne 0x403cf3
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 0x101]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f907
pop ecx
push eax
mov dword [ebp - 4], eax
lea eax, [edi + 1]
push eax
push 0xd
push dword [ebx]
call esi
test eax, eax
je 0x403d50
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x403d2f
mov ecx, dword [ebp - 4]
and word [ecx + eax*2], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2]
push eax
mov eax, dword [ebp + 8]
call fcn.004101c0
mov bl, 1
push dword [ebp - 4]
call fcn.0044f971
pop ecx
mov al, bl
jmp 0x403cec
xor bl, bl
jmp 0x403d43
Function at 0x40522d
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
jne 0x405258
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x405273
push 1
jmp 0x40525a
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop ebp
ret 8

Function at 0x40532b
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push 0
push 0
mov ebx, eax
push 0xe
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x405349
mov esi, 0x7fff
push ebp
xor ecx, ecx
push 2
lea ebp, [esi + 1]
pop edx
mov eax, ebp
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f907
pop ecx
mov edi, eax
push edi
push ebp
push 0xd
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
and word [edi + esi*2], 0
test eax, eax
mov eax, dword [esp + 0x14]
pop ebp
jne 0x40539b
push 0x46bf80
call fcn.004101c0
xor bl, bl
push edi
call fcn.0044f971
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
ret 4
push edi
call fcn.004101c0
mov bl, 1
jmp 0x40538c
Function at 0x405e8d
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x405eab
mov eax, dword [esp + 0xc]
cmp byte [eax + 5], 1
jne 0x405f43
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 0
push 0
push 0xe
push dword [esp + 0x24]
call ebx
mov esi, eax
test esi, esi
jne 0x405eca
mov esi, 0x7fff
xor ecx, ecx
push 2
lea ebp, [esi + 1]
pop edx
mov eax, ebp
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f907
pop ecx
mov edi, eax
push edi
push ebp
push 0xd
push dword [esp + 0x24]
call ebx
and word [edi + esi*2], 0
test eax, eax
pop ebp
pop ebx
jg 0x405f09
xor esi, esi
inc esi
push edi
call fcn.0044f971
pop ecx
mov eax, esi
jmp 0x405f46
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xc], 0
jne 0x405f22
push edi
call fcn.0045179a
pop ecx
push eax
push edi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
push dword [esi + 0x20]
push edi
call fcn.00451c53
test eax, eax
pop ecx
pop ecx
je 0x405f3c
mov byte [esi + 0xac], 1
xor esi, esi
jmp 0x405efe
push edi
call fcn.0044f971
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
ret 8