joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012af
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403d14], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403d10], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403d10]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d18], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401379
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401360
mov eax, dword [0x403d14]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x401499
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x10
mov edx, esi
mov eax, 4
mov esi, 0x401116
mov edi, 0x4035f5
dec ecx
call fcn.00401cc6
mov eax, ecx
push edi
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call fcn.004013a1
call fcn.00401c72
mov eax, 0x14
mov ecx, 0x78f
mov esi, 0x401192
mov edi, 0x4014e3
call fcn.00401cc6
xor eax, eax
xor eax, 0x17cf0b66
sub eax, 0x4a88926a
fisttp qword [edi - 0x2d]
sbb al, 0xa9
invalid

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

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x100618b
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x101b0f4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetCurrentProcess]
push eax
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_OpenProcessToken]
test eax, eax
je 0x1006234
push esi
mov esi, dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_GetTokenInformation]
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 0
push 1
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call fcn.010129bb
mov edi, eax
pop ecx
test edi, edi
je 0x10061fd
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 1
push dword [ebp - 8]
call esi
test eax, eax
jne 0x100620a
push edi
call fcn.010129cb
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1006232
lea eax, [ebp - 0x6c]
push eax
call fcn.01005b6f
add eax, 4
push eax
push dword [edi]
call dword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_EqualSid]
lea ecx, [ebp - 0x6c]
mov esi, eax
call fcn.01005aab
push edi
call fcn.010129cb
pop ecx
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0101342b
leave
ret
Function at 0x100cd4f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
mov esi, ecx
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x68], eax
call ebx
mov dword [esi + 0x6c], eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x100ca86
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_CreateThread]
pop edi
mov dword [esi + 0x64], eax
pop esi
pop ebx
leave
ret

Function at 0x100eef8
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
xor esi, esi
push esi
push esi
push 1
push esi
mov edi, ecx
call ebx
push esi
push esi
push esi
push esi
mov dword [edi + 0x4c], eax
call ebx
push esi
push esi
push esi
push esi
mov dword [edi + 0x44], eax
call ebx
mov dword [edi + 0x48], eax
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100eeb3
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_CreateThread]
mov dword [edi + 0x40], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10103b1
Capabilities:
Enumerate process modules

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x101b0f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x218], ecx
lea ecx, [ebp - 0x220]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x220]
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x10104af
lea eax, [ebp - 0x224]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push edi
mov dword [ebp - 0x214], esi
call sub.KERNEL32.dll_K32EnumProcessModules
cmp dword [ebp - 0x214], esi
je 0x10104a8
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
push edi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
jbe 0x10104a8
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.0100b0d3
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
call fcn.0100b0d3
mov ecx, dword [ebp - 0x21c]
push 0x10031a0
call fcn.0100b0d3
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
push edi
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
jbe 0x10104a8
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push eax
call fcn.0100b0d3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
test eax, eax
jbe 0x10104d0
mov eax, dword [ebp - 0x218]
push dword [eax]
call esi
test eax, eax
jbe 0x10104d0
xor eax, eax
inc eax
jmp 0x10104d2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101342b
leave
ret 0x10
Function at 0x10104e8
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x101b0f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
push edi
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov ebx, eax
test edi, edi
jbe 0x10105b6
test ebx, ebx
je 0x10105b6
push ebx
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x1003200
xor esi, esi
push ebx
mov dword [ebp - 0x78], esi
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x78], 4
jb 0x10105b6
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push 0x10031b0
lea eax, [ebp - 0x68]
push 0x32
push eax
call fcn.010102d8
add esp, 0x14
test eax, eax
jl 0x10105b6
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
mov dword [ebp - 0x6c], esi
call sub.VERSION.dll_VerQueryValueW
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
mov dword [ebp - 0x74], esi
push dword [ebp - 0x6c]
call fcn.01008037
test eax, eax
jl 0x10105b6
push dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
push dword [ebp - 0x6c]
call fcn.0100ad74
push ebx
call dword [sym.imp.msvcrt.dll_free]
mov eax, dword [ebp - 0x70]
pop ecx
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.0101342b
leave
ret 8
Function at 0x1011944
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x1016e8f
call fcn.01013440
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 3
xor ebx, ebx
call fcn.010103b1
test al, al
je 0x1011a76
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x1011a76
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1011a76
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10119d2
lea eax, [ebp - 0x28]
push eax
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x101b2c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x101b2e0
call fcn.0100fc66
mov ebx, eax
cmp ebx, edi
je 0x10119fa
inc dword [ebx + 0x5c]
jmp 0x1011a6b
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.010104e8
test al, al
je 0x1011a58
push 0x68
call fcn.0101298d
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
cmp eax, edi
je 0x1011a39
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
mov ecx, eax
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.01010e4d
mov esi, eax
jmp 0x1011a3b
xor esi, esi
inc dword [esi + 0x5c]
mov ecx, esi
mov byte [ebp - 4], 3
mov ebx, esi
call fcn.010118f3
test eax, eax
jge 0x1011a58
mov ecx, esi
call fcn.0101124f
xor ebx, ebx
cmp ebx, edi
je 0x1011a6b
push ebx
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x101b2e0
call fcn.0101174c
push 0x101b2c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x14]
call esi
mov eax, ebx
call fcn.010134ee
ret 4
Function at 0x1012e5c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x101b0f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.01012df1
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x1012ecf
cmp dword [ebp - 0x94], 5
jb 0x1012ef0
jmp 0x1012eec
cmp dword [ebp - 0x88], 1
jne 0x1012ef0
cmp dword [ebp - 0x94], 4
ja 0x1012eec
jne 0x1012ef0
cmp dword [ebp - 0x90], 0
jbe 0x1012ef0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1003550
call fcn.01003cba
test eax, eax
jge 0x1012f11
mov byte [0x101b144], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0101342b
leave
ret
Function at 0x101324d
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1018aa0
call fcn.01013374
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x101b8a8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1013008
cmp eax, esi
jne 0x1012ffb
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x101300b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1012fe2
xor esi, esi
inc esi
mov eax, dword [0x101b8a4]
cmp eax, esi
jne 0x101301e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x101304d
mov eax, dword [0x101b8a4]
test eax, eax
jne 0x1013047
mov dword [0x101b8a4], esi
push 0x1001410
push 0x1001404
call fcn.01012f44
pop ecx
pop ecx
test eax, eax
je 0x101304d
jmp 0x1013171
mov dword [0x101b440], esi
mov eax, dword [0x101b8a4]
cmp eax, esi
jne 0x1013071
push 0x1001400
push 0x10013bc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x101b8a4], 2
cmp dword [ebp - 0x20], ebx
jne 0x101307e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x101b8b4], ebx
je 0x101309f
push 0x101b8b4
call fcn.01013839
pop ecx
test eax, eax
je 0x101309f
push ebx
push 2
push ebx
call dword [0x101b8b4]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1013171
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1013109
cmp cx, bx
je 0x10130c4
cmp dword [ebp - 0x1c], ebx
jne 0x1013109
movzx ecx, word [eax]
cmp cx, bx
je 0x10130d9
cmp cx, 0x20
ja 0x10130d9
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x10130c4
test byte [ebp - 0x40], 1
je 0x10130e5
movzx ecx, word [ebp - 0x3c]
jmp 0x10130e8
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x101b43c], eax
cmp dword [0x101b430], ebx
jne 0x101314e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x101311a
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x10130ae
cmp dword [0x101b440], ebx
jne 0x101315c
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x101b43c]
jmp 0x101317d
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010133b9
ret
call fcn.0101397e
jmp 0x1012fa5
Function at 0x1013e18
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x101b0f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1003708]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x100370c]
push esi
push edi
mov dword [ebp - 0xc], eax
xor esi, esi
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov dword [ebp - 0x220], esi
cmp ebx, esi
jne 0x1013e5d
or eax, 0xffffffff
jmp 0x1013f14
lea eax, [ebp - 0x220]
push eax
push 0x20019
push esi
push 0x10036a8
push 0x80000001
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1013e55
cmp dword [ebp - 0x220], esi
je 0x1013e55
push 0xa
lea eax, [ebp - 0xa]
push eax
lea edi, [esi + 1]
push edi
mov dword [ebp - 0x224], 0x20a
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x1013ed7
cmp eax, 0xea
jne 0x1013f06
jmp 0x1013eff
cmp dword [ebp - 0x228], 1
jne 0x1013f06
mov eax, dword [ebp - 0x224]
cmp eax, 2
jbe 0x1013eff
shr eax, 1
dec eax
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp esi, 0x19
jl 0x1013e86
push dword [ebp - 0x220]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101342b
leave
ret 4

Function at 0x1015782
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.01013c00
mov eax, dword [0x101b0f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1018], eax
cmp eax, ebx
jne 0x10157b6
xor eax, eax
jmp 0x101587a
mov ecx, dword [ebp + 0x10]
push esi
add ecx, ecx
push ecx
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1004]
push ebx
push eax
mov dword [ebp - 0x1008], ebx
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x100c], eax
xor eax, eax
add esp, 0x18
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x101c]
push eax
push 0xc
lea eax, [ebp - 0x1014]
push eax
push 0x58
mov dword [ebp - 0x1014], edi
mov word [ebp - 0x100e], si
mov dword [ebp - 0x101c], ebx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
pop esi
test eax, eax
jl 0x1015874
mov ecx, dword [ebp - 0x100c]
cmp ecx, ebx
je 0x1015874
cmp word [ebp - 0x1010], bx
je 0x1015874
movzx eax, word [ebp - 0x1010]
shr eax, 1
cmp eax, 0x800
jb 0x101584d
mov eax, 0x7ff
xor edx, edx
mov word [ecx + eax*2], dx
push dword [ebp - 0x100c]
push dword [ebp + 0x10]
push dword [ebp - 0x1018]
call fcn.01007fc8
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x1008], ecx
mov eax, dword [ebp - 0x1008]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0101342b
leave
ret 0xc
Function at 0x1015a06
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x1015a1a
sub eax, ecx
sar eax, 1
lea edi, [eax + 0xe]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010129bb
mov esi, eax
pop ecx
cmp esi, ebx
je 0x1015aa7
push dword [ebp + 0xc]
xor eax, eax
push edi
push esi
mov word [esi], ax
call fcn.010158b0
cmp eax, ebx
jl 0x1015aa7
push 0x100387c
push edi
push esi
call fcn.010158b0
cmp eax, ebx
jl 0x1015aa7
push esi
cmp byte [ebp + 8], bl
je 0x1015a98
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1015aa7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
jmp 0x1015aa7
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 4], eax
push esi
call fcn.010129cb
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1015bdb
Capabilities:
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenEventW]
push edi
mov edi, 0x10038c0
push edi
xor ebx, ebx
push ebx
push 2
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1015c76
push 1
push ebx
push ebx
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x1015c73
push 0x10
push 0x1003898
push eax
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x1015c6a
push ebx
push ebx
push eax
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_StartServiceW]
test eax, eax
jne 0x1015c40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x1015c61
mov dword [ebp - 4], ebx
push edi
push ebx
push 2
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1015c61
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x64
jl 0x1015c43
push dword [ebp - 0xc]
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
push dword [ebp - 0x10]
call dword [sym.imp.API_MS_WIN_Service_Management_L1_1_0.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4a677d6b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
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
pop eax
nop
nop
mov esi, 0x6e921249
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4f3540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xe6d000
lea edi, [esi - 0x9c000]
push edi
jmp 0x4f355a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f3561
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f3550
mov eax, 1
add ebx, ebx
jne 0x4f3573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f3584
jne 0x4f35a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f35a3
dec eax
add ebx, ebx
jne 0x4f3590
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f3568
add ebx, ebx
jne 0x4f359f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f35f5
xor ecx, ecx
sub eax, 3
jb 0x4f35bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f362a
sar eax, 1
mov ebp, eax
jmp 0x4f35c6
add ebx, ebx
jne 0x4f35c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f3594
inc ecx
add ebx, ebx
jne 0x4f35d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f3594
add ebx, ebx
jne 0x4f35e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f35d6
jne 0x4f35f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f35d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f3614
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f3606
jmp 0x4f3556
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f3614
add edi, ecx
jmp 0x4f3556
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f3632
cmp byte [edi], 0x11
jne 0x4f3632
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 0x4f3637
lea edi, [esi + 0xec000]
mov eax, dword [edi]
or eax, eax
je 0x4f36af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10c76c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10c8e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f3664
mov ecx, edi
jns 0x4f3693
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 + 0x10c8ec]
or eax, eax
je 0x4f36a9
mov dword [ebx], eax
add ebx, 4
jmp 0x4f3681
call dword [esi + 0x10c8fc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f36e0
cmp al, 0xef
ja 0x4f36d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f36b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f36c2
mov ebp, dword [esi + 0x10c8f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4f3714
sub esp, 0xffffff80
jmp 0x425f74