joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f247
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x248
mov eax, 0x46ad82
call fcn.00461b38
mov edi, ecx
mov dword [ebp - 0x248], edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x24c], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x43f371
push 0x22c
lea eax, [ebp - 0x240]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x43f362
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x238], eax
je 0x43f2f9
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
pop ecx
mov dword [ebp - 0x250], eax
xor eax, eax
lea ecx, [edi + 0x14]
inc eax
lea edx, [ebp - 0x21c]
mov dword [ebp - 4], eax
or ebx, eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x24c], ebx
push eax
call fcn.0043f379
mov byte [ebp - 0x241], 1
pop ecx
test al, al
jne 0x43f300
mov byte [ebp - 0x241], 0
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x43f317
lea ecx, [ebp - 0x254]
and ebx, 0xfffffffe
call fcn.0041a3e3
cmp byte [ebp - 0x241], 0
je 0x43f354
push dword [ebp - 0x238]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43f34e
cmp edi, 0xffffffff
je 0x43f34e
push 0xdead
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x248]
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x43f2ac
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00461ae2
ret 4
Function at 0x43fe95
Capabilities:
Read file via mapping

Disassembly:
push 0xc0
mov eax, 0x46af13
call fcn.00461b38
mov ebx, ecx
mov dword [ebp - 0xcc], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
push ecx
push 0x80
push 4
push ecx
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
push 3
cmovae eax, dword [ebp + 0xc]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43ff30
cmp dword [esi + 0x10], 0
je 0x43ff30
cmp dword [esi + 0x14], 8
jb 0x43fefd
mov esi, dword [esi]
push esi
push 0xb0
xor esi, esi
push esi
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx + 4], eax
test eax, eax
je 0x43ff29
push 0xb0
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [ebx], edi
je 0x43ffe8
push 0xb0
call fcn.00460973
push 0xb0
mov esi, eax
push edi
push esi
mov dword [ebp - 0xc8], esi
call sub.VCRUNTIME140.dll_memset
mov dword [esi + 0x98], edi
add esp, 0x10
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov eax, dword [ebx + 8]
mov dword [ebx + 8], esi
test eax, eax
je 0x43ff8a
push 0xb0
push eax
call fcn.004609ab
pop ecx
pop ecx
push ecx
push dword [ebx]
mov ecx, dword [ebx + 8]
call fcn.0043fe51
mov eax, dword [ebx]
pop ecx
pop ecx
push 9
pop ecx
cmp word [eax], cx
je 0x43ffe8
push 0xa0
lea eax, [ebp - 0xc4]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x2c], edi
lea esi, [ebp - 0xc4]
mov dword [ebp - 0x28], edi
xor eax, eax
lea edi, [ebp - 0x24]
add esp, 0xc
stosd dword es:[edi], eax
push 0x2c
stosd dword es:[edi], eax
pop ecx
push 9
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, dword [ebx]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
pop eax
mov word [ecx], ax
lea ecx, [ebp + 0xc]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::destructor_void_]
mov eax, ebx
call fcn.00461ae2
ret 0x1c
Function at 0x441d52
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x466613
call fcn.00461b38
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x441e55
cmp byte [esi + 0x3e], 0
je 0x441e55
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x441d93
xor al, al
jmp 0x441e57
push ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041f649
and dword [ebp - 4], 0
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, ebx
lea ecx, [ebp - 0x28]
cmovae ecx, ebx
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x38]
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x441de2
sub eax, 1
je 0x441de6
dec eax
sub eax, 1
je 0x441e43
xor bl, bl
jmp 0x441e45
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 0x10
mov ecx, dword [ebp - 0x2c]
cmovae eax, ebx
sub ecx, eax
mov dword [ebp - 0x30], ecx
je 0x441e25
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, dword [ebp - 0x30]
add esp, 0x10
cmp ecx, eax
jne 0x441dde
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
cmp byte [esi + 0x3e], 0
je 0x441e43
test ecx, ecx
jne 0x441da7
push ecx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040a754
jmp 0x441da1
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401ca4
mov al, bl
jmp 0x441e57
mov al, 1
call fcn.00461ae2
ret
Function at 0x442874
Capabilities:
Get file version info

Disassembly:
push 0x224
mov eax, 0x46b546
call fcn.00461b38
mov esi, edx
push 2
xor ebx, ebx
pop edi
mov dword [0x4a9798], edi
cmp dword [0x4a979c], ebx
jne 0x4428bb
push 0x18
call fcn.00460973
pop ecx
mov dword [ebp - 0x21c], eax
push esi
mov ecx, eax
mov dword [ebp - 4], ebx
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::constructor_class_base::FilePath_const__]
or dword [ebp - 4], 0xffffffff
mov dword [0x4a979c], eax
push fcn.004425a0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push edi
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_abort_behavior]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
mov edi, 0x442673
push edi
push 0x16
call esi
push edi
push 0xf
call esi
push 0x442701
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
push 0x4427e9
call dword [sym.imp.VCRUNTIME140.dll__set_purecall_handler]
push 0x442742
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_new_handler]
xor edi, edi
inc edi
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__set_new_mode]
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x34
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4429d6
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], ebx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x4429d6
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
push esi
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], edi
call fcn.0043fd85
push dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4429cb
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x48d0c0
push dword [ebp - 0x228]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4429cb
mov eax, dword [ebp - 0x21c]
mov ax, word [eax + 0xc]
mov word [0x4a9794], ax
lea ecx, [ebp - 0x228]
call fcn.004051cf
call fcn.00461ae2
ret
Function at 0x443160
Capabilities:
Create process memory minidump
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x344
mov eax, dword [0x4a601c]
xor eax, esp
mov dword [esp + 0x340], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp dword [ebx + 0x14], 8
jb 0x44318c
mov eax, dword [ebx]
jmp 0x44318e
mov eax, ebx
xor edi, edi
push edi
push edi
push 2
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x4431b3
xor al, al
jmp 0x44325e
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x14], eax
lea edi, [esp + 0x28]
mov eax, dword [esi]
push 0x14
pop ecx
lea esi, [eax + 0xc]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x5c]
mov ecx, 0xb3
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0
push 0
push ecx
push dword [ebp + 0xc]
push edi
push eax
push esi
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
push 0
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x443255
cmp dword [ebx + 0x14], 8
jb 0x44324e
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
cmp dword [esp + 0x10], eax
setne al
mov ecx, dword [esp + 0x34c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460962
mov esp, ebp
pop ebp
ret 8
Function at 0x443275
Capabilities:
Enumerate process modules

Disassembly:
push 0x28
mov eax, 0x46b6d8
call fcn.00461b04
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [sym.imp.PSAPI.DLL_EnumProcessModules]
lea ecx, [ebp - 0x14]
push ecx
xor esi, esi
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push ecx
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
call edi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 4
shr eax, 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004609dc
mov ebx, eax
pop ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
push ebx
push dword [ebp - 0x18]
call edi
jmp 0x44331e
xor ecx, ecx
shr eax, 2
push 4
pop edx
mul edx
mov edi, ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004609dc
mov ebx, eax
mov dword [ebp - 0x24], ebx
pop ecx
test edi, edi
je 0x443306
push edi
call fcn.004609e5
pop ecx
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
push ecx
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
ja 0x4432dc
test eax, 0xfffffffc
jbe 0x4433bf
mov eax, dword [ebx + esi*4]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x34], eax
xor eax, eax
stosd dword es:[edi], eax
push 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
mov ecx, dword [eax + 4]
cmp edx, ecx
jae 0x443388
cmp dword [eax], edx
ja 0x443388
mov edi, edx
sub edi, dword [eax]
cmp ecx, dword [eax + 8]
jne 0x443376
push ecx
mov ecx, eax
call fcn.00443e26
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x4433a9
and edi, 0xfffffff0
add edi, dword [eax]
mov esi, edi
mov edi, dword [eax + 4]
jmp 0x4433a2
cmp ecx, dword [eax + 8]
jne 0x443398
push ecx
mov ecx, eax
call fcn.00443e26
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
test edi, edi
je 0x4433a9
lea esi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1c]
add dword [eax + 4], 0x10
inc esi
mov eax, dword [ebp - 0x10]
shr eax, 2
mov dword [ebp - 0x1c], esi
cmp esi, eax
jb 0x443331
test ebx, ebx
je 0x4433ca
push ebx
call fcn.004609e5
pop ecx
call fcn.00461acd
ret 4
Function at 0x44fd0c
Capabilities:
Get disk information

Disassembly:
push 0x418
mov eax, 0x46d798
call fcn.00461b38
mov ebx, ecx
mov dword [ebp - 0x418], ebx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x414], eax
cmp dword [eax + 0x10], edi
jne 0x44fd3a
xor al, al
jmp 0x44fe85
lea esi, [ebx + 0xd0]
mov ecx, esi
mov dword [ebp - 0x424], esi
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::Acquire_void_]
mov dword [ebp - 4], edi
cmp dword [ebx + 0xec], edi
jne 0x44fde1
push 0x400
lea eax, [ebp - 0x410]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebp - 0x410], 0
lea edi, [ebp - 0x410]
je 0x44fde1
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x44fdbc
push dword [ebp - 0x418]
lea eax, [ebp - 0x420]
push edi
push ecx
push eax
lea ecx, [ebx + 0xe8]
call fcn.0045076b
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x44fdc1
sub ecx, edx
sar ecx, 1
lea edi, [edi + ecx*2]
add edi, 2
cmp word [edi], si
jne 0x44fd96
lea esi, [ebx + 0xd0]
mov ecx, dword [ebp - 0x414]
mov edi, dword [ebx + 0xe8]
cmp dword [ecx + 0x14], 8
jb 0x44fdfb
mov ecx, dword [ecx]
mov dword [ebp - 0x414], ecx
mov eax, edi
mov dword [ebp - 0x41c], eax
mov ebx, dword [eax + 4]
cmp byte [ebx + 0xd], 0
jne 0x44fe47
mov esi, dword [ebp - 0x414]
push esi
lea eax, [ebx + 0xe]
push eax
call fcn.0044ecbd
test al, al
je 0x44fe2b
mov ebx, dword [ebx + 8]
mov eax, dword [ebp - 0x41c]
jmp 0x44fe35
mov eax, ebx
mov ebx, dword [ebx]
mov dword [ebp - 0x41c], eax
cmp byte [ebx + 0xd], 0
je 0x44fe12
mov esi, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x414]
mov ebx, dword [ebp - 0x418]
cmp eax, dword [ebx + 0xe8]
je 0x44fe69
add eax, 0xe
push eax
push ecx
call fcn.0044ecbd
test al, al
mov eax, dword [ebp - 0x41c]
je 0x44fe6f
mov eax, dword [ebx + 0xe8]
cmp eax, edi
setne bl
mov ecx, esi
mov dword [ebp - 4], 1
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::Release_void_]
mov al, bl
call fcn.00461ae2
ret 4
Function at 0x45650f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x4565ae
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x456563
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
sub edi, 1
jne 0x45658a
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x456669
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x4565db
xor eax, eax
jmp 0x45662c
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4565f8
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.0045711d
jmp 0x456610
cmp eax, 2
jne 0x456614
mov edx, dword [esi]
test edx, edx
jne 0x456607
xor eax, eax
jmp 0x456611
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00456e95
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x456654
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x456669
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x456520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408290
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x423c70
call fcn.004082b0
push 1
call fcn.00407c10
pop ecx
test al, al
je 0x408278
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00407bde
mov byte [ebp - 0x24], al
mov eax, dword [0x4270cc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x408278
test eax, eax
jne 0x40819c
mov dword [0x4270cc], ecx
push 0x41b2e8
push 0x41b2cc
call fcn.0040ec36
pop ecx
pop ecx
test eax, eax
je 0x40817f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x408268
push 0x41b2c8
push 0x41b2b4
call fcn.0040ebf1
pop ecx
pop ecx
mov dword [0x4270cc], 2
jmp 0x4081a1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00407d64
pop ecx
call fcn.00408883
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4081d2
push esi
call fcn.00407cd0
pop ecx
test al, al
je 0x4081d2
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x41b2b0]
call esi
call fcn.00408889
mov esi, eax
cmp dword [esi], edi
je 0x4081f0
push esi
call fcn.00407cd0
pop ecx
test al, al
je 0x4081f0
push dword [esi]
call fcn.0040e0da
pop ecx
call fcn.00408605
movzx esi, ax
call fcn.0040eba7
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00408643
test al, al
je 0x40827f
test bl, bl
jne 0x40821e
call fcn.0040e0b5
push edi
push 1
call fcn.00407d81
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x408268
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004084eb
push esi
call fcn.0040e100
push dword [ebp - 0x20]
call fcn.0040e0c4
int3
call 0x4b8000
jmp 0x408112
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4e49307d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x9824dff
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x180fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181b520]
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.01806e52
and dword [ebp - 0x14], 0
cmp dword [0x185d558], 0
mov dword [ebp - 0x18], eax
jne 0x180fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x180fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x180fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x185d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x185d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x185d560], eax
call edi
push eax
call esi
mov dword [0x185d568], eax
test eax, eax
je 0x180fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x185d564], eax
mov eax, dword [0x185d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x180fc78
cmp dword [0x185d568], ecx
je 0x180fc78
push eax
call esi
push dword [0x185d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x180fc78
test ebx, ebx
je 0x180fc78
call edi
test eax, eax
je 0x180fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x180fc6f
test byte [ebp - 8], 1
jne 0x180fc78
or dword [ebp + 0x10], 0x200000
jmp 0x180fcab
mov eax, dword [0x185d55c]
cmp eax, dword [ebp - 0x18]
je 0x180fcab
push eax
call esi
test eax, eax
je 0x180fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x180fcab
mov eax, dword [0x185d560]
cmp eax, dword [ebp - 0x18]
je 0x180fcab
push eax
call esi
test eax, eax
je 0x180fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x185d558]
call esi
test eax, eax
je 0x180fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x180fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.018013cb
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x1fdc24a2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x5db408d2
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219