joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b4f2
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x43b5ed
lea eax, [ebp + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43b55e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0x359d
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x18]
call fcn.0043b644
add esp, 0x10
jmp 0x43b5eb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x43b5cd
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x43b5ae
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x43b5cb
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.0043021f
mov dword [eax], 0x2cb13638
jmp 0x43b5a3
jmp 0x43b5eb
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x43b5eb
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x43b640
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x43b62c
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x5c]
push 1
push 0x67a2
push dword [ebp - 0x60]
call fcn.00435f3f
add esp, 0x10
jmp 0x43b640
push 0x5b9e
push 0
push 0x3442
call fcn.0043659a
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x44126c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4412bb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x14], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
push eax
push 1
push 0x68cf
push 0x7ba3
push dword [ebp - 0x14]
call fcn.004413c4
add esp, 0x1c
jmp 0x4413c0
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x441300
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 1
push 0x278
call fcn.0043ec53
add esp, 0xc
jmp 0x4413c0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x44132e
push 0xbcc
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x4413c0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x441387
mov dword [ebp - 0x44], 0xffffffff
push 1
push 0x6e2e
push 0x637a
push 0x5586
push 0x5e92
push 0
push 0
push 0x3c06
lea eax, [ebp - 0x44]
push eax
push 0x4b8f
call fcn.00435d01
add esp, 0x28
jmp 0x4413c0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x50], 0
push 0
push 0x59b7
push 0x6d88
push dword [ebp - 4]
push dword [ebp - 0x48]
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 0x3033
lea eax, [ebp - 0x50]
push eax
call fcn.00435d01
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x44bb3c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x44bc30
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x44bb98
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0x2cab
push dword [ebp - 0x18]
push 0x7697
push 1
call fcn.0044bc59
add esp, 0x10
jmp 0x44bc2e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x44bc26
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x44bbe2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x16
jl 0x44bc24
mov dword [ebp - 8], 0xeede0b40
mov dword [ebp - 0x44], 0xaa6
mov dword [ebp - 0x48], 0xf2121f90
mov dword [ebp - 8], 0
jmp 0x44bc0f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xa
jg 0x44bc22
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x44bc08
jmp 0x44bbd7
jmp 0x44bc2e
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x44bc55
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x3c], eax
push 1
push 0x23fe
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x40]
call fcn.00446a90
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x451f10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x451f3a
lea eax, [ebp + 0x24]
mov dword [ebp - 4], eax
push 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
call fcn.00452004
pop ecx
pop ecx
jmp 0x451fff
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x451f91
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0x357e
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x18]
call fcn.0044e8a9
add esp, 0x10
jmp 0x451fff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x451fde
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0x44]
call fcn.0043021f
mov dword [eax], esi
jmp 0x451fff
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x451fff
push 0x2354
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45514b
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x455195
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 1
push 0x46f9
push dword [ebp - 0x14]
call fcn.0045525f
add esp, 0x18
jmp 0x45525b
lea eax, [ebp + 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x455250
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x455241
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x45521d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jg 0x45523f
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
push 0x6831
push dword [ebp - 4]
call fcn.00459bc5
add esp, 0x14
jmp 0x455212
jmp 0x45524e
push 0
push 0x1bf0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x45525b
push 0
push 1
call fcn.00437009
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x48afb1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4990cf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ac484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00488e54
mov dword [ebp - 0x14], eax
cmp dword [0xaa67d0], esi
jne 0x4991c2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x49914f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4992a2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4992a2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4992a2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaa67d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaa67d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaa67d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa67e0], eax
test eax, eax
je 0x4991bf
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa67dc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4991e7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4991da
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4991fc
push 4
pop eax
jmp 0x4992a4
cmp dword [ebp - 0x14], esi
je 0x4991fc
push dword [0xaa67d0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4991e1
mov eax, dword [0xaa67dc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x49925a
cmp dword [0xaa67e0], edi
je 0x49925a
push eax
call ebx
push dword [0xaa67e0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x49925a
test eax, eax
je 0x49925a
call ecx
test eax, eax
je 0x49924f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x49924f
test byte [ebp - 8], 1
jne 0x49925a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49928a
mov eax, dword [0xaa67d4]
cmp eax, edi
je 0x499287
push eax
call ebx
test eax, eax
je 0x499287
call eax
mov esi, eax
test esi, esi
je 0x499287
mov eax, dword [0xaa67d8]
cmp eax, edi
je 0x499287
push eax
call ebx
test eax, eax
je 0x499287
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaa67d0]
call ebx
test eax, eax
je 0x4992a2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4992a4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004882fb
mov esp, ebp
pop ebp
ret
Function at 0x401f21
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
xor edx, edx
xor ebx, ebx
push esi
inc ebx
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], edx
cmp dword [eax + 4], edx
je 0x473a1b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [eax], dl
mov eax, dword [ebp + 0x10]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov dword [edi], edx
mov byte [ecx], dl
mov byte [eax], dl
mov dword [ebp - 0xc], 0x2b
mov dword [ebp - 8], 0x23
mov edi, edx
push edi
mov ecx, esi
call fcn.00402086
movzx eax, word [eax]
push 0x2b
pop ecx
push 0x5e
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x473a22
cmp ax, cx
je 0x473a22
cmp ax, dx
je 0x473a22
cmp ax, word [ebp - 8]
je 0x473a22
push edi
inc edi
mov ecx, esi
mov dword [ebp + 0x1c], edi
call fcn.00402086
movzx eax, word [eax]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
cmp eax, 0x7b
jne 0x473a9d
push 0x40
lea ecx, [ebp - 0x20]
call fcn.00406af6
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x7d
call fcn.00402036
test al, al
je 0x402032
push dword [ebp - 0x20]
push dword [esi*4 + 0x4bb5d0]
call fcn.00420fa7
pop ecx
pop ecx
test eax, eax
je 0x402000
inc esi
cmp esi, 0x62
jl 0x401fe5
cmp esi, 0x62
je 0x473a54
cmp byte [esi + 0x4bb568], 0
jne 0x402032
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x20]
call fcn.0040cb37
and dword [edi], 0xff
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0x18
xor bl, bl
jmp 0x40201b
lea ecx, [ebp - 0x20]
call fcn.0040cb37
xor al, al
jmp 0x40202b
cmp ax, word [ebp - 0xc]
jne 0x473a2d
mov eax, dword [ebp + 0x10]
jmp 0x473a4c
cmp ax, cx
jne 0x473a37
mov eax, dword [ebp + 0x14]
jmp 0x473a4c
cmp ax, dx
jne 0x473a41
mov eax, dword [ebp + 0x18]
jmp 0x473a4c
push 0x23
pop ecx
cmp ax, cx
jne 0x473a4e
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
inc edi
jmp 0x401f6d
push 0
lea ecx, [ebp - 0x20]
call fcn.004061a6
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x473a13
test eax, 0x200
je 0x473a7c
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x473a88
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x40201b
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x40201b
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x473a1b
test eax, 0x200
je 0x473abc
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x473ac8
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x402023
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x402023
Function at 0x402817
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push edi
mov edi, ecx
push 5
pop eax
xor ebx, ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
push ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret
Function at 0x403d44
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20030
call fcn.0042f8a0
push ebx
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040d7b3
lea eax, [ebp - 0x1002c]
push eax
xor ebx, ebx
push 0x7fff
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.004061ca
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x471cc1
mov eax, dword [0x4c1130]
test eax, eax
je 0x403e88
xor edi, edi
inc edi
mov esi, 0x4c2100
cmp eax, edi
je 0x471cd9
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c1130
push 0x4c1148
mov ecx, esi
call fcn.00404110
test al, al
je 0x403e91
mov al, byte [0x4c2100]
mov byte [0x4c1134], al
mov al, byte [0x4c2101]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c1148]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c1120
call fcn.00406a63
mov bl, byte [ebp - 6]
push dword [0x4c1130]
push 0x4c1148
call fcn.00406430
test eax, eax
jne 0x471cf8
cmp byte [ebp - 5], 1
je 0x471d17
call fcn.00403e99
call fcn.004036e3
cmp byte [0x4c1134], 0
mov ebx, 0x4c1708
jne 0x403e4a
mov ecx, ebx
call fcn.00404ffc
push edi
mov ecx, 0x4c1160
call fcn.0040e890
cmp byte [0x4c1134], 0
jne 0x403e65
mov ecx, ebx
call fcn.00403872
mov ecx, esi
call fcn.004052b5
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.0040cb37
pop edi
pop esi
pop ebx
leave
ret 4
or dword [0x4c10bc], 0xffffffff
jmp 0x403e6c
mov dword [0x4c10bc], edi
jmp 0x403e6c
push 0x10
push 0x4b28f4
push str.This_is_a_third_party_compiled_AutoIt_script.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403e79
push 0xffffffffffffffff
push dword [0x4c1138]
mov ecx, esi
push edi
call fcn.0041c676
mov al, byte [0x4c10c2]
mov byte [0x4c2102], al
jmp 0x403e09
mov ecx, esi
call fcn.004052b5
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c10bc], edi
jmp 0x403e79
call fcn.004471fa
test al, al
jne 0x403e2b
cmp byte [ebp - 7], al
jne 0x403e2b
lea ecx, [ebp - 0x2c]
call fcn.00405374
push 0x49dab4
lea ecx, [ebp - 0x1c]
call fcn.0040ce70
lea ecx, [ebp - 0x1c]
test bl, bl
je 0x471d6e
mov edi, 0x4b2928
push edi
call fcn.0040518c
push 0x4c1148
lea ecx, [ebp - 0x1c]
call fcn.0040510d
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040518c
push 1
jmp 0x471d77
push dword [ebp + 8]
call fcn.0040518c
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4b292c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.0040cb37
jmp 0x403e65
Function at 0x404096
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x4040ce
push edi
push 0
push 0x4aeefc
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x474f16
pop edi
pop esi
pop ebx
leave
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4040cd
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4040cd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4040cd
mov ecx, dword [ebx]
push 0
mov edx, dword [ecx]
push edi
push eax
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
push edx
push edx
push edx
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x4040cd

Function at 0x40451d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x474fc0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042381e
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x404543

Function at 0x4049fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
push ebx
call fcn.0040bcce
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4741cc
xor al, al
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push str.Include
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474246
mov eax, dword [ebp - 4]
push esi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041f4ea
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004020a3
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push str.Include
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47423d
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 4], eax
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00406a63
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.004047e7
pop esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x404a2d
Function at 0x40c2e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x40c354
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x40c317
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x40c327
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
inc edi
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx - 1], al
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x40c2f7
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40c317
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40c317
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x40c2ff
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004045d6
jmp 0x40c2ee