joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ef90
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x100
push 0
push 0x1012b428
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x1001a060]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1012b428], cl
inc eax
cmp eax, 0x100
jl 0x1000efb0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push 0x1012b428
push 0
mov ecx, 0x10120080
call fcn.10006b00
mov eax, dword [0x101251dc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x1000f020
push 0
push 0
push 0x10
push eax
call esi
mov ecx, dword [0x10125e7c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x101251dc], 0
call edi
mov eax, dword [0x10125304]
test eax, eax
je 0x1000f04b
push 0
push 0
push 0x10
push eax
call esi
mov eax, dword [0x10125e7c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x10125304], 0
call edi
mov eax, dword [0x1012542c]
test eax, eax
je 0x1000f076
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x10125e7c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012542c], 0
call edi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push ebx
push 0x1000eee0
push 0
push 0
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebx + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x1000f0ed
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x1000f0ed
mov eax, dword [ebx + 4]
test eax, eax
je 0x1000f0e8
push 0
push 0
push 0x10
push eax
call esi
mov eax, dword [0x10125e7c]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
mov dword [ebx + 4], 0
call edi
call fcn.1000eb50
pop edi
pop esi
pop ecx
pop ebp
ret

Function at 0x1000f100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x100
push 0
push 0x1012b428
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0xc
xor eax, eax
sub ecx, 0x1012b428
mov dl, byte [ecx + eax + 0x1012b428]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x1012b428], dl
inc eax
cmp eax, 0x100
jl 0x1000f122
mov eax, 0x1012b428
pop ebp
ret
Function at 0x1000f200
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1000f150
mov esi, eax
lea eax, [ebp - 0x50]
push eax
push 0xf003f
push 0
push 0x10120386
mov ecx, 9
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push getpeername
mov dword [ebp - 0x54], 0x24
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f28b
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x4c]
push edx
push eax
push eax
mov eax, dword [ebp - 0x50]
push str.WindowID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x28]
test eax, eax
je 0x1000f29e
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
push ecx
push edx
push 1
push 0
push str.WindowID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x28]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x4c]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1000f2c1
test al, al
je 0x1000f2bd
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1000f2c1
add ecx, 2
add edx, 2
test al, al
jne 0x1000f2a1
xor eax, eax
jmp 0x1000f2c6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000f281
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
lea eax, [ebp - 0x4c]
pop esi
call fcn.10012204
mov esp, ebp
pop ebp
ret

Function at 0x1000f2e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1000f150
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push 0xf003f
push 0
push 0x10120386
mov ecx, 9
lea edi, [ebp - 0x28]
push getpeername
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f344
mov edx, dword [ebp - 0x2c]
push 0x24
lea ecx, [ebp - 0x28]
push ecx
push 1
push eax
push str.WindowID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10012204
mov esp, ebp
pop ebp
ret
Function at 0x1000f360
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1000f397
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000f387
mov edx, dword [ebp - 0x20]
push 0
push 0
xor eax, eax
push 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
push 0
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret

Function at 0x1000f400
Capabilities:
Hide thread from debugger

Disassembly:
push esi
push str.NtSetInformationThread
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000f422
xor al, al
pop esi
ret
push 0
push 0
push 0x11
test edi, edi
jne 0x1000f43c
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
test eax, eax
sete al
pop esi
ret
push edi
call esi
test eax, eax
sete al
pop esi
ret

Function at 0x1000fe90
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x10120044]
push edi
cmp esi, dword [0x10120048]
je 0x1000ff5e
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x1000fece
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push getpeername
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x1000fee3
add esi, 0x105
cmp esi, dword [0x10120048]
jne 0x1000feb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10120048]
mov esi, dword [0x10120044]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000ff46
xor edi, edi
cmp byte [edi + esi], 2
jne 0x1000ff22
lea ecx, [edi + esi + 1]
push ecx
push getpeername
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x10120044]
mov ecx, dword [0x10120048]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x1000ff06
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.10004600
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ffa0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10120054]
push ebx
push esi
push edi
mov dword [ebp - 0x138], eax
cmp eax, dword [0x10120058]
je 0x10010167
mov edi, dword [ebp - 0x134]
lea esi, [eax + 1]
xor ebx, ebx
jmp 0x1000ffe0
movzx eax, byte [eax]
cmp eax, 3
ja case.default.0x1000ffec
jmp dword [eax*4 + 0x10010178]
push esi
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
cmp edi, ebx
je case.default.0x1000ffec
lea ecx, [ebp - 0x134]
push ecx
push edi
mov dword [ebp - 0x134], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x138]
push edx
inc eax
push eax
jmp 0x1001015d
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, eax
cmp edi, ebx
jne 0x10010005
jmp case.default.0x1000ffec
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x130]
push ecx
push eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10010106
mov ecx, esi
lea eax, [ebp - 0x10c]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100100a0
cmp dl, bl
je 0x1001009c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100100a0
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x10010080
xor eax, eax
jmp 0x100100a5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100100ea
mov edx, dword [ebp - 0x128]
push edx
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x13c]
push eax
push edi
mov dword [ebp - 0x13c], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 8
call fcn.10004600
add esp, 0xc
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10010071
mov eax, dword [ebp - 0x134]
cmp eax, 0xffffffff
je case.default.0x1000ffec
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.default.0x1000ffec
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x10010154
mov eax, dword [ebp - 0x138]
add eax, 0x41
add esi, 0x41
mov dword [ebp - 0x138], eax
cmp eax, dword [0x10120058]
jne 0x1000ffe0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012204
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x138]
push ebx
inc ecx
push ecx
push 8
call fcn.10004600
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012204
mov esp, ebp
pop ebp
ret
Function at 0x10010230
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100103d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100102f4
cmp dword [ebp - 4], 0x50000000
jb 0x10010271
cmp dword [ebp - 4], 0x80000000
ja 0x10010271
mov dword [ebp - 4], 0x4fff0000
jmp 0x1001024a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10010297
jmp 0x100102f4
cmp dword [ebp - 0x14], 0x10000
jne 0x100102da
cmp dword [ebp - 0x18], 0x10000
jb 0x100102da
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100102cd
mov eax, dword [ebp - 8]
jmp 0x100102f6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100102ef
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100103d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1001024a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10010300
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10010400
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100103bc
cmp dword [ebp - 4], 0x50000000
jb 0x1001033c
cmp dword [ebp - 4], 0x80000000
ja 0x1001033c
mov dword [ebp - 4], 0x80010000
jmp 0x10010315
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10010362
jmp 0x100103bc
cmp dword [ebp - 0x14], 0x10000
jne 0x100103a5
cmp dword [ebp - 0x18], 0x10000
jb 0x100103a5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10010398
mov eax, dword [ebp - 8]
jmp 0x100103be
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100103b7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10010400
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10010315
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10010b30
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10010b45
xor eax, eax
jmp 0x10010bba
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x10010b72
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10010bb5
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10010bb3
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10010baf
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10010bb3
xor eax, eax
jmp 0x10010bba
jmp 0x10010b69
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10010d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10125aa0]
mov dword [ebp - 4], eax
jmp 0x10010d99
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10010db6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10010d90
mov esp, ebp
pop ebp
ret
Function at 0x10011200
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10125ab0], eax
je 0x1001121e
mov eax, 0x10dd
jmp 0x100112ff
mov eax, dword [0x10125ac0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001129c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1001127a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1001127a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.100108a0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10011226
mov dword [0x10125ac0], 0
call fcn.10010bc0
mov ecx, dword [0x10125abc]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100112e9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x100112b4
mov dword [0x10125abc], 0
mov dword [0x10125ab0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100117f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10125ab4], 0
je 0x10011809
mov eax, dword [0x10125ab4]
jmp 0x100118a9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1001181b
xor eax, eax
jmp 0x100118a9
push 8
call fcn.10012324
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10011871
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1001185a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10125ab4], eax
mov dword [0x10125ab8], 0
mov eax, dword [ebp - 8]
jmp 0x100118a9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001188b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1001183b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10125abc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10125abc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10012204
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001a018]
jne 0x1001220e
repz ret
jmp fcn.10012747
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x402fc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x402fd8
pop dword [ebp - 0x14]
mov eax, 0x402fd8
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x94cf0eef
sub dword [ebp - 0x24], 0x467cc9a4
mov dword [ebp - 0x20], 0xe9cff2bd
add dword [ebp - 0x20], 0x48635988
mov dword [ebp - 0x1c], 0x69b793de
add dword [ebp - 0x1c], 0xe294b050
mov dword [ebp - 0x18], 0x750e4a0c
add dword [ebp - 0x18], 0x8af1b5f4
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4afabf88
sub eax, 0x4ab9ef34
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xf7b21c54
sub dword [ebp - 0x24], 0x833fb2fe
mov dword [ebp - 0x20], 0x57680749
sub dword [ebp - 0x20], 0x15fba5d4
mov dword [ebp - 0x1c], 0x7926f2bf
add dword [ebp - 0x1c], 0xea4879ad
mov dword [ebp - 0x18], 0xb8cf098
add dword [ebp - 0x18], 0xf4730f68
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3c073
push 0
call eax
mov ecx, 0xae427f8f
add ecx, 0x51bdd279
mov esi, eax
mov edi, 0xac19a327
add edi, 0x54280cd9
add edi, dword [ebp - 0x14]
mov ebx, 0xa77b22fa
add ebx, 0x9a96ed14
xor dword [ebp - 8], edx
mov edx, dword [edi]
xor dword [ebp - 4], ecx
add edx, ebx
xor dword [ebp - 8], eax
mov dword [esi], edx
mov dword [ebp - 0xc], 0x570dc8a6
add esi, 4
add edi, 0x8a326f92
sub edi, 0x8a326f8e
loop 0x4030f0
add eax, 0x694fb4b2
add eax, 0x96b18641
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x8a164bef
sub ecx, 0x89d64bef
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x412c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x412c66
pop dword [ebp - 0x3c]
mov eax, 0x412c66
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x5f5c7ebe
add dword [ebp - 0x4c], 0xeef5c68d
mov dword [ebp - 0x48], 0x86b75ea
sub dword [ebp - 0x48], 0xd63829a5
mov dword [ebp - 0x44], 0xa3b7ab24
sub dword [ebp - 0x44], 0x576b66f6
mov dword [ebp - 0x40], 0x2c5b547b
add dword [ebp - 0x40], 0xd3a4ab85
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xe9a07740
sub eax, 0xe96066b4
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x81a3fa41
sub dword [ebp - 0x4c], 0xd3190eb
mov dword [ebp - 0x48], 0xc422c420
add dword [ebp - 0x48], 0x7d499d55
mov dword [ebp - 0x44], 0x4083ddfa
add dword [ebp - 0x44], 0x22eb8e72
mov dword [ebp - 0x40], 0xce9f37f3
sub dword [ebp - 0x40], 0xce9f37f3
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x6a62c34a
add eax, 0x95dd4d9a
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x39cf5
push 0
call eax
mov ecx, 0x60283795
add ecx, 0x9fd802be
mov esi, eax
mov edx, 0x471a00
add edx, dword [ebp - 0x3c]
mov edi, 0xc4208767
sub dword [ebp - 4], ecx
mov ebx, dword [edx]
add dword [ebp - 0x14], 0x7461408f
add ebx, edi
add dword [ebp - 0x20], 0xc5865f5
mov dword [esi], ebx
xor dword [ebp - 0x30], 0x1b945660
add esi, 4
add edx, 0x9242814a
sub edx, 0x92428146
loop 0x412d77
add eax, 0xdc1f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2b5e335c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x44de4b18
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1064a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1064a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1064a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1064a06a
add dl, dl
jne 0x1064a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1064a0dc
xor eax, eax
add dl, dl
jne 0x1064a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1064a17d
add dl, dl
jne 0x1064a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1064a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1064a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1064a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1064a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1064a075
mov eax, 1
add dl, dl
jne 0x1064a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1064a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1064a0e1
sub eax, ebx
mov ebx, 1
jne 0x1064a128
mov ecx, 1
add dl, dl
jne 0x1064a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1064a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1064a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1064a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1064a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1064a136
cmp eax, 0x7d00
jae 0x1064a16d
cmp eax, 0x500
jb 0x1064a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064a075
cmp eax, 0x7f
ja 0x1064a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1064a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1064a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1064a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10