joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a030
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x37c4
call fcn.00410960
mov al, byte [0x418a3c]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x20], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov ebx, dword [esp + 0x37d8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x124]
stosb byte es:[edi], al
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ecx
lea eax, [esp + 0x20]
xor esi, esi
push edx
push eax
lea ecx, [esp + 0x24]
push esi
lea edx, [esp + 0x30]
push ecx
push edx
push esi
push ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0x36b0
mov dword [esp + 0x38], 0x104
call ebp
test eax, eax
jne 0x40a12f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x124]
push eax
push ecx
mov ecx, dword [esp + 0x37e4]
push edx
lea eax, [esp + 0x2c]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40a0da
mov dword [esp + 0x14], 0
mov dl, byte [0x418a3c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], dl
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x124]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0x30]
inc esi
push eax
push ecx
push esi
push ebx
mov dword [esp + 0x30], 0x36b0
mov dword [esp + 0x38], 0x104
call ebp
test eax, eax
je 0x40a0a7
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x37c4
ret
Function at 0x40a700
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x411a0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x34]
mov edi, 1
cmp esi, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0xfa0
jne 0x40a796
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0xfa0
call sub.MFC42.DLL_CString::GetBufferSetLength
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
jne 0x40a78f
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x10], edi
jmp 0x40a824
call sub.MFC42.DLL_CString::ReleaseBuffer
jmp 0x40a810
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40a810
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0xfa0
push ecx
push 0xfa0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBufferSetLength
mov edx, dword [esp + 0x34]
push eax
push ebx
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a805
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
jmp 0x40a820
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
push eax
mov ecx, esi
call fcn.004105a4
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40a850
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x411a28
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x40a8b3
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push 1
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov esi, eax
lea ecx, [esp + 0x20]
neg esi
sbb esi, esi
mov dword [esp + 0xc], 0xffffffff
inc esi
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40a925
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40a91a
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x40b080
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x411b78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push edi
lea ecx, [esp + 8]
xor ebx, ebx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
cmp eax, ebx
je 0x40b0bd
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
jmp 0x40b0e3
push 0x104
push 0x104
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBufferSetLength
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jne 0x40b11c
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push esi
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x10]
add esp, 4
mov esi, eax
push esi
push edi
push ebx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x417d60
push esi
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40b15d
xor ebx, ebx
mov bx, word [eax + 0xc]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop esi
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x40b190
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x411bb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CFile::GetLength
mov esi, eax
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::GetBufferSetLength
mov edi, eax
push esi
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Read
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
mov byte [edi + esi], 0
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::Close
mov esi, dword [esp + 0x30]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004105fe
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x40b8c0
Capabilities:
Access peb ldr_data
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x411cd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString_2
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 1
call sub.MFC42.DLL_CString::GetBufferSetLength
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x4181e8
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.004105a4
test esi, esi
mov byte [esp + 0x30], 2
je 0x40baa1
push edi
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x18]
add esp, 4
mov edi, eax
push edi
push esi
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40ba96
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push str.StringFileInfo040904b0ProductName
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0x418a3c
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40ba96
lea edx, [esp + 0x1c]
lea eax, [esp + 8]
push edx
push eax
push 0x417d60
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40ba96
mov eax, dword [esp + 8]
test eax, eax
je 0x40ba96
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x20]
shr ecx, 0x10
push ecx
push edx
call fcn.0040b810
add esp, 8
mov eax, dword [eax]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x18]
push eax
xor eax, eax
mov byte [esp + 0x38], 3
mov ax, word [ecx + 8]
mov ecx, dword [ecx + 8]
shr ecx, 0x10
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_v_d._d_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x40]
mov byte [esp + 0x34], 4
cmp eax, 0xffffffff
je 0x40ba63
cmp eax, 1
je 0x40ba51
cmp eax, 2
jne 0x40ba7a
mov edx, dword [esp + 8]
xor ecx, ecx
mov cx, word [edx + 0xc]
push ecx
push str._build__d
lea eax, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40ba7a
mov edx, dword [esp + 8]
xor ecx, ecx
mov cx, word [edx + 0xc]
push ecx
push 0x41814c
jmp 0x40ba42
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Empty
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x20], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x40baf0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x411d08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
test eax, eax
je 0x40bb5b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0040b5d0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xc], 1
push eax
lea eax, [esp + 4]
push str.mailto:support_lastbit.com_subject_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [esp + 0xc], 0
lea ecx, [esp + 0x18]
jmp 0x40bb95
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0040b5d0
add esp, 0xc
mov eax, dword [eax]
lea ecx, [esp]
push eax
push str.http:__lastbit.com_techSupport.asp_subject_s
push ecx
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [esp + 0xc], 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x40bbae
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
test eax, eax
jne 0x40bbb2
xor eax, eax
jmp 0x40bbb5
mov eax, dword [eax + 0x20]
mov ecx, dword [esp]
push 3
push 0x418a3c
push 0
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40c1c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x411e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_2
mov edx, 0x413a2c
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], eax
lea ecx, [esi + 0x74]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 5
call sub.MFC42.DLL_CString::CString_2
push 1
mov ecx, esi
mov byte [esp + 0x18], 6
mov dword [esi], 0x413a10
call fcn.0040c0b0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40f400
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x40fecd
Capabilities:
Encode data using xor

Disassembly:
enter 0, 0
pushal
mov ecx, 0
mov esi, dword [ebp + 0x10]
movzx eax, byte [esi + 0x100]
movzx ebx, byte [esi + 0x101]
xor edx, edx
mov edi, dword [ebp + 8]
inc al
mov dl, byte [esi + eax]
add bl, dl
mov dh, byte [esi + ebx]
mov byte [esi + eax], dh
mov dh, 0
mov byte [esi + ebx], dl
add dl, byte [esi + eax]
mov dl, byte [esi + edx]
xor byte [edi + ecx], dl
inc ecx
cmp ecx, dword [ebp + 0xc]
jne 0x40feed
mov byte [esi + 0x100], al
mov byte [esi + 0x101], bl
popal
leave
ret

Function at 0x401d9d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edi, dword [0x404050]
cdq
or di, 1
idiv edi
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.00401cc0
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x403135
push eax
sub edi, fcn.004028df
push edi
push fcn.004028df
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401e13
mov eax, fcn.004028df
mov ebx, esi
mov edx, edi
call fcn.00401cc0
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402423
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x10066e0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0xc000
jb 0x1006700
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [esi], eax
push dword [esi + 4]
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x1006721
push 0x100248c
call fcn.01004c8a
pop ecx
jmp 0x10067a0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x100673c
push 0x1002464
call fcn.01004c8a
pop ecx
jmp 0x10067b7
push edi
mov edi, dword [esi + 8]
push edi
lea eax, [esi + 0xc]
push eax
push 0x100243c
call fcn.01004c8a
add esp, 0xc
push ebx
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
push dword [ebp - 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 4]
pop edi
push dword [ebp + 8]
je 0x10067a4
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 4]
push dword [esi + 4]
push 0x1002408
call fcn.01004c8a
add esp, 0xc
xor eax, eax
jmp 0x10067c2
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.01006a26
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1000102c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000b004]
jne 0x10001036
repz ret
jmp fcn.10001317

Function at 0x1000667d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000151a
and dword [ebp - 4], 0
cmp dword [0x1000c62c], 0
mov ebx, eax
jne 0x1000672e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100067df
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100067df
push eax
call fcn.100014a8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000c62c], eax
call esi
push eax
call fcn.100014a8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000c630], eax
call esi
push eax
call fcn.100014a8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000c634], eax
call esi
push eax
call fcn.100014a8
pop ecx
mov dword [0x1000c63c], eax
test eax, eax
je 0x1000672e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100014a8
pop ecx
mov dword [0x1000c638], eax
mov eax, dword [0x1000c638]
cmp eax, ebx
je 0x10006786
cmp dword [0x1000c63c], ebx
je 0x10006786
push eax
call fcn.10001523
push dword [0x1000c63c]
mov esi, eax
call fcn.10001523
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10006786
test edi, edi
je 0x10006786
call esi
test eax, eax
je 0x1000677d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000677d
test byte [ebp - 0xc], 1
jne 0x10006786
or dword [ebp + 0x10], 0x200000
jmp 0x100067bf
mov eax, dword [0x1000c630]
cmp eax, ebx
je 0x100067bf
push eax
call fcn.10001523
pop ecx
test eax, eax
je 0x100067bf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100067bf
mov eax, dword [0x1000c634]
cmp eax, ebx
je 0x100067bf
push eax
call fcn.10001523
pop ecx
test eax, eax
je 0x100067bf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000c62c]
call fcn.10001523
pop ecx
test eax, eax
je 0x100067df
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100067e1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4c9f0154
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x39837075
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40455c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004069c0
test esi, esi
jne 0x404594
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406afc
jmp 0x4045b2
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004044a0
mov edi, eax
test esi, esi
je 0x4045b2
cmp dword [ebx], 0
je 0x4045b2
dec esi
jmp 0x40459b
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405e50
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f8050], 0
je 0x405eb1
cmp word [0x4f832c], 0xd7b2
jne 0x405e79
cmp dword [0x4f8334], 0
jbe 0x405e79
mov eax, 0x4f8328
call dword [0x4f8344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405edc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f1034], 0
jne 0x405ecd
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40603c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4f1038], 0
je 0x406062
mov edx, esi
mov eax, ebx
call dword [0x4f1038]
jmp 0x406071
mov eax, 8
call fcn.004041e8
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4f8051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x406004
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc