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

Disassembly:
dec edi
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.10001626
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100015db
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.10001616
jb 0x100022dc
sbb eax, 0x104685f
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x1000230a
dec dword [ecx - 0x3977b]
inc esi
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x100024d4
cmp dword [ebp + 0xc], 1
je 0x100024d4
cmp dword [ebp + 0xc], 8
jne 0x1000249c
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.10001626
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100015db
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
invalid
test dword [ebx - 7], esp

Function at 0x10002500
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.100015f4
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x414df2
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], esi
add edx, 4
dec ebx
cmp edx, edi
jne fcn.00414df2
ret
Function at 0x10001130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x10025040]
xor eax, esp
mov dword [esp + 0x84], eax
cmp byte [0x10026611], 0
push esi
push edi
jne 0x10001290
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movaps xmm0, xmmword [0x100228c0]
mov edx, eax
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0x76087327
xor ecx, ecx
mov dword [esp + 0x24], 0xe0b6b63
mov byte [esp + 0x28], 0
nop dword [eax + eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0x17
jb 0x10001190
push edx
lea eax, [esp + 0x15]
mov byte [esp + 0x2c], 0
push eax
lea eax, [esp + 0x60]
push 0x32
push eax
call fcn.10001630
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x68]
movaps xmmword [esp + 0x40], xmm0
add esp, 0x10
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100011d7
sub ecx, edx
lea eax, [esp + 0x58]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10001500
mov edi, dword [esp + 0x40]
lea esi, [esp + 0x30]
inc edi
cmp dword [esp + 0x44], 0xf
cmova esi, dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push edi
push esi
push 0xfe5d24
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [0x10026618]
mov ecx, eax
sbb edx, dword [0x1002661c]
call fcn.1001ab90
divss xmm0, dword [0x100228ac]
comiss xmm0, dword [0x100228a8]
jb 0x10001249
mov byte [0x10026611], 1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10001283
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001279
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100012a4
push ecx
push edx
call fcn.10008f11
add esp, 8
cmp byte [0x10026611], 0
je 0x10001160
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.10008eb0
mov esp, ebp
pop ebp
ret
call fcn.1000e5f7
int3
Function at 0x10002b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10025040]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x100228d0]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0xc], ecx
push edi
mov dword [esp + 0x14], ebx
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
mov byte [esp + 0x28], 0
mov al, byte [esp + 0x18]
xor byte [esp + ecx + 0x19], al
inc ecx
cmp ecx, 0xf
jb 0x10002b34
sub esp, 0x18
mov byte [esp + 0x40], 0
mov edx, esp
lea ecx, [esp + 0x31]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002b67
sub ecx, esi
lea eax, [esp + 0x31]
push ecx
push eax
mov ecx, edx
call fcn.10001500
lea ecx, [esp + 0x44]
call fcn.100055c0
mov edi, dword [esp + 0x44]
xor edx, edx
add esp, 0x18
mov dword [esp + 0xc], edx
test ebx, ebx
mov ebx, dword [esp + 0x40]
jle 0x10002be2
nop dword [eax + eax]
cmp ebx, 0xf
lea ecx, [esp + 0x2c]
cmova ecx, edi
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002bb0
sub ecx, esi
mov eax, edx
cmp ebx, 0xf
lea esi, [esp + 0x2c]
cmova esi, edi
xor edx, edx
div ecx
mov ecx, dword [esp + 0x10]
mov al, byte [edx + esi]
mov edx, dword [esp + 0xc]
xor byte [edx + ecx], al
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x14]
jl 0x10002ba0
cmp ebx, 0xf
jbe 0x10002c0e
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10002c04
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002c20
push ecx
push edi
call fcn.10008f11
add esp, 8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10008eb0
mov esp, ebp
pop ebp
ret
call fcn.1000e5f7
int3
Function at 0x10004b30
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10025040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
push 0x40
push 0
mov dword [ebp - 0x58], edi
lea eax, [edi + 1]
push eax
call fcn.1000aa40
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [edi + 0x44], xmm0
lea esi, [edi + 0x4c]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x50], 0
mov eax, dword [eax]
lea ebx, [edi + 0x5c]
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x50]
add esp, 0xc
movups xmmword [ebx], xmm0
mov byte [edi], 0
cmp eax, dword [ecx]
jne 0x10004b96
movq qword [edi + 0x44], xmm0
jmp 0x10004ba4
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10004bcd
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.100053f0
cmp byte [edi], 0
jne 0x10004cb7
xor ecx, ecx
lea edx, [edi + 0x46]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0xc], al
movzx eax, byte [edx - 5]
mov byte [ebp + ecx - 0xb], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0xa], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 9], al
add ecx, 4
cmp ecx, 8
jb 0x10004be4
mov ecx, dword [edi + 0x44]
mov eax, 0x78
shr ecx, 3
mov edi, 0x38
and ecx, 0x3f
mov byte [ebp - 0x52], 0
sub eax, ecx
mov byte [ebp - 0x52], 0
sub edi, ecx
cmp ecx, 0x38
mov cl, 0x53
cmovae edi, eax
mov byte [ebp - 0x54], cl
mov al, 0xd3
xor al, cl
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x53], al
lea eax, [ebp - 0x53]
push 1
push eax
call fcn.100053f0
push 0x40
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.1000aa40
push edi
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.1000aa40
add esp, 0x18
lea eax, [ebp - 0x4c]
push edi
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.100053f0
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.100053f0
mov edx, 4
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 4]
mov byte [ebx], al
lea ebx, [ebx + 4]
movzx eax, byte [esi - 3]
mov byte [ebx - 3], al
movzx eax, byte [esi - 2]
mov byte [ebx - 2], al
mov cl, byte [esi - 1]
mov byte [ebx - 1], cl
sub edx, 1
jne 0x10004c90
mov byte [edi], 1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008eb0
mov esp, ebp
pop ebp
ret 4
Function at 0x100054b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10025040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
cmp byte [ecx], 0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
jne 0x10005505
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x67
movups xmmword [edi], xmm0
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100054f6
lea eax, [ebp - 0x2b]
jmp 0x1000559a
xor eax, eax
xor edi, edi
push ebx
mov dword [ebp - 0x2c], eax
push esi
nop
movzx esi, byte [ecx + eax + 0x5c]
mov dl, 0x22
mov ah, 0x10
mov byte [ebp - 0x2f], 0
xor dl, ah
mov byte [ebp - 0x34], ah
mov al, 0x35
mov byte [ebp - 0x31], dl
xor al, ah
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x33], al
mov cl, 0x20
xor cl, ah
mov bl, 0x68
xor bl, ah
mov byte [ebp - 0x32], cl
push esi
lea eax, [ebp - 0x33]
mov byte [ebp - 0x30], bl
push eax
mov eax, 0x21
sub eax, edi
push eax
lea eax, [ebp - 0x28]
add eax, edi
push eax
call fcn.10005ca0
mov eax, dword [ebp - 0x2c]
add edi, 2
mov ecx, dword [ebp - 0x38]
inc eax
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp edi, 0x20
jb 0x10005510
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov byte [ebp - 8], 0
pop esi
pop ebx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005590
lea eax, [ebp - 0x28]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10001500
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.10008eb0
mov esp, ebp
pop ebp
ret 4

Function at 0x100061e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100063b0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100062bd
mov edx, dword [ebp - 4]
cmp edx, dword [0x10025008]
jb 0x1000622a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1002500c]
ja 0x1000622a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100061fa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000aa40
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000624f
jmp 0x100062bd
cmp dword [ebp - 0x14], 0x10000
jne 0x100062a3
cmp dword [ebp - 0x18], 0x10000
jb 0x100062a3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10006286
mov eax, dword [ebp - 8]
jmp 0x100062bf
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10006296
xor eax, eax
jmp 0x100062bf
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100062b8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100063b0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100061fa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100062d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100063e0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100063a5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10025008]
jb 0x10006315
mov eax, dword [ebp - 4]
cmp eax, dword [0x1002500c]
ja 0x10006315
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100062e5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000aa40
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000633a
jmp 0x100063a5
cmp dword [ebp - 0x14], 0x10000
jne 0x1000638e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000638e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10006371
mov eax, dword [ebp - 8]
jmp 0x100063a7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10006381
xor eax, eax
jmp 0x100063a7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100063a0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100063e0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100062e5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10006410
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10006800
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10025bc0], 0
jne 0x1000644d
cmp dword [0x10025bbc], 0
je 0x1000644d
mov eax, dword [0x10025bbc]
mov dword [0x10025bc0], eax
cmp dword [0x10025bc0], 0
je 0x100064ca
mov ecx, dword [0x10025bc0]
cmp dword [ecx + 8], 0
je 0x100064ca
mov edx, dword [0x10025bc0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100064ca
mov ecx, dword [0x10025bc0]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100064ca
mov eax, dword [0x10025bc0]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10006499
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x100064a0
xor eax, eax
jmp 0x100065e9
mov ecx, dword [0x10025bc0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000aa40
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100065e9
mov edx, dword [0x10025bbc]
mov dword [0x10025bc0], edx
jmp 0x100064e6
mov eax, dword [0x10025bc0]
mov ecx, dword [eax + 4]
mov dword [0x10025bc0], ecx
cmp dword [0x10025bc0], 0
je 0x10006526
cmp dword [0x10025bc0], 0
je 0x10006524
mov edx, dword [0x10025bc0]
cmp dword [edx + 8], 0
je 0x10006524
mov eax, dword [0x10025bc0]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10006524
mov edx, dword [0x10025bc0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10006524
jmp 0x1000647e
jmp 0x100064d8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100065f0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100065e7
mov eax, dword [ebp - 0x18]
mov dword [0x10025bc0], eax
mov ecx, dword [0x10025bc0]
mov dword [ecx], 0x52727464
mov edx, dword [0x10025bc0]
mov dword [edx + 8], 0
mov eax, dword [0x10025bc0]
mov ecx, dword [0x10025bbc]
mov dword [eax + 4], ecx
mov edx, dword [0x10025bc0]
mov dword [0x10025bbc], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10025bc0]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100065b7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100065d7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x100065ae
mov eax, dword [0x10025bc0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000647e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10007330
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10025bbc]
mov dword [ebp - 4], eax
jmp 0x10007349
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10007370
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1000736e
call sub.KERNEL32.dll_GetLastError
jmp 0x10007372
jmp 0x10007340
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10007810
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10025bcc], eax
je 0x10007834
mov eax, 0x10dd
jmp 0x100079dc
cmp dword [0x10025bd0], 0
je 0x10007847
mov eax, dword [0x10025bd0]
jmp 0x100079dc
cmp dword [ebp + 0xc], 0
jne 0x10007857
mov eax, 0x57
jmp 0x100079dc
cmp dword [ebp + 8], 0
jne 0x10007867
mov eax, 6
jmp 0x100079dc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10007890
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10025bd0], ecx
mov edx, dword [ebp + 8]
mov dword [0x10025bd4], edx
mov eax, dword [ebp - 8]
jmp 0x100079dc
push 0x18
call fcn.10008ebe
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100078eb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10025bd0], ecx
cmp dword [ebp - 4], 0
je 0x100078da
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10008f11
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10025bd4], ecx
mov eax, dword [ebp - 8]
jmp 0x100079dc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.100077f0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100077f0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1000792b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10007947
mov dword [ebp - 8], 9
cmp dword [0x10025bc4], 0
je 0x10007942
jmp 0x100078b9
jmp 0x100078b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1000796e
mov dword [ebp - 8], 9
cmp dword [0x10025bc4], 0
je 0x10007969
jmp 0x100078b9
jmp 0x100078b0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10007999
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100078b0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10025bdc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10025bdc], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8