joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c998
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4494cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 0x4420d8
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040eb28
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x402787
jmp 0x40285b
push 2
push 0xfffffffffffffffc
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040e7d9
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
push 1
push 4
lea eax, [ebp + 0x14]
push eax
call fcn.00411374
add esp, 0x10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0040113b
lea ecx, [ebp - 0x10]
call fcn.00401131
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x402807
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401064
cmp eax, 0xffffffff
jne 0x4027f8
push 0x442240
call fcn.0040f5db
add esp, 4
jmp 0x402805
push 0x442230
call fcn.0040f5db
add esp, 4
jmp 0x402840
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401082
cmp eax, 0xffffffff
jne 0x402833
push 0x442240
call fcn.0040f5db
add esp, 4
jmp 0x402840
push 0x442230
call fcn.0040f5db
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040e6d6
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401041
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x411aba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4494cc]
jne 0x411ac4
repz ret
jmp fcn.0041f42c

Function at 0x41c0e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41c10d
call fcn.00416b4b
mov dword [eax], esi
call fcn.00416b38
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004128ed
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41c0e9
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c13c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00416b5e
pop ecx
call fcn.00416b38
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41c163
test al, 1
je 0x41c163
test byte [esp + 0xc], 2
je 0x41c163
call fcn.00416b4b
mov dword [eax], 5
call fcn.00416b38
mov dword [eax], 0xd
jmp 0x41c133
xor eax, eax
pop esi
ret
Function at 0x42a6c2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00419942
xor ebx, ebx
cmp dword [0x44b7a0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42a797
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42a702
xor eax, eax
jmp 0x42a85b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x42a6fb
push eax
call fcn.004198df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b7a0], eax
call esi
push eax
call fcn.004198df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b7a4], eax
call esi
push eax
call fcn.004198df
mov dword [0x44b7a8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041bac8
test eax, eax
pop ecx
pop ecx
je 0x42a765
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004127b9
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42a797
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004198df
cmp eax, ebx
pop ecx
mov dword [0x44b7b0], eax
je 0x42a797
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004198df
pop ecx
mov dword [0x44b7ac], eax
mov eax, dword [0x44b7ac]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42a810
cmp dword [0x44b7b0], esi
je 0x42a810
push eax
call fcn.0041994b
pop ecx
call eax
cmp eax, ebx
je 0x42a7dd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44b7b0]
call fcn.0041994b
pop ecx
call eax
test eax, eax
je 0x42a7dd
test byte [ebp - 0x18], 1
jne 0x42a810
lea eax, [ebp - 0xc]
push eax
call fcn.0041bb77
test eax, eax
pop ecx
je 0x42a7f8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004127b9
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42a807
or dword [ebp + 0x10], 0x200000
jmp 0x42a841
or dword [ebp + 0x10], 0x40000
jmp 0x42a841
mov eax, dword [0x44b7a4]
cmp eax, esi
je 0x42a841
push eax
call fcn.0041994b
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42a841
mov eax, dword [0x44b7a8]
cmp eax, esi
je 0x42a841
push dword [ebp - 4]
push eax
call fcn.0041994b
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44b7a0]
call fcn.0041994b
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422970
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x422976
ret

Function at 0x42e774
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e925
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040515c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42e93c
call fcn.00404db8
mov eax, ebx
call fcn.0042084c
mov edi, eax
dec edi
test edi, edi
jl 0x42e82c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00420820
mov edx, dword [0x4348ec]
call fcn.00403e48
test al, al
je 0x42e828
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00420820
lea edx, [ebp - 0x14]
call fcn.0043bf80
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040515c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e2c
inc esi
dec edi
jne 0x42e7da
mov al, byte [0x42e940]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42e94c
mov eax, dword [ebp - 0xc]
call fcn.0040ea08
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404b44
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043bf80
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42e93c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043bf80
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42e93c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42e93c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42e958
call fcn.0040a670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e92c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ad0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ad0
lea eax, [ebp - 0x14]
call fcn.00404aac
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ad0
ret
Function at 0x465788
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x465790
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x465982
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x465998
mov eax, esi
call fcn.00463518
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404b00
lea ecx, [ebp - 0x10]
mov edx, 0x4659ac
mov eax, esi
call fcn.00463518
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404b00
lea ecx, [ebp - 0x14]
mov edx, 0x4659c4
mov eax, esi
call fcn.00463518
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404b00
lea ecx, [ebp - 0x18]
mov edx, 0x4659e0
mov eax, esi
call fcn.00463518
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404b00
lea ecx, [ebp - 0x1c]
mov edx, 0x4659fc
mov eax, esi
call fcn.00463518
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404b00
lea ecx, [ebp - 0x24]
mov edx, 0x465a14
mov eax, esi
call fcn.00463518
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409360
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409740
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x465a2c
mov eax, esi
call fcn.00463518
mov eax, dword [ebp - 0x28]
call fcn.00462630
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x465a3c
mov eax, esi
call fcn.00463518
mov eax, dword [ebp - 0x2c]
call fcn.00462630
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x465a54
mov eax, esi
call fcn.00463518
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409740
inc eax
je 0x465925
lea ecx, [ebp - 0x34]
mov edx, 0x465a54
mov eax, esi
call fcn.00463518
mov eax, dword [ebp - 0x34]
call fcn.00409704
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040af7c
fstp qword [ebp - 0x3c]
wait
call fcn.0040b2e0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x465940
lea ecx, [ebp - 0x40]
mov edx, 0x465a54
mov eax, esi
call fcn.00463518
mov eax, dword [ebp - 0x40]
call fcn.00462630
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x465a64
mov eax, esi
call fcn.00463518
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465989
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404ad0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404ad0
ret
Function at 0x47e8e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
test dl, dl
je 0x47e8f2
add esp, 0xfffffff0
call fcn.00403fe0
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp + 0x1c]
call fcn.0040554c
xor eax, eax
push ebp
push 0x47e99d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403c8c
mov dword [edi + 0x38], esi
lea eax, [edi + 0xc]
mov edx, dword [ebp + 0x1c]
call fcn.0040521c
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov al, byte [ebp + 8]
mov byte [edi + 0x1c], al
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x20], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
push 0
lea eax, [edi + 0x40]
mov ecx, 1
mov edx, dword [0x47b624]
call fcn.00406048
add esp, 4
mov eax, edi
call fcn.0047e734
test al, al
jne 0x47e987
call fcn.0040d4d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e9a4
lea eax, [ebp + 0x1c]
call fcn.004051e0
ret

Function at 0x48256c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48259a
mov eax, ebx
call fcn.00483020
cmp dword [ebx + 0x40], 0
je 0x482593
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48260b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4825fd
cmp dword [ebx + 8], 0
je 0x4825bc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4825ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4825fd
cmp dword [ebx + 8], 0
je 0x4825af
cmp eax, 3
je 0x4825e1
dec eax
jne 0x4825af
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4825af
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4825af
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x482629
cmp dword [ebx + 0x14], 0xcc
je 0x482629
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00482634
pop ebx
ret
Function at 0x4a554c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4a562c
mov eax, dword [ebp - 4]
call fcn.0042924c
call fcn.004246d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jl 0x4a562c
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jl 0x4a5620
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00407630
mov edi, eax
mov eax, edi
call fcn.00407dac
xor ebx, ebx
mov bl, al
imul ebx, dword [ebp - 8]
mov eax, edi
call fcn.00407db0
and eax, 0xff
imul dword [ebp - 0xc]
add ebx, eax
mov eax, edi
call fcn.00407db4
and eax, 0xff
imul dword [ebp + 8]
add ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, dword [ebp + 8]
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, ebx
call fcn.00407d90
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00407720
inc esi
dec dword [ebp - 0x1c]
jne 0x4a55ab
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4a5599
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a5638
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4a5718
mov eax, dword [ebp - 4]
call fcn.0042924c
call fcn.004246d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jl 0x4a5718
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jl 0x4a570c
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00407630
mov edi, eax
mov eax, edi
call fcn.00407dac
xor ebx, ebx
mov bl, al
imul ebx, dword [ebp - 8]
mov eax, edi
call fcn.00407db0
and eax, 0xff
imul dword [ebp - 0xc]
add ebx, eax
mov eax, edi
call fcn.00407db4
and eax, 0xff
imul dword [ebp + 8]
add ebx, eax
mov eax, ebx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
add edx, dword [ebp + 8]
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, ebx
call fcn.00407d90
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00407720
inc esi
dec dword [ebp - 0x1c]
jne 0x4a5697
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4a5685
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x68f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0068f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0068f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0068f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0068f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x68fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x68fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6a187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x68fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x68fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40cb70
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40cd3e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40cb9b
mov eax, 0x7000000
jmp 0x40cba3
test eax, eax
je 0x40cd19
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.0046c640
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x13c1f40]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40cd31
cmp ecx, 0x21
jae 0x40cd25
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00465f30
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.00466000
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xeb3ac8]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xeb3d38]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40ccf4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xeb3fa8]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.0046c720
mov eax, ecx
mov ecx, 0x21
call fcn.0046c800
nop
call fcn.0046b280
jmp fcn.0040cb70
Function at 0x4167f0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416a04
sub esp, 0x18
mov eax, dword [0x14d1298]
test eax, eax
jne 0x4169ed
nop
lea eax, [0x14d1280]
mov dword [esp], eax
call fcn.0040a9c0
mov eax, dword [0x14d1284]
test eax, eax
je 0x416839
cmp dword [eax + 8], 0xcc
jne 0x4168af
mov edx, dword [0x14d1278]
test edx, edx
jne 0x416891
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x14d75d0]
mov dword [esp + 8], eax
call fcn.0040cd50
mov eax, dword [esp + 0xc]
mov dword [0x14d1278], eax
mov ecx, dword [0x14d123c]
mov dword [eax], ecx
mov eax, dword [0x14d1278]
mov dword [0x14d123c], eax
movzx eax, byte [0x14d1cc0]
test al, al
jne 0x416891
xor eax, eax
jmp 0x416999
mov edx, dword [0x14d1278]
mov ebx, dword [edx + 4]
mov dword [0x14d1278], ebx
mov ebx, dword [0x14d1284]
mov dword [edx + 4], ebx
mov dword [0x14d1284], edx
mov edx, dword [0x14d1284]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x416981
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402580
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x14d1790]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41690d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41691a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0046c690
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x14d1790]
test edx, edx
jne 0x416946
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x416967
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0046c690
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0046c690
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0046c690
mov byte [0x14d102a], 1
nop
lea eax, [0x14d1280]
mov dword [esp], eax
call fcn.0040abc0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046c720
lea esi, [0x14d1cc0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x416891
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x4169e3
lea edx, [0x13a9358]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41698b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.0046c710
mov ecx, 5
call fcn.0046c710
lea eax, [0xd65366]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043bb80
nop
call fcn.0046b280
jmp fcn.004167f0
Function at 0x42aa60
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42ab7c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x42aaf5
cmp cl, 2
je 0x42aa9d
cmp cl, 3
jne 0x42ab65
mov byte [eax + 8], 1
jmp 0x42ab61
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004302b0
nop
lea eax, [0x14b5664]
mov dword [esp], eax
call fcn.0040a9c0
nop
mov eax, dword [0x14b5630]
sub eax, dword [0x14b5614]
mov dword [0x14b5630], eax
mov eax, dword [0x14b5620]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x14b5620], ecx
nop
lea eax, [0x14b5664]
mov dword [esp], eax
call fcn.0040abc0
jmp 0x42ab61
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004167f0
nop
lea eax, [0x14b5664]
mov dword [esp], eax
call fcn.0040a9c0
nop
mov eax, dword [0x14b5608]
sub eax, dword [0x14b55ec]
mov dword [0x14b5608], eax
mov eax, dword [0x14b55f8]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x14b55f8], ecx
nop
nop
lea eax, [0x14b5664]
mov dword [esp], eax
call fcn.0040abc0
add esp, 0x14
ret
lea eax, [0xd58da8]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043bb80
nop
call fcn.0046b280
jmp fcn.0042aa60