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

Disassembly:
mov ecx, dword [0x6da2bd58]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6d953f64
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x78], eax
mov byte [esp + 0x4d], 0
lea eax, [0x6d97d1dd]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.6d954480
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6d953e2e
jne 0x6d953f47
jmp 0x6d953f4a
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4e], 0x66754464
mov dword [esp + 0x50], 0x564a6675
mov dword [esp + 0x54], 0x38744851
lea ebx, [esp + 0x4e]
mov dword [esp], ebx
mov dword [esp + 4], 0xa
mov dword [esp + 8], 0xa
call fcn.6d93a3a0
lea edi, [esp + 0x2d]
lea esi, [esp + 0xc]
call fcn.6d92ca60
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
lea eax, [esp + 0x2d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x20
call fcn.6d954070
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
test eax, eax
jne 0x6d953f36
lea eax, [0x6d97ccf5]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.6d953ba0
mov eax, dword [esp + 8]
nop
lea ecx, [0x6d954010]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], ecx
mov byte [esp + 0x4d], 1
lea ecx, [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.6d953f70
mov byte [esp + 0x4d], 0
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
call eax
add esp, 0x7c
ret
je 0x6d953f3b
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.6d926820
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.6d926820
nop
call fcn.6d8f4630
add esp, 0x7c
ret
call fcn.6d92af70
jmp fcn.6d953de0
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x10001180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026a10
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10033040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb0], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov edi, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.1000fc00
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.10001ee0
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x1002fd20]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x562d79
nop word [eax + eax]
mov cl, byte [ebp - 0xc4]
xor byte [ebp + eax - 0xc3], cl
inc eax
cmp eax, 0x12
jb 0x10001210
lea edx, [ebp - 0xc3]
mov byte [ebp - 0xb1], 0
lea ecx, [ebp - 0xa8]
call fcn.10003b70
mov edx, eax
push edi
mov eax, dword [edx]
mov eax, dword [eax + 4]
or dword [eax + edx + 0x14], 4
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + edx + 0x14], eax
mov ecx, edx
call fcn.100021d0
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov dl, 0x4c
mov byte [ebp - 0xaa], 0
mov al, 0x11
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.10003b70
push esi
lea ecx, [ebp - 0xa8]
call fcn.10001df0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.10001a60
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xac], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1000a168
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000ded0
mov esp, ebp
pop ebp
ret
Function at 0x10007550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10033040]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x1002fd30]
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 0x10007584
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 0x100075b7
sub ecx, esi
lea eax, [esp + 0x31]
push ecx
push eax
mov ecx, edx
call fcn.10005c30
lea ecx, [esp + 0x44]
call fcn.1000a090
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 0x10007632
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 0x10007600
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 0x100075f0
cmp ebx, 0xf
jbe 0x1000765e
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10007654
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007670
push ecx
push edi
call fcn.1000dede
add esp, 8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000ded0
mov esp, ebp
pop ebp
ret
call fcn.1001316b
int3
Function at 0x10009600
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10033040]
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.1000fc00
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 0x10009666
movq qword [edi + 0x44], xmm0
jmp 0x10009674
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 0x1000969d
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.10009ec0
cmp byte [edi], 0
jne 0x10009787
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 0x100096b4
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, 0x30
cmovae edi, eax
mov byte [ebp - 0x54], cl
mov al, 0xb0
xor al, cl
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x53], al
lea eax, [ebp - 0x53]
push 1
push eax
call fcn.10009ec0
push 0x40
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.1000fc00
push edi
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.1000fc00
add esp, 0x18
lea eax, [ebp - 0x4c]
push edi
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.10009ec0
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.10009ec0
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 0x10009760
mov byte [edi], 1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ded0
mov esp, ebp
pop ebp
ret 4
Function at 0x10009f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10033040]
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 0x10009fd5
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x48
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 0x10009fc6
lea eax, [ebp - 0x2b]
jmp 0x1000a06a
xor eax, eax
xor edi, edi
push ebx
mov dword [ebp - 0x2c], eax
push esi
nop
movzx esi, byte [ecx + eax + 0x5c]
mov dl, 0xd
mov ah, 0x3f
mov byte [ebp - 0x2f], 0
xor dl, ah
mov byte [ebp - 0x34], ah
mov al, 0x1a
mov byte [ebp - 0x31], dl
xor al, ah
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x33], al
mov cl, 0xf
xor cl, ah
mov bl, 0x47
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.10005ef0
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 0x10009fe0
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 0x1000a060
lea eax, [ebp - 0x28]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10005c30
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.1000ded0
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b200
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.1000b3d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000b2dd
mov edx, dword [ebp - 4]
cmp edx, dword [0x10033014]
jb 0x1000b24a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10033018]
ja 0x1000b24a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000b21a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000fc00
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 0x1000b26f
jmp 0x1000b2dd
cmp dword [ebp - 0x14], 0x10000
jne 0x1000b2c3
cmp dword [ebp - 0x18], 0x10000
jb 0x1000b2c3
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 0x1000b2a6
mov eax, dword [ebp - 8]
jmp 0x1000b2df
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000b2b6
xor eax, eax
jmp 0x1000b2df
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000b2d8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000b3d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000b21a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000b2f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000b400
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000b3c5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10033014]
jb 0x1000b335
mov eax, dword [ebp - 4]
cmp eax, dword [0x10033018]
ja 0x1000b335
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000b305
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000fc00
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 0x1000b35a
jmp 0x1000b3c5
cmp dword [ebp - 0x14], 0x10000
jne 0x1000b3ae
cmp dword [ebp - 0x18], 0x10000
jb 0x1000b3ae
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 0x1000b391
mov eax, dword [ebp - 8]
jmp 0x1000b3c7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000b3a1
xor eax, eax
jmp 0x1000b3c7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000b3c0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000b400
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000b305
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000b430
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.1000b820
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1003429c], 0
jne 0x1000b46d
cmp dword [0x10034298], 0
je 0x1000b46d
mov eax, dword [0x10034298]
mov dword [0x1003429c], eax
cmp dword [0x1003429c], 0
je 0x1000b4ea
mov ecx, dword [0x1003429c]
cmp dword [ecx + 8], 0
je 0x1000b4ea
mov edx, dword [0x1003429c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1000b4ea
mov ecx, dword [0x1003429c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000b4ea
mov eax, dword [0x1003429c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1000b4b9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1000b4c0
xor eax, eax
jmp 0x1000b609
mov ecx, dword [0x1003429c]
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.1000fc00
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1000b609
mov edx, dword [0x10034298]
mov dword [0x1003429c], edx
jmp 0x1000b506
mov eax, dword [0x1003429c]
mov ecx, dword [eax + 4]
mov dword [0x1003429c], ecx
cmp dword [0x1003429c], 0
je 0x1000b546
cmp dword [0x1003429c], 0
je 0x1000b544
mov edx, dword [0x1003429c]
cmp dword [edx + 8], 0
je 0x1000b544
mov eax, dword [0x1003429c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1000b544
mov edx, dword [0x1003429c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1000b544
jmp 0x1000b49e
jmp 0x1000b4f8
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.1000b610
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000b607
mov eax, dword [ebp - 0x18]
mov dword [0x1003429c], eax
mov ecx, dword [0x1003429c]
mov dword [ecx], 0x52727464
mov edx, dword [0x1003429c]
mov dword [edx + 8], 0
mov eax, dword [0x1003429c]
mov ecx, dword [0x10034298]
mov dword [eax + 4], ecx
mov edx, dword [0x1003429c]
mov dword [0x10034298], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1003429c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1000b5d7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1000b5f7
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 0x1000b5ce
mov eax, dword [0x1003429c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000b49e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000c350
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10034298]
mov dword [ebp - 4], eax
jmp 0x1000c369
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000c390
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 0x1000c38e
call sub.KERNEL32.dll_GetLastError
jmp 0x1000c392
jmp 0x1000c360
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000c830
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 [0x100342a8], eax
je 0x1000c854
mov eax, 0x10dd
jmp 0x1000c9fc
cmp dword [0x100342ac], 0
je 0x1000c867
mov eax, dword [0x100342ac]
jmp 0x1000c9fc
cmp dword [ebp + 0xc], 0
jne 0x1000c877
mov eax, 0x57
jmp 0x1000c9fc
cmp dword [ebp + 8], 0
jne 0x1000c887
mov eax, 6
jmp 0x1000c9fc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1000c8b0
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100342ac], ecx
mov edx, dword [ebp + 8]
mov dword [0x100342b0], edx
mov eax, dword [ebp - 8]
jmp 0x1000c9fc
push 0x18
call fcn.1000def1
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000c90b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100342ac], ecx
cmp dword [ebp - 4], 0
je 0x1000c8fa
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1000dede
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100342b0], ecx
mov eax, dword [ebp - 8]
jmp 0x1000c9fc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1000c810
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000c810
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 0x1000c94b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1000c967
mov dword [ebp - 8], 9
cmp dword [0x100342a0], 0
je 0x1000c962
jmp 0x1000c8d9
jmp 0x1000c8d0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1000c98e
mov dword [ebp - 8], 9
cmp dword [0x100342a0], 0
je 0x1000c989
jmp 0x1000c8d9
jmp 0x1000c8d0
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 0x1000c9b9
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000c8d0
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 [0x100342b8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100342b8], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ca10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100342a8], eax
je 0x1000ca2d
mov eax, 0x10dd
jmp 0x1000cb10
mov eax, dword [0x100342b8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000caac
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1000ca88
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1000ca88
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1000b8b0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1000dede
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1000ca35
mov dword [0x100342b8], 0
call fcn.1000c190
mov ecx, dword [0x100342b4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1000cafa
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000dede
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1000cac4
mov dword [0x100342b4], 0
mov dword [0x100342a8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000cff0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100342ac], 0
je 0x1000d009
mov eax, dword [0x100342ac]
jmp 0x1000d0a8
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1000d01a
xor eax, eax
jmp 0x1000d0a8
push 8
call fcn.1000def1
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000d072
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1000d05b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1000dede
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100342ac], eax
mov dword [0x100342b0], 0
mov eax, dword [ebp - 8]
jmp 0x1000d0a8
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1000d08a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000d03a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100342b4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100342b4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4