joyce8/EMBER2024-capa huggingface dataset:
Function at 0x601c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6325a5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6c5580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x40], 0x2d534544
mov dword [ebp - 0x3c], 0x32454445
mov word [ebp - 0x38], 0x2f
movups xmm0, xmmword [ebp - 0x40]
mov dword [ebp - 0x30], 9
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
push 3
push 0x641fa8
cmp eax, 3
jb 0x601ce2
cmp edx, 0xf
lea esi, [ebp - 0x28]
lea eax, [ecx + 3]
cmova esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.005c8a90
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x28]
jmp 0x601cef
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 3
call fcn.004443d0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x601d54
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x601d4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x601db3
push ecx
push edx
call fcn.0058d051
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x601d96
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x601d8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x601db3
push ecx
push edx
call fcn.0058d051
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058d043
mov esp, ebp
pop ebp
ret
call fcn.005d30c0
int3
Function at 0x6025e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6325a5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6c5580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x40], 0x43414853
mov dword [ebp - 0x3c], 0x322d4c41
mov word [ebp - 0x38], 0x2f
movups xmm0, xmmword [ebp - 0x40]
mov dword [ebp - 0x30], 9
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
push 3
push 0x641fa8
cmp eax, 3
jb 0x6026a2
cmp edx, 0xf
lea esi, [ebp - 0x28]
lea eax, [ecx + 3]
cmova esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.005c8a90
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x28]
jmp 0x6026af
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 3
call fcn.004443d0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x602714
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x60270a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x602773
push ecx
push edx
call fcn.0058d051
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x602756
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x60274c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x602773
push ecx
push edx
call fcn.0058d051
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058d043
mov esp, ebp
pop ebp
ret
call fcn.005d30c0
int3
Function at 0x605160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b382
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6c5580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004f5720
mov dword [edi], vtable.CSkyObject.0
xorps xmm0, xmm0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea esi, [edi + 0x134]
mov byte [ebp - 4], 1
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0058d05f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x1bc], 0
xorps xmm0, xmm0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0x3f800000
mov dword [edi + 0x1cc], 0x3f800000
mov dword [edi + 0x1d0], 0x3f800000
movups xmmword [edi + 0x1d8], xmm0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0xf
mov byte [edi + 0x1d8], 0
lea ecx, [edi + 0x1f4]
mov byte [ebp - 4], 3
call fcn.005043a0
mov dword [edi + 0x174], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x178], 0x3f800000
mov dword [edi + 0x164], 0x3f800000
mov dword [edi + 0x150], 0x3f800000
mov dword [edi + 0x13c], 0x3f800000
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x1b8], 0x3f800000
mov dword [edi + 0x1a4], 0x3f800000
mov dword [edi + 0x190], 0x3f800000
mov dword [edi + 0x17c], 0x3f800000
mov byte [ebp - 4], 4
mov dword [edi + 0xf8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xfc], 0x3f800000
mov dword [edi + 0xe8], 0x3f800000
mov dword [edi + 0xd4], 0x3f800000
mov dword [edi + 0xc0], 0x3f800000
mov ecx, dword [0x74f648]
call fcn.004e1140
mov dword [edi + 0x130], eax
mov eax, edi
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov word [edi + 0x1f0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x60af10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x60af3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x60af3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x60c630
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp], 0
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 0x18]
test eax, eax
je 0x60c640
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
xor ebx, ebx
add eax, 4
je 0x60c649
mov ebx, dword [eax]
lea ecx, [eax + 4]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x60c65c
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
xor edx, edx
add ecx, 4
je 0x60c665
mov edx, dword [ecx]
mov ecx, dword [esi + 8]
push edi
mov edi, dword [ebp]
add edi, ebx
mov dword [esp + 0x14], ecx
mov ebx, dword [ebp + 4]
add ebp, 8
add ebx, edx
test ecx, ecx
je 0x60c6d2
nop
lea edx, [edi*2 + 1]
imul edx, edi
lea eax, [ebx*2 + 1]
imul eax, ebx
rol edx, 5
rol eax, 5
mov esi, edx
xor esi, dword [esp + 0x10]
movzx ecx, al
and ecx, 0x1f
mov dword [esp + 0x10], edi
rol esi, cl
mov edi, eax
xor edi, dword [esp + 0x1c]
mov eax, ebx
mov ebx, dword [ebp]
movzx ecx, dl
add ebx, esi
and ecx, 0x1f
mov dword [esp + 0x1c], eax
rol edi, cl
add edi, dword [ebp + 4]
add ebp, 8
sub dword [esp + 0x14], 1
jne 0x60c680
add eax, dword [ebp + 4]
mov ecx, dword [ebp]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x60c6f0
mov eax, dword [eax]
xor ecx, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test edx, edx
je 0x60c6fa
mov dword [edx], ecx
lea esi, [edx + 4]
test eax, eax
lea edx, [eax + 4]
cmove edx, eax
test edx, edx
je 0x60c70b
xor edi, dword [edx]
test esi, esi
je 0x60c711
mov dword [esi], edi
add esi, 4
lea ecx, [edx + 4]
test edx, edx
pop edi
cmove ecx, edx
mov edx, dword [esp + 0x18]
test ecx, ecx
je 0x60c727
xor edx, dword [ecx]
test esi, esi
je 0x60c72d
mov dword [esi], edx
add esi, 4
lea eax, [ecx + 4]
test ecx, ecx
cmove eax, ecx
test eax, eax
je 0x60c740
mov eax, dword [eax]
xor ebx, eax
test esi, esi
je 0x60c746
mov dword [esi], ebx
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x10017330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1001733f
pop dword [ebp - 0x10]
mov eax, 0x853e931f
add eax, 0x8ac2e020
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x940bd3fe
add dword [ebp - 0x20], 0xba46714d
mov dword [ebp - 0x1c], 0x66831702
sub dword [ebp - 0x1c], 0x344fcabd
mov dword [ebp - 0x18], 0xf15f5c2d
add dword [ebp - 0x18], 0x5aece801
mov dword [ebp - 0x14], 0x2f9305b1
sub dword [ebp - 0x14], 0x2f9305b1
lea eax, [ebp - 0x20]
push eax
mov eax, 0x481f1bc8
add eax, 0xc7e55500
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x5b93aef4
sub dword [ebp - 0x20], 0xe721459e
mov dword [ebp - 0x1c], 0x57fb7f3e
sub dword [ebp - 0x1c], 0x168f1dc9
mov dword [ebp - 0x18], 0x4551cac4
add dword [ebp - 0x18], 0x1e1da1a8
mov dword [ebp - 0x14], 0xa24fe286
add dword [ebp - 0x14], 0x5db01d7a
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x211440e3
add eax, 0xeef03001
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x44fed
push 0
call eax
mov ecx, 0xb7902247
sub ecx, 0xb78fcfd8
xor esi, esi
add esi, eax
mov edx, 0x1ccc6cec
sub edx, 0xcc63cec
add edx, dword [ebp - 0x10]
mov edi, 0xc60c0e79
mov ebx, dword [edx]
xor dword [ebp - 8], 0x5af51983
sub ebx, edi
mov dword [ebp - 4], 0x3ef38dd6
mov dword [esi], ebx
sub dword [ebp - 4], esi
add esi, 0x6fed8572
add esi, 0x90127a92
add edx, 0xe425dbe9
sub edx, 0xe425dbe5
loop 0x1001745d
add eax, 0x474b05e5
add eax, 0xb8b636aa
mov ebx, eax
add eax, 0x23761f60
add eax, 0xdc89e0a5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x776c6853
mov dword [ebp - 0xa], 0x6c642e69
mov word [ebp - 6], 0x6c
mov word [ebp - 0xc], 0x7061
mov dword [ebp - 0x1e], 0x69466874
mov word [ebp - 0x13], 0x4173
mov word [ebp - 0x20], 0x6150
mov dword [ebp - 0x1a], 0x7845656c
mov word [ebp - 0x16], 0x7369
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10001070
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009b5fc], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c9a6
mov esp, ebp
pop ebp
ret
Function at 0x100049c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100049d5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10004a14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10004a10
lea ebx, [ebx]
cmp esi, edx
jae 0x10004a14
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x10004a00
cmp esi, edx
jb 0x10004a19
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x10005a70
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ecx]
push ebx
xor ebx, ebx
push edi
mov edi, edx
mov dword [ebp - 0xc], ecx
test al, al
je 0x10005b8a
push esi
cmp al, 0x24
je 0x10005acd
cmp al, 0x26
je 0x10005acd
cmp al, 0x2b
je 0x10005acd
cmp al, 0x2c
je 0x10005acd
cmp al, 0x2f
je 0x10005acd
cmp al, 0x3a
je 0x10005acd
cmp al, 0x3b
je 0x10005acd
cmp al, 0x3d
je 0x10005acd
cmp al, 0x3f
je 0x10005acd
cmp al, 0x40
je 0x10005acd
cmp al, 0x23
je 0x10005acd
cmp al, 0x20
je 0x10005acd
mov byte [edi], al
inc edi
inc ebx
jmp 0x10005b60
movsx eax, al
push eax
push str.___02x
push 0xffffffffffffffff
lea eax, [ebp - 8]
push 4
push eax
call fcn.1005bea3
lea ecx, [ebp - 8]
add esp, 0x14
xor esi, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005af0
sub ecx, edx
je 0x10005b2d
jmp 0x10005b00
movsx eax, byte [ebp + esi - 8]
push eax
call fcn.1006221f
mov byte [ebp + esi - 8], al
lea eax, [ebp - 8]
add esp, 4
inc esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005b20
sub eax, edx
cmp esi, eax
jb 0x10005b00
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
mov eax, 0x800
sub eax, ebx
push eax
push edi
call fcn.1006224b
lea ecx, [ebp - 8]
add esp, 0x10
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005b50
sub ecx, edx
add edi, ecx
add ebx, ecx
mov ecx, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ebx, 0x7ff
jae 0x10005b76
mov al, byte [ecx]
test al, al
jne 0x10005a94
pop esi
mov byte [edi], 0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005c9a6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov byte [edi], bl
pop edi
xor ecx, ebp
pop ebx
call fcn.1005c9a6
mov esp, ebp
pop ebp
ret
Function at 0x10005ba0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push eax
call esi
push 0
push ebx
mov dword [ebp - 0x10], eax
call esi
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, ecx
je 0x10005bf2
push 1
push ecx
push edi
call eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp ebx, edi
je 0x10005bfc
push 1
push edi
push ebx
call eax
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2000
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001
call esi
push 2
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2001
call esi
mov eax, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, eax
je 0x10005c69
push 0
push eax
push edi
call esi
cmp ebx, edi
je 0x10005c73
push 0
push edi
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1005c9a6
mov esp, ebp
pop ebp
ret
Function at 0x10005fb0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
push 0xf0000000
push 0x18
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x4c], eax
push 0
lea eax, [ebp - 0xc]
push eax
xor bl, bl
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000616f
mov eax, dword [ebp - 0x48]
mov ecx, 0x20
mov eax, dword [eax]
cmp eax, ecx
cmovb ecx, eax
push ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x44], 0x208
mov dword [ebp - 0x40], 0x6610
mov dword [ebp - 0x3c], 0x20
movq qword [ebp - 0x38], xmm0
movq qword [ebp - 0x30], xmm0
movq qword [ebp - 0x28], xmm0
movq qword [ebp - 0x20], xmm0
call fcn.1005e620
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x2c
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1000615f
push 0
lea eax, [ebp - 0x18]
push eax
push 4
push dword [ebp - 8]
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x10006151
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
push 8
push dword [ebp - 8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x10006151
mov eax, dword [ebp - 0x48]
shr eax, 3
push eax
push 0
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10006151
push dword [ebp - 0x48]
push 0
push esi
call fcn.1005ec70
add esp, 0xc
push 0
push esi
push 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push esi
test eax, eax
jne 0x10006102
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10006151
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x54]
mov ecx, dword [esi]
cmp dword [edi], ecx
cmovb ecx, dword [edi]
push ecx
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
call fcn.1005e620
mov eax, dword [esi]
add esp, 0xc
push dword [edi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x4c]
push 0
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1000614a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10006151
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov bl, 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000615f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1000616f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1005c9a6
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100096b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bf78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [esi + 0xdc], 0
push ecx
mov dword [ebp - 0x20], 0x776f6853
mov dword [ebp - 0x15], 0x656d6f63
mov byte [ebp - 0x11], 0
mov word [ebp - 0x1a], 0x7362
mov word [ebp - 0x17], 0x6c65
mov word [ebp - 0x1c], 0x6154
mov byte [ebp - 0x18], 0x57
lea eax, [ebp + 8]
mov ecx, esp
jne 0x10009753
mov dword [ebp - 0x2c], esp
push eax
call fcn.100048b0
push ecx
mov byte [ebp - 4], 1
lea eax, [esi + 0x34]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.100048b0
push ecx
lea eax, [esi + 0x30]
mov ecx, esp
push eax
mov byte [ebp - 4], 2
call fcn.100048b0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.10008db0
jmp 0x1000978a
mov dword [ebp - 0x28], esp
push eax
call fcn.100048b0
push ecx
mov byte [ebp - 4], 3
lea eax, [esi + 0x34]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.100048b0
push ecx
lea eax, [esi + 0x30]
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.100048b0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1000af00
cmp byte [esi + 0xdc], 0
push 1
push ecx
lea eax, [esi + 0x3c]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
jne 0x100097c1
call fcn.100048b0
push ecx
mov ecx, esp
lea edi, [esi + 0x38]
push edi
mov byte [ebp - 4], 5
call fcn.100048b0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.10009080
jmp 0x100097e1
call fcn.100048b0
push ecx
mov ecx, esp
lea edi, [esi + 0x38]
push edi
mov byte [ebp - 4], 6
call fcn.100048b0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1000b080
cmp byte [esi + 0xdc], 0
push 1
push ecx
lea eax, [esi + 0x40]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
jne 0x10009815
call fcn.100048b0
push ecx
mov ecx, esp
push edi
mov byte [ebp - 4], 7
call fcn.100048b0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.10009080
jmp 0x10009832
call fcn.100048b0
push ecx
mov ecx, esp
push edi
mov byte [ebp - 4], 8
call fcn.100048b0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1000b080
cmp byte [esi + 0xdc], 0
push 0
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
jne 0x10009866
call fcn.10004cb0
push ecx
mov ecx, esp
push edi
mov byte [ebp - 4], 9
call fcn.100048b0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.10009080
jmp 0x10009883
call fcn.10004cb0
push ecx
mov ecx, esp
push edi
mov byte [ebp - 4], 0xa
call fcn.100048b0
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.1000b080
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100098a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005c9a6
mov esp, ebp
pop ebp
ret 4