joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073300
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
mov dword [ebp - 0x20], 0x86b51992
mov dword [ebp - 0x1c], 0xcd7d7f50
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0xb563e00e
mov dword [ebp - 0x1c], 0xbbeeaa18
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0xe7d846cd
mov dword [ebp - 0x1c], 0x92221139
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0xb563e00e
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], 0xbbeeaa18
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
movaps xmm1, xmmword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
xorps xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x30], xmm1
call fcn.10072430
test al, al
je 0x100733b5
mov eax, dword [0x100f036c]
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [eax + 0x3e12a]
call eax
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x100f0b28]
test eax, eax
jne 0x10073479
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 8], eax
mov edx, eax
mov dword [ebp - 0xc], ecx
nop word [eax + eax]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x1007345c
mov edi, dword [eax + 0x18]
test edi, edi
je 0x1007345c
mov eax, dword [eax + 0x20]
lea eax, [eax + edi*4]
add eax, ecx
sub eax, 4
dec edi
mov dword [ebp - 0x14], eax
mov esi, 0xe1409a73
mov eax, dword [eax]
add eax, ecx
mov cl, byte [eax]
inc eax
test cl, cl
je 0x1007344f
nop dword [eax]
movsx edx, cl
lea eax, [eax + 1]
sub cl, 0x41
mov byte [ebp - 1], cl
mov ecx, edx
or ecx, 0x20
cmp byte [ebp - 1], 0x19
cmova ecx, edx
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x10073420
cmp esi, 0x62a0d2d
je 0x1007348b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test edi, edi
jne 0x10073405
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
cmp ecx, edx
je 0x10073472
cmp dword [ecx + 0x18], 0
jne 0x100733e0
xor eax, eax
mov dword [0x100f0b28], eax
lea ecx, [ebp - 0x30]
push ecx
call eax
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x10073474
Function at 0x100734b0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100f036c]
sub esp, 0x14
mov dword [eax + 0xe], 0x10b
call fcn.10072430
test al, al
je 0x100734e2
mov eax, dword [0x100f036c]
mov eax, dword [eax + 0x3e10a]
test eax, eax
jne 0x100735a8
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100f0b40]
test eax, eax
jne 0x100735a8
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 4], eax
mov edx, eax
mov dword [ebp - 8], ecx
nop word [eax + eax]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0xc], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x10073588
mov edi, dword [eax + 0x18]
test edi, edi
je 0x10073588
mov eax, dword [eax + 0x20]
lea eax, [eax + edi*4]
add eax, ecx
sub eax, 4
dec edi
mov dword [ebp - 0x10], eax
mov esi, 0xe9c1726d
mov eax, dword [eax]
add eax, ecx
mov bl, byte [eax]
inc eax
test bl, bl
je 0x1007357e
nop dword [eax]
movsx edx, bl
lea eax, [eax + 1]
sub bl, 0x41
mov ecx, edx
or ecx, 0x20
cmp bl, 0x19
mov bl, byte [eax - 1]
cmova ecx, edx
xor ecx, esi
imul esi, ecx, 0x1000193
test bl, bl
jne 0x10073550
cmp esi, 0xed7204d7
je 0x100735b4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test edi, edi
jne 0x10073535
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp ecx, edx
je 0x1007359e
cmp dword [ecx + 0x18], 0
jne 0x10073510
pop edi
xor eax, eax
pop esi
mov dword [0x100f0b40], eax
pop ebx
push dword [ebp + 8]
call eax
add esp, 4
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
push dword [ebp + 8]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [0x100f0b40], eax
call eax
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x10074440
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
lea ebx, [esi + 0x10]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x1007447f
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
pop ebp
ret 4
cmp dword [esi + 0x14], 0xf
jbe 0x10074487
mov esi, dword [esi]
mov eax, dword [ebx]
inc eax
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.1007dc70
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x10076ec0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 8], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 4], ecx
cmp ecx, ebx
je 0x10076f58
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10076f58
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
sub ecx, 4
dec edx
mov dword [ebp + 8], ecx
mov edi, 0x58845c04
mov dword [ebp + 0x14], edx
mov ecx, dword [ecx]
add ecx, ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
je 0x10076f4e
movsx esi, bl
lea ecx, [ecx + 1]
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
mov bl, byte [ecx - 1]
cmova edx, esi
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x10076f20
cmp edi, 0x907bda2f
je 0x10076f5c
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x10076f06
mov eax, dword [eax]
jmp 0x10076ee1
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 8]
push dword [ebp + 0x10]
mov eax, dword [esi + 0x24]
push dword [ebp + 0xc]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
add eax, edx
push ecx
push 0xffffffffffffffff
call eax
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10076fa0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
sub esp, 0x10
mov eax, dword [eax + 0xc]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0xc], ecx
cmp ecx, ebx
je 0x10077038
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10077038
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
nop word [eax + eax]
sub ecx, 4
dec edx
mov dword [ebp - 8], ecx
mov edi, 0xcb56a3a1
mov dword [ebp - 4], edx
mov ecx, dword [ecx]
add ecx, ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
je 0x1007702e
nop word [eax + eax]
movsx esi, bl
lea ecx, [ecx + 1]
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
mov bl, byte [ecx - 1]
cmova edx, esi
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x10077000
cmp edi, 0xd04a3e95
je 0x1007703f
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x10076fe0
mov eax, dword [eax]
jmp 0x10076fb5
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
push 0
mov eax, dword [esi + 0x24]
push dword [ebp + 0x10]
push dword [ebp + 8]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
push dword [ebp + 0xc]
push 0xffffffffffffffff
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10077080
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
sub esp, 0x10
mov eax, dword [eax + 0xc]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0xc], ecx
cmp ecx, ebx
je 0x10077118
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x10077118
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
nop word [eax + eax]
sub ecx, 4
dec edx
mov dword [ebp - 8], ecx
mov edi, 0x50fc9c5d
mov dword [ebp - 4], edx
mov ecx, dword [ecx]
add ecx, ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
je 0x1007710e
nop word [eax + eax]
movsx esi, bl
lea ecx, [ecx + 1]
sub bl, 0x41
mov edx, esi
or edx, 0x20
cmp bl, 0x19
mov bl, byte [ecx - 1]
cmova edx, esi
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x100770e0
cmp edi, 0x1ed0b6ea
je 0x1007711f
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x100770c0
mov eax, dword [eax]
jmp 0x10077095
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
push 0
mov eax, dword [esi + 0x24]
push dword [ebp + 0x10]
push dword [ebp + 8]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
push dword [ebp + 0xc]
push 0xffffffffffffffff
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100774c0
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.10077690
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1007759d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100edc20]
jb 0x1007750a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100edc24]
ja 0x1007750a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100774da
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1007e1f0
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 0x1007752f
jmp 0x1007759d
cmp dword [ebp - 0x14], 0x10000
jne 0x10077583
cmp dword [ebp - 0x18], 0x10000
jb 0x10077583
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 0x10077566
mov eax, dword [ebp - 8]
jmp 0x1007759f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10077576
xor eax, eax
jmp 0x1007759f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10077598
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10077690
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100774da
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100775b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100776c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10077685
mov edx, dword [ebp - 4]
cmp edx, dword [0x100edc20]
jb 0x100775f5
mov eax, dword [ebp - 4]
cmp eax, dword [0x100edc24]
ja 0x100775f5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100775c5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1007e1f0
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 0x1007761a
jmp 0x10077685
cmp dword [ebp - 0x14], 0x10000
jne 0x1007766e
cmp dword [ebp - 0x18], 0x10000
jb 0x1007766e
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 0x10077651
mov eax, dword [ebp - 8]
jmp 0x10077687
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10077661
xor eax, eax
jmp 0x10077687
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10077680
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100776c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100775c5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100776f0
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.10077ae0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100f0ccc], 0
jne 0x1007772d
cmp dword [0x100f0cc8], 0
je 0x1007772d
mov eax, dword [0x100f0cc8]
mov dword [0x100f0ccc], eax
cmp dword [0x100f0ccc], 0
je 0x100777aa
mov ecx, dword [0x100f0ccc]
cmp dword [ecx + 8], 0
je 0x100777aa
mov edx, dword [0x100f0ccc]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100777aa
mov ecx, dword [0x100f0ccc]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100777aa
mov eax, dword [0x100f0ccc]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10077779
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10077780
xor eax, eax
jmp 0x100778c9
mov ecx, dword [0x100f0ccc]
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.1007e1f0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100778c9
mov edx, dword [0x100f0cc8]
mov dword [0x100f0ccc], edx
jmp 0x100777c6
mov eax, dword [0x100f0ccc]
mov ecx, dword [eax + 4]
mov dword [0x100f0ccc], ecx
cmp dword [0x100f0ccc], 0
je 0x10077806
cmp dword [0x100f0ccc], 0
je 0x10077804
mov edx, dword [0x100f0ccc]
cmp dword [edx + 8], 0
je 0x10077804
mov eax, dword [0x100f0ccc]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10077804
mov edx, dword [0x100f0ccc]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10077804
jmp 0x1007775e
jmp 0x100777b8
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.100778d0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100778c7
mov eax, dword [ebp - 0x18]
mov dword [0x100f0ccc], eax
mov ecx, dword [0x100f0ccc]
mov dword [ecx], 0x52727464
mov edx, dword [0x100f0ccc]
mov dword [edx + 8], 0
mov eax, dword [0x100f0ccc]
mov ecx, dword [0x100f0cc8]
mov dword [eax + 4], ecx
mov edx, dword [0x100f0ccc]
mov dword [0x100f0cc8], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100f0ccc]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10077897
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100778b7
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 0x1007788e
mov eax, dword [0x100f0ccc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1007775e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10078610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100f0cc8]
mov dword [ebp - 4], eax
jmp 0x10078629
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10078650
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 0x1007864e
call sub.KERNEL32.dll_GetLastError
jmp 0x10078652
jmp 0x10078620
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10078af0
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 [0x100f0cd8], eax
je 0x10078b14
mov eax, 0x10dd
jmp 0x10078cbc
cmp dword [0x100f0cdc], 0
je 0x10078b27
mov eax, dword [0x100f0cdc]
jmp 0x10078cbc
cmp dword [ebp + 0xc], 0
jne 0x10078b37
mov eax, 0x57
jmp 0x10078cbc
cmp dword [ebp + 8], 0
jne 0x10078b47
mov eax, 6
jmp 0x10078cbc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10078b70
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100f0cdc], ecx
mov edx, dword [ebp + 8]
mov dword [0x100f0ce0], edx
mov eax, dword [ebp - 8]
jmp 0x10078cbc
push 0x18
call fcn.1007c0ad
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10078bcb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100f0cdc], ecx
cmp dword [ebp - 4], 0
je 0x10078bba
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1007c0dd
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100f0ce0], ecx
mov eax, dword [ebp - 8]
jmp 0x10078cbc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10078ad0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10078ad0
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 0x10078c0b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10078c27
mov dword [ebp - 8], 9
cmp dword [0x100f0cd0], 0
je 0x10078c22
jmp 0x10078b99
jmp 0x10078b90
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10078c4e
mov dword [ebp - 8], 9
cmp dword [0x100f0cd0], 0
je 0x10078c49
jmp 0x10078b99
jmp 0x10078b90
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 0x10078c79
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10078b90
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 [0x100f0ce8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100f0ce8], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10078cd0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100f0cd8], eax
je 0x10078ced
mov eax, 0x10dd
jmp 0x10078dd0
mov eax, dword [0x100f0ce8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10078d6c
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 0x10078d48
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10078d48
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10077b70
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.1007c0dd
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10078cf5
mov dword [0x100f0ce8], 0
call fcn.10078450
mov ecx, dword [0x100f0ce4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10078dba
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.1007c0dd
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10078d84
mov dword [0x100f0ce4], 0
mov dword [0x100f0cd8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100792b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100f0cdc], 0
je 0x100792c9
mov eax, dword [0x100f0cdc]
jmp 0x10079368
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100792da
xor eax, eax
jmp 0x10079368
push 8
call fcn.1007c0ad
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10079332
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1007931b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1007c0dd
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100f0cdc], eax
mov dword [0x100f0ce0], 0
mov eax, dword [ebp - 8]
jmp 0x10079368
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1007934a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100792fa
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100f0ce4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100f0ce4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4