joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100423e0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x10055014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
je 0x10026f9b
mov dword [esi + 0x24], eax
xor eax, eax
mov word [esi + 0x20], 1
mov word [esi + 0x28], ax
call fcn.100273d0
movaps xmm0, xmmword [str.5gPXT__R]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x5056e15
mov dword [ebp - 0x34], 0x6805050f
mov byte [ebp - 0x30], 0
nop
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x17
jb 0x10026e40
cmp byte [ebp - 0x47], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jne 0x10026e6d
xor ecx, ecx
jmp 0x10026e7c
lea ecx, [ebp - 0x47]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026e73
sub ecx, edx
push ecx
lea eax, [ebp - 0x47]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100027c0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
mov ecx, dword [esi + 0xc]
call fcn.10016270
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10026eae
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.100026c0
cmp dword [ebp + 0x1c], 0
jne 0x10026f2a
mov byte [ebp - 0x20], 0x7b
mov al, 0x28
xor al, byte [ebp - 0x20]
mov cl, 0x12
xor cl, byte [ebp - 0x20]
mov dl, 0x1e
mov byte [ebp - 0x1f], al
mov ah, dl
mov byte [ebp - 0x1e], cl
mov ch, 0x5b
mov cl, byte [ebp - 0x20]
mov dh, 0x38
mov byte [ebp - 0x11], 0x1a
xor ah, cl
mov al, byte [ebp - 0x11]
xor ch, cl
xor al, cl
mov byte [ebp - 0x12], 0x15
mov byte [ebp - 0x17], al
mov bl, 0x1c
mov al, byte [ebp - 0x12]
mov bh, 0x17
xor al, cl
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x16], al
xor dl, cl
xor bl, cl
mov byte [ebp - 0x1a], ch
xor dh, cl
mov byte [ebp - 0x15], 0
xor bh, cl
mov byte [ebp - 0x1d], dl
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x1c], bl
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x19], dh
mov byte [ebp - 0x18], bh
mov byte [ebp - 0x15], 0
call fcn.100028c0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x48]
jmp 0x10026f81
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x1004d370]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0xa
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x10026f50
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.100028c0
lea eax, [ebp - 0x48]
push eax
call fcn.1000bad0
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0x10]
call fcn.10016270
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10026f9b
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100026c0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x10026fad
inc eax
push eax
push dword [ebp + 0xc]
call fcn.100026c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10027210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042468
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x10055014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ax, word [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0
mov word [esi + 0x28], ax
jne 0x10027302
mov bh, 0x5c
mov byte [ebp - 0x24], 0x3d
mov byte [ebp - 0x12], bh
mov al, 0x54
xor al, byte [ebp - 0x24]
mov cl, 0x58
mov byte [ebp - 0x11], 0x6e
mov bl, cl
mov bh, byte [ebp - 0x11]
mov dl, 0x5a
xor bh, byte [ebp - 0x24]
mov ah, 0x1d
mov byte [ebp - 0x11], bh
mov ch, 0x7e
mov byte [ebp - 0x22], al
mov dh, 0x51
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x23], bh
xor cl, al
mov bh, byte [ebp - 0x12]
xor dl, al
xor bl, al
mov byte [ebp - 0x13], 0x53
xor ah, al
mov byte [ebp - 0x19], 0
xor ch, al
mov byte [ebp - 0x21], cl
xor dh, al
mov byte [ebp - 0x20], dl
xor bh, al
mov byte [ebp - 0x1f], bl
mov al, byte [ebp - 0x13]
xor al, byte [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 0x1e], ah
mov byte [ebp - 0x1d], ch
mov byte [ebp - 0x1c], dh
mov byte [ebp - 0x1b], bh
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x100272da
xor ecx, ecx
jmp 0x100272e9
lea ecx, [ebp - 0x23]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100272e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x23]
push eax
lea ecx, [ebp - 0x40]
call fcn.100027c0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
jmp 0x1002738b
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x1004d2f0]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x31
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x10027321
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002734f
mov eax, dword [edx]
jmp 0x10027351
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1002735e
xor ecx, ecx
jmp 0x1002736d
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10027364
sub ecx, edi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.100027c0
lea eax, [ebp - 0x40]
push eax
call fcn.1000bad0
add esp, 0x20
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [esi + 0x10]
call fcn.10016270
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x100273a5
inc eax
push eax
push dword [ebp - 0x40]
call fcn.100026c0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100273b7
inc eax
push eax
push dword [ebp + 0xc]
call fcn.100026c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10029520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042692
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10055014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
cmp byte [esi + 0x140], 0
movzx eax, word [esi + 0x144]
movzx ecx, word [esi + 0x136]
push eax
mov word [esi + 0x142], cx
push ecx
je 0x10029605
movaps xmm0, xmmword [0x1004cf50]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x5f12535e
mov byte [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x13
jb 0x10029590
sub esp, 0x18
mov byte [ebp - 0x24], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100295be
mov eax, dword [edx]
jmp 0x100295c0
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x100295cd
xor ecx, ecx
jmp 0x100295dc
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100295d3
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100027c0
lea eax, [ebp - 0x68]
push eax
call fcn.1000bad0
add esp, 0x24
mov dword [ebp - 4], 0
mov ebx, 1
jmp 0x100296ad
mov byte [ebp - 0x20], 9
mov al, 0x2c
mov dh, al
mov byte [ebp - 0x17], 0
xor al, byte [ebp - 0x20]
mov dl, 0x29
mov byte [ebp - 0x1f], al
mov ch, dl
mov al, byte [ebp - 0x20]
mov cl, 0x6d
xor dl, al
mov byte [ebp - 0x17], 0
xor dh, al
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x19], dh
sub esp, 0x18
mov edx, esp
mov bh, cl
mov bl, 0x66
mov ah, 0x6f
xor cl, al
xor bl, al
xor ah, al
mov byte [ebp - 0x1e], cl
xor ch, al
mov byte [ebp - 0x1c], bl
xor bh, al
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x1a], ch
mov byte [ebp - 0x18], bh
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002966a
mov eax, dword [edx]
jmp 0x1002966c
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x10029679
xor ecx, ecx
jmp 0x10029689
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029680
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100027c0
lea eax, [ebp - 0x50]
push eax
call fcn.1000bad0
add esp, 0x24
mov dword [ebp - 4], 1
mov ebx, 2
mov ecx, dword [esi + 0xc]
mov edx, eax
mov dword [ebp - 0x10], ebx
call fcn.10016270
test bl, 2
je 0x100296e6
mov eax, dword [ebp - 0x3c]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x100296d4
inc eax
push eax
push dword [ebp - 0x50]
call fcn.100026c0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
test bl, 1
je 0x100296fd
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x100296fd
inc eax
push eax
push dword [ebp - 0x68]
call fcn.100026c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10039d50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100433a8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10055014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.10039af0
lea ecx, [ebp - 0x7c]
call fcn.10039ba0
push esi
lea ecx, [ebp - 0x7c]
call fcn.10039c90
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10039df7
inc ecx
push ecx
push dword [ebp + 8]
call fcn.100026c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003ce35
mov esp, ebp
pop ebp
ret

Function at 0x10039e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword fs:[0x30]
mov dword [ebp - 4], ecx
mov eax, dword [edi + 0xc]
add eax, 0x14
mov esi, dword [eax]
cmp esi, eax
je 0x10039e63
mov ebx, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
test esi, esi
je 0x10039e63
push ecx
push dword [esi + 0x20]
call ebx
add esp, 8
test eax, eax
jne 0x10039e6c
mov eax, dword [edi + 0xc]
mov esi, dword [esi]
add eax, 0x14
mov ecx, dword [ebp - 4]
cmp esi, eax
jne 0x10039e43
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003a160
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.1003a330
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1003a23d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1003a1aa
mov eax, dword [ebp - 4]
cmp eax, dword [0x10055004]
ja 0x1003a1aa
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003a17a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
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 0x1003a1cf
jmp 0x1003a23d
cmp dword [ebp - 0x14], 0x10000
jne 0x1003a223
cmp dword [ebp - 0x18], 0x10000
jb 0x1003a223
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 0x1003a206
mov eax, dword [ebp - 8]
jmp 0x1003a23f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1003a216
xor eax, eax
jmp 0x1003a23f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003a238
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1003a330
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003a17a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003a250
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1003a360
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1003a325
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1003a295
mov eax, dword [ebp - 4]
cmp eax, dword [0x10055004]
ja 0x1003a295
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003a265
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
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 0x1003a2ba
jmp 0x1003a325
cmp dword [ebp - 0x14], 0x10000
jne 0x1003a30e
cmp dword [ebp - 0x18], 0x10000
jb 0x1003a30e
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 0x1003a2f1
mov eax, dword [ebp - 8]
jmp 0x1003a327
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1003a301
xor eax, eax
jmp 0x1003a327
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003a320
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1003a360
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003a265
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003a390
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.1003a780
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10056f08], 0
jne 0x1003a3cd
cmp dword [0x10056f04], 0
je 0x1003a3cd
mov eax, dword [0x10056f04]
mov dword [0x10056f08], eax
cmp dword [0x10056f08], 0
je 0x1003a44a
mov ecx, dword [0x10056f08]
cmp dword [ecx + 8], 0
je 0x1003a44a
mov edx, dword [0x10056f08]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1003a44a
mov ecx, dword [0x10056f08]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1003a44a
mov eax, dword [0x10056f08]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1003a419
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1003a420
xor eax, eax
jmp 0x1003a569
mov ecx, dword [0x10056f08]
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 sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1003a569
mov edx, dword [0x10056f04]
mov dword [0x10056f08], edx
jmp 0x1003a466
mov eax, dword [0x10056f08]
mov ecx, dword [eax + 4]
mov dword [0x10056f08], ecx
cmp dword [0x10056f08], 0
je 0x1003a4a6
cmp dword [0x10056f08], 0
je 0x1003a4a4
mov edx, dword [0x10056f08]
cmp dword [edx + 8], 0
je 0x1003a4a4
mov eax, dword [0x10056f08]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1003a4a4
mov edx, dword [0x10056f08]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1003a4a4
jmp 0x1003a3fe
jmp 0x1003a458
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.1003a570
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a567
mov eax, dword [ebp - 0x18]
mov dword [0x10056f08], eax
mov ecx, dword [0x10056f08]
mov dword [ecx], 0x52727464
mov edx, dword [0x10056f08]
mov dword [edx + 8], 0
mov eax, dword [0x10056f08]
mov ecx, dword [0x10056f04]
mov dword [eax + 4], ecx
mov edx, dword [0x10056f08]
mov dword [0x10056f04], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10056f08]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1003a537
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1003a557
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 0x1003a52e
mov eax, dword [0x10056f08]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1003a3fe
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003b2b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10056f04]
mov dword [ebp - 4], eax
jmp 0x1003b2c9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1003b2f0
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 0x1003b2ee
call sub.KERNEL32.dll_GetLastError
jmp 0x1003b2f2
jmp 0x1003b2c0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003b790
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 [0x10056f14], eax
je 0x1003b7b4
mov eax, 0x10dd
jmp 0x1003b95c
cmp dword [0x10056f18], 0
je 0x1003b7c7
mov eax, dword [0x10056f18]
jmp 0x1003b95c
cmp dword [ebp + 0xc], 0
jne 0x1003b7d7
mov eax, 0x57
jmp 0x1003b95c
cmp dword [ebp + 8], 0
jne 0x1003b7e7
mov eax, 6
jmp 0x1003b95c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1003b810
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10056f18], ecx
mov edx, dword [ebp + 8]
mov dword [0x10056f1c], edx
mov eax, dword [ebp - 8]
jmp 0x1003b95c
push 0x18
call fcn.1003ce46
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003b86b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10056f18], ecx
cmp dword [ebp - 4], 0
je 0x1003b85a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1003d3fe
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10056f1c], ecx
mov eax, dword [ebp - 8]
jmp 0x1003b95c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1003b770
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003b770
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 0x1003b8ab
cmp dword [ebp - 0xc], 0x1e
jbe 0x1003b8c7
mov dword [ebp - 8], 9
cmp dword [0x10056f0c], 0
je 0x1003b8c2
jmp 0x1003b839
jmp 0x1003b830
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1003b8ee
mov dword [ebp - 8], 9
cmp dword [0x10056f0c], 0
je 0x1003b8e9
jmp 0x1003b839
jmp 0x1003b830
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 0x1003b919
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003b830
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 [0x10056f24]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10056f24], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1003b970
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10056f14], eax
je 0x1003b98d
mov eax, 0x10dd
jmp 0x1003ba70
mov eax, dword [0x10056f24]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003ba0c
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 0x1003b9e8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1003b9e8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1003a810
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.1003d3fe
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1003b995
mov dword [0x10056f24], 0
call fcn.1003b0f0
mov ecx, dword [0x10056f20]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003ba5a
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.1003d3fe
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1003ba24
mov dword [0x10056f20], 0
mov dword [0x10056f14], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003bf50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10056f18], 0
je 0x1003bf69
mov eax, dword [0x10056f18]
jmp 0x1003c008
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1003bf7a
xor eax, eax
jmp 0x1003c008
push 8
call fcn.1003ce46
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003bfd2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003bfbb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1003d3fe
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10056f18], eax
mov dword [0x10056f1c], 0
mov eax, dword [ebp - 8]
jmp 0x1003c008
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003bfea
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003bf9a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10056f20]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10056f20], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4