joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100614a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100f3b80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x10117048]
push ebp
push esi
push eax
push 1
lea ecx, [esp + 0x10]
push 4
push ecx
call fcn.100dfd38
mov edx, dword [0x10117048]
mov esi, dword [0x10117028]
or ebp, 0xffffffff
push edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
call fcn.100dffc7
mov ecx, dword [esi - 4]
add esp, 0x14
sub ecx, eax
mov dword [esp + 0x18], ecx
je 0x100616bb
mov edx, dword [esp + 8]
push ebx
push edi
xor ebx, ebx
lea eax, [edx*4]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x40]
push ecx
call fcn.10061390
mov edx, dword [0x10117048]
lea eax, [esp + 0x30]
push edx
push 1
push 0x10
push eax
mov dword [esp + 0x88], ebx
call fcn.100dfd38
mov ecx, dword [0x10117048]
lea edx, [esp + 0x28]
push ecx
push 1
push 4
push edx
call fcn.100dfd38
mov eax, dword [0x10117048]
lea ecx, [esp + 0x3c]
push eax
push 1
push 4
push ecx
call fcn.100dfd38
mov edx, dword [0x10117048]
lea eax, [esp + 0x50]
push edx
push 1
push 4
push eax
call fcn.100dfd38
mov ecx, dword [0x10117048]
mov edx, dword [esp + 0x54]
add esp, 0x40
lea eax, [esp + 0x50]
push ecx
push 1
push edx
push eax
call fcn.100dfd38
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.10069060
fld dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
fstp dword [esp + 0x28]
fld dword [esp + 0x38]
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
push ecx
lea ecx, [esp + 0x14]
fstp dword [esp + 0x30]
call fcn.10069660
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x3c]
push edx
call fcn.10069680
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x18]
push eax
call fcn.100696e0
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100696f0
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x20]
push edx
call fcn.10069710
xor esi, esi
lea edi, [esp + 0x50]
mov eax, dword [edi]
cmp eax, ebx
jl 0x10061637
mov ecx, dword [0x1011703c]
push ebx
lea edx, [ecx + eax*4]
lea ecx, [esp + 0x14]
push edx
push esi
call fcn.10069730
inc esi
add edi, 4
cmp esi, 8
jl 0x1006161c
mov ecx, dword [0x10117018]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
mov ecx, 0x10117010
call fcn.1005a670
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call fcn.10069450
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ebp
cmp ecx, ebx
je 0x1006168d
mov al, byte [ecx - 1]
cmp al, bl
je 0x10061683
cmp al, 0xff
je 0x10061683
dec al
mov byte [ecx - 1], al
jmp 0x1006168d
dec ecx
push ecx
call fcn.100d0293
add esp, 4
mov edx, dword [0x10117048]
mov esi, dword [0x10117028]
push edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.100dffc7
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x10061528
pop edi
pop ebx
mov ecx, dword [esp + 0x68]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x10071490
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100f4458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebp, ecx
sub eax, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
push ecx
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x30], ebp
call fcn.10086f90
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x10071689
mov edx, dword [ebp + 0x28]
sub edx, eax
mov eax, dword [esp + 0x10]
sar edx, 2
cmp eax, edx
jae 0x10071689
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esi + eax + 4]
push edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.1007b500
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], 0
add esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, eax
mov edi, eax
sar edx, 2
cmp edx, 1
jae 0x100715f8
mov edx, dword [esi + 4]
test edx, edx
je 0x10071555
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x1007155a
mov ecx, 1
test edx, edx
jne 0x10071562
xor eax, eax
jmp 0x10071567
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x20], eax
jge 0x10071573
xor eax, eax
shl eax, 2
push eax
call fcn.100ddb25
mov ecx, dword [esi + 4]
add esp, 4
mov dword [esp + 0x1c], eax
push eax
push edi
push ecx
mov ecx, esi
call fcn.10072290
mov ebp, eax
push ebx
push 1
push ebp
mov ecx, esi
call fcn.100729f0
mov edx, dword [esi + 8]
add ebp, 4
push ebp
push edx
push edi
mov ecx, esi
call fcn.10072290
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x100715c7
push 0
mov ecx, edi
call fcn.10072ed0
add edi, 4
cmp edi, ebx
jne 0x100715b7
mov eax, dword [esi + 4]
push eax
call fcn.100d0293
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 4
lea ecx, [edi + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.10025b50
mov ebp, dword [esp + 0x24]
lea edx, [edi + eax*4 + 4]
mov dword [esi + 8], edx
mov dword [esi + 4], edi
jmp 0x1007165d
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x10071633
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.10072290
mov eax, dword [esi + 8]
mov edx, 1
mov ecx, eax
push ebx
sub ecx, edi
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.100729f0
mov eax, dword [esi + 8]
push ebx
push eax
jmp 0x10071653
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.10072290
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.10072a50
lea ecx, [edi + 4]
push ebx
push ecx
push edi
call fcn.10072a20
add dword [esi + 8], 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
call fcn.1007b7b0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x64
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x100714dc
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x1009ed80
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
cmp ecx, 0xc
jb 0x1009ee3a
mov eax, dword [esp + 8]
cmp byte [eax], 0x41
jne 0x1009ee3a
cmp byte [eax + 1], 0x64
jne 0x1009ee3a
cmp byte [eax + 2], 0x6f
jne 0x1009ee3a
cmp byte [eax + 3], 0x62
jne 0x1009ee3a
cmp byte [eax + 4], 0x65
jne 0x1009ee3a
push ebx
xor ecx, ecx
mov cl, byte [eax + 7]
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dl, byte [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 9]
mov esi, dword [esp + 0x14]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 0xb]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [eax + 5]
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], edi
shl edx, 8
add ecx, 0x18
add edx, ebx
mov ebx, dword [esp + 0x1c]
push 1
mov dword [ecx], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x4c
mov ecx, dword [esi]
call dword [ecx + 4]
add esp, 8
mov byte [esi + 0x108], 1
mov byte [esi + 0x109], bl
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 4]
push 1
push eax
mov edx, dword [eax]
mov dword [edx + 0x14], 0x4e
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x511008], 0x8088405
inc edx
mov dword [ebx + 0x511008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d2ec
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d31d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d305
add dl, dl
jne 0x41d328
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d379
xor eax, eax
add dl, dl
jne 0x41d335
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d416
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d35a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d365
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d36f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d314
mov eax, 1
add dl, dl
jne 0x41d387
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d392
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d37e
sub eax, ebx
mov ebx, 1
jne 0x41d3c5
mov ecx, 1
add dl, dl
jne 0x41d3ab
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3b6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3a2
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d3dc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3e7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3d3
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d437
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d314
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f504
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4f49f2
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f553
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
jmp 0x41f572
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f5e4
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f5cd
test esi, esi
jbe 0x41f5e4
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f5bf
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f5e4
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f59c
jmp 0x41f5e4
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f5e4
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f49f9
ret
Function at 0x420750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x4f5d6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x42078b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4207a4
lea eax, [ebp - 0x10]
mov edx, dword [0x51373c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x4207b7
lea eax, [ebp - 0x10]
mov edx, dword [0x51373c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4207c3
adc edx, 0
mov edx, dword [edx*4 + 0x512538]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42093d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420930
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420930
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4208ce
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4208ce
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4208ce
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4208ce
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420930
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420930
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420955
inc ebx
cmp ebx, 0x19
jne 0x42077d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5d72
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401469
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4014a6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4014a2
nop word [eax + eax]
cmp esi, edx
jae 0x4014a6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x401490
cmp esi, edx
jb 0x4014ad
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401ba0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x15
xor ebx, ebx
mov ecx, 0x4278ec
push str.CortexLauncherService
mov dword [ebp - 8], ebx
call fcn.004023f0
call fcn.00401d60
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edx, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], eax
test eax, eax
je 0x401c26
push 0xf01ff
push dword [0x4278ec]
push eax
call edx
mov esi, eax
test esi, esi
je 0x401c07
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov dword [ebp - 8], eax
call edi
jmp 0x401c1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
mov ecx, 1
cmove ebx, ecx
mov dword [ebp - 8], ebx
mov edx, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov eax, dword [ebp - 4]
mov esi, 0xa
nop dword [eax + eax]
push 0xf01ff
push dword [0x4278ec]
push eax
call edx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x401c69
push ebx
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
mov edx, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
sub esi, 1
jne 0x401c30
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401c80
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, 0x4278ec
push ebx
push esi
push 0x15
push str.CortexLauncherService
mov ebx, edx
mov dword [ebp - 0x24], eax
xor esi, esi
call fcn.004023f0
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x401d4e
push edi
push 0xf01ff
push dword [0x4278ec]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x401d44
push dword [ebp - 0x24]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x401d2a
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x401d3d
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
test eax, eax
je 0x401d23
push eax
call ebx
cmp dword [ebp - 0x1c], 4
je 0x401d23
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x401d02
jmp 0x401d3d
mov esi, 1
jmp 0x401d3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
mov ecx, 1
cmove esi, ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404c0b
mov esp, ebp
pop ebp
ret
Function at 0x401d60
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x15
push str.CortexLauncherService
mov ecx, 0x4278ec
xor esi, esi
call fcn.004023f0
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x401e30
push edi
push 0xf01ff
push dword [0x4278ec]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x401e28
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401e0e
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x401e21
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [ebp - 8]
test eax, eax
je 0x401e04
push eax
call ebx
cmp dword [ebp - 0x1c], 1
je 0x401e04
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x401de0
mov ebx, dword [ebp - 0x24]
jmp 0x401e21
mov ebx, dword [ebp - 0x24]
mov esi, 1
jmp 0x401e21
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
mov ecx, 1
cmove esi, ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404c0b
mov esp, ebp
pop ebp
ret

Function at 0x40afe5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x47], 0xa7
call fcn.0040ad4a
or dword [edx], 0x458d5a23
test al, 0x50
call fcn.0040ad5a
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0040ad0f
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40b038
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040ad4a
sbb edx, dword [edi + 0x458d06d1]
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x40b1cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or byte [eax - 0x8363], 0xff
invalid
popfd
jge 0x40b1d5
Function at 0x40b46a
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40b421
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40b43f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40b49d
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
jge 0x40b47c
and edx, 0x20000000
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40b484
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40b48d
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40b497
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40b479
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40b403
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x40b470
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40b421
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40b43f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40b49d
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
jge 0x40b47c
and edx, 0x20000000
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40b484
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40b48d
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40b497
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40b479
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40b403
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x40b570
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dh, al
test dword [esi - 0x25000004], ebp
invalid
fiadd dword [eax - 0x3505b]
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
invalid
invalid