joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009350
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102b82b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x181df04], 0x1e
jne 0x100094cf
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x102bcea8]
add ecx, dword [0x102bcea4]
cmp eax, ecx
jbe 0x1000939f
mov byte [0x102bcea0], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x102bcea4]
sub esp, 0x10
movss xmm2, dword [0x102b3698]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102b36a0]
mov eax, dword [0x102bcea8]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x102b36a0]
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43510000
mov dword [esp + 4], 0x42960000
mov dword [esp], 0x43570000
cvtpd2ps xmm0, xmm0
push 0x7b14
divss xmm1, xmm0
minss xmm2, xmm1
movss dword [ebp - 0x108], xmm2
call esi
add esp, 4
mov dword [esp + 0xc], 0x41900000
mov dword [esp + 8], 0x43200000
mov dword [esp + 4], 0x42e60000
mov dword [esp], 0x43700000
push 0x7a65
call esi
movss xmm0, dword [ebp - 0x108]
add esp, 4
mov dword [esp + 0xc], 0x41000000
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42f00000
mov dword [esp], 0x43750000
push 0x7a66
call esi
cmp dword [0x102bcec0], 0x10
mov eax, 0x102bceac
cmovae eax, dword [0x102bceac]
push eax
lea eax, [ebp - 0x104]
push 0x102b2e7c
push eax
call fcn.10008d60
add esp, 0x20
lea eax, [ebp - 0x104]
push 0
push ecx
mov dword [esp], 0x43200000
push 3
push 0
push 0xffffffffffffffff
push 0x64
push 0xf0
push eax
mov eax, 0x89627a
call eax
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret
Function at 0x100094e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x102b82b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov byte [0x102bcec4], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x102bcefc], 0x10
mov dword [0x102bcec8], eax
mov eax, 0x102bcee8
cmovae eax, dword [0x102bcee8]
mov dword [0x102bcecc], 0xbb8
mov dword [0x102bcef8], 0
mov byte [eax], 0
mov eax, 0x102bced0
cmp dword [0x102bcee4], 0x10
mov dword [0x102bcee0], 0
cmovae eax, dword [0x102bced0]
mov byte [eax], 0
movzx eax, byte [0x102bcec4]
sub eax, 0
je 0x10009607
sub eax, 1
je 0x100095dc
sub eax, 1
jne 0x1000969b
push 0x5d3
mov eax, 0x457de4
mov ecx, 0xa6a5bcc
call eax
push eax
lea eax, [ebp - 0x208]
push 0x102b2e7c
push eax
call fcn.10008d60
mov eax, 0x10624dd3
add esp, 0xc
mul dword [ebp + 0xc]
lea eax, [ebp - 0x108]
shr edx, 6
push edx
push str._Accumulated_time:__d_seconds_
push eax
call fcn.10008d60
add esp, 0xc
cmp byte [ebp - 0x108], 0
jne 0x100095c4
xor ecx, ecx
jmp 0x10009689
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100095d0
jmp 0x10009687
push 0x5d2
mov eax, 0x457de4
mov ecx, 0xa6a5bcc
call eax
push eax
lea eax, [ebp - 0x208]
push 0x102b2e7c
push eax
call fcn.10008d60
add esp, 0xc
jmp 0x1000969b
push 0x5d1
mov eax, 0x457de4
mov ecx, 0xa6a5bcc
call eax
push eax
lea eax, [ebp - 0x208]
push 0x102b2e7c
push eax
call fcn.10008d60
mov eax, 0x10624dd3
add esp, 0xc
mul dword [ebp + 0xc]
lea eax, [ebp - 0x108]
shr edx, 6
push edx
push str._Accumulated_time:__d_seconds_
push eax
call fcn.10008d60
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102bcec8], eax
mov eax, 0xee48
sub eax, dword [ebp + 0xc]
cmp byte [ebp - 0x108], 0
mov dword [0x102bcecc], eax
jne 0x10009672
xor ecx, ecx
jmp 0x10009689
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009680
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, 0x102bcee8
push eax
call fcn.10008be0
cmp byte [ebp - 0x208], 0
jne 0x100096a8
xor ecx, ecx
jmp 0x100096ba
lea ecx, [ebp - 0x208]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100096b1
sub ecx, edx
push ecx
lea eax, [ebp - 0x208]
mov ecx, 0x102bced0
push eax
call fcn.10008be0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret 8
Function at 0x100096e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x102b82b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x181df04], 0x1e
jne 0x100098c8
mov al, byte [0x102bcec4]
cmp al, 3
je 0x100098c8
cmp al, 4
je 0x100098c8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x102bcecc]
add ecx, dword [0x102bcec8]
cmp eax, ecx
jbe 0x10009744
mov byte [0x102bcec4], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x102bcec8]
sub esp, 0x10
movss xmm2, dword [0x102b3698]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102b36a0]
mov eax, dword [0x102bcecc]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x102b36a0]
mov dword [esp + 0xc], 0x42a00000
mov dword [esp + 8], 0x43510000
mov dword [esp + 4], 0x42960000
mov dword [esp], 0x43570000
cvtpd2ps xmm0, xmm0
push 0x7b14
divss xmm1, xmm0
minss xmm2, xmm1
movss dword [ebp - 0x208], xmm2
call esi
add esp, 4
mov dword [esp + 0xc], 0x41900000
mov dword [esp + 8], 0x43200000
mov dword [esp + 4], 0x42e60000
mov dword [esp], 0x43700000
push 0x7a65
call esi
movss xmm0, dword [ebp - 0x208]
add esp, 4
mov dword [esp + 0xc], 0x41000000
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0x42f00000
mov dword [esp], 0x43750000
push 0x7a66
call esi
cmp dword [0x102bcee4], 0x10
mov eax, 0x102bced0
cmovae eax, dword [0x102bced0]
push eax
lea eax, [ebp - 0x104]
push 0x102b2e7c
push eax
call fcn.10008d60
add esp, 0x20
lea eax, [ebp - 0x104]
mov esi, 0x89627a
push 0
push ecx
mov dword [esp], 0x43200000
push 3
push 0
push 0xffffffffffffffff
push 0x5f
push 0xf0
push eax
call esi
add esp, 0x20
cmp dword [0x102bcef8], 0
je 0x100098c7
cmp dword [0x102bcefc], 0x10
mov eax, 0x102bcee8
cmovae eax, dword [0x102bcee8]
push eax
lea eax, [ebp - 0x204]
push 0x102b2e7c
push eax
call fcn.10008d60
add esp, 0xc
lea eax, [ebp - 0x204]
push 0
push ecx
mov dword [esp], 0x43200000
push 3
push 0
push 0xffffffffffffffff
push 0x69
push 0xf0
push eax
call esi
add esp, 0x20
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret
Function at 0x1000b870
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x102b82b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x102bd8a8], 0
jne 0x1000b8f3
lea eax, [ebp - 0x198]
mov byte [0x102bd8a8], 1
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000b8cd
push str.Winsock_DLL_Initialize_error._r_n
push 0x1855d10
mov eax, 0xf598fb
call eax
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x1000b906
shr eax, 8
cmp al, 2
jne 0x1000b906
mov dword ds:[0xa6a1774], 0
movzx eax, word [ebp - 0x12]
mov dword ds:[0xa6a1770], eax
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Winsock_version_low._r_n
jmp 0x1000b8ae

Function at 0x1000ba10
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x102b82b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push edi
mov edi, dword [ebp + 8]
push 0x80
push 0
push eax
call fcn.10285180
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.10285180
add esp, 0x18
mov dword [ebp - 0x118], 0x80
cmp byte [0x102bd8a9], 0
mov dword [ebp - 0x114], 0x80
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffff0000
je 0x1000bac2
push 4
push 0x102bd8ac
push 0x1b
push 0x29
push dword [0x102bd8a4]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1000bac2
push dword [0x102bd8a4]
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102825af
mov esp, ebp
pop ebp
ret 8
push 0
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
push edi
push dword [0x102bd8a4]
call dword [sym.imp.WS2_32.dll_WSAConnectByNameA]
test eax, eax
je 0x1000baa2
push 0
push 0
push 0x7010
push 0xffff
push dword [0x102bd8a4]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1000baa2
cmp byte [0x102bd8a9], 0
je 0x1000bb46
lea ecx, [ebp - 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
cmp eax, dword [edx]
jne 0x1000bb3f
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x1000bb3f
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x1000bb3f
xor al, al
jmp 0x1000bb41
mov al, 1
mov byte [0x102bd8b0], al
push 0x23
push 0x400
push dword [0x102baba0]
push dword [0x102bd8a4]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x1000baa2
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.102825af
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e690
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a1078
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x102b82b0]
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
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000e7be
cmp byte [ebx + 0x3d], 0
je 0x1000e7be
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x1000e6e9
xor al, al
jmp 0x1000e7c0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100064c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1000e74f
sub eax, 1
je 0x1000e753
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x1000e7a6
xor bl, bl
jmp 0x1000e7a8
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x1000e788
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1028bd25
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x1000e74b
cmp byte [ebx + 0x3d], 0
je 0x1000e7a6
test esi, esi
jne 0x1000e711
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.100081a0
jmp 0x1000e70e
mov bl, 1
cmp ecx, 0x10
jb 0x1000e7ba
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10008dc0
mov al, bl
jmp 0x1000e7c0
mov al, 1
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.102825af
mov esp, ebp
pop ebp
ret
Function at 0x102576c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 1
cmp ax, dx
jae 0x10257706
push ebx
movzx ebx, word [ebp + 8]
lea eax, [ecx + 1]
push esi
push edi
lea edi, [ecx - 1]
sub ebx, edi
sub edi, ecx
lea ecx, [edx - 1]
movzx esi, cx
lea edx, [edi + eax]
lea ecx, [edx + ebx]
and ecx, 0x1f
lea eax, [eax + 1]
mov cl, byte [ecx + 0x102b2d38]
xor cl, byte [eax - 1]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x102576e4
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10257710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea eax, [edx - 1]
push esi
movzx esi, ax
test si, si
je 0x10257757
push ebx
movzx ebx, word [ebp + 8]
lea eax, [ecx + esi]
push edi
lea edi, [ecx - 1]
sub ebx, edi
sub edi, ecx
nop
lea edx, [edi + eax]
add esi, 0xffff
lea ecx, [edx + ebx]
and ecx, 0x1f
lea eax, [eax - 1]
mov cl, byte [ecx + 0x102b2d38]
xor cl, byte [eax + 1]
xor cl, byte [edx]
mov byte [eax + 1], cl
test si, si
jne 0x10257730
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10258670
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x14
mov ecx, dword [0x102ba3e4]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102bdaec]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ecx + 4]
jle 0x102586c4
push 0x102bdaec
call fcn.10282aaa
add esp, 4
cmp dword [0x102bdaec], 0xffffffff
jne 0x102586c4
call esi
push 0x102bdaec
mov dword [0x102bdaf0], eax
call fcn.10282a6b
add esp, 4
call esi
sub eax, dword [0x102bdaf0]
cmp eax, 0x2710
jbe 0x10258777
call esi
mov dword [0x102bdaf0], eax
mov eax, dword [0x102bcf04]
mov cl, al
mov dword [ebp - 8], eax
add cl, 0xdc
mov al, byte [ebp - 5]
mov dl, byte [ebp - 7]
add al, 0xd9
mov bl, byte [ebp - 6]
add dl, 0xdb
mov byte [ebp - 1], al
add bl, 0xda
mov eax, dword [0x102bcf00]
mov dh, al
mov dword [ebp - 8], eax
add dh, 0xe0
mov al, byte [ebp - 6]
mov bh, byte [ebp - 7]
add al, 0xde
mov byte [ebp - 2], al
add bh, 0xdf
mov al, byte [ebp - 5]
movzx ecx, cl
add al, 0xdd
shl ecx, 8
mov byte [ebp - 3], al
movzx eax, dl
or ecx, eax
movzx eax, bl
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
movzx eax, bh
push ecx
movzx ecx, dh
shl ecx, 8
or ecx, eax
mov al, byte [ebp - 2]
movzx eax, al
shl ax, 8
shl ecx, 0x10
movzx eax, ax
or ecx, eax
movzx eax, byte [ebp - 3]
or ecx, eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.10258c70
movzx edx, byte [ebp - 0x13]
lea ecx, [ebp - 0x14]
call fcn.102585b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10258780
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test cl, cl
mov byte [0x102b8c01], cl
mov ecx, dword [0x102bd940]
push ebx
push esi
push edi
mov esi, dword [ecx]
je 0x10258875
cmp esi, ecx
je 0x10258826
mov edi, dword [esi + 0x14]
test edi, edi
je 0x102587db
mov bl, byte [esi + 0x18]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call edx
lea eax, [ebp - 4]
mov byte [edi], bl
push eax
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call eax
mov ecx, dword [0x102bd940]
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [esi + 0xd], 0
jne 0x10258822
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10258800
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10258822
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x102587f4
jmp 0x10258822
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10258820
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10258820
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10258810
mov esi, eax
cmp esi, ecx
jne 0x102587a7
xor edi, edi
mov esi, 0x678f47
xor eax, eax
nop
mov bl, byte [eax + 0x102b2dac]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edx
lea eax, [ebp - 4]
mov byte [esi], bl
push eax
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push esi
call eax
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edi, [edi + 1]
lea eax, [edi*8]
mov esi, dword [eax + 0x102b2da8]
test esi, esi
jne 0x10258830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, ecx
je 0x102588fb
nop dword [eax]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x102588b4
mov bl, byte [esi + 0x19]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call edx
lea eax, [ebp - 4]
mov byte [edi], bl
push eax
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call eax
mov ecx, dword [0x102bd940]
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [esi + 0xd], 0
jne 0x102588f7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x102588dc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x102588f7
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x102588d0
jmp 0x102588f7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x102588f5
cmp esi, dword [eax + 8]
jne 0x102588f5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x102588e5
mov esi, eax
cmp esi, ecx
jne 0x10258880
xor edi, edi
mov esi, 0x678f47
xor eax, eax
mov bl, byte [eax + 0x102b2dad]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push esi
call edx
lea eax, [ebp - 4]
mov byte [esi], bl
push eax
push dword [ebp - 4]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push esi
call eax
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edi, [edi + 1]
lea eax, [edi*8]
mov esi, dword [eax + 0x102b2da8]
test esi, esi
jne 0x10258904
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10258950
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push edi
push eax
push 0x40
push 4
push 0x181d95c
mov edi, ecx
call esi
lea eax, [ebp - 4]
mov dword [0x181d95c], 0xffffffff
push eax
push dword [ebp - 4]
push 4
push 0x181d95c
call esi
mov eax, dword [edi + 4]
test eax, eax
jns 0x102589c7
xor esi, esi
push esi
call fcn.1000a6a0
add esp, 4
test eax, eax
je 0x102589a7
mov ax, word [eax + 0x3e]
cmp ax, word [edi + 8]
je 0x102589b6
inc esi
cmp esi, 0x190
jl 0x10258990
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
mov eax, 0x5d7945
call eax
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call fcn.1000a6a0
add esp, 4
test eax, eax
je 0x102589eb
mov ax, word [eax + 0x3e]
cmp ax, word [edi + 8]
jne 0x102589eb
push dword [edi + 4]
mov eax, 0x5d7945
call eax
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x102596a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x102b82b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
movq qword [ecx + 4], xmm0
mov word [ecx + 0xc], 0
push ebx
lea ebx, [ecx + 4]
movq qword [ebp - 0x10], xmm0
mov byte [ebx + 0xa], 0
movups xmmword [ecx + 0xf], xmm0
push edi
lea edi, [ecx + 0xf]
mov word [ebp - 8], 0
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x28]
mov byte [edi + 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
movq xmm0, qword [eax]
mov ax, word [eax + 8]
mov word [ebp - 8], ax
mov eax, dword [edx + 0x10]
xor byte [ebp - 8], 0xab
xor byte [ebp - 7], 0xfc
mov dword [ebp - 0x18], eax
mov eax, 1
sub eax, ecx
movq qword [ebp - 0x10], xmm0
movups xmm0, xmmword [edx]
xor byte [ebp - 0x10], 0xfc
xor byte [ebp - 0xf], 0xcf
xor byte [ebp - 0xe], 0xab
xor byte [ebp - 0xd], 0xfc
xor byte [ebp - 0xc], 0xcf
xor byte [ebp - 0xb], 0xab
xor byte [ebp - 0xa], 0xfc
xor byte [ebp - 9], 0xcf
mov dword [ebp - 0x30], eax
mov eax, 2
sub eax, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], eax
xor edi, edi
mov eax, 3
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x38], eax
mov eax, 4
sub eax, ecx
mov byte [ebp - 6], 0
mov byte [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x2c], 0xcffc
mov byte [ebp - 0x2a], 0xab
mov dword [ebp - 0x3c], eax
push esi
mov eax, 0xaaaaaaab
lea esi, [ebp - 0x28]
mul edi
add esi, edi
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x2c]
lea ecx, [esi + ebx]
xor byte [esi], al
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x2b]
xor byte [esi + 1], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x34]
lea ecx, [esi + ecx]
mul ecx
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x2a]
xor byte [esi + 2], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x38]
lea ecx, [esi + ecx]
mul ecx
mov ecx, edi
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x29]
xor byte [esi + 3], al
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x3c]
lea ecx, [esi + ecx]
mul ecx
mov ecx, edi
add edi, 5
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
movzx eax, byte [ebp + ecx - 0x28]
xor byte [esi + 4], al
cmp edi, 0x14
jl 0x10259784
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0x10]
mov edi, dword [ebp - 0x44]
mov eax, ecx
sub ebx, eax
pop esi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx + ecx - 1], al
test al, al
jne 0x10259830
lea eax, [ebp - 0x28]
mov ecx, eax
sub edi, ecx
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edi + eax - 1], cl
test cl, cl
jne 0x10259844
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.102825af
mov esp, ebp
pop ebp
ret 8
Function at 0x10259e70
Capabilities:
Allocate or change rwx memory

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

Function at 0x10259eb0
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 0x10259ed0
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