joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446a50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4eb6a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov ecx, dword [0x519fc8]
mov edi, dword [esi + 0x14f8]
mov eax, dword [edi + 0x3c4]
mov dword [esp + 8], ecx
neg eax
sbb eax, eax
and eax, 0x3c28
add eax, 0x2710
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
sub esp, 8
lea edx, [esp + 0x10]
mov dword [esp + 0x28], 0
fstp qword [esp + 0x18]
fild dword [esp + 0x30]
fdiv qword [esp + 0x18]
fstp qword [esp]
push str._.2lf
push edx
call fcn.004c1b94
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.004c7f90
mov ecx, esi
call fcn.0043dbc0
fild dword [esp + 0x2c]
sub esp, 8
lea ecx, [esp + 0x10]
fdiv qword [esp + 0x18]
fstp qword [esp]
push str._.2lf
push ecx
call fcn.004c1b94
add esp, 0xc
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004c7f90
mov ecx, esi
call fcn.0043dc50
mov eax, dword [edi + 0x1c]
push 0
push 0
push eax
nop
call fcn.00567e65
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.004c821b
mov ecx, dword [esp + 0x18]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 8

Function at 0x447bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb8c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [ecx + 0x5c]
push esi
add eax, 0x1a0
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x10], 0
call fcn.004c8289
mov dword [esp + 0x18], 1
call fcn.004db262
mov ecx, dword [eax + 4]
call fcn.0041ef50
mov ecx, dword [0x519fc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 8]
mov eax, dword [eax + 0xc]
push edx
push eax
lea ecx, [esp + 0xc]
push str._s_s
push ecx
mov byte [esp + 0x28], 2
call fcn.004c1b94
mov esi, dword [esp + 0x30]
add esp, 0x10
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.004c7f90
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.004c821b
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004c821b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x49dc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
test ecx, ecx
jle 0x49dd70
mov eax, dword [ebp + 0x10]
mov ebx, ecx
lea edx, [eax + 0x168]
mov eax, dword [ebp + 0xc]
add eax, 0x78
lea esi, [eax - 0x3c]
lea edi, [edx - 0x168]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
lea edi, [edx - 0xb4]
mov ecx, 0xf
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x3c]
mov edi, edx
mov ecx, 0xf
add eax, 0xf0
add edx, 0x21c
dec ebx
rep movsd dword es:[edi], dword [esi]
jne 0x49dc68
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x49dd70
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
lea ebx, [edx + 0xb4]
cmp byte [ebx - 0xb4], 0x40
jne 0x49dd5b
lea eax, [ebx - 0xb3]
push eax
call fcn.004b04ab
add esp, 4
test eax, eax
jg 0x49dcee
cmp byte [ebx], 0x40
jne 0x49dd5b
lea ecx, [ebx + 1]
push ecx
call fcn.004b04ab
add esp, 4
test eax, eax
jle 0x49dd5b
lea esi, [ebx + 4]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x18]
lea edi, [esi - 0xb4]
push edx
push edi
call fcn.0041e080
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0041e080
fld qword [esp + 0x18]
fmul qword [0x4f4598]
push edi
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [0x4f4598]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
fstp qword [esp + 0x2c]
call fcn.0041e040
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push esi
push eax
push ecx
call fcn.0041e040
mov eax, dword [esp + 0x10]
add esi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x49dcf5
mov eax, dword [esp + 0x14]
add ebx, 0x21c
dec eax
mov dword [esp + 0x14], eax
jne 0x49dcb9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a0810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f00a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov dword [esp + 0x10], 0
call fcn.004db262
mov ecx, dword [eax + 4]
call fcn.0041ef50
mov ecx, dword [0x519fc8]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
mov ecx, dword [edx + 8]
mov edx, dword [eax + 0xc]
push ecx
push edx
lea eax, [esp + 0x10]
push str._s_s
push eax
call fcn.004c1b94
add esp, 0x10
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.004c7f90
push 0x2e
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.004c17ec
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0xc]
call fcn.004c1774
push str..bmp
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x24], 3
push eax
call fcn.004c84b0
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x20], 4
call fcn.004c8354
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.004c821b
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.004c821b
mov esi, dword [esp + 0x24]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004c7f90
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 1
call fcn.004c821b
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.004c821b
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x55c553
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00560ce3
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00560d6b
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00561658
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 2
jne 0x55c5d6
cmp dword [0x56e4c8], 1
jne 0x55c5d6
cmp dword [ebp - 0xc], 0
je 0x55c5d6
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0055c412
add esp, 8
jmp 0x55c5e5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], eax
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 8

Function at 0x55c7d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x55c81b
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x55c841
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x56e09c], ecx
jne 0x55c83f
cmp dword [ebp - 0xc], 0
je 0x55c83d
mov eax, dword [ebp - 0xc]
add dword [eax + 8], 0xa
jmp 0x55c841
jmp 0x55c818
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x55c8e4
mov dword [ebp - 0x18], 0
jmp 0x55c86f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x55c8e4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x56e09c], ecx
jne 0x55c8e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx*4 + 0x56e2b8]
cmp dword [eax*4 + 0x56e1c8], ecx
jb 0x55c8d1
mov eax, dword [ebp - 0x10]
cmp dword [0x56e098], eax
je 0x55c8bf
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x56e18c]
push eax
call fcn.0056141a
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x56e098], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00560f71
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add dword [ecx*4 + 0x56e1c8], eax
jmp 0x55c8e4
jmp 0x55c86c
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14
Function at 0x55c8f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
jmp 0x55c943
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x55c9a5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp dword [eax*4 + 0x56e09c], ecx
jne 0x55c9a3
mov eax, dword [ebp - 0xc]
cmp dword [0x56e098], eax
je 0x55c97d
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x56e18c]
push eax
call fcn.0056141a
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x56e098], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00560fbd
add esp, 8
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x55c9a1
mov eax, dword [ebp - 8]
add dword [eax + 8], 0xa
jmp 0x55c9a5
jmp 0x55c940
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x55c9d3
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00560f71
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14

Function at 0x5616b3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00560ce3
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00560d6b
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.005618e2
add esp, 8
cmp eax, 0xffffffff
je 0x561718
mov dword [ebp - 0x14], 1
jmp 0x56171f
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 2
jne 0x56174f
cmp dword [ebp - 8], 0
je 0x56174f
cmp dword [ebp - 0x14], 0
je 0x56174f
push 0x56ec78
mov eax, dword [ebp - 4]
push eax
call fcn.00561760
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x562f2d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x562f55
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x84]
xor ecx, ecx
sub eax, ecx
je 0x562f89
dec eax
je 0x562f69
dec eax
je 0x562f7b
jmp 0x562f51
cmp dword [ebp - 0x8c], ecx
jne 0x562f75
push 4
jmp 0x562f8b
jbe 0x562f7b
push 5
jmp 0x562f8b
cmp dword [ebp - 0x90], 5
sbb eax, eax
add eax, 7
leave
ret
push 3
pop eax
leave
ret

Function at 0x565b8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0x14], esi
jle 0x565bc1
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
push 4
pop ebx
lea ecx, [eax + esi]
mov eax, esi
cdq
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx + edi]
inc esi
cmp esi, dword [ebp + 0x14]
mov byte [ecx], al
jl 0x565ba2
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x41c6170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2b85000]
push edi
or ebp, 0xffffffff
jmp 0x41c6192
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c6199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c6188
mov eax, 1
add ebx, ebx
jne 0x41c61ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c61bc
jne 0x41c61db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c61db
dec eax
add ebx, ebx
jne 0x41c61c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x41c61a0
add ebx, ebx
jne 0x41c61d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x41c622d
xor ecx, ecx
sub eax, 3
jb 0x41c61f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41c6262
sar eax, 1
mov ebp, eax
jmp 0x41c61fe
add ebx, ebx
jne 0x41c61fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c61cc
inc ecx
add ebx, ebx
jne 0x41c620c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c61cc
add ebx, ebx
jne 0x41c6219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c620e
jne 0x41c622a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c620e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41c624c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c623e
jmp 0x41c618e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c624c
add edi, ecx
jmp 0x41c618e
pop esi
mov edi, esi
mov ecx, 0x87711
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41c626a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41c626f
lea edi, [esi + 0x3dc1000]
mov eax, dword [edi]
or eax, eax
je 0x41c62d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3e3940c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3e39610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41c6295
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3e39618]
or eax, eax
je 0x41c62d1
mov dword [ebx], eax
add ebx, 4
jmp 0x41c62b2
call dword [esi + 0x3e39614]
mov ebp, dword [esi + 0x3e3961c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41c630b
sub esp, 0xffffff80
jmp 0x169e9e8
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x1b417f65
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x13d423e1
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x100012b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100012c4
xor eax, eax
jmp 0x100012df
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1013a736
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100012f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10001304
xor eax, eax
jmp 0x1000131f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1013a86b
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10004be0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [0x101e9968], 0
je 0x10004c01
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x101e9960], 0
je 0x10004c15
mov dword [ebp - 4], 1
jmp 0x10004c4a
cmp dword [0x101e9968], 0
jne 0x10004c2b
call fcn.10004ce0
test eax, eax
jne 0x10004c2b
jmp 0x10004c4a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [section..data]
push ecx
call fcn.10004c90
test eax, eax
jne 0x10004c43
jmp 0x10004c4a
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x10004c7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7f
je 0x10004c6b
cmp dword [ebp - 8], 0x7e
je 0x10004c6b
cmp dword [ebp - 8], 0x78
jne 0x10004c7c
mov dword [0x101e9960], 1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x10005080
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x101e99ac], 0
jne 0x100050c8
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
je 0x100050be
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x101e99a8], eax
mov dword [0x101e99ac], 1
cmp dword [0x101e99a8], 0
je 0x100050ef
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [0x101e99a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100050ef
jmp 0x10005158
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10005147
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
je 0x1000511e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call ecx
mov dword [ebp - 0xc], eax
jmp 0x1000512f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000513f
jmp 0x10005158
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000d610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016cdb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x101e8118]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.100059c0
test eax, eax
je 0x1000d670
push 0x24
push 0x10187d08
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.10005f10
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x1000d670
mov eax, 0xfffffe6f
jmp 0x1000d6ca
push 5
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.100addf0
add esp, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.10005a00
push eax
push 0
push str.clearhist.exe
push 0x10187d30
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x5c]
call edx
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10006030
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000d780
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101e8118]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
call fcn.1000d6e0
test eax, eax
jne 0x1000d7b0
mov eax, 1
jmp 0x1000d903
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 5
lea eax, [ebp - 0x24]
push eax
push 0
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x1000d815
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x1000d80e
lea ecx, [ebp - 0x24]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1000d80c
xor eax, eax
jmp 0x1000d903
jmp 0x1000d815
xor eax, eax
jmp 0x1000d903
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 2
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1000d834
xor eax, eax
jmp 0x1000d903
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1000d846
xor eax, eax
jmp 0x1000d903
mov eax, dword [ebp - 0xc]
call fcn.1013ecc0
mov dword [ebp - 0x2c], esp
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1000d864
xor eax, eax
jmp 0x1000d903
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 2
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1000d884
xor eax, eax
jmp 0x1000d903
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1000d8af
xor eax, eax
jmp 0x1000d903
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x1000d8c8
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jae 0x1000d8f6
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*8 + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1000d8f4
mov dword [ebp - 0x20], 1
jmp 0x1000d8f6
jmp 0x1000d8bf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013a297
mov esp, ebp
pop ebp
ret