joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b33e5
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100b33ef
add dword [esp], 5
retf

Function at 0x100b35ad
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100b35b7
add dword [esp], 5
retf

Function at 0x100b3642
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x100b36c2
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x100b36c2
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x100b36c2
dec edx
lea edi, [ecx + eax]
inc esp
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
test esi, esi
dec esi
lea edx, [ecx + eax]
je 0x100b36c2
movzx ebx, byte [edx]
inc ebp
xor ebx, ebx
inc ebp
mov ecx, dword [edx]
dec ecx
add ecx, ecx
inc ecx
cmp byte [ecx], bl
jne 0x100b36b3
test bl, bl
je 0x100b36c6
dec eax
mov eax, edx
jmp 0x100b369f
inc ebp
test al, al
je 0x100b36c6
dec eax
add eax, 1
dec ecx
mov eax, eax
dec ecx
sub eax, edx
inc edi
movzx eax, byte [eax + ecx]
inc esp
cmp al, byte [eax]
je 0x100b369a
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x100b3686
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x100b36c0
mov edx, dword [edi + 0x24]
dec esi
lea eax, [ecx + ebx*2]
mov eax, dword [edi + 0x1c]
inc ecx
movzx edx, word [eax + edx]
dec eax
lea edx, [ecx + edx*4]
mov eax, dword [edx + eax]
dec eax
add eax, ecx
pop ebx
pop esi
pop edi
ret

Function at 0x100b3745
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x100b3771
add dword [esp], 5
retf

Function at 0x100b3d64
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x100b3d9c
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x100b3d8a
mov al, 1
jmp 0x100b3dfb
cmp dword [ebx + 0x54], ecx
jne 0x100b3d93
mov al, 2
jmp 0x100b3dfb
cmp dword [ebx + 0x7c], ecx
jne 0x100b3dfb
mov al, 3
jmp 0x100b3dfb
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x100b3db1
mov al, 4
jmp 0x100b3dfb
cmp ecx, 5
jne 0x100b3dd1
cmp ebx, 0
jne 0x100b3dbf
mov al, 5
jmp 0x100b3dfb
cmp ebx, 1
jne 0x100b3dc8
mov al, 6
jmp 0x100b3dfb
cmp ebx, 2
jne 0x100b3dd1
mov al, 7
jmp 0x100b3dfb
cmp ecx, 6
jne 0x100b3df9
cmp ebx, 0
jne 0x100b3ddf
mov al, 8
jmp 0x100b3dfb
cmp ebx, 1
jne 0x100b3de6
mov al, 9
cmp ebx, 2
jne 0x100b3ded
mov al, 0xa
cmp ebx, 3
jne 0x100b3df4
mov al, 0xb
cmp ebx, 4
jne 0x100b3dfb
mov al, 0xc
pop ebx
leave
ret

Function at 0x100b3e0c
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100b3e16
add dword [esp], 5
retf
Function at 0x100b72eb
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100b732c
push 0x2b
push 0x4014fb9
push 6
call fcn.1011af52
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100b736a
push 0x59
push 0x4014fb9
push 6
call fcn.1011af52
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100b7372
mov esp, ebp
pop ebp
ret 4

Function at 0x100b8c4b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100b8ca4
push 0x19
push 0x401472c
push 6
call fcn.1011af52
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x1f4
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100b8cd8
push 0x5d
push 0x401472c
push 6
call fcn.1011af52
add esp, 0xc
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100b8d04
push 0x80
push 0x401472c
push 6
call fcn.1011af52
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x100b8d0c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100b8ecd
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CheckRemoteDebuggerPresent]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100b8f0d
push 0
push 0x402542d
push 6
call fcn.1011af52
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100b8f15
mov esp, ebp
pop ebp
ret 4
Function at 0x100c1f55
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100c1f5f
add dword [esp], 5
retf

Function at 0x100c4abc
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x100c4ae8
add dword [esp], 5
retf
Function at 0x100c8189
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x100c81b5
add dword [esp], 5
retf
Function at 0x100ca424
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100ca4f9
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x100ca4f9
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x100ca4f9
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x100ca47f
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x100ca4f9
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100ca4c4
test dl, dl
je 0x100ca4c0
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100ca4c4
add ecx, 2
add eax, 2
test dl, dl
jne 0x100ca4a4
xor eax, eax
jmp 0x100ca4c9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100ca4db
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x100ca4e6
inc esi
cmp esi, ebp
jae 0x100ca4f9
mov edx, dword [esp + 0x10]
jmp 0x100ca49a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x100ca75d
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x100ca768
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x100ca77c
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x100ca780
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x100ca7b9
cmp dword [edi + ecx], 0x4550
jne 0x100ca7b9
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x100ca7b9
test byte [edi + ecx + 0x16], 2
je 0x100ca7b9
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x100ca7be
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x100ca7fa
xor eax, eax
jmp 0x100ca7dd
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x100ca803
inc edx
movzx eax, dx
cmp eax, edi
jl 0x100ca7dd
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x100ca809
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x100ca841
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x100ca84f
add edx, 0x20
cmp eax, edx
jne 0x100ca860
test bx, bx
je 0x100ca895
add esi, 2
add edi, 2
jmp 0x100ca831
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x100ca86e
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x100ca87c
add edx, 0x20
sub ecx, edx
je 0x100ca895
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x100ca82a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x100ca8ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100ca987
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x100ca987
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x100ca987
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x100ca90d
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x100ca987
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100ca952
test dl, dl
je 0x100ca94e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100ca952
add ecx, 2
add eax, 2
test dl, dl
jne 0x100ca932
xor eax, eax
jmp 0x100ca957
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100ca969
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x100ca974
inc esi
cmp esi, ebp
jae 0x100ca987
mov edx, dword [esp + 0x10]
jmp 0x100ca928
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x100ca9a3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
test esi, esi
je 0x100caacb
xor eax, eax
mov word [esp + 0x54], ax
mov byte [esp + 0x38], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x65006b
mov dword [esp + 0x44], 0x6e0072
mov dword [esp + 0x48], 0x6c0065
mov dword [esp + 0x4c], 0x320033
mov dword [esp + 0x50], 0x64002e
mov dword [esp + 0x54], 0x6c006c
mov dword [esp + 0x2c], 0x4d746547
mov dword [esp + 0x30], 0x6c75646f
mov dword [esp + 0x34], 0x6e614865
mov dword [esp + 0x38], 0x41656c64
mov dword [esp + 0x14], 0x65657246
mov dword [esp + 0x18], 0x7262694c
mov dword [esp + 0x1c], 0x797261
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x466c6175
mov dword [esp + 0x28], 0x656572
call fcn.100cac05
add esp, 4
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.100caad7
mov ebp, eax
test ebp, ebp
je 0x100caacb
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.100caad7
mov edi, eax
test edi, edi
je 0x100caacb
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.100caad7
mov ebx, eax
test ebx, ebx
je 0x100caacb
mov ecx, dword [esi + 0x3c]
mov eax, 0x2000
test word [ecx + esi + 0x16], ax
je 0x100caaa7
mov eax, dword [ecx + esi + 0x28]
test eax, eax
je 0x100caaa7
push 0
push 0
push esi
add eax, esi
call eax
push edi
push ebp
push esi
call fcn.100cabb8
add esp, 0xc
push 0x8000
push 0
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x48
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret 4

Function at 0x100caad7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x100cabac
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x100cabac
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x100cabac
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x100cab32
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x100cabac
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100cab77
test dl, dl
je 0x100cab73
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100cab77
add ecx, 2
add eax, 2
test dl, dl
jne 0x100cab57
xor eax, eax
jmp 0x100cab7c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100cab8e
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x100cab99
inc esi
cmp esi, ebp
jae 0x100cabac
mov edx, dword [esp + 0x10]
jmp 0x100cab4d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x100cac05
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x100cac3d
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x100cac4b
add edx, 0x20
cmp eax, edx
jne 0x100cac5c
test bx, bx
je 0x100cac91
add esi, 2
add edi, 2
jmp 0x100cac2d
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x100cac6a
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x100cac78
add edx, 0x20
sub ecx, edx
je 0x100cac91
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x100cac26
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100cb4dc
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.1011af46
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.1011af46
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.1011af46
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x8d4
call fcn.10120660
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x100cb595
mov eax, 0
jmp 0x100cb701
cmp dword [ebp + 0xc], 0
jne 0x100cb5cb
mov dword [ebp - 0x18], esp
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100cb5c8
push 0xa0
push 0x402bd19
push 6
call fcn.1011af52
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x100cb5f3
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100cb5ed
push ebx
call fcn.1011af4c
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_OpenProcessToken]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100cb628
push 0x104
push 0x402bd19
push 6
call fcn.1011af52
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x101a8548
call dword [sym.imp.advapi32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100cb65e
push 0x12e
push 0x402bd19
push 6
call fcn.1011af52
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_AdjustTokenPrivileges]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100cb6fc
push 0x225
push 0x402bd19
push 6
call fcn.1011af52
add esp, 0xc
jmp 0x100cb701
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.1011af4c
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.1011af4c
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.1011af4c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100cc615
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x100cc64d
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x100cc63b
mov al, 1
jmp 0x100cc6ac
cmp dword [ebx + 0x54], ecx
jne 0x100cc644
mov al, 2
jmp 0x100cc6ac
cmp dword [ebx + 0x7c], ecx
jne 0x100cc6ac
mov al, 3
jmp 0x100cc6ac
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x100cc662
mov al, 4
jmp 0x100cc6ac
cmp ecx, 5
jne 0x100cc682
cmp ebx, 0
jne 0x100cc670
mov al, 5
jmp 0x100cc6ac
cmp ebx, 1
jne 0x100cc679
mov al, 6
jmp 0x100cc6ac
cmp ebx, 2
jne 0x100cc682
mov al, 7
jmp 0x100cc6ac
cmp ecx, 6
jne 0x100cc6aa
cmp ebx, 0
jne 0x100cc690
mov al, 8
jmp 0x100cc6ac
cmp ebx, 1
jne 0x100cc697
mov al, 9
cmp ebx, 2
jne 0x100cc69e
mov al, 0xa
cmp ebx, 3
jne 0x100cc6a5
mov al, 0xb
cmp ebx, 4
jne 0x100cc6ac
mov al, 0xc
pop ebx
leave
ret
Function at 0x100d05fa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.1011cf40
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100d063f
push ebx
call fcn.1011af4c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100d0677
push 0x36
push 0x402d2c3
push 6
call fcn.1011af52
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x100d0693
push eax
mov ebx, eax
call fcn.10083a28
inc eax
push eax
call fcn.1011af46
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100d0698
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100d06a9
push ebx
call fcn.1011af4c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x100d1c40
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100d1c4a
add dword [esp], 5
retf

Function at 0x100d9de9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100d9e0e
mov eax, 0x101a8540
push eax
push 1
mov ebx, 0x194
call fcn.1011c320
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 8]
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100d9e62
push 0x3b
push 0x4029260
push 6
call fcn.1011af52
add esp, 0xc
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x100d9e7a
mov eax, 0x101a8540
push eax
push 1
mov ebx, 0x194
call fcn.1011c320
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x100d9eae
add eax, 8
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WriteProcessMemory]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100d9edb
push 0x90
push 0x4029260
push 6
call fcn.1011af52
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100d9ee3
mov esp, ebp
pop ebp
ret 8

Function at 0x100dd22e
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100dd238
add dword [esp], 5
retf

Function at 0x100de097
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x100de0a1
add dword [esp], 5
retf

Function at 0x100e17a9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x100e17d5
add dword [esp], 5
retf
Function at 0x100e2814
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.shlwapi.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x100e284b
push 0x12
push 0x402941c
push 6
call fcn.1011af52
add esp, 0xc
jmp 0x100e2850
mov esp, ebp
pop ebp
ret 4