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

Disassembly:
jmp 0x5586f6
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1064]
push edi
mov edi, dword [esi + 0x1058]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x558840
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1060]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x55881b
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff0f0f
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x2020]
mov ebp, eax
and ebp, 0xffff0f0f
add ebp, ecx
mov ecx, edi
and ecx, 0xffff0f0f
add ebp, ecx
mov ecx, esi
and ecx, 0xffff0f0f
shr ebx, 2
lea ecx, [ecx + ebp + 0x202]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff0f0f
lea eax, [eax + esi + 0x2020]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x55875f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1058]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1058]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x558736
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x53c400
Capabilities:
Create thread

Disassembly:
jmp 0x662342
mov ecx, 0x25ad04a
call fcn.0053c469
xor eax, eax
push eax
push eax
push eax
push 0x538fd5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x53c72a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x558e00
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
mov ebp, dword [edx + 0x1058]
push edi
mov edi, dword [edx + 0x1064]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x20]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x558f44
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1060]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x558f1e
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x558e69
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1058]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1058]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x558e40
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x53cc52
Capabilities:
Encode data using xor

Disassembly:
jmp 0x558f9f
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x20]
mov eax, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x1064]
push edi
mov edi, dword [edx + 0x1058]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x5590d5
push ebx
mov edx, dword [edx + 0x1060]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x5590b0
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x558ffe
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1058]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1058]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x558fda
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x553675
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x7d49bc
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x5536cc
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x5536cc
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x5536cc
xor eax, eax
inc eax
jmp 0x5536ce
xor eax, eax
leave
ret 0x10

Function at 0x553a1a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x7d49bc
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x553a71
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x553a71
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x553a71
xor eax, eax
inc eax
jmp 0x553a73
xor eax, eax
leave
ret 0x10
Function at 0x59ad40
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x59ad63
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x59ad89
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x59ad70
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret
Function at 0x5f3b10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, edx
mov edi, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0xf4]
mov esi, ecx
shl edi, 3
lea ecx, [edi + edi]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x20], edi
call fcn.005f37e0
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x5f3b9a
mov ebx, dword [esp + 0x1c]
mov edx, esi
sub ebx, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
push ebp
mov ecx, dword [ebx + edx]
mov eax, dword [edx]
xor esi, esi
test edi, edi
jbe 0x5f3b87
movzx edx, byte [eax + 1]
movzx ebx, byte [eax]
mov ebp, esi
add ebp, edx
add ebx, ebp
sar ebx, 1
mov byte [ecx], bl
inc ecx
xor esi, 1
add eax, 2
dec edi
jne 0x5f3b60
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add edx, 4
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jne 0x5f3b55
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, edx
mov ebx, dword [esi + 0x1c]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0xf4]
push edi
mov edi, ecx
shl ebx, 3
lea ecx, [ebx + ebx]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x30], ebx
call fcn.005f37e0
mov ebp, dword [esi + 0xc]
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebp
jle 0x5f3d77
mov edx, edi
mov dword [esp + 0x14], edx
test ebx, ebx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx]
mov edi, 1
jbe 0x5f3d67
mov ecx, dword [edx + 4]
sub ecx, eax
mov dword [esp + 0x10], ebx
lea esp, [esp]
movzx ebx, byte [ecx + eax]
movzx edx, byte [ecx + eax + 1]
add edx, ebx
movzx ebx, byte [eax + 1]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [eax]
add ebx, edi
add ebx, edx
add ecx, ebx
sar ecx, 2
mov byte [esi], cl
mov ecx, dword [esp + 0x10]
inc esi
xor edi, 3
add eax, 2
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
jne 0x5f3d20
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
add edx, 8
inc ecx
cmp ecx, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jl 0x5f3d01
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x67ec10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x80e400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov ecx, 0x25ad643
call fcn.0053c469
push 0x7bcfdc
lea eax, [ebp - 8]
xor esi, esi
push str..Mixlist.bin
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ucrtbased.dll_fopen_s]
add esp, 0xc
cmp dword [ebp - 8], esi
jne 0x67ec62
push esi
push str.ERROR
push str.Cant_read_Mixlist.bin
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x67ec97
push dword [ebp - 8]
mov esi, dword [sym.imp.ucrtbased.dll_fread]
lea eax, [edi + 4]
push 1
push 0x40d80
push eax
call esi
push dword [ebp - 8]
lea eax, [edi + 0x40d84]
push 1
push 0x1900
push eax
call esi
push dword [ebp - 8]
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 0x24
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00538a8f
leave
ret

Function at 0x681695
Capabilities:
Read file on windows

Disassembly:
jmp 0x681695
jmp fcn.0067ec10
push esi
mov esi, ecx
mov ecx, 0x25ad643
call fcn.0053c469
mov ecx, esi
pop esi
jmp 0x53a6a0
Function at 0x10001250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100013b8
push ebx
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
je 0x100013b7
push esi
push edi
lea eax, [ebx + ebx]
xor edi, edi
test eax, eax
je 0x100012b4
lea esi, [eax + 0x13]
mov eax, dword [0x10054278]
and esi, 0xfffffff0
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x100013b5
push esi
push 0
push edi
call sub.ntdll.dll_memset
add esp, 0xc
test edi, edi
je 0x100013b5
mov ecx, dword [ebp + 0xc]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
call fcn.100192f0
test eax, eax
jne 0x100013b5
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push 0x10046d00
push edi
call ebx
test eax, eax
je 0x10001316
push 0
push 0
push edi
push 0x10016280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x100013b5
lea edx, [ebp + 0xc]
push edx
jmp 0x1000136c
mov esi, dword [ebp + 8]
call fcn.1001af70
test eax, eax
je 0x10001342
push 0
push 0
push edi
push 0x1001b0c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x100013b5
lea eax, [ebp + 0xc]
push eax
jmp 0x1000136c
push str._secrets.key
push edi
call ebx
test eax, eax
je 0x10001392
push 0
push 0
push edi
push 0x1001ca50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x100013b5
lea ecx, [ebp + 0xc]
push ecx
push esi
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x100013b5
test byte [ebp + 0xc], 2
jne 0x100013b5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov edx, dword [0x10054278]
push edi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x100013b5
mov eax, dword [0x10054278]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10001ac0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
add esi, 0xfffffffe
xor ecx, ecx
test esi, esi
jle 0x10001b52
jmp 0x10001af0
movzx edi, byte [edx + ecx]
shr edi, 2
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax], bl
movsx edi, byte [edx + ecx]
movzx ebx, byte [edx + ecx + 1]
and edi, 3
shr ebx, 4
shl edi, 4
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 1], bl
movsx ebx, byte [edx + ecx + 1]
movzx edi, byte [edx + ecx + 2]
and ebx, 0xf
add ebx, ebx
shr edi, 6
add ebx, ebx
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 2], bl
movsx edi, byte [edx + ecx + 2]
and edi, 0x3f
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 3], bl
add ecx, 3
add eax, 4
cmp ecx, esi
jl 0x10001af0
cmp ecx, dword [ebp + 8]
jge 0x10001bce
movzx esi, byte [ecx + edx]
shr esi, 2
mov bl, byte [ebp + esi - 0x44]
mov esi, dword [ebp + 8]
dec esi
mov byte [eax], bl
cmp ecx, esi
jne 0x10001b91
movsx ecx, byte [ecx + edx]
and ecx, 3
add ecx, ecx
mov dl, byte [ebp + ecx*8 - 0x44]
mov byte [eax + 1], dl
pop edi
mov byte [eax + 2], 0x3d
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ecx + edx + 1]
movsx ecx, byte [ecx + edx]
movzx edx, byte [esi]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [eax + 1], cl
movsx edx, byte [esi]
and edx, 0xf
movzx ecx, byte [ebp + edx*4 - 0x44]
pop edi
mov byte [eax + 2], cl
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001c50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
cmp ecx, dword [esi + 4]
jae 0x10001c7a
mov eax, ecx
mov edx, dword [esi]
mov dword [edx + eax*4], 0
inc eax
cmp eax, dword [esi + 4]
jb 0x10001c60
mov dword [esi + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [esi + 8]
cmp ebx, ecx
jae 0x10001d0a
lea eax, [ecx*4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, dword [esi]
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x10001cc9
test ebx, ebx
je 0x10001caf
dec ebx
mov dword [edi + ebx*4], 0
jne 0x10001ca5
mov ecx, dword [edi]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ebx*4]
push ecx
push edi
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
test ebx, ebx
je 0x10001cea
nop
dec ebx
mov dword [edi + ebx*4], 0
jne 0x10001ce0
mov edx, dword [edi]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], edx
mov ecx, edx
pop edi
mov eax, dword [esi + 4]
pop ebx
cmp eax, ecx
jae 0x10001d20
mov edx, dword [esi]
mov dword [edx + eax*4], 0
inc eax
cmp eax, ecx
jb 0x10001d12
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10002ae0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword [ebp + 0xc]
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test eax, eax
je 0x10002b0d
jmp 0x10002b00
mov ecx, dword [ebp + 8]
dec eax
mov dword [ecx + eax*4], 0
jne 0x10002b00
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002b20
sub eax, edx
jne 0x10002b34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
test eax, eax
jns 0x10002b46
fadd qword [0x1004f078]
fmul qword [0x1004f080]
sub esp, 8
fstp qword [esp]
call fcn.10002a70
mov esi, eax
push 1
push esi
call dword [sym.imp.MSVCRT.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
jne 0x10002b73
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov al, byte [ebx]
test al, al
je 0x10002bd0
mov dword [esp + 0x3c], ebx
movsx eax, al
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x10002b8c
mov eax, ecx
jmp 0x10002ba4
lea edx, [eax - 0x61]
cmp edx, 5
ja 0x10002b99
sub eax, 0x57
jmp 0x10002ba4
lea ecx, [eax - 0x41]
cmp ecx, 5
ja 0x10002bc1
sub eax, 0x37
test esi, esi
je 0x10002bc1
lea ecx, [edi + esi - 1]
mov edx, esi
mov edi, edi
movzx ebx, byte [ecx]
shl ebx, 4
add eax, ebx
mov byte [ecx], al
shr eax, 8
dec ecx
dec edx
jne 0x10002bb0
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov al, byte [eax]
test al, al
jne 0x10002b7d
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edx
push eax
call fcn.10002a10
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002c00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, eax
mov dword [ebp - 4], ebx
cmp ebx, edi
ja 0x10002c16
mov dword [ebp - 4], edi
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
push 4
push ebx
call esi
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x10002c33
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 4]
push 4
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
jne 0x10002c4c
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ecx
push ebx
push edx
push esi
push eax
mov eax, edi
call fcn.10002250
test edi, edi
je 0x10002c7b
mov eax, dword [ebp + 8]
mov ecx, esi
sub ecx, eax
lea esp, [esp]
mov edx, dword [ecx + eax]
mov dword [eax], edx
add eax, 4
dec edi
jne 0x10002c70
mov eax, ebx
test ebx, ebx
je 0x10002c8b
dec eax
mov dword [esi + eax*4], 0
jne 0x10002c81
mov eax, dword [esi]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
add esp, 4
mov eax, ebx
test ebx, ebx
je 0x10002cb2
mov edx, dword [ebp + 0x10]
dec eax
mov dword [edx + eax*4], 0
jne 0x10002ca5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
push eax
call esi
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10002cd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
lea edi, [ebx + ebx]
push 4
push edi
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10002cf6
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
mov eax, esi
call fcn.10002010
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push edx
push edi
push esi
push eax
mov eax, ebx
call fcn.10002c00
test edi, edi
je 0x10002d2a
jmp 0x10002d20
dec edi
mov dword [esi + edi*4], 0
jne 0x10002d20
mov ecx, dword [esi]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 0x18]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14
Function at 0x100039b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 4
test eax, eax
jne 0x10003a27
lea eax, [ebp - 4]
push eax
push 0x101
push 0
push str.softwaremicrosoft
push 0x80000001
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x10003a1c
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10056cec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp eax, dword [ebp - 8]
sbb eax, eax
neg eax
jne 0x10003a7f
lea ecx, [ebp - 8]
push ecx
push 0x101
push 0
push str.softwaremicrosoft
push 0x80000002
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x10003a76
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x10056cec
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
cmp ecx, dword [ebp - 4]
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10003a90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
neg eax
sbb esi, esi
neg esi
add esi, 0x80000001
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x102
push 0
push str.softwaremicrosoft
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop esi
test eax, eax
jne 0x10003afa
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push eax
push 0x10056cec
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret