joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40550f
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ec30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push 0x7d0
push 0x7d0
mov ecx, 0x440380
call fcn.0041e2ae
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
mov ecx, 0x440380
call fcn.0041e2fd
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x440380
push str.WINDOWS_system32_Folder:
push eax
call fcn.0041e187
mov dword [ebp - 0x30], eax
call fcn.00403f0e
add esp, 4
push 0x7d0
push 0x7d0
mov ecx, 0x44037c
call fcn.0041e2ae
push eax
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0xffffffffffffffff
mov ecx, 0x44037c
call fcn.0041e2fd
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x44037c
push str.PROGRAMFILES:
push ecx
call fcn.0041e187
mov dword [ebp - 0x34], eax
call fcn.00403f0e
add esp, 4
lea edx, [ebp - 0x18]
push edx
call fcn.004056d9
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, 0x440374
call fcn.0041dfb7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041de7e
push ecx
mov edx, esp
mov dword [ebp - 0x1c], esp
push 0x440374
push str.AllUser_StartMenu_Folder:
push edx
call fcn.0041e187
mov dword [ebp - 0x40], eax
call fcn.00403f0e
add esp, 4
lea eax, [ebp - 0x20]
push eax
call fcn.0040586d
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x48]
push edx
mov ecx, 0x440370
call fcn.0041dfb7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041de7e
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push 0x440370
push str.AllUser_Desktop_Folder:
push eax
call fcn.0041e187
mov dword [ebp - 0x4c], eax
call fcn.00403f0e
add esp, 4
push 0x440378
call fcn.004054a1
add esp, 4
push str.MsiZap.exe
mov ecx, 0x440378
call fcn.0041e25a
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x440378
push str.Found__MsiZap.exe_:
push ecx
call fcn.0041e187
mov dword [ebp - 0x50], eax
call fcn.00403f0e
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.____________________________________________________________
call fcn.0041deec
mov dword [ebp - 0x54], eax
call fcn.00403f0e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4056d9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ec5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push 0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x34]
push ecx
push 0x20019
push 0
push 0x43aaf4
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push 0x43ab00
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x18]
push edx
push 0x20019
push 0
push 0x43ab0c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push 0
push 0x43ab14
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x28]
push eax
push 0x20019
push 0
push 0x43ab24
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
push 0x43ab30
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x24], 0x7d0
lea ecx, [ebp - 0x20]
call fcn.00406220
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24]
push ecx
push 0x7d0
lea ecx, [ebp - 0x20]
call fcn.0041e2ae
push eax
lea edx, [ebp - 0x10]
push edx
push 0
push str.Common_Start_Menu
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.0041e2fd
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041dbf3
mov eax, dword [ebp - 0x38]
or al, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0041de7e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40586d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ec84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push 0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x34]
push ecx
push 0x20019
push 0
push str.SOFTWARE
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
push str.Microsoft
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x18]
push edx
push 0x20019
push 0
push str.Windows
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push 0
push str.CurrentVersion
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x28]
push eax
push 0x20019
push 0
push str.Explorer
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
push str.Shell_Folders
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x24], 0x7d0
lea ecx, [ebp - 0x20]
call fcn.00406220
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24]
push ecx
push 0x7d0
lea ecx, [ebp - 0x20]
call fcn.0041e2ae
push eax
lea edx, [ebp - 0x10]
push edx
push 0
push str.Common_Desktop
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.0041e2fd
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041dbf3
mov eax, dword [ebp - 0x38]
or al, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0041de7e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x405d4b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ed51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea ecx, [ebp + 0xc]
call fcn.004062a0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x1c], 0x7d0
lea ecx, [ebp - 0x18]
call fcn.00406220
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push ecx
push 0x7d0
lea ecx, [ebp - 0x18]
call fcn.0041e2ae
push eax
lea edx, [ebp - 0x14]
push edx
push 0
lea ecx, [ebp + 0x10]
call fcn.004062a0
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0041e2fd
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041dbf3
mov eax, dword [ebp - 0x20]
or al, 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0041de7e
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0041de7e
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0041de7e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x408e18
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408e38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040be51
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x408e5b
test byte [esp + 8], 2
je 0x408e5b
call fcn.0040bec4
mov dword [eax], 0xd
call fcn.0040becd
mov dword [eax], 5
jmp 0x408e34
xor eax, eax
ret
Function at 0x41b200
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040a130
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41b2cb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41b2cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41b27e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41b289
or bh, 8
and edi, 0x8000000
je 0x41b2a4
mov eax, dword [0x443cbc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41b2cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b6a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41b6cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41b6ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41b70a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x41f914
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x41f94c
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.0041e325
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041e2fd
jmp 0x41f958
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x421716
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 0x421758
call fcn.0042c51b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x421758
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42174f
xor eax, eax
jmp 0x421760
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00421766
pop edi
pop esi
pop ebx
ret 4
Function at 0x40b60c
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, dword fs:[0xff00ff]
push 0xffffffffffffffff
push 0x413892
push eax
jbe 0x40b5e6
inc dword [eax]
add byte [eax], al
sub esp, 0x2b4
lea edi, [ebx + 0x55538f24]
push esi
push edi
mov esi, ecx
push eax
call 0x140190a
je 0x40b61a
dec esp
inc eax
inc ecx
add byte [ebp + 0x80248c], cl
inc dword [eax]
xchg edi, eax
les edx, [edx - 0xaeffbf]
xlatb
lea edx, [esp + 0xff007f]
push edx
call dword [0x414060]
test eax, eax
mov bh, byte [edx]
xchg ebp, eax
inc eax
call dword [0x414708]
push 0xffffffffffffffff
push 0xffffffffffffffbf
push 0xe8e6
call fcn.00412090
call 0xff414b5a
xchg ebp, eax
add bh, bh
test eax, eax
je 0x40b62a
mov edx, dword [eax]
mov ecx, eax
call dword [edx - 0x7d]
jmp 0x40b627
sub ebx, 0xfffffffd
xor eax, eax
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xffffffffffffffef
push eax
add byte [0x41470c], dl
lea ecx, [esp + 0xff0080]
xchg edi, eax
mov ah, 0x92
inc ecx
add byte [ecx - 1], dl
xlatb
lea edx, [esp + 0xff017b]
lea eax, [esp + 0x80]
push edx
push eax
add byte [0x4140a3], dl
or ebx, 0xffffffff
cmp eax, ebx
jne 0x40b6b9
lodsb al, byte [esi]
invalid
push eax
call dword [0x414058]
lea ecx, [esp - 0x45]
call fcn.00411fdd
push 0
lea edx, [esp + 0xff0084]
xchg ebp, eax
add byte [edx - 0x73], dl
dec esp
and al, 0x50
mov dword [esp - 0xff0228], 1
call fcn.004120ae
lea esi, [ebx - 0x691710dc]
bound eax, qword [eax]
add byte [ebx + 0x4146e43d], cl
inc esi
jnp 0x40b71f
int3
lea eax, [esp + 0x10]
jb 0x40b752
fild dword [eax + edx*2 - 0x18]
lcall 0x74c0, 0x85000069
les ecx, [ebx - 0x74efdb4d]
inc ecx
call fcn.004120a8
test eax, eax
je 0x40b6d6
mov esi, dword [ebx + 0x418b1024]
clc
test eax, eax
je 0x40b700
lea esi, [ebx + 0x74e8ef24]
bound eax, qword [eax]
add byte [ebp - 0x17efdbb4], cl
mov eax, 0x8d00ff62
dec esp
and al, 0x10
and al, 0xef
call fcn.0041199a
lea ecx, [esp + 0x10]
call 0x14019e7
lea ecx, [esp + 0x10]
call fcn.00411994
je 0x40b78e
fist dword [eax]
push str._NOT
push edx
call edi
cmp dword [ebx], 8
jp 0x40b709
je 0x40b773
jmp 0x40b700
mov bl, 0x69
inc dword [eax]
lea ecx, [esp + 0x10]
mov byte [esp + 0xff02cc], 0xfe
call fcn.00411946
mov dword [esp + 0xff02cc], ebx
push ss
inc byte [ebx]
add byte [eax], al
lea ecx, [esp + 0x3c]
call 0xff415488
lea ecx, [esp + 0x14]
mov byte [esp - 0xfffd34], 3
pop ss
sti
popal
add byte [eax], al
lea eax, [esp + 0x18]
inc esp
and al, 0x18
lea ecx, [ebx + ebx*8 + 0x18]
cmp dword [esp + 0x2cc], eax
add al, 0x89
inc esp
and al, 0xc7
call fcn.004118c3
lea ecx, [esp + 0x1c]
mov byte [esp + 0xff0233], 5
call fcn.00411988
lea ecx, [esp - 0x21]
invalid
Function at 0x40ce60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ee5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004638b1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40cee2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00461630
mov eax, dword [eax]
push 0x6261f0
push eax
call fcn.00454264
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463b3c
test bl, bl
je 0x40cee2
push 0x6261f0
lea ecx, [esp + 0xc]
call fcn.00463ecc
push 0x629d64
lea ecx, [esp + 0xc]
call fcn.00463ecc
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40cf1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463b3c
jmp 0x40cfe9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40cfa2
lea edx, [esp + 0x7c]
push 0x629d60
push edx
call fcn.00454264
add esp, 8
test eax, eax
je 0x40cfa2
lea eax, [esp + 0x7c]
push 0x629d5c
push eax
call fcn.00454264
add esp, 8
test eax, eax
je 0x40cfa2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40cf32
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00463b3c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40d7e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40d842
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40d850
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46eedb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6302cc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40d988
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d8b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463b3c
xor eax, eax
jmp 0x40d9ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00463c79
push esi
lea ecx, [esp + 0xc]
call fcn.00463f08
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40d9dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040d7e0
test eax, eax
jne 0x40d9dd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040d7e0
test eax, eax
jne 0x40d9dd
lea eax, [esp + 0x14]
push 0x629d78
push eax
call fcn.004552a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d9bc
lea ecx, [esp + 0x14]
push 0x629d74
push ecx
call fcn.00455220
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d9bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d9bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00463c29
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d8ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463b3c
xor eax, eax
jmp 0x40d9ff
mov byte [esi], 0
push 0x629d70
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00463b3c
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4