joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4de588
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40d318]
call fcn.00408194
xor eax, eax
push ebp
push 0x4de6d2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x58c99c], 0
jne 0x4de5dc
mov ecx, dword [0x58ec64]
mov dl, 1
mov eax, dword [0x40e918]
call fcn.0041a4dc
call fcn.00405fb0
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404c08
mov eax, ebx
call fcn.004071c4
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4de6e0
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040a4f0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4de623
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4de678
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4de671
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407674
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.0040760c
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00413940
test eax, eax
jne 0x4de671
mov ebx, 0x15
jmp 0x4de67d
mov ebx, 0x10
jmp 0x4de67d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x58c99c]
call fcn.004de3f4
mov eax, dword [ebp - 4]
call fcn.004de3f4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040a508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de6d9
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004073f4
lea eax, [ebp - 0xc]
mov edx, dword [0x40d318]
call fcn.0040826c
ret
Function at 0x4e34ec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4e3504
add esp, 0xfffffff0
call fcn.00405a0c
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4e361e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.0040428c
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4e3608
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004de3f4
xor eax, eax
push ebp
push 0x4e35f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004de3f4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00407674
jmp 0x4e35c6
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407cbc
mov eax, dword [ebx + 4]
call fcn.0040777c
dec eax
jle 0x4e35da
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4e35b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e35fc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3625
lea eax, [ebp - 4]
call fcn.00406ff8
ret

Function at 0x500090
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x595384
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x5000b2
shr eax, 1
xor eax, 0xedb88320
jmp 0x5000b4
shr eax, 1
dec edx
jne 0x5000a0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x500099
mov byte [0x595784], 1
pop esi
pop ebx
ret

Function at 0x5000d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x595784], 0
jne 0x5000e7
call fcn.00500090
mov eax, edi
dec eax
test eax, eax
jl 0x50010f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x595384]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5000f1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x502eb8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x502f52.0
jmp dword [ecx*4 + 0x502eeb]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x502f1d
sub dl, 8
je 0x502f2c
jmp case.0x502f52.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502b60
jmp case.0x502f52.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502bb8
jmp case.0x502f52.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x502f52.0
movzx ecx, byte [ecx + 0x502f59]
jmp dword [ecx*4 + 0x502f6a]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502c64
jmp case.0x502f52.0
cmp dl, 3
jne 0x502f97
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502cbc
jmp case.0x502f52.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502c78
jmp case.0x502f52.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502d00
jmp case.0x502f52.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x502fc2
sub dl, 8
je 0x502fce
jmp case.0x502f52.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502d2c
jmp case.0x502f52.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502d98
jmp case.0x502f52.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x502fed
sub dl, 8
je 0x502ff9
jmp case.0x502f52.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502e54
jmp case.0x502f52.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x502e7c
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x50309b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00502064
test eax, eax
je 0x50309b
mov eax, ebx
call fcn.005030a4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x503034
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5030a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5030d5
dec al
je 0x503110
dec al
je 0x503155
dec al
je 0x5031be
jmp 0x503248
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x503248
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5030e5
jmp 0x503248
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x503248
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x503120
jmp 0x503248
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x503248
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x503184
xor ebp, ebp
jmp 0x503194
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x50319d
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x503165
jmp 0x503248
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x503248
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x503217
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00500118
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5031d2
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5095ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x509640
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
push eax
push 0
push 0
push 0x801c
push 0
call sub.shell32.dll_SHGetFolderPathW
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.0040760c
cmp dword [ebp - 0x210], 0
jne 0x509615
mov ecx, 0x509658
mov dl, 1
mov eax, dword [0x40e918]
call fcn.0041a3a8
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.0040760c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509647
lea eax, [ebp - 0x210]
call fcn.004073ec
ret
Function at 0x57c0e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x57c239
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
xor edx, edx
mov eax, 2
call fcn.004ddd78
mov esi, eax
cmp esi, 0xffffffff
je 0x57c21e
mov dword [ebp - 0x238], 0x22c
lea edx, [ebp - 0x238]
mov eax, esi
call fcn.004ddd98
test eax, eax
je 0x57c201
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x100411
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x57c1ec
lea eax, [ebp - 4]
lea edx, [ebp - 0x214]
mov ecx, 0x104
call fcn.0040760c
lea eax, [ebp - 8]
xor edx, edx
call fcn.00407450
push 0x104
lea ecx, [ebp - 0x440]
xor edx, edx
mov eax, ebx
call fcn.00507fcc
test eax, eax
jbe 0x57c1a6
lea eax, [ebp - 8]
lea edx, [ebp - 0x440]
mov ecx, 0x104
call fcn.0040760c
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00413730
test al, al
jne 0x57c1c2
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00413730
test al, al
je 0x57c1e6
inc dword [ebp - 0xc]
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x57c1ec
jmp 0x57c1da
push 0x64
call sub.kernel32.dll_Sleep_2
push 0
push ebx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x57c1d3
push ebx
call sub.kernel32.dll_CloseHandle_1
lea edx, [ebp - 0x238]
mov eax, esi
call fcn.004dddb8
test eax, eax
jne 0x57c141
push esi
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0xc], 0
je 0x57c21c
mov eax, edi
call fcn.0057bfa8
test al, al
je 0x57c21c
xor ebx, ebx
jmp 0x57c21e
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57c240
lea eax, [ebp - 8]
mov edx, 2
call fcn.004073f4
ret
Function at 0x57c8e0
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004073e4
mov eax, dword [ebp - 8]
call fcn.004073e4
xor eax, eax
push ebp
push 0x57ca50
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x6c]
mov eax, dword [0x58f298]
mov eax, dword [eax]
call fcn.004d897c
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0xc]
call fcn.00414cac
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.00404c08
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], bx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407488
push eax
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00407488
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x57c98b
mov dword [ebp - 0x10], 0xffffffff
jmp 0x57ca2d
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x57cf44
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov eax, dword [0x595904]
call fcn.004d3450
push 0x80
push 0xffffffffffffffec
mov eax, dword [0x58f298]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetWindowLongW
mov ebx, 0x3e9
mov eax, dword [0x58f298]
mov eax, dword [eax]
call fcn.004d7e08
push 1
call sub.kernel32.dll_Sleep_2
dec ebx
jne 0x57c9ca
mov edx, 0x10
mov eax, dword [ebp - 8]
call fcn.004148f8
mov edx, dword [0x595904]
mov dword [edx + 0x39c], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x595904]
call fcn.004d2f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57ca57
lea eax, [ebp - 0x6c]
call fcn.004073ec
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004073f4
ret

Function at 0x57ca60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004073e4
xor eax, eax
push ebp
push 0x57cafc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x57caa1
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x57caa1
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004069ac
test eax, eax
je 0x57caaa
sub eax, 4
mov eax, dword [eax]
test al, al
jbe 0x57cadc
mov byte [ebp - 5], al
mov bl, 1
lea eax, [ebp - 4]
call fcn.00407f10
movzx esi, bl
mov edx, dword [ebp - 4]
movzx edx, word [edx + esi*2 - 2]
mov ecx, ebx
or cl, 0x75
movzx ecx, cl
xor dx, cx
mov word [eax + esi*2 - 2], dx
inc ebx
dec byte [ebp - 5]
jne 0x57cab3
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004073fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57cb03
lea eax, [ebp - 4]
call fcn.004073ec
ret
Function at 0x402847
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40c1d2], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x40d1a0
push 0x40d208
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402891
xor eax, eax
jmp 0x4028a8
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

Function at 0x405bdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c570]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404cd4
and dword [ebp - 0x14], 0
cmp dword [0x40dbc0], 0
mov dword [ebp - 0x18], eax
jne 0x405c8e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405d36
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405d36
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40dbc0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40dbc4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40dbc8], eax
call edi
push eax
call esi
mov dword [0x40dbd0], eax
test eax, eax
je 0x405c8e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40dbcc], eax
mov eax, dword [0x40dbcc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405ce7
cmp dword [0x40dbd0], ecx
je 0x405ce7
push eax
call esi
push dword [0x40dbd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405ce7
test ebx, ebx
je 0x405ce7
call edi
test eax, eax
je 0x405cde
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405cde
test byte [ebp - 8], 1
jne 0x405ce7
or dword [ebp + 0x10], 0x200000
jmp 0x405d1a
mov eax, dword [0x40dbc4]
cmp eax, dword [ebp - 0x18]
je 0x405d1a
push eax
call esi
test eax, eax
je 0x405d1a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405d1a
mov eax, dword [0x40dbc8]
cmp eax, dword [ebp - 0x18]
je 0x405d1a
push eax
call esi
test eax, eax
je 0x405d1a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40dbc0]
call esi
test eax, eax
je 0x405d36
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405d38
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405f46
leave
ret

Function at 0x405f46
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c570]
jne 0x405f50
repz ret
jmp fcn.004070b3
Function at 0x403750
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403920
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046bc90
jmp fcn.00403750
Function at 0x40d610
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d7db
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40d639
mov eax, 0x7000000
jmp 0x40d641
test eax, eax
je 0x40d7b6
mov dword [esp + 0x34], eax
mov ecx, dword [0x1097750]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
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
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.0046d040
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x101cca0]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40d7ce
cmp edx, 0x21
jae 0x40d7c2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00464560
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00464630
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xdbb798]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xdbb808]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40d791
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xdbb838]
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, edx
mov ecx, 0x21
call fcn.0046d120
mov eax, edx
mov ecx, 0x21
call fcn.0046d210
nop
call fcn.0046bc90
jmp fcn.0040d610