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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], edx
mov edx, dword [esp]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
xor edx, dword [eax + reloc.RASAPI32.dll_RasHangUpA]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
xor edx, dword [eax + reloc.RASAPI32.dll_RasHangUpA]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [ecx + 8]
mov esi, dword [edx + 0xc]
xor ebx, dword [eax + reloc.RASAPI32.dll_RasHangUpA]
xor esi, dword [eax + reloc.RASAPI32.dll_RasHangUpA]
xor edx, edx
mov ecx, esi
mov edi, esi
shr edi, 0x15
shl ecx, 0xb
or ecx, edi
mov edi, edx
and edi, 3
add ecx, ebx
xor ecx, dword [eax + edi*4 + reloc.RASAPI32.dll_RasHangUpA]
mov ebp, ecx
mov edi, ecx
shr ebp, 8
and edi, 0xff
and ebp, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ebp, byte [eax + ebp + 0x104]
shl ebp, 8
or edi, ebp
mov ebp, ecx
shr ebp, 0x10
shr ecx, 0x18
and ebp, 0xff
and ecx, 0xff
movzx ebp, byte [eax + ebp + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl ebp, 0x10
shl ecx, 0x18
or edi, ebp
or edi, ecx
mov ecx, ebx
xor edi, dword [esp + 4]
mov dword [esp + 0xc], edi
mov edi, ebx
shr edi, 0xf
shl ecx, 0x11
or ecx, edi
mov edi, edx
and edi, 3
xor ecx, esi
add ecx, dword [eax + edi*4 + reloc.RASAPI32.dll_RasHangUpA]
mov ebp, ecx
mov edi, ecx
shr ebp, 8
and edi, 0xff
and ebp, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ebp, byte [eax + ebp + 0x104]
shl ebp, 8
or edi, ebp
mov ebp, ecx
shr ebp, 0x10
shr ecx, 0x18
and ebp, 0xff
and ecx, 0xff
movzx ebp, byte [eax + ebp + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl ebp, 0x10
shl ecx, 0x18
or edi, ebp
or edi, ecx
xor edi, dword [esp + 8]
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov ecx, edi
mov esi, ecx
mov ebx, dword [esp + 0xc]
inc edx
cmp edx, 0x20
jl 0x5a0882
mov edx, dword [esp + 0x10]
xor ebx, dword [eax + reloc.RASAPI32.dll_RasHangUpA]
mov dword [edx], ebx
xor esi, dword [eax + reloc.RASAPI32.dll_RasHangUpA]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor edx, dword [eax + reloc.RASAPI32.dll_RasHangUpA]
mov dword [ecx + 8], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
xor edx, dword [eax + reloc.RASAPI32.dll_RasHangUpA]
mov dword [ecx + 0xc], edx
mov edx, dword [esp]
call fcn.005a0b80
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5a09d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
xor ecx, dword [ebx + reloc.RASAPI32.dll_RasHangUpA]
mov dword [esp], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
xor ecx, dword [ebx + reloc.RASAPI32.dll_RasHangUpA]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0xc]
xor esi, dword [ebx + reloc.RASAPI32.dll_RasHangUpA]
mov edi, dword [eax + 0xc]
xor edi, dword [ebx + reloc.RASAPI32.dll_RasHangUpA]
push 0x10
push edx
lea eax, [esp + 0x18]
push eax
call fcn.005b264c
add esp, 0xc
mov edx, 0x1f
mov eax, edi
mov ecx, edi
shr ecx, 0x15
shl eax, 0xb
or eax, ecx
mov ecx, edx
and ecx, 3
add eax, esi
xor eax, dword [ebx + ecx*4 + reloc.RASAPI32.dll_RasHangUpA]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [ebx + ecx + 0x104]
movzx ebp, byte [ebx + ebp + 0x104]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [ebx + ebp + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
mov eax, esi
xor ecx, dword [esp]
mov dword [esp + 8], ecx
mov ecx, esi
shr ecx, 0xf
shl eax, 0x11
or eax, ecx
mov ecx, edx
and ecx, 3
xor eax, edi
add eax, dword [ebx + ecx*4 + reloc.RASAPI32.dll_RasHangUpA]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [ebx + ecx + 0x104]
movzx ebp, byte [ebx + ebp + 0x104]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [ebx + ebp + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
xor ecx, dword [esp + 4]
mov dword [esp], esi
mov dword [esp + 4], edi
mov eax, ecx
mov edi, eax
mov esi, dword [esp + 8]
dec edx
test edx, edx
jge 0x5a0a30
mov eax, dword [esp + 0xc]
xor esi, dword [ebx + reloc.RASAPI32.dll_RasHangUpA]
mov dword [eax], esi
xor edi, dword [ebx + reloc.RASAPI32.dll_RasHangUpA]
mov edx, dword [esp + 0xc]
mov dword [edx + 4], edi
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
xor ecx, dword [ebx + reloc.RASAPI32.dll_RasHangUpA]
mov dword [eax + 8], ecx
mov eax, ebx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
xor edx, dword [ebx + reloc.RASAPI32.dll_RasHangUpA]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x10]
call fcn.005a0b80
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5a0b80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, 0x42846c
xor ecx, ecx
movzx esi, byte [edx + ecx]
mov esi, dword [ebx + esi*4]
xor dword [eax + reloc.RASAPI32.dll_RasHangUpA], esi
movzx esi, byte [edx + ecx + 1]
mov esi, dword [ebx + esi*4]
xor dword [eax + reloc.RASAPI32.dll_RasHangUpA], esi
movzx esi, byte [edx + ecx + 2]
mov esi, dword [ebx + esi*4]
xor dword [eax + reloc.RASAPI32.dll_RasHangUpA], esi
movzx esi, byte [edx + ecx + 3]
mov esi, dword [ebx + esi*4]
xor dword [eax + reloc.RASAPI32.dll_RasHangUpA], esi
add ecx, 4
cmp ecx, 0x10
jl 0x5a0b89
pop esi
pop ebx
ret
Function at 0x5a144c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x5a1463
test esi, esi
jg 0x5a146a
xor eax, eax
jmp 0x5a1520
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.005b264c
add esp, 0xc
test esi, esi
jns 0x5a1486
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x5a1505
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005a17e0
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x14], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x10], eax
mov eax, edx
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x5a1498
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.005b264c
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5a1744
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
shl ebx, 2
add edx, edi
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx ebp, byte [edx + 1]
mov bl, byte [edx]
lea ebp, reloc.RASAPI32.dll_RasHangUpA
lea ebx, reloc.RASAPI32.dll_RasHangUpA
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, reloc.RASAPI32.dll_RasHangUpA
lea edx, reloc.RASAPI32.dll_RasHangUpA
xor bl, byte [ebp + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x5a1756
inc eax
cmp eax, 4
jl 0x5a1754
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.005b264c
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x5a1752
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5a304c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [eax]
cmp edx, 0x11
jle 0x5a306c
mov ecx, dword [eax + edx*4]
xor dword [eax + edx*4 - 0x44], ecx
mov ecx, dword [eax + edx*4]
xor dword [eax + edx*4 - 0x38], ecx
xor ecx, ecx
mov dword [eax + edx*4], ecx
dec edx
cmp edx, 0x11
jg 0x5a3053
cmp dword [eax], 0x11
jbe 0x5a3087
mov dword [eax], 0x11
jmp 0x5a307b
dec dword [eax]
mov edx, dword [eax]
test edx, edx
je 0x5a3087
cmp dword [eax + edx*4], 0
je 0x5a3079
ret

Function at 0x5a3810
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
mov eax, dword [esi]
cmp eax, dword [ebx]
jae 0x5a3857
mov eax, 1
jmp 0x5a3830
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, dword [esi]
jbe 0x5a3826
mov ecx, dword [ebx]
mov edx, eax
sub ecx, dword [esi]
shl ecx, 2
shl edx, 2
push ecx
mov ecx, edx
add ecx, ebx
add edx, edi
push ecx
push edx
call fcn.005b264c
add esp, 0xc
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x5a38bc
mov eax, dword [esi]
cmp eax, dword [ebx]
jbe 0x5a3895
mov eax, 1
jmp 0x5a386e
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, dword [ebx]
jbe 0x5a3864
mov ecx, dword [esi]
mov edx, eax
sub ecx, dword [ebx]
shl ecx, 2
shl edx, 2
push ecx
mov ecx, edx
add ecx, esi
add edx, edi
push ecx
push edx
call fcn.005b264c
add esp, 0xc
mov eax, dword [esi]
mov dword [edi], eax
jmp 0x5a38bc
mov eax, dword [ebx]
test eax, eax
jbe 0x5a38a8
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
jne 0x5a38a8
dec eax
test eax, eax
ja 0x5a389b
mov dword [edi], eax
test eax, eax
jbe 0x5a38bc
mov ecx, dword [esi + eax*4]
xor ecx, dword [ebx + eax*4]
mov dword [edi + eax*4], ecx
dec eax
test eax, eax
ja 0x5a38ae
pop edi
pop esi
pop ebx
ret
Function at 0x8816dd
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg word [esp + 0x19], di
pop esi
mov ax, bx
cpuid
xchg word [esp + 0xb], di
jmp 0x8816bd

Function at 0x885bce
Capabilities:
Parse pe header

Disassembly:
call fcn.008844c3
push word [esp + 0x13]
pop dword [esp + 0xc]
mov dword [esp + 0x13], eax
pop dword [esp + 0xa]
jmp 0x885ba9
lea esp, [esp + 0xb]
lea esp, [esp + 2]
mov dword [esp + 0x5c], esi
pushal
pop dword [esp + 0xa]
push esp
jmp 0x885b49
mov dword [esp + 5], ecx
mov dword [esp + 7], eax
mov byte [esp + 9], dh
push dword [esp + 0xc]
jmp 0x885b61
push dword [esp + 0x14]
lea esp, [esp + 0xb]
push dword [esp + 2]
push esp
lea esp, [esp + 3]
lea esp, [esp + 0xf]
jmp 0x885b79
mov byte [esp + 0x10], bh
call fcn.00885c12
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x885bf8
pushal
pop word [esp + 0x19]
jmp 0x885b92
mov eax, dword [eax + 8]
push eax
jmp 0x8844be
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x885bd6

Function at 0x885c12
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov word [esp + 0xc], bx
push dword [esp + 0x1a]
lea esp, [esp + 2]
mov dword [esp + 0x78], edi
lea esp, [esp + 0x78]
jmp 0x885bb2
Function at 0x401270
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x405018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
or esi, 0xffffffff
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], ecx
test cl, 1
je 0x4012a5
xor eax, 0xedb88320
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x4012b9
shr eax, 1
xor eax, 0xedb88320
jmp 0x4012bb
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x4012cf
shr eax, 1
xor eax, 0xedb88320
jmp 0x4012d1
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x4012e5
shr eax, 1
xor eax, 0xedb88320
jmp 0x4012e7
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x4012fb
shr eax, 1
xor eax, 0xedb88320
jmp 0x4012fd
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x401311
shr eax, 1
xor eax, 0xedb88320
jmp 0x401313
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x401327
shr eax, 1
xor eax, 0xedb88320
jmp 0x401329
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x40133d
shr eax, 1
xor eax, 0xedb88320
jmp 0x40133f
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
inc ecx
cmp ecx, 0x100
jb 0x401290
xor ecx, ecx
test edx, edx
je 0x40137a
lea esp, [esp]
movzx eax, byte [ecx + edi]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [ebp + eax*4 - 0x404]
inc ecx
cmp ecx, edx
jb 0x401360
mov ecx, dword [ebp - 4]
not esi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004022bd
mov esp, ebp
pop ebp
ret

Function at 0x401390
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x405018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], ecx
xor eax, eax
jmp 0x4013c0
mov byte [ebp + eax - 0x104], al
inc eax
cmp eax, 0x100
jb 0x4013c0
xor edi, edi
xor esi, esi
mov dl, byte [ebp + esi - 0x104]
mov eax, esi
and eax, 0xf
movzx ecx, dl
movzx eax, byte [eax + ebx]
add edi, eax
add edi, ecx
and edi, 0xff
inc esi
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x105], al
mov byte [ebp + edi - 0x104], dl
cmp esi, 0x100
jb 0x4013d3
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x108], ebx
jbe 0x40147d
lea esp, [esp]
inc esi
and esi, 0xff
inc edi
mov dl, byte [ebp + esi - 0x104]
movzx eax, dl
add ebx, eax
and ebx, 0xff
movzx eax, byte [ebp + ebx - 0x104]
mov byte [ebp + esi - 0x104], al
mov byte [ebp + ebx - 0x104], dl
movzx ecx, byte [ebp + esi - 0x104]
movzx eax, dl
add ecx, eax
and ecx, 0xff
movzx eax, byte [ebp + ecx - 0x104]
mov ecx, dword [ebp - 0x10c]
xor byte [ecx + edi - 1], al
cmp edi, dword [ebp - 0x108]
jb 0x401420
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004022bd
mov esp, ebp
pop ebp
ret 4
Function at 0x401a90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa5c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0xa58], eax
push ebx
push esi
mov eax, ecx
push edi
push eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x664]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401b6e
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x401b67
mov ebx, dword [sym.imp.MSVCR110.dll_wcsstr]
cmp word [esp + 0x3c], 0x2e
je 0x401b5b
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x268]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
test byte [esp + 0x10], 0x10
je 0x401b3c
lea ecx, [esp + 0x260]
call fcn.00401a90
jmp 0x401b5b
lea eax, [esp + 0x3c]
push str..exe
push eax
call ebx
add esp, 8
test eax, eax
je 0x401b5b
lea ecx, [esp + 0x260]
call fcn.00401990
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x401b00
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xa64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004022bd
mov esp, ebp
pop ebp
ret
Function at 0x401d10
Capabilities:
Access peb ldr_data
Check mutex on windows
Create thread
Get file size
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x30]
push 0xf0000000
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax + 0x14]
push 0
mov eax, dword [eax + 0x20]
push 0
push 0x405438
mov dword [0x405434], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401d7c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.004022bd
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [0x405434]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401dd9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401dd9
push 0
lea eax, [esp + 0x20]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401dd9
push dword [esp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.00401530
push str.Global3pc6RWOgectGTFqCowxjeGy3XIGPtLwNrsr2zDctYD4hAU5pj4GW7rm8gHrHyTB6
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401e0e
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004022bd
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401cd0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401bb0
push 0
push 0
call esi
push 0x400
lea eax, [esp + 0x24]
push eax
push str.userprofile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [sym.imp.ntdll.dll_NtDelayExecution]
mov dword [esp + 0x10], 0x4d2fa200
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a90
lea eax, [esp + 0x10]
push eax
push 0
call esi
jmp 0x401e61
Function at 0x40a790
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46af7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045fa11
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a812
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045d790
mov eax, dword [eax]
push 0x48a1f0
push eax
call fcn.004503c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045fc9c
test bl, bl
je 0x40a812
push 0x48a1f0
lea ecx, [esp + 0xc]
call fcn.0046002c
push 0x48dd80
lea ecx, [esp + 0xc]
call fcn.0046002c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40a84e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045fc9c
jmp 0x40a919
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a8d2
lea edx, [esp + 0x7c]
push 0x48dd7c
push edx
call fcn.004503c4
add esp, 8
test eax, eax
je 0x40a8d2
lea eax, [esp + 0x7c]
push 0x48dd78
push eax
call fcn.004503c4
add esp, 8
test eax, eax
je 0x40a8d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40a862
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045fc9c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b110
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b172
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40b180
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46affb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49434c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b2b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b1e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fc9c
xor eax, eax
jmp 0x40b32f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045fdd9
push esi
lea ecx, [esp + 0xc]
call fcn.00460068
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x48ddb8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b30d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040b110
test eax, eax
jne 0x40b30d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040b110
test eax, eax
jne 0x40b30d
lea eax, [esp + 0x14]
push 0x48dd94
push eax
call fcn.00451400
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b2ec
lea ecx, [esp + 0x14]
push 0x48dd90
push ecx
call fcn.00451380
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b2ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b2ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045fd89
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b1fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045fc9c
xor eax, eax
jmp 0x40b32f
mov byte [esi], 0
push 0x48dd8c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045fc9c
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4