joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e830
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49eac0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x531118
mov edx, 0x49ead8
call fcn.004053a8
mov eax, dword [0x530ff8]
mov edx, 0x49eaf4
call fcn.0040577c
jne 0x49ea9d
lea edx, [ebp - 4]
mov eax, dword [0x52bb8c]
mov eax, dword [eax]
call fcn.00473db8
mov eax, dword [ebp - 4]
mov edx, dword [0x531118]
call fcn.0049e4bc
mov edx, 6
mov eax, dword [0x531118]
call fcn.0040a834
mov eax, dword [0x530ff4]
mov eax, dword [eax + 0x368]
mov edx, 0x49eafc
call fcn.004941ec
push 0
lea eax, [ebp - 8]
mov edx, dword [0x531114]
call fcn.00405cdc
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov edx, dword [0x531118]
call fcn.00405cdc
mov edx, dword [ebp - 0xc]
mov eax, dword [0x530ff4]
mov eax, dword [eax + 0x368]
pop ecx
call fcn.00494094
mov eax, dword [0x530ff4]
mov eax, dword [eax + 0x368]
mov edx, 1
call fcn.00494108
cmp dword [0x53105c], 0
je 0x49e95a
cmp dword [0x531060], 0
je 0x49e95a
xor eax, eax
push ebp
push 0x49e950
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x531060]
call fcn.0040a0b4
mov edx, eax
mov eax, dword [0x530ff4]
call fcn.00454d0c
mov eax, dword [0x53105c]
call fcn.0040a0b4
mov edx, eax
mov eax, dword [0x530ff4]
call fcn.00454d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e95a
mov eax, dword [0x5310a8]
mov edx, 0x49eb24
call fcn.0040577c
jne 0x49e977
mov dl, 3
mov eax, dword [0x530ff4]
call fcn.0046c0e4
mov eax, dword [0x52bd28]
cmp dword [eax], 0
je 0x49ea19
xor eax, eax
push ebp
push 0x49ea0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x530ff4]
call fcn.0046adc8
mov ebx, eax
mov eax, dword [0x531044]
call fcn.0040a0b4
add ebx, eax
mov edx, ebx
mov eax, dword [0x52bb40]
mov eax, dword [eax]
call fcn.004703f8
mov eax, dword [0x530ff4]
call fcn.0046ade8
mov ebx, eax
mov eax, dword [0x531048]
call fcn.0040a0b4
add ebx, eax
mov edx, ebx
mov eax, dword [0x52bb40]
mov eax, dword [eax]
call fcn.00470434
mov edx, dword [0x52bd28]
mov edx, dword [edx]
mov eax, dword [0x52bb40]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00455654
mov eax, dword [0x52bb40]
mov eax, dword [eax]
call fcn.0046f9f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49ea19
mov eax, dword [0x530ff4]
mov eax, dword [eax + 0x360]
mov dl, 1
call fcn.00440630
mov eax, dword [0x530ff4]
mov eax, dword [eax + 0x364]
mov dl, 1
call fcn.00440630
cmp dword [0x53107c], 0
je 0x49ea71
mov eax, dword [0x53107c]
mov edx, 0x49eb30
call fcn.0040577c
je 0x49ea71
push 1
push 0
push 0
mov eax, dword [0x53107c]
call fcn.004057e4
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
push ebp
push 0x49ea93
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00447340
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49ea9d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49eac7
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405b74
lea eax, [ebp - 4]
call fcn.00405354
ret
Function at 0x4a0af8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov eax, 0x49f278
call fcn.00407620
mov eax, dword [0x52bb8c]
mov eax, dword [eax]
call fcn.00473594
mov eax, 0x4a0c84
call fcn.0040a65c
test al, al
jne 0x4a0b2f
mov eax, 0x4a0c84
call fcn.0040adcc
push 0x4a0c90
call sub.kernel32.dll_DeleteFileA
mov ecx, 0x4a0cac
mov edx, 0x4a0cc8
mov eax, 0x4a0cd4
call fcn.0049f168
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4823ec]
call fcn.00487030
mov ebx, eax
mov edx, 0x4a0cac
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, 0x4a0c84
mov eax, ebx
call fcn.004877a4
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x50], 1
mov byte [ebx + 0x3a], 1
mov byte [ebx + 0x40], 1
xor eax, eax
push ebp
push 0x4a0ba4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00488094
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a0bce
mov dl, 1
mov eax, 0x4a0d1c
call fcn.0049f07c
mov eax, dword [0x52bb8c]
mov eax, dword [eax]
call fcn.00473480
xor eax, eax
push ebp
push 0x4a0c16
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [0x52bcf4]
mov eax, dword [0x52bb8c]
mov eax, dword [eax]
mov edx, dword [0x49b048]
call fcn.004735ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a0c36
mov ecx, dword [0x52bd3c]
mov eax, dword [0x52bb8c]
mov eax, dword [eax]
mov edx, dword [0x497058]
call fcn.004735ac
mov ecx, dword [0x52bb40]
mov eax, dword [0x52bb8c]
mov eax, dword [eax]
mov edx, dword [0x49a4e0]
call fcn.004735ac
mov eax, dword [0x52bb8c]
mov eax, dword [eax]
call fcn.0047362c
pop edi
pop esi
pop ebx
call fcn.00405240
add byte [eax], al
Function at 0x6eba92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x6ebb67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x6ebb31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x6ebb5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.006ebb71
test eax, eax
je 0x6ebb67
add ebx, 0x14
jmp 0x6ebb3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x6ebb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x6ebddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x6ebddd
mov eax, 1
test eax, eax
je 0x6ebddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x6ebddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x6ebdd3
mov ebx, eax
and eax, 0x80000000
jne 0x6ebd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x6ebddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x6ebddd
mov eax, 1
test eax, eax
je 0x6ebddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x6ebddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x6ebca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x6ebddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x6ebb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x6ebddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x6ebca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x6ebe9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x6ebfee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x6ebfee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.006ebff8
test eax, eax
je 0x6ebfee
add ebx, 0x28
dec ecx
jne 0x6ebfc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x6ec09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x6ec0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x6ec12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x6ec0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x6ec12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x6ec105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x6ec12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x6ec123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x6ec12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x6ec16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x6ec172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x6ec1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x6ec1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x6ecdff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.006ecf04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.006ecf20
push edx
push dword [ebp + 0x10]
push eax
call fcn.006eceec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.006ecf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.006ececb
push ecx
push dword [ebp + 8]
call fcn.006ecf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.006ecf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.006ececb
push ecx
push dword [ebp + 8]
call fcn.006ecf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.006ecf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.006ececb
push ecx
push dword [ebp + 8]
call fcn.006ecf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.006ecf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.006ececb
cmp ecx, 0x2b
jne 0x6ece0f
leave
ret 0xc

Function at 0x6ee4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x6ee544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x291570
push 0
call dword [eax + 0x20]
test eax, eax
je 0x6ee5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x291570
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x291570
call fcn.006ee3fa
push 0x291570
push dword [ebp + 0xc]
call fcn.006ec1a8
test eax, eax
jne 0x6ee5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x291570
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.006ee5dd
test eax, eax
je 0x6ee5d6
jmp 0x6ee574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x6ee5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x6ee60b
Capabilities:
Terminate process

Disassembly:
call fcn.006ee618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x466172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4661a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4661a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x466dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00466f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00466f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00466eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
push ecx
push dword [ebp + 8]
call fcn.00466f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00466f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00466ecb
cmp ecx, 0x2b
jne 0x466e0f
leave
ret 0xc

Function at 0x4684b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x468544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x58ef0
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4685d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x58ef0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x58ef0
call fcn.004683fa
push 0x58ef0
push dword [ebp + 0xc]
call fcn.004661a8
test eax, eax
jne 0x4685b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x58ef0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004685dd
test eax, eax
je 0x4685d6
jmp 0x468574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4685d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x4032fc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x535008], 0x8088405
inc edx
mov dword [ebx + 0x535008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403e68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x535024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403f00
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403ee0
xor eax, eax
push ebp
push 0x403ed9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403f38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ee0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x535024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x535024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ff4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x539054], 0
je 0x405055
cmp word [0x539330], 0xd7b2
jne 0x40501d
cmp dword [0x539338], 0
jbe 0x40501d
mov eax, 0x53932c
call dword [0x539348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405080
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x535030], 0
jne 0x405071
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x535034], 0
je 0x405226
mov edx, esi
mov eax, ebx
call dword [0x535034]
jmp 0x405235
mov eax, 8
call fcn.00403018
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x539055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4051c8
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc

Function at 0x406f50
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x406f92
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x406fb2
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00406640
add esp, 0x41c
pop esi
pop ebx
ret
Function at 0x414210
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x414680
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x415778
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x53bb6c
push 0xa
push 0x41580c
mov eax, dword [0x53bb50]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x41579c
call fcn.0041e308
push ebx
mov eax, dword [0x53bb50]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x4157b3
call fcn.0041e308
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x4157c5
call fcn.0041e308
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x53bb70], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x53bb74], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x53bb78], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x53bb7c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x53bb80], ecx
add edx, dword [eax + 0x14]
mov dword [0x53bb84], edx
pop esi
pop ebx
ret

Function at 0x416e44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x416eed
test eax, edx
je 0x416ef0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x416e6d
push edx
mov edx, eax
mov eax, esp
call fcn.0040665c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x416e83
push eax
lea eax, [esp + 8]
call fcn.0040665c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x416e92
movzx eax, word [eax]
sub eax, ecx
jmp 0x416eb9
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x416ed3
add ecx, 4
js 0x416eaa
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x416ed0
push eax
mov eax, ecx
mov edx, 2
call fcn.004052a0
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x416eb7
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x416eb9
xor eax, eax
ret
test eax, eax
je 0x416f00
test edx, edx
jne 0x416e54
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret