joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002d30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push esi
push edi
push eax
push 0x40
push 0x10
push 0x1602178
call ebx
mov edi, dword [ebp + 8]
mov ecx, 0x1602178
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x160218c
call ebx
push 0x20
lea esi, [edi + 0x14]
push esi
push 0x160218c
call fcn.1029c650
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x160218c
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x16021a8
call ebx
mov eax, dword [edi + 4]
mov ecx, 0x16021a8
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x16021c4
call ebx
push 0x20
push esi
push 0x16021c4
call fcn.1029c650
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x16021c4
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x1602204
call ebx
mov eax, dword [edi + 0x54]
mov ecx, 0x1602204
mov dword [ecx], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x1602218
call ebx
push 0x20
lea esi, [edi + 0x64]
push esi
push 0x1602218
call fcn.1029c650
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x1602218
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x10
push 0x1602234
call ebx
mov eax, dword [edi + 0x54]
mov ecx, 0x1602234
mov dword [ecx], eax
mov eax, dword [edi + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 0xc], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x10
push ecx
call ebx
lea eax, [ebp + 8]
push eax
push 0x40
push 0x20
push 0x1602250
call ebx
push 0x20
push esi
push 0x1602250
call fcn.1029c650
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 0x20
push 0x1602250
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10006b00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c0346
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x102dd418]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x102d8664
call fcn.10299a73
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10297ac4
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102dd418]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10009e40
test al, al
je 0x100097ff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x102e200c]
add ecx, dword [0x102e2008]
cmp eax, ecx
jbe 0x100096cf
mov byte [0x102e2004], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1029971f
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x102e2008]
sub esp, 0x10
movss xmm2, dword [0x102d8da0]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102d8db0]
mov eax, dword [0x102e200c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x102d8db0]
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 [0x102e2024], 0x10
mov eax, 0x102e2010
cmovae eax, dword [0x102e2010]
push eax
lea eax, [ebp - 0x104]
push 0x102d8574
push eax
call fcn.100092d0
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.1029971f
mov esp, ebp
pop ebp
ret
Function at 0x100098c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102dd418]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10009e40
test al, al
je 0x10009a3f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x102e2030]
add ecx, dword [0x102e202c]
cmp eax, ecx
jbe 0x1000990f
mov byte [0x102e2028], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1029971f
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x102e202c]
sub esp, 0x10
movss xmm2, dword [0x102d8da0]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102d8db0]
mov eax, dword [0x102e2030]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x102d8db0]
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 [0x102e2048], 0x10
mov eax, 0x102e2034
cmovae eax, dword [0x102e2034]
push eax
lea eax, [ebp - 0x104]
push 0x102d8574
push eax
call fcn.100092d0
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.1029971f
mov esp, ebp
pop ebp
ret
Function at 0x10009a50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x102dd418]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov byte [0x102e204c], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x102e2084], 0x10
mov dword [0x102e2050], eax
mov eax, 0x102e2070
cmovae eax, dword [0x102e2070]
mov dword [0x102e2054], 0xbb8
mov dword [0x102e2080], 0
mov byte [eax], 0
mov eax, 0x102e2058
cmp dword [0x102e206c], 0x10
mov dword [0x102e2068], 0
cmovae eax, dword [0x102e2058]
mov byte [eax], 0
movzx eax, byte [0x102e204c]
sub eax, 0
je 0x10009b73
sub eax, 1
je 0x10009b4c
sub eax, 1
jne 0x10009bfe
push 0x5d3
call fcn.10009e70
add esp, 4
push eax
lea eax, [ebp - 0x208]
push 0x102d8574
push eax
call fcn.100092d0
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.100092d0
add esp, 0xc
cmp byte [ebp - 0x108], 0
jne 0x10009b30
xor ecx, ecx
jmp 0x10009bec
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009b40
jmp 0x10009bea
push 0x5d2
call fcn.10009e70
add esp, 4
push eax
lea eax, [ebp - 0x208]
push 0x102d8574
push eax
call fcn.100092d0
add esp, 0xc
jmp 0x10009bfe
push 0x5d1
call fcn.10009e70
add esp, 4
push eax
lea eax, [ebp - 0x208]
push 0x102d8574
push eax
call fcn.100092d0
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.100092d0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102e2050], eax
mov eax, 0xee48
sub eax, dword [ebp + 0xc]
cmp byte [ebp - 0x108], 0
mov dword [0x102e2054], eax
jne 0x10009bda
xor ecx, ecx
jmp 0x10009bec
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009be3
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, 0x102e2070
push eax
call fcn.10009150
cmp byte [ebp - 0x208], 0
jne 0x10009c0b
xor ecx, ecx
jmp 0x10009c1d
lea ecx, [ebp - 0x208]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009c14
sub ecx, edx
push ecx
lea eax, [ebp - 0x208]
mov ecx, 0x102e2058
push eax
call fcn.10009150
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1029971f
mov esp, ebp
pop ebp
ret 8
Function at 0x10009c40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x102dd418]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10009e40
test al, al
je 0x10009e28
mov al, byte [0x102e204c]
cmp al, 3
je 0x10009e28
cmp al, 4
je 0x10009e28
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x102e2054]
add ecx, dword [0x102e2050]
cmp eax, ecx
jbe 0x10009ca4
mov byte [0x102e204c], 0xff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1029971f
mov esp, ebp
pop ebp
ret
call esi
sub eax, dword [0x102e2050]
sub esp, 0x10
movss xmm2, dword [0x102d8da0]
mov esi, 0x83f98c
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x102d8db0]
mov eax, dword [0x102e2054]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x102d8db0]
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 [0x102e206c], 0x10
mov eax, 0x102e2058
cmovae eax, dword [0x102e2058]
push eax
lea eax, [ebp - 0x104]
push 0x102d8574
push eax
call fcn.100092d0
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 [0x102e2080], 0
je 0x10009e27
cmp dword [0x102e2084], 0x10
mov eax, 0x102e2070
cmovae eax, dword [0x102e2070]
push eax
lea eax, [ebp - 0x204]
push 0x102d8574
push eax
call fcn.100092d0
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.1029971f
mov esp, ebp
pop ebp
ret
Function at 0x1000be00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x102dd418]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x102e2a30], 0
jne 0x1000be83
lea eax, [ebp - 0x198]
mov byte [0x102e2a30], 1
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1000be5d
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.1029971f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x1000be96
shr eax, 8
cmp al, 2
jne 0x1000be96
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.1029971f
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Winsock_version_low._r_n
jmp 0x1000be3e

Function at 0x1000bfa0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x102dd418]
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.1029c3c0
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.1029c3c0
add esp, 0x18
mov dword [ebp - 0x118], 0x80
cmp byte [0x102e2a31], 0
mov dword [ebp - 0x114], 0x80
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffff0000
je 0x1000c052
push 4
push 0x102e2a34
push 0x1b
push 0x29
push dword [0x102e2a2c]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1000c052
push dword [0x102e2a2c]
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.1029971f
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 [0x102e2a2c]
call dword [sym.imp.WS2_32.dll_WSAConnectByNameA]
test eax, eax
je 0x1000c032
push 0
push 0
push 0x7010
push 0xffff
push dword [0x102e2a2c]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1000c032
cmp byte [0x102e2a31], 0
je 0x1000c0d6
lea ecx, [ebp - 0x88]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
cmp eax, dword [edx]
jne 0x1000c0cf
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x1000c0cf
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x1000c0cf
xor al, al
jmp 0x1000c0d1
mov al, 1
mov byte [0x102e2a38], al
push 0x23
push 0x400
push dword [0x102dfd30]
push dword [0x102e2a2c]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
je 0x1000c032
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.1029971f
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ec20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c0a98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x102dd418]
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 0x1000ed4e
cmp byte [ebx + 0x3d], 0
je 0x1000ed4e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x1000ec79
xor al, al
jmp 0x1000ed50
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.10006a30
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 0x1000ecdf
sub eax, 1
je 0x1000ece3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x1000ed36
xor bl, bl
jmp 0x1000ed38
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 0x1000ed18
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.102a2f35
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x1000ecdb
cmp byte [ebx + 0x3d], 0
je 0x1000ed36
test esi, esi
jne 0x1000eca1
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10008710
jmp 0x1000ec9e
mov bl, 1
cmp ecx, 0x10
jb 0x1000ed4a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10009330
mov al, bl
jmp 0x1000ed50
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.1029971f
mov esp, ebp
pop ebp
ret
Function at 0x10257c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 1
cmp ax, dx
jae 0x10257c86
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 + 0x102d8430]
xor cl, byte [eax - 1]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x10257c64
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10257c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea eax, [edx - 1]
push esi
movzx esi, ax
test si, si
je 0x10257cd7
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 + 0x102d8430]
xor cl, byte [eax + 1]
xor cl, byte [edx]
mov byte [eax + 1], cl
test si, si
jne 0x10257cb0
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x10258b60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x14
mov ecx, dword [0x102df56c]
push ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102e2c74]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ecx + 4]
jle 0x10258bb4
push 0x102e2c74
call fcn.10299c1a
add esp, 4
cmp dword [0x102e2c74], 0xffffffff
jne 0x10258bb4
call esi
push 0x102e2c74
mov dword [0x102e2c78], eax
call fcn.10299bdb
add esp, 4
call esi
sub eax, dword [0x102e2c78]
cmp eax, 0x2710
jbe 0x10258c67
call esi
mov dword [0x102e2c78], eax
mov eax, dword [0x102e208c]
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 [0x102e2088]
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.10259160
movzx edx, byte [ebp - 0x13]
lea ecx, [ebp - 0x14]
call fcn.10258aa0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10258c70
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 [0x102ddd89], cl
mov ecx, dword [0x102e2ac8]
push ebx
push esi
push edi
mov esi, dword [ecx]
je 0x10258d65
cmp esi, ecx
je 0x10258d16
mov edi, dword [esi + 0x14]
test edi, edi
je 0x10258ccb
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 [0x102e2ac8]
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [esi + 0xd], 0
jne 0x10258d12
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10258cf0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10258d12
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10258ce4
jmp 0x10258d12
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10258d10
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10258d10
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10258d00
mov esi, eax
cmp esi, ecx
jne 0x10258c97
xor edi, edi
mov esi, 0x678f47
xor eax, eax
nop
mov bl, byte [eax + 0x102d84a4]
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 + 0x102d84a0]
test esi, esi
jne 0x10258d20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, ecx
je 0x10258deb
nop dword [eax]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x10258da4
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 [0x102e2ac8]
mov edx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [esi + 0xd], 0
jne 0x10258de7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10258dcc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10258de7
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10258dc0
jmp 0x10258de7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10258de5
cmp esi, dword [eax + 8]
jne 0x10258de5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10258dd5
mov esi, eax
cmp esi, ecx
jne 0x10258d70
xor edi, edi
mov esi, 0x678f47
xor eax, eax
mov bl, byte [eax + 0x102d84a5]
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 + 0x102d84a0]
test esi, esi
jne 0x10258df4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10258e40
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 0x10258eb7
xor esi, esi
push esi
call fcn.1000ac00
add esp, 4
test eax, eax
je 0x10258e97
mov ax, word [eax + 0x3e]
cmp ax, word [edi + 8]
je 0x10258ea6
inc esi
cmp esi, 0x190
jl 0x10258e80
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.1000ac00
add esp, 4
test eax, eax
je 0x10258edb
mov ax, word [eax + 0x3e]
cmp ax, word [edi + 8]
jne 0x10258edb
push dword [edi + 4]
mov eax, 0x5d7945
call eax
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret