joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e620
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x43510b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4439e8]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4439e8]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004045f5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42e676
push 0x80004005
call fcn.00402d68
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0xa8], 0
call fcn.0042e420
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push str._s_rootCIMV2
push eax
call fcn.00408c9d
mov edi, dword [esp + 0x1c]
add esp, 0xc
cmp dword [edi - 0xc], 0
jne 0x42e6f7
push str.ERROR:_Unable_to_acquire_host_name_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [edi - 0x10]
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e6f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42e79d
mov ecx, esi
call fcn.0042e480
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push edi
call fcn.00403a42
add eax, 0x10
mov dword [ebx], eax
add esp, 4
lea ebx, [esi + 8]
add esi, 4
push ebx
push esi
call fcn.0042f630
add esp, 0xc
test eax, eax
jge 0x42e769
push str.ERROR:_connect_to_WMI_failed__n
mov dword [esi], 0
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e765
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor eax, eax
jmp 0x42e79d
push str.Connected_to_WMI_successfully_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esp + 0xa4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42e798
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, 1
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0040bba4
add esp, 0x98
ret
Function at 0x42f630
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x4352b0
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4439e8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp + 0x1c], 0
je 0x42f78b
mov esi, dword [esp + 0x24]
test esi, esi
je 0x42f78b
push esi
push 0x43d22c
push 1
push 0
push 0x43d2fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x42f6cd
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f6b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0042f530
mov eax, dword [esi]
mov ebx, dword [esp + 0x28]
mov edx, dword [eax]
push ebp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push eax
mov eax, dword [edx + 0xc]
mov byte [esp + 0x40], 1
call eax
mov edi, eax
test edi, edi
jge 0x42f732
mov esi, dword [esi]
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x2c]
call fcn.00403334
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [ebp]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test edi, edi
jge 0x42f70c
mov esi, dword [esi]
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x2c]
call fcn.00403334
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f7b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80070057
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x43059a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4439e8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043052f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040bfd0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4305e9
cmp dword [ebp - 0x1c], 5
jb 0x430601
jmp 0x4305fd
cmp dword [ebp - 0x10], 1
jne 0x430601
cmp dword [ebp - 0x1c], 4
ja 0x4305fd
jne 0x430601
cmp dword [ebp - 0x18], 0
jbe 0x430601
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43d1bc
call fcn.00430403
test eax, eax
jge 0x430622
mov byte [0x44ade0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040bba4
add ebp, 0x78
leave
ret
Function at 0x10011f8f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001202c
push ebx
push esi
call fcn.10011f58
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10011eec
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011fd9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001202b
push edi
push eax
call fcn.10012f4a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011ff9
call fcn.10010a34
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001202a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10011eec
add esp, 0x20
test eax, eax
jne 0x10012018
push edi
call fcn.10010a34
jmp 0x10012020
push ebx
call fcn.10010a34
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10012299
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019890
push 0x10019888
push str.FlsAlloc
push 0x1f
call fcn.100121b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100122cd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
jmp 0x100122d3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10012317
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100198a0
push 0x10019898
push str.FlsGetValue
push 0x21
call fcn.100121b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001234e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10012356
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100198a8
push 0x100198a0
push str.FlsSetValue
push 0x22
call fcn.100121b5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012390
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10017a10
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401140
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x412030]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x401187
push str.OpenProcessToken_fail
call fcn.0040185e
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004019b3
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4011b9
push str.LookupPrivilegeValue_fail
call fcn.0040185e
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004019b3
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x401209
push str.AdjustTokenPrivileges_fail
call fcn.0040185e
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004019b3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004019b3
mov esp, ebp
pop ebp
ret
Function at 0x407728
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x412030]
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.00404817
mov dword [ebp - 0x14], eax
cmp dword [0x415354], esi
jne 0x40781b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4077a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4078fb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4078fb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4078fb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x415354], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x415358], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41535c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x415364], eax
test eax, eax
je 0x407818
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x415360], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x407840
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x407833
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x407855
push 4
pop eax
jmp 0x4078fd
cmp dword [ebp - 0x14], esi
je 0x407855
push dword [0x415354]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40783a
mov eax, dword [0x415360]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4078b3
cmp dword [0x415364], edi
je 0x4078b3
push eax
call ebx
push dword [0x415364]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4078b3
test eax, eax
je 0x4078b3
call ecx
test eax, eax
je 0x4078a8
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 0x4078a8
test byte [ebp - 8], 1
jne 0x4078b3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4078e3
mov eax, dword [0x415358]
cmp eax, edi
je 0x4078e0
push eax
call ebx
test eax, eax
je 0x4078e0
call eax
mov esi, eax
test esi, esi
je 0x4078e0
mov eax, dword [0x41535c]
cmp eax, edi
je 0x4078e0
push eax
call ebx
test eax, eax
je 0x4078e0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x415354]
call ebx
test eax, eax
je 0x4078fb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4078fd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004019b3
mov esp, ebp
pop ebp
ret
Function at 0x401dc0
Capabilities:
Access peb ldr_data
Check mutex on windows
Create thread
Get file size
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x30]
push 0xf0000000
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax + 0x14]
push 0
mov eax, dword [eax + 0x20]
push 0
push 0x405438
mov dword [0x405434], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401e2c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [0x405434]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e89
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401e89
push 0
lea eax, [esp + 0x20]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401e89
push dword [esp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.00401530
push str.Global3pc6RWOgectGTFqCowxjeGy3XIGPtLwNrsr2zDctYD4hAU5pj4GW7rm8gHrHyTB6
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401ebe
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401d80
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401cd0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401bb0
push 0
push 0
call esi
push 0x400
lea eax, [esp + 0x24]
push eax
push str.userprofile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [sym.imp.ntdll.dll_NtDelayExecution]
mov dword [esp + 0x10], 0x4d2fa200
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a90
lea eax, [esp + 0x10]
push eax
push 0
call esi
jmp 0x401f22

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
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x44f740
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x463594], 0
push esi
jne 0x44f6b3
call fcn.0044f5d9
test eax, eax
je 0x44f6f6
mov eax, dword [0x463594]
cmp eax, 1
jne 0x44f6d4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44f6f6
pop esi
ret
push eax
call dword [0x46359c]
test eax, eax
jne 0x44f73e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x44f6fa
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x463594]
call dword [0x46359c]
mov edi, eax
test edi, edi
je 0x44f71f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x44f73b
mov edi, esi
add esi, 0xff0
push edi
push dword [0x463594]
call dword [0x463598]
add edi, 0x10
cmp edi, esi
jb 0x44f727
mov eax, edi
pop edi
pop esi
ret
jmp 0x44f6a0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
call fcn.00404750
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x406470
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x1c], 0x54
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x1c], 0x57
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x1c], 0
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x1c], 0x78
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x1c], 0x69
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x1c], 0x74
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x1c], 0x6f
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x1c], 0x77
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x1c], 0x74
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x1c], 0x65
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x1c], 0x6e
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x1c], 0x57
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x1c], 0x65
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x1c], 0x53
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x1c], 0x64
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x406466
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x407f6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041cf24
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x407fa2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00407fc3
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41801f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x418064
call fcn.0041cf24
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418064
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x418080
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041fac6
mov ebx, eax
test edi, edi
je 0x41807e
test esi, esi
je 0x41807e
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x487c32
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004fc75e
call fcn.0041cf78
cmp dword [eax + 0x14], 0
jne 0x487c4d
mov ecx, esi
pop esi
jmp fcn.00487038
pop esi
ret

Function at 0x487d53
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041c670
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x487d8f
call fcn.00487f72
mov dword [esi + 0xc], 1
jmp 0x487d94
call fcn.00487f72
cmp dword [esi], 0
je 0x487ddd
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x487db7
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004180d7
jmp 0x487dc8
push 0xff
mov ecx, esi
call fcn.0040a241
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040b02c
jmp 0x487e01
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x487e01
push dword [esi]
push dword [ebp - 4]
call fcn.0041d127
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x487ec7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00487f72
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x487f0f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004180d7
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040b02c
jmp 0x487f1a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d127
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4fa3fb
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004ab3df
call fcn.0041cf78
cmp dword [eax + 0x14], 0
jne 0x4fa416
mov ecx, esi
pop esi
jmp fcn.004f9ce4
pop esi
ret