joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018a8
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10060b0]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
xor esi, esi
lea eax, [ebp - 0x210]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x1001260
push 0x80000000
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001a38
cmp dword [ebp - 0x214], 1
jne 0x1001a38
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 0x1001268
push ebx
call edi
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push esi
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x1001a36
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x1001278
push 0x80000000
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001a36
push 0x1001288
call edi
push eax
push 0x1001288
push 1
push esi
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x1001a36
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x1001294
push 0x80000000
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001a36
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0100185d
lea eax, [ebp - 0x20c]
push eax
push 0x10012b8
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call edi
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push esi
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x1001a36
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x210], esi
pop edi
pop ebx
cmp dword [ebp - 0x210], esi
pop esi
je 0x1001a4d
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
call fcn.01004a2f
leave
ret
Function at 0x10026e0
Capabilities:
Check if file exists
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10060b0]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
je 0x10027b9
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push ebx
push 0x1001418
push 0x80000002
mov byte [esi], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10027a5
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x1001417
push dword [ebp - 0x10c]
mov dword [ebp - 0x114], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10027a5
cmp dword [ebp - 0x110], 2
lea eax, [ebp - 0x108]
jne 0x1002788
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 0x114], eax
jmp 0x10027a5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10027a5
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp - 0x10c], ebx
je 0x10027b9
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01004a2f
leave
ret 8
Function at 0x1003353
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.010049bc
jmp fcn.010032cf

Function at 0x1004348
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
je 0x1004409
cmp dword [ebp + 0x10], ebx
je 0x1004409
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x100438d
mov dword [ebp - 4], 0x80040116
jmp 0x10043fd
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10043a6
mov dword [ebp - 4], 0x80040116
jmp 0x10043f5
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
jne 0x10043bf
mov dword [ebp - 4], 0x8007000e
jmp 0x10043f4
push ebx
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10043dc
mov dword [ebp - 4], 0x80040116
jmp 0x10043f4
cmp esi, dword [ebp - 8]
je 0x10043ea
mov dword [ebp - 4], 0x80004005
jmp 0x10043f4
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
pop edi
mov eax, dword [ebp + 8]
cmp eax, ebx
pop esi
je 0x1004404
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x100440e
mov eax, 0x80070057
pop ebx
leave
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x1001130
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001080
push 0x1001322
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT40.dll___set_app_type]
add esp, 4
mov dword [0x100204c], 0xffffffff
mov eax, dword [0x100204c]
mov dword [0x1002050], eax
call dword [sym.imp.MSVCRT40.dll___p__fmode]
mov ecx, dword [0x1002040]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT40.dll___p__commode]
mov ecx, dword [0x100203c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT40.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002054], eax
call fcn.01001320
cmp dword [0x1002038], 0
jne 0x10011c0
push 0x1001310
call dword [sym.imp.MSVCRT40.dll___setusermatherr]
add esp, 4
call fcn.010012f0
push 0x100200c
push 0x1002008
call sub.MSVCRT40.dll__initterm
add esp, 8
mov eax, dword [0x1002034]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x1002030]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCRT40.dll___getmainargs]
add esp, 0x14
push 0x1002004
push section..data
call sub.MSVCRT40.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT40.dll___p__acmdln]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x1001234
mov al, byte [ebp - 0x40]
inc esi
mov al, byte [esi]
test al, al
je 0x100122c
cmp al, 0x22
jne 0x1001221
cmp byte [esi], 0x22
jne 0x100123e
inc esi
jmp 0x100123e
cmp al, 0x20
jbe 0x100123e
inc esi
cmp byte [esi], 0x20
ja 0x1001238
cmp byte [esi], 0
je 0x100124e
cmp byte [esi], 0x20
ja 0x100124e
inc esi
cmp byte [esi], 0
jne 0x1001243
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x5c], 1
mov eax, 0xa
je 0x1001275
mov eax, dword [ebp - 0x58]
and eax, 0xffff
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.MSVCRT40.dll_exit]
jmp 0x10012b8
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x413f43
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x430008]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [esp + 0x2c], vtable.softricity::shared::lock_holder_class_softricity::shared::critical_section_.0
mov byte [esp + 0x30], 0
lea edi, [ebx + 0xc]
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [edi + 0x18]
cmp dword [edi + 0x18], 1
jne 0x403d5c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + 0x1c], eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x58], 0
lea esi, [ebx + 0x2c]
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x20]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.004040e0
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x403d8d
xor esi, esi
jmp 0x403eb4
push 0x20
call fcn.00407d59
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x58], 1
test esi, esi
je 0x403dce
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [esi], vtable.SurrogateClassFactoryImpl.0
mov dword [esi + 4], vtable.SurrogateClassFactoryImpl.1.0
mov dword [esi + 8], 0
movdqu xmm0, xmmword [ebx]
mov dword [esi + 0x1c], ecx
movdqu xmmword [esi + 0xc], xmm0
jmp 0x403dd0
xor esi, esi
mov byte [esp + 0x58], 0
mov dword [esp + 0x20], esi
test esi, esi
je 0x403de3
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov byte [esp + 0x58], 3
lea eax, [esp + 0x18]
push eax
push 8
push 4
push esi
push ebx
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov dword [esp + 0x1c], eax
test eax, eax
js 0x403e85
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
add ecx, 0x34
mov byte [eax], 0
lea eax, [esp + 0x18]
push eax
call fcn.00404190
lea eax, [esp + 0x20]
mov edx, ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.00404b90
add esp, 4
mov byte [esp + 0x58], 4
mov ecx, dword [esp + 0x14]
push eax
call fcn.00404c10
push eax
add eax, 0x10
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
call fcn.00404cd0
mov byte [esp + 0x58], 3
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
mov byte [esp + 0x58], 3
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x403e71
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test byte [0x432480], 4
je 0x403ea1
push dword [esp + 0x18]
mov ecx, 0x429c40
jmp 0x403e94
test byte [0x432480], 2
je 0x403ea1
push eax
mov ecx, 0x42c980
sub esp, 8
mov edx, ebx
call fcn.004034d0
add esp, 0xc
mov byte [esp + 0x58], 0
test esi, esi
je 0x403eb0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
dec dword [edi + 0x18]
mov dword [esp + 0x2c], vtable.softricity::shared::lock_holder_class_softricity::shared::critical_section_.0
jne 0x403ed0
mov dword [edi + 0x1c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x30], 0
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x405260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push str.AppID
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4052d3
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4052a1
cmp eax, 2
jne 0x4052bd
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4052cd
test ecx, ecx
je 0x4052c8
test cl, 1
jne 0x4052bd
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4052cd
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x40f654
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430008]
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.0040da43
mov dword [ebp - 0x14], eax
cmp dword [0x432438], esi
jne 0x40f747
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f6d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f827
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f827
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f827
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x432438], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43243c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x432440], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x432448], eax
test eax, eax
je 0x40f744
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x432444], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f76c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f75f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f781
push 4
pop eax
jmp 0x40f829
cmp dword [ebp - 0x14], esi
je 0x40f781
push dword [0x432438]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f766
mov eax, dword [0x432444]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f7df
cmp dword [0x432448], edi
je 0x40f7df
push eax
call ebx
push dword [0x432448]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f7df
test eax, eax
je 0x40f7df
call ecx
test eax, eax
je 0x40f7d4
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 0x40f7d4
test byte [ebp - 8], 1
jne 0x40f7df
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f80f
mov eax, dword [0x43243c]
cmp eax, edi
je 0x40f80c
push eax
call ebx
test eax, eax
je 0x40f80c
call eax
mov esi, eax
test esi, esi
je 0x40f80c
mov eax, dword [0x432440]
cmp eax, edi
je 0x40f80c
push eax
call ebx
test eax, eax
je 0x40f80c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x432438]
call ebx
test eax, eax
je 0x40f827
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f829
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040737e
mov esp, ebp
pop ebp
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x403a3166
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..pdata_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x41e859d7
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x6f6c71d6
jno 0x430083
outsd dx, dword [esi]
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x7a847d8a
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430015
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x403540
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4035d1
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4035d1
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x4035d1
cmp dword [eax + edi + 0x7c], 0
je 0x4035d1
mov eax, dword [eax + edi + 0x78]
xor esi, esi
add eax, edi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, edi
mov ebx, dword [eax + 0x18]
add edx, edi
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [ebp + 8], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x4035d1
mov eax, dword [edx + esi*4]
mov ecx, dword [ebp + 0xc]
add eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4035c0
test dl, dl
je 0x4035bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4035c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4035a0
xor eax, eax
jmp 0x4035c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4035da
mov edx, dword [ebp + 8]
inc esi
cmp esi, ebx
jb 0x403598
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4106d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x4106de
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4106ee
xor al, al
pop ebp
ret
shr eax, 4
not al
and al, 1
pop ebp
ret

Function at 0x411ee0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x44e500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x44fba8]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x44f648]
cmp eax, dword [ecx + 4]
jg 0x4120a7
cmp dword [0x44e4a0], 0
jne 0x41208a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.00412cc0
test al, al
jne 0x411f99
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.004025a0
mov esi, eax
add esp, 0xc
cmp esi, 0x44e490
je 0x412081
mov ecx, dword [0x44e4a4]
cmp ecx, 0xf
jbe 0x41203e
mov edx, dword [0x44e490]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412034
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4120dd
jmp 0x412034
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0041d8d0
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x412007
cmp dword [ebp - 0x240], esi
je 0x411ffb
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x411fe0
jmp 0x412007
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.004025a0
add esp, 0x10
mov esi, eax
cmp esi, 0x44e490
pop edi
jmp 0x411f56
push ecx
push edx
call fcn.0041be23
add esp, 8
mov dword [0x44e4a0], 0
mov dword [0x44e4a4], 0xf
mov byte [0x44e490], 0
movups xmm0, xmmword [esi]
movups xmmword [0x44e490], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44e4a0], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.00402d70
pop esi
push 0x44e490
mov ecx, ebx
call fcn.00402360
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0041c090
mov esp, ebp
pop ebp
ret
push 0x44f648
call fcn.0041c2d8
add esp, 4
cmp dword [0x44f648], 0xffffffff
jne 0x411f1d
push 0x43e6f0
call fcn.0041c07b
push 0x44f648
call fcn.0041c287
add esp, 8
jmp 0x411f1d
call fcn.00420a0f
int3
Function at 0x4120f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d7a6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x44e500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call fcn.0041d8d0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.0041da30
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412175
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x41226e
call fcn.00401c40
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004172a0
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00412700
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x41221f
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412215
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4122b3
push ecx
push edx
call fcn.0041be23
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x412296
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41228c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4122b3
jmp 0x41228c
call fcn.00401c40
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.004172a0
add esp, 8
jmp 0x41223a
push ecx
push edx
call fcn.0041be23
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c090
mov esp, ebp
pop ebp
ret
call fcn.00420a0f
int3