joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418750
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4382df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov dword [esp + 0x14], 0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 8]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [ecx - 8]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x418823
mov eax, dword [esp + 0x34]
push ebp
lea eax, [eax + eax*2]
lea ebp, [eax + eax*8]
mov al, byte [ecx + edi*2]
mov cl, byte [ecx + edi*2 + 1]
mov byte [esp + 0x38], al
mov byte [esp + 0x14], cl
mov eax, dword [esp + 0x38]
push 0x4498d4
and eax, 0xff
lea ecx, [esp + 0x14]
lea edx, [eax + eax*2]
lea esi, [eax + edx*4]
mov eax, dword [esp + 0x18]
shl esi, 1
sub esi, ebp
and eax, 0xff
add esi, eax
call sub.MFC42.DLL_CString::operator_2
push esi
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::SetAt
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call fcn.004330fa
mov ecx, dword [esp + 0x30]
inc edi
mov eax, dword [ecx - 8]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jl 0x4187bc
pop ebp
lea edx, [esp + 8]
lea ecx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x2c]
xor esi, esi
mov eax, dword [edx - 8]
test eax, eax
jle 0x41887f
mov edi, dword [esp + 0x30]
mov dl, byte [esi + edx]
mov eax, edi
shr eax, 4
xor al, dl
lea ecx, [esp + 8]
push eax
push esi
call sub.MFC42.DLL_CString::SetAt
mov edx, dword [esp + 0x2c]
movzx ax, byte [esi + edx]
add eax, edi
mov edi, 0x58c9
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*2]
shl ecx, 7
add ecx, eax
lea eax, [ecx + ecx*8]
sub edi, eax
mov eax, dword [edx - 8]
inc esi
cmp esi, eax
jl 0x418842
mov esi, dword [esp + 0x28]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x14], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x4188f6
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x43833a
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
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver_1
lea ecx, [esi + 8]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver_1
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver_1
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver_1
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_COleDispatchDriver::COleDispatchDriver_1
lea edi, [esi + 0x30]
mov byte [esp + 0x14], 5
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
push 0x44b560
mov ecx, edi
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41899a
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4383b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
push 2
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 6
call sub.MFC42.DLL_COleVariant::COleVariant_1
push 0xa
push 0x80020004
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_COleVariant::COleVariant
mov ebx, 8
lea ecx, [esi + 0x28]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov edi, dword [esi + 0x30]
mov word [esp + 0x14], bx
push edi
call fcn.004352c3
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x418a11
test edi, edi
je 0x418a11
push 0x8007000e
call fcn.00435216
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
lea ebp, [esi + 8]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x58], 9
call fcn.004145b0
lea eax, [esp + 0x14]
mov byte [esp + 0x4c], bl
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call ebx
test eax, eax
jge 0x418a4a
push eax
call fcn.00435216
mov ecx, ebp
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.00414690
mov ecx, edi
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov ecx, esi
call fcn.00414550
mov ecx, esi
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x24]
push ecx
call ebx
lea edx, [esp + 0x34]
push edx
call ebx
lea ecx, [esi + 0x30]
mov byte [esp + 0x4c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
lea ecx, [esi + 0x20]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov ecx, edi
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
lea ecx, [esi + 0x10]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov ecx, ebp
mov byte [esp + 0x4c], 0
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov ecx, esi
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_COleDispatchDriver::ReleaseDispatch
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x10001550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10001582
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10001520
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
test eax, eax
jne 0x100015ab
call fcn.10002ff0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100034c0
push 0x10001270
push 0x1000843c
call fcn.10002d00
call fcn.10003050
mov eax, 1
pop ebp
ret 0xc

Function at 0x100016d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100018a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100017ad
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1000171a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10008004]
ja 0x1000171a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100016ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000173f
jmp 0x100017ad
cmp dword [ebp - 0x14], 0x10000
jne 0x10001793
cmp dword [ebp - 0x18], 0x10000
jb 0x10001793
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001776
mov eax, dword [ebp - 8]
jmp 0x100017af
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10001786
xor eax, eax
jmp 0x100017af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100017a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100018a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100016ea
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100017c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100018d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10001895
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10001805
mov eax, dword [ebp - 4]
cmp eax, dword [0x10008004]
ja 0x10001805
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100017d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000182a
jmp 0x10001895
cmp dword [ebp - 0x14], 0x10000
jne 0x1000187e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000187e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001861
mov eax, dword [ebp - 8]
jmp 0x10001897
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10001871
xor eax, eax
jmp 0x10001897
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10001890
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100018d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100017d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001900
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10001cf0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100080a4], 0
jne 0x1000193d
cmp dword [0x100080a0], 0
je 0x1000193d
mov eax, dword [0x100080a0]
mov dword [0x100080a4], eax
cmp dword [0x100080a4], 0
je 0x100019ba
mov ecx, dword [0x100080a4]
cmp dword [ecx + 8], 0
je 0x100019ba
mov edx, dword [0x100080a4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100019ba
mov ecx, dword [0x100080a4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100019ba
mov eax, dword [0x100080a4]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10001989
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10001990
xor eax, eax
jmp 0x10001ad9
mov ecx, dword [0x100080a4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10001ad9
mov edx, dword [0x100080a0]
mov dword [0x100080a4], edx
jmp 0x100019d6
mov eax, dword [0x100080a4]
mov ecx, dword [eax + 4]
mov dword [0x100080a4], ecx
cmp dword [0x100080a4], 0
je 0x10001a16
cmp dword [0x100080a4], 0
je 0x10001a14
mov edx, dword [0x100080a4]
cmp dword [edx + 8], 0
je 0x10001a14
mov eax, dword [0x100080a4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10001a14
mov edx, dword [0x100080a4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10001a14
jmp 0x1000196e
jmp 0x100019c8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10001ae0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10001ad7
mov eax, dword [ebp - 0x18]
mov dword [0x100080a4], eax
mov ecx, dword [0x100080a4]
mov dword [ecx], 0x52727464
mov edx, dword [0x100080a4]
mov dword [edx + 8], 0
mov eax, dword [0x100080a4]
mov ecx, dword [0x100080a0]
mov dword [eax + 4], ecx
mov edx, dword [0x100080a4]
mov dword [0x100080a0], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100080a4]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10001aa7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10001ac7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10001a9e
mov eax, dword [0x100080a4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000196e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002820
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100080a0]
mov dword [ebp - 4], eax
jmp 0x10002839
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10002860
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1000285e
call sub.KERNEL32.dll_GetLastError
jmp 0x10002862
jmp 0x10002830
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100080b0], eax
je 0x10002d24
mov eax, 0x10dd
jmp 0x10002ecc
cmp dword [0x100080b4], 0
je 0x10002d37
mov eax, dword [0x100080b4]
jmp 0x10002ecc
cmp dword [ebp + 0xc], 0
jne 0x10002d47
mov eax, 0x57
jmp 0x10002ecc
cmp dword [ebp + 8], 0
jne 0x10002d57
mov eax, 6
jmp 0x10002ecc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10002d80
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100080b4], ecx
mov edx, dword [ebp + 8]
mov dword [0x100080b8], edx
mov eax, dword [ebp - 8]
jmp 0x10002ecc
push 0x18
call fcn.1000471a
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002ddb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100080b4], ecx
cmp dword [ebp - 4], 0
je 0x10002dca
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1000474a
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100080b8], ecx
mov eax, dword [ebp - 8]
jmp 0x10002ecc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10002ce0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10002ce0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10002e1b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10002e37
mov dword [ebp - 8], 9
cmp dword [0x100080a8], 0
je 0x10002e32
jmp 0x10002da9
jmp 0x10002da0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10002e5e
mov dword [ebp - 8], 9
cmp dword [0x100080a8], 0
je 0x10002e59
jmp 0x10002da9
jmp 0x10002da0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10002e89
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10002da0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x100080c0]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100080c0], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10002ee0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100080b0], eax
je 0x10002efd
mov eax, 0x10dd
jmp 0x10002fe0
mov eax, dword [0x100080c0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10002f7c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10002f58
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10002f58
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001d80
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1000474a
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002f05
mov dword [0x100080c0], 0
call fcn.10002660
mov ecx, dword [0x100080bc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002fca
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000474a
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002f94
mov dword [0x100080bc], 0
mov dword [0x100080b0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100034c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100080b4], 0
je 0x100034d9
mov eax, dword [0x100080b4]
jmp 0x10003578
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100034ea
xor eax, eax
jmp 0x10003578
push 8
call fcn.1000471a
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10003542
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1000352b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1000474a
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100080b4], eax
mov dword [0x100080b8], 0
mov eax, dword [ebp - 8]
jmp 0x10003578
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1000355a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000350a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100080bc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100080bc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10043f4a
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + edx*2 - 0x23bbfe78], edx
mov dword [esp + edx*2 - 0x23bbfe77], edx
not cl
call fcn.1004124a
Function at 0x40192f
Capabilities:
Access the windows event log
Clear file content
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xaca
jge 0x40194a
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be4d9
jg 0x401964
inc edi
cmp edi, 0x332fe31
jl 0x40193b
cmp dword [0x20d54f4], 0x400
jne 0x4019a4
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogW]
push esi
call fcn.00401ef2
call fcn.00401da1
push esi
call fcn.004020e4
pop ecx
pop ecx
xor edi, edi
cmp edi, 0xd036
jge 0x4019b5
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x4019db
inc edi
cmp edi, 0x263ff
jl 0x4019a6
mov eax, dword [0x488864]
mov dword [0x20d54f4], eax
call fcn.004016c1
mov edi, 0x3078f
cmp dword [0x20d54f4], 0x51f
jne 0x401a07
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x4019ef
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x4045f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e430]
jne 0x4045ff
repz ret
jmp fcn.004062f9
Function at 0x405b45
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46e430]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004035d8
and dword [ebp - 0x14], 0
cmp dword [0x493380], 0
mov dword [ebp - 0x18], eax
jne 0x405bf8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405ca0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405ca0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x493380], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x493384], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x493388], eax
call edi
push eax
call esi
mov dword [0x493390], eax
test eax, eax
je 0x405bf8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49338c], eax
mov eax, dword [0x49338c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405c51
cmp dword [0x493390], ecx
je 0x405c51
push eax
call esi
push dword [0x493390]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405c51
test ebx, ebx
je 0x405c51
call edi
test eax, eax
je 0x405c48
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405c48
test byte [ebp - 8], 1
jne 0x405c51
or dword [ebp + 0x10], 0x200000
jmp 0x405c84
mov eax, dword [0x493384]
cmp eax, dword [ebp - 0x18]
je 0x405c84
push eax
call esi
test eax, eax
je 0x405c84
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405c84
mov eax, dword [0x493388]
cmp eax, dword [ebp - 0x18]
je 0x405c84
push eax
call esi
test eax, eax
je 0x405c84
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x493380]
call esi
test eax, eax
je 0x405ca0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405ca2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045f5
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x2faf0459
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0xf1e1f61
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x407c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x407c7f
pop dword [ebp - 0x30]
mov eax, 0xb9735a29
add eax, 0x46cd2256
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x421e6
push 0
mov eax, 0x673053dc
sub eax, 0x66ee01c4
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x594c
xor edx, edx
add edx, eax
mov esi, 0x97cf0d17
add esi, 0x687446e9
add esi, dword [ebp - 0x30]
mov ebx, 0x48ba84cb
sub ebx, 0xa8601d0e
sub dword [ebp - 0x10], edx
mov edi, dword [esi]
add dword [ebp - 0x2c], eax
add edi, ebx
xor dword [ebp - 0xc], eax
mov dword [edx], edi
sub dword [ebp - 0x18], esi
add edx, 0x8626b142
sub edx, 0x8626b13e
add esi, 0x11458f62
sub esi, 0x11458f5e
loop 0x407cda
add eax, 0x15803
mov ebx, eax
add eax, 5
mov ecx, 0x3eed78c2
sub ecx, 0x3ead78c2
add ecx, dword [ebp - 0x30]
call ebx
leave
ret