joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487d86
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x487e8a
lea eax, [ebp - 0x230]
test dword [esp + edi*8 - 1], ebx
inc dword [ebx - 0x3a343]
inc dword [eax]
je 0x487dc7
lea eax, [ebp - 0x714]
push eax
call fcn.00485df4
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00485da9
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x487dc7
jmp 0x487786
cmp dword [ebp - 0x37c], 0
je 0x487dd5
jmp 0x487e8a
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x487e2e
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x487e33
jmp 0x487786
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x487e7a
lea eax, [ebp - 0x714]
push eax
call fcn.00485df4
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00485da9
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x487e85
jmp 0x487e8a
jmp 0x487786
cmp dword [ebp - 0x37c], 0
jne 0x487f34
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
clc
invalid
dec dword [ebp - 0x7eb7b]
call dword [eax - 1]
mov ch, 0xb8
clc
invalid
invalid
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00485fc0
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x487f20
lea eax, [ebp - 0x714]
push eax
call fcn.00485df4
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.00485e89
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fabdf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4fabf7
mov edi, dword [esi + 0xc]
jmp 0x4fac37
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4fac10
call fcn.0042d375
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4fac25
call fcn.0042d375
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4fac37
call fcn.0042d375
call fcn.0042a3bc
cmp dword [eax + 0x3c], 0
je 0x4fac4c
push edi
mov ecx, ebx
call fcn.004f9a9d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004faaf9
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4fac6a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4fac76
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x514194
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58f660]
jne 0x51419e
repz ret
jmp fcn.0051d1d4
Function at 0x52f560
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x58f660]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0051f91c
and dword [ebp - 0x14], 0
cmp dword [0x597c0c], 0
mov dword [ebp - 0x18], eax
jne 0x52f613
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x52f6bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x52f6bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x569f98
push ebx
mov dword [0x597c0c], eax
call edi
push eax
call esi
push 0x569f84
push ebx
mov dword [0x597c10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x597c14], eax
call edi
push eax
call esi
mov dword [0x597c1c], eax
test eax, eax
je 0x52f613
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x597c18], eax
mov eax, dword [0x597c18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x52f66c
cmp dword [0x597c1c], ecx
je 0x52f66c
push eax
call esi
push dword [0x597c1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x52f66c
test ebx, ebx
je 0x52f66c
call edi
test eax, eax
je 0x52f663
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x52f663
test byte [ebp - 8], 1
jne 0x52f66c
or dword [ebp + 0x10], 0x200000
jmp 0x52f69f
mov eax, dword [0x597c10]
cmp eax, dword [ebp - 0x18]
je 0x52f69f
push eax
call esi
test eax, eax
je 0x52f69f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x52f69f
mov eax, dword [0x597c14]
cmp eax, dword [ebp - 0x18]
je 0x52f69f
push eax
call esi
test eax, eax
je 0x52f69f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x597c0c]
call esi
test eax, eax
je 0x52f6bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x52f6bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00514194
leave
ret
Function at 0x40e063
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004097cf
mov dword [ebp - 0x14], eax
cmp dword [0x4ad524], esi
jne 0x40e156
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e236
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e236
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e236
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ad524], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ad528], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ad52c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad534], eax
test eax, eax
je 0x40e153
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad530], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e17b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e16e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e190
push 4
pop eax
jmp 0x40e238
cmp dword [ebp - 0x14], esi
je 0x40e190
push dword [0x4ad524]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e175
mov eax, dword [0x4ad530]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e1ee
cmp dword [0x4ad534], edi
je 0x40e1ee
push eax
call ebx
push dword [0x4ad534]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e1ee
test eax, eax
je 0x40e1ee
call ecx
test eax, eax
je 0x40e1e3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e1e3
test byte [ebp - 8], 1
jne 0x40e1ee
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e21e
mov eax, dword [0x4ad528]
cmp eax, edi
je 0x40e21b
push eax
call ebx
test eax, eax
je 0x40e21b
call eax
mov esi, eax
test esi, esi
je 0x40e21b
mov eax, dword [0x4ad52c]
cmp eax, edi
je 0x40e21b
push eax
call ebx
test eax, eax
je 0x40e21b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ad524]
call ebx
test eax, eax
je 0x40e236
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e238
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040419b
mov esp, ebp
pop ebp
ret
Function at 0x10016e57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10016e66
pop dword [ebp - 0x40]
mov eax, 0x161cf843
add eax, 0xf9e47623
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x90c03ce4
add dword [ebp - 0x50], 0xbd920867
mov dword [ebp - 0x4c], 0x803f2161
add dword [ebp - 0x4c], 0xb1f42ae4
mov dword [ebp - 0x48], 0xffb5e6a5
sub dword [ebp - 0x48], 0xb369a277
mov dword [ebp - 0x44], 0x56c00e39
add dword [ebp - 0x44], 0xa93ff1c7
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xf91fede7
sub dword [ebp - 0x50], 0x84ad8491
mov dword [ebp - 0x4c], 0x29c2c255
sub dword [ebp - 0x4c], 0xe85660e0
mov dword [ebp - 0x48], 0x38a602fd
add dword [ebp - 0x48], 0x2ac9696f
mov dword [ebp - 0x44], 0xe49a3496
sub dword [ebp - 0x44], 0xe49a3496
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x44668347
add eax, 0xcb9b1cc5
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3b2ba
push 0
call eax
mov ecx, 0x4b98
xor edx, edx
add edx, eax
mov ebx, 0x10024a00
add ebx, dword [ebp - 0x40]
mov esi, 0x9bc71442
add esi, 0xfb4cb0c5
mov dword [ebp - 4], 0x8fcf1fd3
mov edi, dword [ebx]
add edi, esi
xor dword [ebp - 0x1c], ebx
mov dword [edx], edi
add edx, 4
add ebx, 4
loop 0x10016f79
add eax, 0x2faf9aa1
sub eax, 0x2fae796e
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x100020b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10060288
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov dl, 0x3e
mov dword [ebp - 0x34], 0x5b4d4b3e
mov dword [ebp - 0x30], 0x100c0d4c
mov dword [ebp - 0x2c], 0x52525a
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xa
jae 0x1000211b
mov al, byte [ebp + ecx - 0x33]
xor al, dl
mov byte [ebp + ecx - 0x33], al
inc ecx
mov dl, byte [ebp - 0x34]
jmp 0x10002103
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x33]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
mov ebx, eax
mov dl, 0x51
mov dword [ebp - 0x54], 0x23343a51
mov dword [ebp - 0x50], 0x623d343f
mov dword [ebp - 0x4c], 0x3d357f63
mov word [ebp - 0x48], 0x3d
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0xc
jae 0x10002164
mov al, byte [ebp + ecx - 0x53]
xor al, dl
mov byte [ebp + ecx - 0x53], al
inc ecx
mov dl, byte [ebp - 0x54]
jmp 0x1000214c
mov byte [ebp - 0x47], 0
lea eax, [ebp - 0x53]
push eax
call esi
mov edi, eax
mov dl, 0x3d
mov dword [ebp - 0x44], 0x53547b3d
mov dword [ebp - 0x40], 0x53546a59
mov dword [ebp - 0x3c], 0x7c4a5259
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0xb
jae 0x100021a5
mov al, byte [ebp + ecx - 0x43]
xor al, dl
mov byte [ebp + ecx - 0x43], al
inc ecx
mov dl, byte [ebp - 0x44]
jmp 0x1000218d
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x43]
push eax
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x1007b23c], eax
movaps xmm0, xmmword [0x1005c000]
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x58], 0xa
xor ecx, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x10
jae 0x100021e4
mov al, byte [ebp + ecx - 0x67]
xor al, byte [ebp - 0x68]
mov byte [ebp + ecx - 0x67], al
inc ecx
jmp 0x100021ce
mov byte [ebp - 0x57], 0
lea eax, [ebp - 0x67]
push eax
push edi
call esi
mov dword [0x1007b398], eax
cmp dword [0x1007b23c], 0
je 0x10002201
test eax, eax
jne 0x10002218
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
push edi
call esi
jmp 0x10002218
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002240
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100602a8
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [0x1007c554]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10004b20
sub eax, esi
sub eax, 5
mov byte [esi], 0xe9
mov dword [esi + 1], eax
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, 6
jae 0x100022b6
mov byte [esi + eax], 0x60
inc eax
jmp 0x100022a7
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100022d1
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret

Function at 0x10002300
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10063040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov cl, 0x7b
mov byte [ebp - 0x16], 0
mov bh, 0x5c
mov byte [ebp - 0x18], cl
mov al, 0xc
mov byte [ebp - 8], 0
xor al, cl
mov byte [ebp - 0x16], 0
mov cl, 0x13
mov byte [ebp - 0x17], al
mov bl, cl
mov byte [ebp - 0x10], bh
mov al, 0x1f
mov byte [ebp - 8], 0
mov dl, 0x12
mov ah, 9
mov ch, 8
mov dh, 0x78
xor al, bh
xor cl, bh
xor dl, bh
mov byte [ebp - 0xf], al
xor ah, bh
mov byte [ebp - 0xe], cl
xor ch, bh
mov byte [ebp - 0xd], dl
xor dh, bh
mov byte [ebp - 0xb], ah
xor bl, bh
mov byte [ebp - 0xa], ch
push 1
mov byte [ebp - 0xc], bl
mov byte [ebp - 9], dh
call fcn.10037636
add esp, 4
push eax
lea eax, [ebp - 0x17]
push eax
lea eax, [ebp - 0xf]
push eax
call fcn.10034485
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x320
push 0x1f4
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x10059fbc
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
Function at 0x100023d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100602c8
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov bl, dl
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edi], bl
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000243d
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret

Function at 0x10002460
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100602e8
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edi], ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100024cd
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret

Function at 0x10002580
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10063040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [ecx], 0xcccccccc
je 0x100025aa
nop dword [eax + eax]
inc esi
cmp dword [ecx + esi], 0xcccccccc
jne 0x100025a0
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
Function at 0x100025d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x4e
mov al, 0x20
xor al, byte [ebp - 0x10]
mov bl, 0x22
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x2a
mov bh, ah
mov byte [ebp - 1], ah
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
mov byte [ebp - 6], 0
xor bl, al
mov byte [ebp - 0xd], dl
xor ah, al
mov byte [ebp - 0xc], bl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 9], dh
mov cl, 0x3a
mov byte [ebp - 8], bh
xor cl, al
mov ch, 0x60
xor ch, al
mov byte [ebp - 0xe], cl
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [0x1005b460]
mov edx, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x10183011
xor eax, eax
mov dword [ebp - 0x14], 0x40f12
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x10002652
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1007b2d0], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002680
Capabilities:
Resolve dns
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10063040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1000278b
movsx ecx, word [eax + 0xa]
xorps xmm0, xmm0
mov eax, dword [eax + 0xc]
push ecx
movups xmmword [ebp - 0x48], xmm0
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.10031160
add esp, 0xc
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000278b
push dword [ebp - 0x44]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [0x10059fc8]
movq xmm0, qword [str.Data_Buffer]
push 0x3e8
push 0x28
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0xc
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
push ecx
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x10002768
push ebx
push esi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
push 0x14
call fcn.1002d1fc
push dword [ebp - 0x30]
mov esi, eax
mov byte [ebp - 0x4c], 0
mov al, 0x70
mov byte [ebp - 0x4c], 0
mov cl, 0x55
mov byte [ebp - 0x50], al
mov dl, 0x1c
mov bl, 0x14
xor cl, al
xor dl, al
xor bl, al
mov byte [ebp - 0x4f], cl
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x4e], dl
push eax
push esi
mov byte [ebp - 0x4d], bl
call fcn.100012e0
add esp, 0x10
mov eax, esi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
push 0xc
call fcn.1002d1fc
add esp, 4
lea eax, [ebp - 0x4f]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x10059f3d
xor ecx, ebp
pop esi
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
Function at 0x10005d00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050af0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10063040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, cl
mov dword [ebp - 4], 0
mov edx, 0x20
mov eax, dword [0x1007c5c4]
add eax, 0x64
mov dword [0x1007b218], eax
lea ecx, [eax - 0xc]
call fcn.10002460
mov esi, dword [0x1007c580]
lea eax, [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 0x18
push eax
push 0x40
push 8
push esi
mov dword [ebp - 0x1c], 0
call edi
movzx eax, bl
mov dword [esi], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 8
push esi
call edi
mov esi, dword [0x1007c580]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 8
add esi, 0x30
mov dword [ebp - 0x1c], 0
push esi
call edi
lea eax, [ebp - 0x1c]
mov byte [esi], 0
push eax
push dword [ebp - 0x18]
push 8
push esi
call edi
mov edx, dword [ebp + 8]
test edx, edx
je 0x10005dbe
mov ecx, 0x1c
call fcn.10005c90
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10005dcf
mov ecx, 0x20
call fcn.10005c90
mov ecx, 0x18
call fcn.1002b090
mov ecx, dword [0x1007b218]
mov edx, eax
add ecx, 0xffffffd4
mov dword [0x1007b35c], eax
call fcn.10002460
mov ecx, 0x3c
call fcn.1002b090
mov ecx, dword [0x1007b218]
mov edx, eax
add ecx, 0xffffffdc
mov dword [0x1007b35c], eax
call fcn.10002460
mov ecx, 0x40
call fcn.1002b090
mov ecx, dword [0x1007b218]
mov edx, eax
add ecx, 0xffffffe0
mov dword [0x1007b35c], eax
call fcn.10002460
mov ecx, 0x30
call fcn.1002b100
movzx ecx, al
mov dl, al
mov dword [0x1007c58c], ecx
mov ecx, dword [0x1007b218]
add ecx, 0xffffffd8
call fcn.100023d0
mov ecx, 0x31
call fcn.1002b100
movzx ecx, al
mov dl, al
mov dword [0x1007c58c], ecx
mov ecx, dword [0x1007b218]
add ecx, 0xffffffe4
call fcn.100023d0
mov ecx, 0x51
call fcn.1002b100
mov ecx, dword [0x1007b218]
movzx edx, al
mov dword [0x1007c58c], edx
mov dl, al
lea ecx, [ecx - 0x1b]
call fcn.100023d0
mov ecx, 0x1c
call fcn.1002b090
mov ecx, dword [0x1007b218]
mov edx, eax
mov dword [0x1007b35c], eax
lea ecx, [ecx - 0x18]
call fcn.10002460
mov ecx, 0x20
call fcn.1002b090
mov ecx, dword [0x1007b218]
mov edx, eax
add ecx, 0xffffffec
mov dword [0x1007b35c], eax
call fcn.10002460
mov ecx, 0x24
call fcn.1002b090
mov ecx, dword [0x1007b218]
mov edx, eax
add ecx, 0xfffffff0
mov dword [0x1007b35c], eax
call fcn.10002460
mov ecx, 0x28
call fcn.1002b090
mov ecx, dword [0x1007b218]
mov edx, eax
add ecx, 0xfffffff8
mov dword [0x1007b35c], eax
call fcn.10002460
mov ecx, 0x2c
call fcn.1002b090
mov ecx, dword [0x1007b218]
mov edx, eax
add ecx, 0xfffffffc
mov dword [0x1007b35c], eax
call fcn.10002460
mov eax, dword [0x1007b218]
sub eax, 0x2c
push eax
call dword [0x1007b2dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret