joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x84], 0
call fcn.0040195d
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
push eax
lea eax, [0x404469]
lea edx, [fcn.004019c8]
sub eax, edx
push eax
push fcn.004019c8
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40133e
push esi
call fcn.0040183b
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.0040188a
mov eax, esi
add eax, 0x1d600
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov edi, dword [ebp - 0x88]
mov eax, esi
mov ecx, edi
or cl, 1
cdq
idiv ecx
mov ebx, eax
add ebx, edi
push ebx
lea edi, [0x4060e4]
lea ecx, [0x4060e4]
mov ebx, esi
shl ebx, cl
add edi, ebx
push edi
call fcn.004019c8
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40195d
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x118], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10e]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
movsx edi, byte [ebp - 0x10e]
sub edi, 0x41
mov eax, edi
pop edi
leave
ret

Function at 0x40ed72
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x40eae0
sub ebx, 0xbe282a04
call fcn.0040ed91
dec ebx
and esi, esi
xor dword [ecx], edx
inc ecx
cmp ecx, edi
jne fcn.0040ed72
ret
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x431003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x407980
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
or ebp, 0xffffffff
jmp 0x4079a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4079a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407998
mov eax, 1
add ebx, ebx
jne 0x4079bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4079b0
jne 0x4079cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4079b0
xor ecx, ecx
sub eax, 3
jb 0x4079e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407a52
mov ebp, eax
add ebx, ebx
jne 0x4079eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4079f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x407a1c
inc ecx
add ebx, ebx
jne 0x407a08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4079fd
jne 0x407a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4079fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x407a3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x407a2d
jmp 0x40799e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x407a3c
add edi, ecx
jmp 0x40799e
pop esi
mov edi, esi
mov ecx, 0x72
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x407a5a
cmp byte [edi], 0
jne 0x407a5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x407a5f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x407ad7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7c04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7cb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407a8c
mov ecx, edi
jns 0x407abb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7cbc]
or eax, eax
je 0x407ad1
mov dword [ebx], eax
add ebx, 4
jmp 0x407aa9
call dword [esi + 0x7cb8]
mov ebp, dword [esi + 0x7cc0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x407b0b
sub esp, 0xffffff80
jmp 0x4025c2
Function at 0x402c60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x41e968], 0
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
je 0x402d34
call fcn.00405a38
add esp, 8
test eax, eax
jle 0x402d56
mov edx, dword [0x41e960]
push edi
mov edi, dword [0x41e964]
mov ecx, edi
sub ecx, edx
dec ecx
cmp eax, ecx
jbe 0x402d0c
add eax, edi
push ebx
lea edi, [eax*2 + 2]
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x402ceb
mov ecx, dword [0x41e960]
add ecx, ecx
push ecx
push dword [0x41e968]
push ebx
call fcn.0040d890
add esp, 0xc
push dword [0x41e968]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x41e968], ebx
mov dword [0x41e964], edi
jmp 0x402d05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Erreur_LocalAlloc:__u_n
call fcn.00405989
mov edi, dword [0x41e964]
add esp, 8
mov edx, dword [0x41e960]
pop ebx
lea eax, [ebp + 0xc]
sub edi, edx
push eax
mov eax, dword [0x41e968]
push dword [ebp + 8]
push edi
lea eax, [eax + edx*2]
push eax
call fcn.00405c20
add esp, 0x10
pop edi
test eax, eax
jle 0x402d56
add dword [0x41e960], eax
jmp 0x402d56
call fcn.00405c3b
add esp, 8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00405f6c
add eax, 0x20
push eax
call fcn.00405d95
add esp, 4
mov eax, dword [0x41e95c]
test eax, eax
je 0x402d7a
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push eax
call fcn.00406048
push dword [0x41e95c]
call fcn.00405d95
add esp, 0x10
pop ebp
ret
Function at 0x402ea0
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x41c280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0xf0000000
xor ebx, ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
push 0x18
push ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
push ebx
push eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 0x8004
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x403014
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0xc]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x403009
push esi
push dword [ebp - 0x2c]
lea eax, [edi + 0xc]
mov dword [edi], 0x208
push eax
mov dword [edi + 4], 0x6602
mov dword [edi + 8], esi
call fcn.0040d890
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x100
push ebx
lea eax, [esi + 0xc]
push eax
push edi
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x403009
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0x10]
push 0x8009
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x403000
push ebx
lea eax, [ebp - 0x28]
push eax
push 5
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
je 0x402ff7
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x34]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x402ff7
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push 2
push dword [ebp - 8]
call edi
test eax, eax
je 0x402ff7
push dword [ebp - 0x14]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x402ff7
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
push 2
push dword [ebp - 8]
call edi
mov edx, 0x14
mov ebx, eax
cmp dword [ebp - 0x14], edx
cmovb edx, dword [ebp - 0x14]
push edx
push esi
push dword [ebp - 0x30]
call fcn.0040d890
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040597a
mov esp, ebp
pop ebp
ret
Function at 0x403f20
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
push 8
push 0x40
mov esi, edx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esi], eax
test eax, eax
je 0x403faa
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x403f8d
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov eax, dword [esi]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x403f8d
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax], 0x504d444d
jne 0x403f8d
mov ecx, 0xa793
cmp word [eax + 4], cx
jne 0x403f8d
pop edi
mov eax, 1
pop esi
ret
mov esi, dword [esi]
mov eax, dword [esi + 4]
test eax, eax
je 0x403f9d
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi]
test eax, eax
je 0x403faa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret

Function at 0x404670
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41c280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push edi
mov edi, 0xc0000004
mov eax, dword [ebx]
test eax, eax
je 0x4046ae
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040597a
mov esp, ebp
pop ebp
ret
push esi
mov esi, 0x1000
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebx], eax
test eax, eax
je 0x4046e9
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push 5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, eax
test edi, edi
jns 0x4046df
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LocalFree]
add esi, esi
cmp edi, 0xc0000004
je 0x4046b4
mov ecx, dword [ebp - 4]
mov eax, edi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0040597a
mov esp, ebp
pop ebp
ret

Function at 0x405730
Capabilities:
Check if file exists
Check os version
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x41c280]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov esi, dword [ebp + 8]
push 0x41ea30
push 0x41ea34
push 0x41ea38
call dword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
and dword [0x41ea30], 0x7fff
mov ecx, 0x41a454
cmp dword [0x41ea38], 6
mov eax, 0x41a440
push esi
cmovae eax, ecx
mov dword [0x41ea3c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40579f
call fcn.004054b0
push esi
call fcn.004062ee
add esp, 4
mov dword [0x41ea2c], eax
lea edx, [esp + 4]
mov dword [esp + 4], 0x41a97c
mov dword [esp + 8], 1
call fcn.00404b90
lea edx, [esp + 4]
mov dword [esp + 4], 0x41a978
mov dword [esp + 8], 1
call fcn.00404b90
lea edx, [esp + 4]
mov dword [esp + 4], 0x41a51c
mov dword [esp + 8], 1
call fcn.00404b90
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
xor ecx, esp
call fcn.0040597a
mov esp, ebp
pop ebp
ret
Function at 0x405820
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x41c280]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov esi, dword [ebp + 8]
push 0x41ea30
push 0x41ea34
push 0x41ea38
call dword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
and dword [0x41ea30], 0x7fff
mov ecx, 0x41a454
cmp dword [0x41ea38], 6
mov eax, 0x41a440
cmovae eax, ecx
mov dword [0x41ea3c], eax
call fcn.004054b0
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405880
push 0x41a3bc
sub ecx, edx
jne 0x405897
push str.c:windows_templogzz.txt
jmp 0x405898
push esi
call fcn.00406928
add esp, 8
mov dword [0x41e95c], eax
test eax, eax
jne 0x4058b9
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0040597a
mov esp, ebp
pop ebp
ret
lea edx, [esp + 4]
mov dword [esp + 4], 0x41a97c
mov dword [esp + 8], 1
call fcn.00404b90
lea edx, [esp + 4]
mov dword [esp + 4], 0x41a978
mov dword [esp + 8], 1
call fcn.00404b90
lea edx, [esp + 4]
mov dword [esp + 4], 0x41a51c
mov dword [esp + 8], 1
call fcn.00404b90
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
xor ecx, esp
call fcn.0040597a
mov esp, ebp
pop ebp
ret
Function at 0x40e14f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c280]
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.0040acd1
mov dword [ebp - 0x14], eax
cmp dword [0x41e930], esi
jne 0x40e242
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e1cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e322
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e322
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e322
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41e930], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41e934], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41e938], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41e940], eax
test eax, eax
je 0x40e23f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41e93c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e267
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e25a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e27c
push 4
pop eax
jmp 0x40e324
cmp dword [ebp - 0x14], esi
je 0x40e27c
push dword [0x41e930]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e261
mov eax, dword [0x41e93c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e2da
cmp dword [0x41e940], edi
je 0x40e2da
push eax
call ebx
push dword [0x41e940]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e2da
test eax, eax
je 0x40e2da
call ecx
test eax, eax
je 0x40e2cf
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 0x40e2cf
test byte [ebp - 8], 1
jne 0x40e2da
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e30a
mov eax, dword [0x41e934]
cmp eax, edi
je 0x40e307
push eax
call ebx
test eax, eax
je 0x40e307
call eax
mov esi, eax
test esi, esi
je 0x40e307
mov eax, dword [0x41e938]
cmp eax, edi
je 0x40e307
push eax
call ebx
test eax, eax
je 0x40e307
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41e930]
call ebx
test eax, eax
je 0x40e322
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e324
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040597a
mov esp, ebp
pop ebp
ret
Function at 0x410b7f
Capabilities:
Encode data using xor

Disassembly:
xchg esp, eax
lea ecx, [eax - 0x2d]
push ecx
test eax, 0x5d6ae746
pop ebp
xchg byte [edx - 0xef87489], al
leave
adc al, 0xc4
aad 0x16
mov word [edi + 0x13], fs
push eax
out 0x4b, al
out 0x16, al
cmc
cdq
dec ax
push esp
xor eax, 0x98477277
jb 0x410bc8
cwde
jb 0x410bc8
cwde
mov eax, 0x5c868325
cmc
push ebp
xchg byte [edi + 0x3656c716], dh
jle 0x410b59
sub dword [eax], ebp
clc
pop ds
add byte [0xee676b30], ah
xchg edi, eax
pop ecx
sbb byte [esi + 0x4b886272], dh
mov ch, 0x4b
inc esp
hlt
cmpsd dword [esi], dword es:[edi]
mov word [edi + 0x7967755], es
invalid

Function at 0x44a8d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
push ebp
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x44a9c3
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x44a942
mov edx, dword [0x651d44]
push 0x651a78
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, ebx
or eax, 0x8001
push eax
call edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [0xa51fa4], 6
or esi, 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x5af426
Capabilities:
Encode data using xor

Disassembly:
in al, 0x2b
in eax, 0x2b
jb 0x5af438
invalid
mov byte [edi + ebp*4 + 0x7e951b13], ch
xor eax, 0xb5a7c35f
test eax, 0xca099a0a
add al, 0xe8
sti
jle 0x5af442
call 0x74617338
aaa
je 0x5af475
adc byte [edi], al
cmp ah, cl
ja 0x5af3e9
mov edx, 0x1b570e1b
inc esi
je 0xc4a2187f
jo 0x5af495
sbb eax, 0x6c803824
xor ch, bh
adc eax, 0x2d945b12
cdq
add ah, dl
mov dh, 0xa9
inc eax
test byte [ecx - 0x1a757479], bh
test byte [esi + 0x19], dh
xchg edx, eax
mov edi, 0xc1152bcf
cmp al, cl
outsb dx, byte [esi]
lcall 0xae05, 0xfbc84a16
imul edi, ecx, 7
adc esi, dword [ecx]
cmp ch, byte [edx - 0x1e]
aaa
cli
push ss
push 0xffffffffffffffed
jle 0x5af491
test byte [eax + 8], ah
inc ebp
jns 0x5af4c5
xor ebx, dword [edx - 0x1f]
mov ebx, 0xc711b7fd
mov ebx, 0x686fd2d7
ljmp 0x27a5
pop edx
loope 0x5af450
std
mov bh, 0x11
invalid
rcl byte [edi + 0x67], cl
lodsb al, byte [esi]
scasd eax, dword es:[edi]
test al, 0x66
cmc
bound eax, qword [eax + ecx*4 - 0x2b]
jle 0x5af521
mov gs, ebp
cmp byte ds:[ebx + eax - 0x5c1d516e], al
mov bh, 0x57
leave
shl byte [esi - 0x7db22d8f], cl
cmp byte [eax - 0x31cab1a], 0x6e
dec ecx
sbb cl, byte [eax + 0x32]
sbb bh, byte [edx]
int3
dec ecx
mov ebp, 0x44e5e345
or byte [edx + 0x3d], dl
cmp edi, dword [ecx]
mov ecx, 0xfbc96a1a
lodsd eax, dword gs:[esi]
std
wait
adc dl, cl
inc edx
pop es
and eax, dword [edx - 0x79]
xchg dword [eax + 0x21], eax
hlt
inc edx
xchg dword [edi + 0x61f42140], eax
outsb dx, byte [esi]
and al, 0x84
pop edx
arpl word [edx], sp
xor al, 0x3f
jp 0x5af507
lodsd eax, dword [esi]
pop ss
inc esp
jmp 0x5af4c2

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

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