joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c7e0
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x194]
mov esi, ecx
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000c81f
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 4
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x1000c80c
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esi + 8], eax
test eax, eax
je 0x1000c80c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x100014], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d230
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov edx, 0x80
xor ecx, ecx
mov dword [ebp - 4], ecx
xor eax, eax
test cl, 1
cmovne eax, edx
shr ecx, 1
test cl, 1
je 0x1000d256
bts eax, 6
shr ecx, 1
test cl, 1
je 0x1000d261
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000d26c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x1000d277
bts eax, 3
shr ecx, 1
test cl, 1
je 0x1000d282
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000d28d
bts eax, 1
test cl, 2
je 0x1000d296
bts eax, 0
shl eax, 0x18
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
add eax, eax
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
and edx, 0x80000000
neg edx
lea eax, [ecx + ecx]
sbb edx, edx
and edx, 0x4c11db7
xor edx, eax
mov ecx, edx
and ecx, 0x80000000
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x4c11db7
xor ecx, eax
mov ebx, ecx
and ebx, 0x80000000
neg ebx
lea eax, [ecx + ecx]
sbb ebx, ebx
and ebx, 0x4c11db7
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [edi + eax*4], ebx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
nop
test bl, 1
je 0x1000d36f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x1000d360
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
mov edx, 0x80
cmp ecx, 0xff
jle 0x1000d243
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000db20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call fcn.1001d4e0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000db60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call fcn.1001da60
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000dc20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x88], eax
cmp dword [ebx + 0x18], 0
je 0x1000dd94
push esi
push edi
lea ecx, [ebp - 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x84], 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 [ebp - 0x84]
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 0x1000dd82
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 [ebp - 0x84]
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 + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000dd10
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 [ebp + ecx - 0x30], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x29
jb 0x1000dd32
lea eax, [ebp - 0x30]
mov byte [ebp - 7], 0
push eax
push esi
call fcn.100151d0
mov ecx, esi
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000dd60
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, [ebp - 0x80]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 4
Function at 0x1000dff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov bl, byte [ebp + 0x10]
movsx eax, bl
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
jle 0x1000e081
push esi
mov esi, dword [ebp + 8]
cmp edx, 0x20
jb 0x1000e06b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1000e02d
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm2, xmmword [0x1003c730]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
paddb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
paddb xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x1000e040
pop edi
cmp eax, edx
jge 0x1000e080
nop
mov cl, byte [eax + esi]
add cl, bl
xor cl, 0xa0
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1000e070
pop esi
pop ebx
pop ebp
ret

Function at 0x1000e090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov bl, byte [ebp + 0x10]
movsx eax, bl
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
test edx, edx
jle 0x1000e121
push esi
mov esi, dword [ebp + 8]
cmp edx, 0x20
jb 0x1000e10b
mov ecx, edx
push edi
and ecx, 0x8000001f
jns 0x1000e0cd
dec ecx
or ecx, 0xffffffe0
inc ecx
movaps xmm2, xmmword [0x1003c730]
mov edi, edx
sub edi, ecx
lea ecx, [esi + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [ecx - 0x10]
add eax, 0x20
lea ecx, [ecx + 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm1
movups xmmword [ecx - 0x30], xmm0
movups xmm0, xmmword [ecx - 0x20]
pxor xmm0, xmm2
psubb xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp eax, edi
jl 0x1000e0e0
pop edi
cmp eax, edx
jge 0x1000e120
nop
mov cl, byte [eax + esi]
xor cl, 0xa0
sub cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, edx
jl 0x1000e110
pop esi
pop ebx
pop ebp
ret
Function at 0x1000e130
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038c70
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10148be4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 4]
or esi, 0xffffffff
mov ebx, dword [eax]
sub ecx, ebx
mov edi, dword [ebp + 8]
mov eax, 0xdd67c8a7
imul ecx
mov dword [ebp - 4], 0
add edx, ecx
mov ecx, dword [edi + 8]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
ja 0x1000e1b2
push str.invalid_vector_T__subscript
call fcn.1001693e
mov eax, 0x1000e19e
ret
imul edx, ecx, 0x128
add edx, ebx
mov eax, dword [edx]
cmp eax, dword [edi + 0xc]
jne 0x1000e1f2
lea ecx, [edi + 0x10]
lea eax, [edx + 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000e1e7
test dl, dl
je 0x1000e1e3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000e1e7
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000e1c7
xor eax, eax
jmp 0x1000e1ec
sbb eax, eax
or eax, 1
test eax, eax
cmove esi, dword [edi + 8]
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x1000e24a
mov ecx, dword [ebp - 0x14]
mov eax, 0xdd67c8a7
mov ecx, dword [ecx + 4]
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
ja 0x1000e227
push str.invalid_vector_T__subscript
call fcn.1001693e
imul eax, esi, 0x128
push dword [eax + ebx]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1000e24a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e2f0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 0x100
push 0x10149ca8
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
push 0x100
add eax, 5
push eax
push 0x10149ca8
call fcn.1001d4e0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x100
push 0x10149ca8
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push 0
push 0x1000ee10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e410
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038c98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10148be4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10148780]
cmp eax, 0x927c0
jb 0x1000e455
call esi
mov dword [0x10148780], eax
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x14
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x100483b4
call fcn.10012320
test al, al
jne 0x1000e4b8
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jne 0x1000e4c6
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1000efc0
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x1000e4e1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.10011990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 1
push 0
push eax
push connect
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e56f
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x108]
xor ecx, ebp
pop esi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret

Function at 0x1000e590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 1
push 0
push eax
push connect
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e5ff
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x108]
xor ecx, ebp
pop esi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret
Function at 0x1000eb20
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xff
push 0x1a
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x83ec8b55
push eax
push 0x400000
mov dword [ebp - 0x2c], 0x4d8924ec
mov dword [ebp - 0x28], 0xffffffdc
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xff01ff83
mov dword [ebp - 0x1c], 0xffffffff
mov word [ebp - 0x18], 0xc7ff
call fcn.100076d0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x1000ec48
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x34]
push eax
push 0x40
lea ecx, [ebx + 0x83]
mov dword [0x10149b54], ecx
lea esi, [ebx + 0x7c]
push 7
lea ecx, [ebx + 0x98]
push esi
mov dword [0x10149b58], ecx
call edi
mov eax, 0x1000ed00
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
mov eax, 0x90909090
mov word [esi + 5], ax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
push 7
push esi
call edi
lea ecx, [ebx + 0x1da]
lea eax, [ebx + 0x1df]
mov dword [0x10149b60], ecx
mov dword [0x10149b5c], eax
lea esi, [ebx + 0x1d6]
mov eax, dword [ecx + 1]
add eax, 5
add eax, ecx
mov dword [0x10149b60], eax
lea eax, [ebp - 0x34]
push eax
push 0x40
push 9
push esi
call edi
mov eax, 0x1000ecc0
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
mov dword [esi + 5], 0x90909090
push 9
push esi
call edi
jmp 0x1000ec95
mov edx, 0xe1
xor eax, eax
nop
mov cl, byte [eax + 0x1003bce8]
xor cl, dl
mov byte [ebp + eax - 0x30], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x1c
jb 0x1000ec50
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push 0
call fcn.1000ddb0
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000f8d0
jmp dword [pe_dos_header]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret
Function at 0x1000f1e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x14]
push eax
push esi
push str._SplashScreen__SplashType:__d__TextSwitch:__d__DisplayText:__s
push 0
call fcn.1000ddb0
mov eax, dword [0x100483c4]
add esp, 0x14
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
test eax, eax
je 0x1000f237
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10149b64]
mov dword [0x100483c4], 0
push dword [0x100483dc]
call ebx
mov eax, dword [0x100484ec]
test eax, eax
je 0x1000f261
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10149b64]
mov dword [0x100484ec], 0
push dword [0x10048504]
call ebx
mov eax, dword [0x10048614]
test eax, eax
je 0x1000f28b
push 0
push 0
push 0x10
push eax
call edi
push dword [0x10149b64]
mov dword [0x10048614], 0
push dword [0x1004862c]
call ebx
mov eax, esi
sub eax, 0
je 0x1000f2bc
sub eax, 1
je 0x1000f2b0
sub eax, 1
jne 0x1000f2a8
mov eax, 2
mov ecx, 0x2b39c0
jmp 0x1000f2c3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
jmp 0x1000f2c3
mov eax, 1
mov ecx, 0x227ee6
jmp 0x1000f2c3
xor eax, eax
mov ecx, 0xf1f0ec
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x1000f2e7
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push 1
push 0x808080
push dword [0x10149b64]
push eax
call fcn.1000f5b0
jmp 0x1000f2fa
push 0x808080
push dword [0x10149b64]
mov ecx, esi
push eax
call fcn.1000f410
push 0
push 0
push esi
push 0x1000f380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x1000f36c
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0xc], 0
je 0x1000f36c
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f358
push 0
push 0
push 0x10
push eax
call edi
mov dword [esi + 4], 0
push dword [0x10149b64]
push dword [esi + 0x1c]
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call 0x1000f8d0
jmp dword [pe_dos_header]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000f410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov byte [esi + 0x20], 0
test eax, eax
jne 0x1000f48a
mov edx, 0x4c
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1003bb30]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x1000f440
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 6], 0
movq qword [ebp - 0x10], xmm0
jmp 0x1000f54b
cmp eax, 1
jne 0x1000f4e3
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1003bb4c]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x1000f4a0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x23], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
jmp 0x1000f54b
push 0x8bd9c650
cmp eax, 2
jne 0x1000f51d
lea ecx, [ebp - 0x58]
call fcn.10002130
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x3e], 0
movq qword [ebp - 0x48], xmm0
jmp 0x1000f54b
lea ecx, [ebp - 0x74]
call fcn.10002130
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x5a], 0
movq qword [ebp - 0x64], xmm0
push eax
mov ecx, esi
call fcn.1000f170
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x1000f597
cmp dword [0x10149b34], 0
je 0x1000f597
test eax, eax
je 0x1000f597
push 0xffffffffffffffec
push ecx
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 [0x10149b34]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000f5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10148be4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x18]
mov al, byte [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
push edx
mov byte [esi + 0x20], al
lea eax, [esi + 0x21]
push 0xff
push eax
call fcn.10020301
mov eax, dword [ebp + 0x1c]
add esp, 0xc
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1000f64a
mov edx, 0x4c
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1003bb30]
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x1000f600
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 6], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 6], 0
movq qword [ebp - 0x10], xmm0
jmp 0x1000f70b
cmp eax, 1
jne 0x1000f6a3
mov edx, 0x82
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1003bb4c]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x19
jb 0x1000f660
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x23], 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
movups xmmword [ebp - 0x3c], xmm0
movq qword [ebp - 0x2c], xmm0
jmp 0x1000f70b
push 0x8bd9c650
cmp eax, 2
jne 0x1000f6dd
lea ecx, [ebp - 0x58]
call fcn.10002130
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x3e], 0
movq qword [ebp - 0x48], xmm0
jmp 0x1000f70b
lea ecx, [ebp - 0x74]
call fcn.10002130
push 0x10
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
xorps xmm0, xmm0
mov word [ebp - 0x5c], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x5a], 0
movq qword [ebp - 0x64], xmm0
push eax
mov ecx, esi
call fcn.1000f170
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x1000f757
cmp dword [0x10149b34], 0
je 0x1000f757
test eax, eax
je 0x1000f757
push 0xffffffffffffffec
push ecx
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 [0x10149b34]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001ae3f
mov esp, ebp
pop ebp
ret 0x18