joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100556e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x9c4], 0
jne 0x100556f1
call fcn.10056b90
mov eax, dword [esi + 0x9c0]
dec dword [esi + 0x9c4]
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret

Function at 0x100557a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x100e3890]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x100557c2
push eax
call fcn.100799fa
add esp, 4
mov dword [0x100e3890], ebx
call fcn.10056d70
push 0x400
call fcn.10079f1f
add esp, 4
mov dword [0x100e3890], eax
xor ecx, ecx
test bl, 1
je 0x100557e0
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x100557eb
or ecx, 0x40
shr eax, 1
test al, 1
je 0x100557f4
or ecx, 0x20
shr eax, 1
test al, 1
je 0x100557fd
or ecx, 0x10
shr eax, 1
test al, 1
je 0x10055806
or ecx, 8
shr eax, 1
test al, 1
je 0x1005580f
or ecx, 4
shr eax, 1
test al, 1
je 0x10055818
or ecx, 2
test al, 2
je 0x1005581f
or ecx, 1
mov eax, dword [0x100e3890]
shl ecx, 0x18
mov dword [eax + ebx*4], ecx
mov edi, 8
cmp dword [0x100e2ec0], 0
je 0x100558ce
push 0x100e2ec8
call fcn.10056b50
cmp dword [0x100e388c], 0
jne 0x10055859
mov esi, 0x100e2ec8
call fcn.10056b90
mov ecx, dword [0x100e3888]
dec dword [0x100e388c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x100e3888], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
and ecx, 0xff
lea edx, [ecx - 1]
cmp edx, 0xfe
ja 0x100558b3
mov eax, dword [0x100e2ec0]
mov ecx, dword [eax + ecx*4]
jmp 0x100558d0
and ecx, 0x800000ff
jns 0x100558c3
dec ecx
or ecx, 0xffffff00
inc ecx
mov edx, dword [0x100e2ec0]
mov ecx, dword [edx + ecx*4]
jmp 0x100558d0
xor ecx, ecx
mov edx, dword [0x100e3890]
mov eax, dword [edx + ebx*4]
mov esi, eax
and esi, 0x80000000
neg esi
sbb esi, esi
and esi, ecx
add eax, eax
xor esi, eax
sub edi, 1
mov dword [edx + ebx*4], esi
jne 0x1005582f
mov esi, dword [0x100e3890]
mov eax, dword [esi + ebx*4]
xor edx, edx
lea ecx, [edi + 0x1f]
test al, 1
je 0x10055912
mov edi, 1
shl edi, cl
or edx, edi
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10055905
mov dword [esi + ebx*4], edx
inc ebx
cmp ebx, 0x100
jl 0x100557d4
pop edi
pop esi
pop ebx
ret
Function at 0x10055a80
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
mov esi, dword [esp + 0x54]
mov dword [esp + 4], ecx
test esi, esi
je 0x10055abc
cmp dword [esp + 0x58], 0
je 0x10055abc
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10055abc
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10055abc
cmp dword [eax + esi], 0x4550
je 0x10055ad0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10079a05
add esp, 0x4c
ret 8
push ebp
mov ebp, dword [eax + esi + 0x78]
test ebp, ebp
je 0x10055c2b
mov eax, dword [eax + esi + 0x7c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10055c2b
push ebx
mov ebx, dword [esi + ebp + 0x20]
push edi
xor edi, edi
add ebx, esi
cmp dword [esi + ebp + 0x18], edi
jbe 0x10055b1f
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + edi*4]
add eax, 0x18
add ecx, esi
push eax
call fcn.10055460
cmp eax, dword [esp + 0x64]
je 0x10055b36
inc edi
cmp edi, dword [esi + ebp + 0x18]
jb 0x10055b00
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10079a05
add esp, 0x4c
ret 8
mov ecx, dword [esi + ebp + 0x24]
lea edx, [ecx + edi*2]
movzx eax, word [edx + esi]
mov ecx, dword [esi + ebp + 0x1c]
lea edx, [ecx + eax*4]
mov eax, dword [edx + esi]
cmp eax, ebp
jbe 0x10055c14
mov ecx, dword [esp + 0x14]
add ecx, ebp
cmp eax, ecx
jae 0x10055c14
mov edx, dword [0x100e3898]
xor edx, dword [0x100e3894]
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0x20]
lea ebx, [edx + ecx]
test ebx, ebx
je 0x10055c14
push 0x3f
lea edx, [esp + 0x1d]
push 0
push edx
lea edi, [esi + eax]
mov byte [esp + 0x24], 0
call fcn.1007dcf0
mov cl, byte [edi]
lea edx, [esp + 0x24]
add esp, 0xc
mov eax, edi
sub edx, edi
mov byte [edx + eax], cl
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x2e
jne 0x10055ba2
lea eax, [esp + 0x18]
push eax
call ebx
mov ebx, eax
cmp ebx, esi
jne 0x10055bd2
mov eax, edi
pop edi
pop ebx
pop ebp
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10079a05
add esp, 0x4c
ret 8
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10055be0
sub eax, edx
lea ecx, [eax + edi + 1]
lea eax, [ebp + 0x18]
push eax
call fcn.10055460
push eax
push ebx
mov ecx, ebp
call fcn.10055a80
pop edi
pop ebx
pop ebp
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10079a05
add esp, 0x4c
ret 8
pop edi
pop ebx
pop ebp
add eax, esi
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10079a05
add esp, 0x4c
ret 8
mov ecx, dword [esp + 0x50]
pop ebp
pop esi
xor ecx, esp
xor eax, eax
call fcn.10079a05
add esp, 0x4c
ret 8
Function at 0x10056b10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [edx]
push esi
mov esi, eax
push edi
mov ecx, 1
mov dword [esi], edx
lea ecx, [ecx]
mov edx, dword [eax]
mov edi, edx
shr edi, 0x1e
xor edi, edx
imul edi, edi, 0x6c078965
add edi, ecx
mov dword [eax + 4], edi
inc ecx
add eax, 4
cmp ecx, 0x270
jl 0x10056b20
call fcn.10056b90
pop edi
pop esi
ret

Function at 0x10056b90
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, esi
mov edx, 0xe3
push edi
mov ecx, dword [eax]
mov edi, dword [eax + 4]
xor edi, ecx
and edi, 0x7ffffffe
xor edi, ecx
and ecx, 1
neg ecx
shr edi, 1
and ecx, 0x9908b0df
xor edi, ecx
xor edi, dword [eax + 0x634]
dec edx
mov dword [eax], edi
add eax, 4
test edx, edx
jne 0x10056b98
mov edx, 0x18c
jmp 0x10056bd0
mov ecx, dword [eax]
mov edi, dword [eax + 4]
xor edi, ecx
and edi, 0x7ffffffe
xor edi, ecx
and ecx, 1
neg ecx
shr edi, 1
and ecx, 0x9908b0df
xor edi, ecx
xor edi, dword [eax - 0x38c]
add eax, 4
sub edx, 1
mov dword [eax - 4], edi
jne 0x10056bd0
mov ecx, dword [eax]
mov edx, dword [esi]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, ecx
and ecx, 1
neg ecx
shr edx, 1
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax - 0x38c]
pop edi
mov dword [eax], edx
mov dword [esi + 0x9c4], 0x270
mov dword [esi + 0x9c0], esi
ret

Function at 0x10056ce0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
push 0x100e2ec8
call fcn.10056b50
cmp dword [0x100e388c], 0
jne 0x10056cfe
mov esi, 0x100e2ec8
call fcn.10056b90
mov ecx, dword [0x100e3888]
dec dword [0x100e388c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x100e3888], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
and ecx, 0xff
lea edx, [ecx - 1]
cmp edx, 0xfe
jbe 0x10056d5e
and ecx, 0x800000ff
jns 0x10056d5e
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ecx*4 + 0x100d7400]
pop esi
ret
Function at 0x10056d70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x100e2ec0]
push ebx
push esi
push edi
test eax, eax
je 0x10056d8f
push eax
call fcn.100799fa
add esp, 4
mov dword [0x100e2ec0], 0
push 0x400
call fcn.10079f1f
add esp, 4
mov dword [0x100e2ec0], eax
xor ebx, ebx
xor ecx, ecx
test bl, 1
je 0x10056daf
mov ecx, 0x80
mov eax, ebx
shr eax, 1
test al, 1
je 0x10056dba
or ecx, 0x40
shr eax, 1
test al, 1
je 0x10056dc3
or ecx, 0x20
shr eax, 1
test al, 1
je 0x10056dcc
or ecx, 0x10
shr eax, 1
test al, 1
je 0x10056dd5
or ecx, 8
shr eax, 1
test al, 1
je 0x10056dde
or ecx, 4
shr eax, 1
test al, 1
je 0x10056de7
or ecx, 2
test al, 2
je 0x10056dee
or ecx, 1
mov eax, dword [0x100e2ec0]
shl ecx, 0x18
mov dword [eax + ebx*4], ecx
mov esi, 8
mov edi, edi
call fcn.10056ce0
mov edx, dword [0x100e2ec0]
mov ecx, dword [edx + ebx*4]
mov edi, ecx
and edi, 0x80000000
neg edi
sbb edi, edi
and edi, eax
add ecx, ecx
xor edi, ecx
sub esi, 1
mov dword [edx + ebx*4], edi
jne 0x10056e00
mov esi, dword [0x100e2ec0]
mov eax, dword [esi + ebx*4]
xor edx, edx
lea ecx, [edx + 0x1f]
test al, 1
je 0x10056e43
mov edi, 1
shl edi, cl
or edx, edi
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10056e36
mov dword [esi + ebx*4], edx
inc ebx
cmp ebx, 0x100
jl 0x10056da3
pop edi
pop esi
pop ebx
ret

Function at 0x10056e60
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push esi
push edi
call fcn.100557a0
mov eax, dword [0x100e3890]
mov edi, 0x100e3894
test eax, eax
je 0x10056f0b
push 0x100e24f8
call fcn.10056b50
cmp dword [0x100e2ebc], 0
jne 0x10056e97
mov esi, 0x100e24f8
call fcn.10056b90
mov ecx, dword [0x100e2eb8]
dec dword [0x100e2ebc]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x100e2eb8], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
and ecx, 0xff
lea edx, [ecx - 1]
cmp edx, 0xfe
ja 0x10056ef1
mov eax, dword [0x100e3890]
mov ecx, dword [eax + ecx*4]
jmp 0x10056f0d
and ecx, 0x800000ff
jns 0x10056f01
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [0x100e3890]
mov ecx, dword [eax + ecx*4]
jmp 0x10056f0d
xor ecx, ecx
mov dword [edi], ecx
add edi, 4
cmp edi, 0x100e38a4
jl 0x10056e72
pop edi
pop esi
pop ecx
ret

Function at 0x10057000
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, eax
test edi, edi
je 0x1005705d
test esi, esi
je 0x1005705d
lea eax, [esi + 1]
push 0x100da440
push eax
call fcn.10079cfe
add esp, 8
mov dword [ebp], eax
test eax, eax
je 0x1005705d
xor eax, eax
test esi, esi
jle 0x10057056
sub edi, dword [esp + 0x18]
mov cl, byte [edi + eax]
mov edx, dword [ebp]
xor cl, bl
mov byte [eax + edx], cl
mov ecx, eax
xor ecx, 0x2a
add ecx, ebx
and ecx, 0xff
inc eax
cmp eax, esi
mov ebx, ecx
jl 0x10057037
mov edx, dword [ebp]
mov byte [esi + edx], 0
pop edi
pop ebp
pop ebx
ret 0xc
Function at 0x10057070
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
test ebx, ebx
je 0x100570ed
test edi, edi
je 0x100570ed
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
push 0x100da440
neg ecx
or ecx, eax
push ecx
call fcn.10079cfe
add esp, 8
mov dword [ebp + 4], eax
test eax, eax
je 0x100570ed
xor eax, eax
test edi, edi
jle 0x100570e4
mov ecx, dword [esp + 0x18]
lea edx, [ecx + ecx]
sub ebx, edx
mov ecx, ebx
mov edi, edi
mov dx, word [ecx]
mov ebx, dword [ebp + 4]
xor dx, si
mov word [ebx + eax*2], dx
mov edx, eax
xor edx, 0x2a
add edx, esi
and edx, 0xff
inc eax
add ecx, 2
cmp eax, edi
mov esi, edx
jl 0x100570c0
mov eax, dword [ebp + 4]
xor ecx, ecx
mov word [eax + edi*2], cx
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x1005b440
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0x3c
push esi
xor esi, esi
push edi
cmp dword [0x100daf34], esi
jne 0x1005b45f
xor eax, eax
xor edx, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, esi
lea eax, [ebp + 0x14]
jle 0x1005b47b
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp + 0x18]
dec ecx
mov dword [ebp + 0x10], ecx
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x28], edx
jmp 0x1005b481
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
cmp ecx, esi
jle 0x1005b49a
dec ecx
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x24], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x20], edx
jmp 0x1005b4a0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ecx, esi
jle 0x1005b4b9
dec ecx
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x18], edx
jmp 0x1005b4bf
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
cmp ecx, esi
jle 0x1005b4d8
dec ecx
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x14], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x10], edx
jmp 0x1005b4de
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
cdq
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], esi
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x1005b504
add dword [esp], 5
retf

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
push esi
push edi
je 0x1005b5ff
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test eax, eax
jne 0x1005b5ac
test ecx, ecx
je 0x1005b5ff
cmp dword [ebp + 0x14], 0
je 0x1005b5ff
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0x33
call fcn.1005b5bf
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
push esi
push edi
mov dword [ebp - 8], 0x17
mov dword [ebp - 0xc], str.LdrGetProcedureAddress
cmp eax, str.LdrGetProcedureAddress
je 0x1005b6a1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x1005b63d
test ecx, ecx
je 0x1005b6a1
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
push 0x33
call fcn.1005b64e
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005b6b0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100924b8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c4
push ebx
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
cmp dword [0x100daf34], edx
je 0x1005b985
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
push 0x33
call 0x1005b6f6
add dword [esp], 5
retf
xor eax, eax
xor edx, edx
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 0x1006a7f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push edi
xor edi, edi
cmp dword [0x100e168c], 0x200
jae 0x1006a90c
mov ecx, dword [esp + 0x48]
push esi
lea esi, [ecx + eax]
cmp esi, 0x80000000
jae 0x1006a81b
lea esi, [edi + 1]
jmp 0x1006a821
sub esi, 0x7fff0000
mov edx, dword [esp + 0x54]
push ebp
lea ebp, [edx + eax]
cmp ebp, 0x80000000
jae 0x1006a839
add ebp, 0x7ff80000
jmp 0x1006a83e
mov ebp, 0xfff80000
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, ebp
jae 0x1006a90a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, edi
push 0x1c
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1006a8d9
cmp dword [esp + 0x20], 0x10000
jne 0x1006a8ca
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x1006a8ce
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x1006a8ce
lea eax, [ecx + esi - 1]
xor edx, edx
div ecx
push 0x20
push 0x3000
push 0x6c
imul eax, ecx
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x1006a8dd
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
lea esi, [edx + eax]
cmp esi, ebp
jb 0x1006a880
test edi, edi
je 0x1006a909
xor eax, eax
nop
cmp dword [eax*4 + 0x100daf58], 0
je 0x1006a8fc
inc eax
cmp eax, 0x200
jb 0x1006a8e0
pop ebx
pop ebp
pop esi
mov eax, edi
pop edi
add esp, 0x40
ret
inc dword [0x100e168c]
mov dword [eax*4 + 0x100daf58], edi
pop ebx
pop ebp
pop esi
mov eax, edi
pop edi
add esp, 0x40
ret
Function at 0x1006a960
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 0x2d0
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x2cc], eax
mov eax, dword [esp + 0x2d4]
push esi
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x1006aa28
test esi, esi
je 0x1006aa28
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1006aa49
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetThreadContext]
push edi
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x10001
xor edi, edi
call ebp
test eax, eax
je 0x1006aa68
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1006a9e0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x2e8]
cmp eax, ecx
jb 0x1006aa23
mov edx, dword [esp + 0x2ec]
add ecx, edx
cmp eax, ecx
jae 0x1006aa23
push esi
call ebx
cmp edi, 3
jge 0x1006aa3e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [esp + 0x10]
push eax
push esi
inc edi
call ebp
test eax, eax
jne 0x1006a9e0
mov eax, esi
pop ebx
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.10079a05
add esp, 0x2d0
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1006aa25
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.10079a05
add esp, 0x2d0
ret
mov ecx, dword [esp + 0x2d8]
pop edi
pop ebp
mov eax, esi
pop esi
xor ecx, esp
call fcn.10079a05
add esp, 0x2d0
ret

Function at 0x1006aa90
Capabilities:
Resume thread

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [esp + 0xc], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x100e1694], esi
jbe 0x1006aaf2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
mov eax, dword [0x100e1690]
mov ecx, dword [eax + esi*4]
push ecx
call ebx
mov edx, dword [0x100e1690]
mov eax, dword [edx + esi*4]
push eax
call ebp
inc esi
cmp esi, dword [0x100e1694]
jb 0x1006aad0
pop ebp
pop ebx
mov ecx, dword [0x100e1690]
push ecx
call fcn.10079c70
mov edx, dword [esp + 0xc]
add esp, 4
xor eax, eax
push edx
mov dword [0x100e1690], eax
mov dword [0x100e1694], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ecx
ret
Function at 0x1006b6b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x56c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x568], eax
mov eax, dword [esp + 0x570]
push ebx
mov ebx, dword [esp + 0x578]
push ebp
push esi
push edi
push 0x11c
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x1c], eax
call fcn.1007dcf0
push 0x11c
push 0
push ebx
mov dword [esp + 0x64], 0x11c
call fcn.1007dcf0
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jne 0x1006b75c
push str.IsWow64Process
push 0x100a0e5c
call ebp
push eax
call edi
mov esi, eax
mov dword [esp + 0x14], 0
test esi, esi
je 0x1006b75c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x1006b75c
cmp dword [esp + 0x14], 0
jne 0x1006b823
push str.RtlGetVersion
push str.ntdll
call ebp
push eax
call edi
test eax, eax
je 0x1006b776
lea ecx, [esp + 0x4c]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x1006b7a3
mov ecx, 0x47
lea esi, [esp + 0x4c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x172]
push ecx
mov word [esp + 0x174], ax
call fcn.1007dcf0
add esp, 0xc
lea esi, [esp + 0x168]
call fcn.1006b5f0
test eax, eax
jl 0x1006b823
lea edx, [esp + 0x18]
push edx
mov eax, esi
call fcn.1006b850
test eax, eax
je 0x1006b823
mov ecx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x1006b816
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x1006b82e
mov edx, dword [esp + 0x10]
mov dword [edx + 4], 0
jmp 0x1006b82e
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x578]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10079a05
add esp, 0x56c
ret 8
Function at 0x1006b850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x1006b8ce
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1006b8c7
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1006b8c6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1006b8bf
push ebp
call fcn.10079b72
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1006b8bf
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push ebx
call fcn.10081350
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x1006b912
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x1009f590
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1006b909
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.10079c70
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 4

Function at 0x1006c160
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x202
push 0
push str.SOFTWARE360SafeLiveup
push connect
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006c1d5
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
mov edi, dword [esp + 8]
test esi, esi
jne 0x1006c19e
lea eax, [esi + 0xd]
jmp 0x1006c1bb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push 0x100a530c
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
test edi, edi
je 0x1006c1cf
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret