joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4835d0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x13c
mov eax, dword [0x4cd00c]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
mov ebx, dword [esp + 0x144]
xor ecx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 0x28]
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [esp + ecx*4 + 0x48], eax
inc ecx
cmp ecx, 0x10
jb 0x4835f8
lea eax, [esp + 0x80]
mov ebp, 0x30
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x483615
mov eax, dword [ebx]
mov ebp, eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], eax
mov eax, edi
rol eax, 7
mov dword [esp + 0x44], esi
mov esi, edi
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x38], ecx
mov eax, edi
mov dword [esp + 0x40], edx
ror eax, 6
mov ecx, edi
xor esi, eax
mov dword [esp + 0x24], edi
not ecx
mov dword [esp + 0x3c], edi
and ecx, dword [esp + 0x14]
mov eax, edx
and eax, edi
mov dword [esp + 0x30], ebp
xor ecx, eax
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add esi, ecx
add esi, dword [ebx + 0x4b8198]
add esi, dword [esp + ebx + 0x48]
add ebx, 4
add esi, dword [esp + 0x18]
mov dword [esp + 0x18], eax
add edi, esi
mov dword [esp + 0x14], edx
mov eax, ebp
rol eax, 0xa
mov edx, ebp
ror edx, 0xd
xor edx, eax
mov eax, ebp
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, ebp
xor ecx, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
lea ebp, [edx + esi]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cmp ebx, 0x100
jb 0x483687
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add eax, ebp
add dword [ebx + 4], ecx
mov ecx, dword [esp + 0x34]
add dword [ebx + 8], ecx
mov ecx, dword [esp + 0x38]
add dword [ebx + 0xc], ecx
add dword [ebx + 0x10], edi
mov ecx, dword [esp + 0x3c]
add dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x40]
add dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x44]
add dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword [ebx], eax
pop ebx
xor ecx, esp
call fcn.00443db6
add esp, 0x13c
ret
Function at 0x4843f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aacc0
mov eax, dword fs:[0]
push eax
mov eax, 0x503c
call fcn.0049ed70
mov eax, dword [0x4cd00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3010]
push 0x800
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4845ee
cmp eax, 0x800
jae 0x4845ee
push 0x800
lea eax, [ebp - 0x4010]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4845ee
cmp eax, 0x800
jae 0x4845ee
lea eax, [ebp - 0x3010]
push eax
call fcn.0046b9d0
mov ebx, eax
lea eax, [ebp - 0x4010]
push eax
call fcn.0046b9d0
mov esi, eax
add esp, 8
cmp word [esi], 0
je 0x4845ee
push esi
push ebx
call fcn.00469060
add esp, 8
test eax, eax
je 0x4845ee
push esi
push edi
call fcn.0046b9d0
add esp, 4
push eax
call fcn.00469060
add esp, 8
test eax, eax
jne 0x4845ee
mov word [ebp - 0x1010], ax
xor esi, esi
test ax, ax
jne 0x484543
push 0x800
lea eax, [ebp - 0x1010]
push edi
push eax
call fcn.0046bdd0
add esp, 0xc
lea eax, [ebp - 0x1010]
push esi
push str.rtmp_d
push 0x800
push eax
call fcn.0046b9d0
add esp, 4
push eax
call fcn.0046a6d0
lea eax, [ebp - 0x1010]
push eax
call fcn.00474280
add esp, 0x14
test al, al
je 0x484528
xor eax, eax
mov word [ebp - 0x1010], ax
jmp 0x48452f
mov ax, word [ebp - 0x1010]
add esi, 0x7b
cmp esi, 0x2710
jl 0x4844d0
test ax, ax
je 0x4845ee
push 0x800
lea eax, [ebp - 0x2010]
push edi
push eax
call fcn.0046bdd0
push 0x800
lea eax, [ebp - 0x2010]
push ebx
push eax
call fcn.0046bad0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x1010]
add esp, 0x18
push eax
lea eax, [ebp - 0x2010]
push eax
call esi
test eax, eax
je 0x4845ee
lea ecx, [ebp - 0x5048]
call fcn.00476a20
push edi
mov dword [ebp - 4], 0
xor bl, bl
call fcn.00474280
add esp, 4
test al, al
jne 0x4845b5
push 0x12
push edi
lea ecx, [ebp - 0x5048]
call fcn.00476cc0
mov bl, al
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x1010]
push eax
call esi
test bl, bl
je 0x4845df
lea ecx, [ebp - 0x5048]
call fcn.00476c60
lea ecx, [ebp - 0x5048]
call fcn.00476dd0
lea ecx, [ebp - 0x5048]
call fcn.00476a70
mov al, 1
jmp 0x4845f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443db6
mov esp, ebp
pop ebp
ret
Function at 0x487bc0
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x4d044c], 2
jl 0x487be5
movaps xmm0, xmmword [0x4b8420]
movaps xmmword [0x4d35d0], xmm0
movaps xmm0, xmmword [0x4b8410]
movaps xmmword [0x4d35e0], xmm0
push esi
mov esi, dword [esp + 8]
push 0xf0
push 0
push esi
call fcn.00445940
mov dword [esi + 0x100], 0
add esp, 0xc
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov eax, dword [esi + 0xf4]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi + 0xf4]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret

Function at 0x487e60
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x200
push 0
lea eax, [edi + 0x948]
push eax
call fcn.00445940
push 1
lea eax, [edi + 0x840]
mov dword [edi + 0xb48], 0
push 0
push eax
call fcn.00487bc0
add esp, 0x18
mov dword [esp + 0xc], 0
lea esi, [edi + 0xf4]
cmp dword [0x4d044c], 2
jl 0x487ec9
movaps xmm0, xmmword [0x4b8420]
movaps xmmword [0x4d35d0], xmm0
movaps xmm0, xmmword [0x4b8410]
movaps xmmword [0x4d35e0], xmm0
push 0xf0
lea eax, [esi - 0xf4]
push 0
push eax
call fcn.00445940
mov dword [esi + 0xc], 0
add esp, 0xc
mov byte [esi + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov dword [eax], 0x6a09e667
mov eax, dword [esi]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi]
xor dword [eax], 0x2080020
mov eax, dword [esi]
xor dword [eax + 8], ecx
inc ecx
mov eax, dword [esi]
add esi, 0x108
mov dword [esp + 0xc], ecx
xor dword [eax + 0xc], 0x20000000
cmp ecx, 8
jb 0x487ea4
mov byte [edi + 0x944], 1
mov byte [edi + 0x83c], 1
pop edi
pop esi
ret
Function at 0x489270
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x44
mov eax, dword [0x4cd00c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x54]
push edi
mov edx, dword [esi + 0x18]
mov edi, edx
mov ebx, dword [esi + 0x1c]
and edx, 0x3f
shld ebx, edi, 3
shl edi, 3
mov byte [esi + edx + 0x20], 0x80
inc edx
cmp edx, 0x38
je 0x4892f4
jbe 0x4892dc
cmp edx, 0x40
jae 0x4892c6
mov eax, 0x40
lea ecx, [esi + 0x20]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.00445940
add esp, 0xc
push 1
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00488150
add esp, 0x10
xor edx, edx
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x20]
add eax, edx
push 0
push eax
call fcn.00445940
add esp, 0xc
push 1
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
bswap ebx
bswap edi
push esi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
call fcn.00488150
mov eax, dword [esi]
add esp, 0x10
mov ecx, dword [esp + 0x50]
mov dword [ebp], eax
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x10], eax
pop edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00443db6
add esp, 0x44
ret

Function at 0x489380
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x4895f0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
xor ecx, ecx
movzx eax, byte [ecx + str.cw]
mov byte [eax + 0x4d35f0], cl
inc ecx
cmp ecx, 0x100
jl 0x4895f2
push ebx
xor edx, edx
push esi
lea esp, [esp]
mov al, byte [edx + str.cw]
mov bl, 2
mov byte [edx*4 + 0x4d42f1], al
mov cl, al
mov byte [edx*4 + 0x4d42f0], al
xor ah, ah
mov byte [edx*4 + 0x4d3ef3], al
mov byte [edx*4 + 0x4d3ef0], al
mov byte [edx*4 + 0x4d3af3], al
mov byte [edx*4 + 0x4d3af2], al
mov byte [edx*4 + 0x4d36f2], al
mov byte [edx*4 + 0x4d36f1], al
mov ch, cl
test bl, 1
je 0x48965d
xor ah, cl
add cl, cl
test ch, ch
jns 0x489666
xor cl, 0x1b
shr bl, 1
jne 0x489654
mov byte [edx*4 + 0x4d42f3], ah
mov cl, 3
mov byte [edx*4 + 0x4d3ef2], ah
xor bl, bl
mov byte [edx*4 + 0x4d3af1], ah
mov byte [edx*4 + 0x4d36f0], ah
lea ebx, [ebx]
mov ah, al
test cl, 1
je 0x489699
xor bl, al
add al, al
test ah, ah
jns 0x4896a1
xor al, 0x1b
shr cl, 1
jne 0x489690
mov cl, byte [edx + 0x4d35f0]
xor ah, ah
mov byte [edx*4 + 0x4d42f2], bl
mov al, cl
mov byte [edx*4 + 0x4d3ef1], bl
mov byte [edx*4 + 0x4d3af0], bl
mov byte [edx*4 + 0x4d36f3], bl
mov bl, 0xb
lea ecx, [ecx]
mov ch, al
test bl, 1
je 0x4896d9
xor ah, al
add al, al
test ch, ch
jns 0x4896e1
xor al, 0x1b
shr bl, 1
jne 0x4896d0
movzx esi, cl
mov al, cl
mov byte [edx*4 + 0x4d52f2], ah
xor bl, bl
mov byte [edx*4 + 0x4d4ef1], ah
mov byte [edx*4 + 0x4d4af0], ah
mov byte [edx*4 + 0x4d46f3], ah
mov byte [esi*4 + 0x4d62f2], ah
mov byte [esi*4 + 0x4d5ef1], ah
mov byte [esi*4 + 0x4d5af0], ah
mov byte [esi*4 + 0x4d56f3], ah
mov ah, 9
mov ch, al
test ah, 1
je 0x48972f
xor bl, al
add al, al
test ch, ch
jns 0x489737
xor al, 0x1b
shr ah, 1
jne 0x489726
mov byte [edx*4 + 0x4d52f0], bl
mov ah, 0xd
mov byte [edx*4 + 0x4d4ef3], bl
mov al, cl
mov byte [edx*4 + 0x4d4af2], bl
mov byte [edx*4 + 0x4d46f1], bl
mov byte [esi*4 + 0x4d62f0], bl
mov byte [esi*4 + 0x4d5ef3], bl
mov byte [esi*4 + 0x4d5af2], bl
mov byte [esi*4 + 0x4d56f1], bl
xor bl, bl
lea esp, [esp]
mov ch, al
test ah, 1
je 0x489789
xor bl, al
add al, al
test ch, ch
jns 0x489791
xor al, 0x1b
shr ah, 1
jne 0x489780
mov byte [edx*4 + 0x4d52f1], bl
xor al, al
mov byte [edx*4 + 0x4d4ef0], bl
mov byte [edx*4 + 0x4d4af3], bl
mov byte [edx*4 + 0x4d46f2], bl
mov byte [esi*4 + 0x4d62f1], bl
mov byte [esi*4 + 0x4d5ef0], bl
mov byte [esi*4 + 0x4d5af3], bl
mov byte [esi*4 + 0x4d56f2], bl
mov bl, 0xe
mov ah, cl
test bl, 1
je 0x4897da
xor al, cl
add cl, cl
test ah, ah
jns 0x4897e3
xor cl, 0x1b
shr bl, 1
jne 0x4897d1
mov byte [edx*4 + 0x4d52f3], al
mov byte [edx*4 + 0x4d4ef2], al
mov byte [edx*4 + 0x4d4af1], al
mov byte [edx*4 + 0x4d46f0], al
inc edx
mov byte [esi*4 + 0x4d62f3], al
mov byte [esi*4 + 0x4d5ef2], al
mov byte [esi*4 + 0x4d5af1], al
mov byte [esi*4 + 0x4d56f0], al
cmp edx, 0x100
jl 0x489610
pop esi
pop ebx
ret
Function at 0x48aaf0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, 1
push esi
mov esi, dword [esp + 0xc]
xor cl, cl
cmp esi, eax
jbe 0x48ab0c
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x48ab04
cmp cl, byte [edx]
jne 0x48ab4f
push esi
push edx
push 0xffffffffffffffff
call fcn.004778d0
add esp, 0xc
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x4ce04c], eax
jne 0x48ab32
cmp dword [ecx + 0x4ce048], esi
je 0x48ab3f
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x48ab22
pop esi
ret 0xc
lea eax, [edx + edx*2]
mov ecx, dword [eax*4 + 0x4ce050]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
pop esi
ret 0xc
Function at 0x4035a3
Capabilities:
Check os version

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
lea edi, [esi + 0xc]
mov dword [esi], 0x422528
mov dword [esi + 0x1c], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [edi], ebp
cmp dword [0x434764], ebp
jne 0x403639
push 0x114
mov ebx, 0x434650
push ebp
push ebx
mov dword [0x434764], 1
call fcn.00414b40
add esp, 0xc
mov dword [0x434650], 0x114
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call ebx
cmp dword [0x434654], 5
jb 0x403639
push 0x11c
push ebp
push 0x434530
call fcn.00414b40
add esp, 0xc
mov dword [0x434530], 0x11c
push 0x434530
call ebx
mov eax, dword [0x434534]
mov dword [0x434654], eax
mov eax, dword [0x434538]
mov dword [0x434658], eax
mov dword [edi], ebp
cmp dword [0x434654], 5
jb 0x403666
cmp dword [0x434658], ebp
jbe 0x403666
push edi
push 0x42272c
push 1
push ebp
push 0x42273c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x403666
mov dword [edi], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40878c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4200c8
call fcn.00414f70
push ecx
push ecx
push ebx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x4087d1
push ebx
push 0x4266e4
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x408812
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x14], ebx
lea eax, [edi + 1]
lea ecx, [esi + 4]
push eax
call fcn.00401bf1
lea ecx, [ebp - 0x14]
push ebx
push ecx
push edi
push eax
mov dword [esi], eax
push dword [ebp - 0x10]
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop ebx
pop edi
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401cbe
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40882d
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4200dc
call fcn.00414f70
push ecx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x408872
cmp dword [ebp + 0x10], esi
je 0x408896
push esi
push str.Create_Error_
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x408896
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
push esi
push edx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 4]
push ecx
push eax
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401cbe
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x408aa5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x420167
call fcn.00414f70
sub esp, 0xd0
and dword [ebp - 0x30], 0
push ebx
lea ecx, [ebp - 0x14]
call fcn.004010db
and byte [ebp - 0x15], 0
push 1
pop ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x73
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x26], 0x2f
mov byte [ebp - 0x25], 0x2f
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x77
mov byte [ebp - 0x21], 0x2e
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x66
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x17], 0x6b
mov byte [ebp - 0x16], 0x2e
call fcn.004012a8
cmp dword [0x48775c], 0
jne 0x408b65
push 0x426718
lea ecx, [ebp - 0x10]
call fcn.0040117e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.004012ec
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x408bfb
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je 0x408bd8
cmp dword [ebp - 0xdc], 0xffffff10
jl 0x408bb3
cmp dword [ebp - 0xdc], 0xf0
jg 0x408bb3
push 0x426714
lea ecx, [ebp - 0x10]
call fcn.0040117e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.004012ec
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x408bfb
push 0x426710
lea ecx, [ebp - 0x10]
call fcn.0040117e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.004012ec
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x408bfb
push 0x426710
lea ecx, [ebp - 0x10]
call fcn.0040117e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.004012ec
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00401cbe
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.004010e7
mov dword [ebp - 0x30], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401cbe
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x408c2b
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x42017c
call fcn.00414f70
push ecx
push ecx
push esi
xor esi, esi
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x408ccc
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov ecx, edi
call fcn.004011cb
lea eax, [eax + eax + 1]
push eax
call fcn.0041583c
mov ebx, dword [edi]
pop ecx
push esi
push esi
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.004011cb
shl eax, 1
push eax
push dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x14]
push esi
push eax
mov ecx, edi
call fcn.004011cb
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401cbe
push 1
pop eax
pop edi
pop ebx
jmp 0x408cda
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401cbe
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x408d14
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x420190
call fcn.00414f70
push ecx
push ecx
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x408e2f
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push edi
push 0xd
call esi
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
je 0x408da9
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x408e27
cmp esi, dword [ebp + 0xc]
jbe 0x408d6a
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [esi + 2]
push eax
call fcn.00401bf1
mov edi, eax
cmp edi, ebx
je 0x408d9e
push esi
push dword [ebp - 0x14]
push edi
call fcn.00414f90
mov ecx, dword [ebp + 8]
add esp, 0xc
lea eax, [edi + esi]
push 0xffffffffffffffff
mov byte [eax], bl
mov byte [eax + 1], bl
call fcn.00401c62
push 1
pop ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x408e27
push 1
call esi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
cmp esi, dword [ebp + 0xc]
jbe 0x408dc1
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x408e27
lea ecx, [ebp + 0xc]
call fcn.004010db
lea eax, [esi + 2]
lea ecx, [ebp + 0xc]
push eax
mov dword [ebp - 4], ebx
call fcn.00401bf1
mov edi, eax
cmp edi, ebx
je 0x408e0f
push esi
push dword [ebp - 0x14]
push edi
call fcn.00414f90
mov ecx, dword [ebp + 8]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax], bl
mov byte [eax + 1], bl
lea eax, [ebp + 0xc]
push eax
call fcn.00401222
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
or dword [ebp - 4], 0xffffffff
push 1
pop ebx
lea ecx, [ebp + 0xc]
call fcn.00401cbe
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x409ef7
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x409f0e
push 8
mov eax, esi
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x409f08
push 0xf0000000
push 0x18
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x409f40
lea eax, [esi + 4]
push eax
push ebx
push ebx
push 0x800c
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x409f44
push esi
call fcn.00409ecc
pop ecx
xor al, al
jmp 0x409f46
mov al, 1
pop esi
pop ebx
ret

Function at 0x409f91
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x420510
call fcn.00414f70
sub esp, 0x24c
push ebx
push esi
push 1
lea eax, [ebp - 0x258]
pop esi
push 0x104
push eax
push dword [0x4419b4]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp + 8]
call fcn.004011d4
test eax, eax
je 0x409fdc
lea eax, [ebp - 0x258]
lea ecx, [ebp + 8]
push eax
call fcn.0040128a
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00414b40
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x50], 0x3c
push eax
call fcn.004010e7
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], ebx
call fcn.00401bf1
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x34], esi
call fcn.004010e7
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x3c], eax
je 0x40a03a
mov dword [ebp - 0x44], str.runas
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00401cbe
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401cbe
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401cbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401cbe
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret