joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12f6570
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x12f6583
mov esi, 1
mov edx, 0x12fda98
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x12fdac0
jl 0x12f65c0
mov eax, 1
mov byte [0x12fb898], 0x63
mov byte [0x12fc9fb], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x12fb898], bl
mov byte [ebx + 0x12fc998], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x12f6600
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x12fb898]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x12fb998], ecx
rol ecx, 8
mov dword [esi*4 + 0x12fbd98], ecx
rol ecx, 8
mov dword [esi*4 + 0x12fc198], ecx
rol ecx, 8
mov dword [esi*4 + 0x12fc598], ecx
movzx ecx, byte [esi + 0x12fc998]
test ecx, ecx
je 0x12f672f
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x12f6738
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x12fca98], eax
rol eax, 8
mov dword [esi*4 + 0x12fce98], eax
rol eax, 8
mov dword [esi*4 + 0x12fd298], eax
rol eax, 8
mov dword [esi*4 + 0x12fd698], eax
inc esi
cmp esi, 0x100
jl 0x12f6675
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x12f6790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x12f67a6
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x12f68fa
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x12f6842
mov ebx, dword [ebp + 0x18]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 8], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [ebx]
push esi
push ebx
push dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
call fcn.012f7ac0
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x12f6813
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x12f6813
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x12f6800
mov eax, dword [ebp + 0x14]
jmp 0x12f6823
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp - 0x18]
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [eax], xmm0
jne 0x12f67d6
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x18]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x12f686e
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x12f687c
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x12f68ad
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x12f68ad
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x12f6890
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x12f68ba
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x12f68ca
call fcn.012f8050
jmp 0x12f68cf
call fcn.012f7ac0
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
sub ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
add esp, 0xc
mov dword [ebp + 0x10], ebx
add edi, 0x10
mov dword [ebp - 4], esi
sub dword [ebp - 8], 1
movups xmmword [ecx], xmm0
jne 0x12f6860
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12f6940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
push dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x118]
push dword [ebp + 0xc]
mov ecx, 0x46
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.012f6b40
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x12f6b34
mov ecx, dword [ebp - 0x118]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x12f6b1b
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x12fb898]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x12fd698]
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fd298]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fce98]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fca98]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12fb898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12fd298]
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fce98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fd698]
movzx eax, bl
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fca98]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12fb898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12fd298]
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fce98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fd698]
movzx eax, bl
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fca98]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12fb898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12fd298]
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fce98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fd698]
movzx eax, bl
movzx eax, byte [eax + 0x12fb898]
xor edx, dword [eax*4 + 0x12fca98]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x12f69c0
pop ebx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x12f8ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], 0xa438
mov eax, dword [ebp - 0x34]
xor eax, 0x64
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x34]
inc eax
xor eax, 0x62
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x34]
add eax, 2
xor eax, 0x67
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x34]
add eax, 3
xor eax, 0x68
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x34]
add eax, 4
xor eax, 0x65
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x34]
add eax, 5
xor eax, 0x6c
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x34]
add eax, 6
xor eax, 0x70
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x34]
add eax, 7
xor eax, 0x2e
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x34]
add eax, 8
xor eax, 0x64
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x34]
add eax, 9
xor eax, 0x6c
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x34]
add eax, 0xa
xor eax, 0x6c
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
xor edx, edx
mov ax, word [ebp - 0x30]
mov ax, word [ebp + edx*2 - 0x30]
mov ecx, dword [ebp - 0x34]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x30], cx
inc edx
cmp edx, 0xb
jb 0x12f8b53
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x69c]
call eax
mov esi, eax
test esi, esi
jne 0x12f8b95
pop edi
mov eax, 0xe0d00721
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0x63
xor edx, edx
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0xa
mov byte [ebp - 0x12], 0xd
mov byte [ebp - 0x11], 0xa
mov byte [ebp - 0x10], 0x27
mov byte [ebp - 0xf], 0x16
mov byte [ebp - 0xe], 0xe
mov byte [ebp - 0xd], 0x13
mov byte [ebp - 0xc], 0x34
mov byte [ebp - 0xb], 0x11
mov byte [ebp - 0xa], 0xa
mov byte [ebp - 9], 0x17
mov byte [ebp - 8], 6
mov byte [ebp - 7], 0x27
mov byte [ebp - 6], 0x16
mov byte [ebp - 5], 0xe
mov byte [ebp - 4], 0x13
mov al, byte [ebp - 0x14]
mov byte [ebp - 3], 0
nop dword [eax]
mov al, byte [ebp + edx - 0x14]
movsx ecx, byte [ebp - 0x18]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x14], al
inc edx
cmp edx, 0x11
jb 0x12f8bf0
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
mov eax, dword [edi + 0x6a4]
push esi
call eax
mov ecx, eax
test ecx, ecx
jne 0x12f8c29
pop edi
mov eax, 0xe0d00728
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
pop esi
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12faba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
mov word [edi], cx
test eax, eax
je 0x12fadac
push ebx
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x12fadab
mov ecx, 0xd962
mov edx, 0xd977
nop word [eax + eax]
mov dword [ebp - 0x2c], 0xd947
mov eax, 0xd975
mov word [ebp - 0x28], cx
mov word [ebp - 0x26], dx
mov word [ebp - 0x24], ax
mov eax, 0xd91f
mov word [ebp - 0x22], ax
xor eax, eax
mov word [ebp - 0x20], ax
xor edx, edx
mov ax, word [ebp - 0x28]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x28]
movzx ecx, ax
movzx eax, word [ebp - 0x2c]
xor ecx, eax
mov word [ebp + edx*2 - 0x28], cx
inc edx
cmp edx, 4
jb 0x12fac10
xor eax, eax
mov word [ebp - 0x20], ax
movsx eax, byte [esi + ebx + 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi + 0x768]
call eax
add esp, 0xc
cmp word [edi], 0
jne 0x12faca4
mov dword [ebp - 0x1c], 0x9ee5
mov eax, 0x9ec0
mov word [ebp - 0x18], ax
mov eax, 0x9e89
mov word [ebp - 0x16], ax
mov eax, 0x9e96
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
xor edx, edx
mov ax, word [ebp - 0x18]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x18]
movzx ecx, ax
movzx eax, word [ebp - 0x1c]
xor ecx, eax
mov word [ebp + edx*2 - 0x18], cx
inc edx
cmp edx, 3
jb 0x12fac80
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
jmp 0x12fad09
mov dword [ebp - 0x10], 0xe6d3
mov eax, dword [ebp - 0x10]
xor eax, 0x25
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x10]
inc eax
xor eax, 0x6c
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x10]
add eax, 2
xor eax, 0x73
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x10]
add eax, 3
xor eax, 0x2d
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
mov ax, word [ebp - 0xc]
xor eax, eax
mov cx, word [ebp + eax*2 - 0xc]
mov edx, dword [ebp - 0x10]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 0xc], dx
inc eax
cmp eax, 4
jb 0x12face6
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x454]
push eax
mov eax, dword [esi + 0x768]
call eax
mov dword [ebp - 0x40], 0xfde4
mov eax, 0xfdc1
mov word [ebp - 0x3c], ax
mov ecx, 0xfd88
mov word [ebp - 0x3a], cx
mov edx, 0xfd97
mov word [ebp - 0x38], dx
add esp, 0xc
mov word [ebp - 0x36], ax
xor eax, eax
mov word [ebp - 0x34], cx
mov word [ebp - 0x32], dx
xor edx, edx
mov word [ebp - 0x30], ax
mov ax, word [ebp - 0x3c]
nop word [eax + eax]
mov ax, word [ebp + edx*2 - 0x3c]
movzx ecx, ax
movzx eax, word [ebp - 0x40]
xor ecx, eax
mov word [ebp + edx*2 - 0x3c], cx
inc edx
cmp edx, 6
jb 0x12fad60
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi + 0x768]
push edi
call eax
mov ecx, 0xd962
add esp, 0x10
lea edx, [ecx + 0x15]
sub ebx, 1
jne 0x12fabe0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x64001750
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64052e48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6407b1c0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x6407b1c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.640035d0
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.64001670
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x640017cd
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.6402ed7f
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x640017f6
push dword [esp + 0x10]
call fcn.6402d4cf
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.6402dc64
mov esp, ebp
pop ebp
ret 0xc
Function at 0x64006b10
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640534d5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6407b1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
lea edx, [edi + 8]
mov dword [edi + 4], 0x640724cc
mov dword [edx], 0x64072378
mov dword [edi + 0x18dc], 0x64055214
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
mov dword [edi], vtable.MHAPI_V2::MHConfiguration.0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.MHAPI_V2::MHConfiguration.1.0
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.MHObjectImpl.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0xc]
mov dword [ecx + edx - 4], eax
mov ecx, dword [ebp + 8]
mov dword [edx + 4], ecx
test ecx, ecx
je 0x64006bb1
mov eax, dword [edx]
mov eax, dword [eax + 4]
add eax, edx
push eax
call fcn.6402c190
mov dword [ebp - 4], 2
mov eax, dword [edi + 4]
mov dword [edi], vtable.MHConfiguration2Impl.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.MHConfiguration2Impl.0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18d8]
mov dword [ecx + edi], eax
lea eax, [edi + 0x10]
push eax
call fcn.640463c0
lea eax, [edi + 0x18]
mov byte [ebp - 4], 3
push eax
mov dword [edi + 0x14], 0
call fcn.640463a0
add esp, 8
mov byte [ebp - 4], 4
lea esi, [edi + 0x38]
mov ecx, esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.6400a7c0
push esi
push ecx
lea ecx, [edi + 0x1828]
mov byte [ebp - 4], 5
call fcn.6400d5f0
sub esp, 8
mov byte [ebp - 4], 6
lea ecx, [edi + 0x18ac]
call fcn.64009170
push 0
mov byte [ebp - 4], 7
push 0
mov dword [edi + 0x18cc], 0
mov dword [edi + 0x18d0], 0
call fcn.64005fd0
mov dword [edi + 0x18cc], eax
mov byte [ebp - 4], 8
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.6400ff20
mov ecx, edi
call fcn.6400f300
mov ecx, edi
call fcn.64008b50
mov ecx, edi
call fcn.6400ede0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x64009340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x64009350
sub ecx, edx
mov esi, 0x811c9dc5
mov edx, 0
je 0x64009376
movzx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x64009365
push 0x1f31d
and esi, 0x7fffffff
push esi
call fcn.6402f42e
imul ecx, eax, 0xb14
add esp, 8
imul edx, edx, 0x41a7
sub edx, ecx
lea eax, [edx + 0x7fffffff]
js 0x640093a2
mov eax, edx
pop edi
pop esi
pop ebp
ret 4
Function at 0x6400b5f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64053db7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6407b1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x64072744
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.6400c6e0
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.6400c790
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x6408b790]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x6400c3f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64053e48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6407b1c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x6407b1c0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x6400c544
cmp byte [ebx + 0x45], 0
je 0x6400c544
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x6400c450
xor al, al
jmp 0x6400c546
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x6400c490
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x6400c4d1
dec eax
je 0x6400c4d5
sub eax, 2
je 0x6400c52b
xor bl, bl
jmp 0x6400c52d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x6400c50c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.640300bc
add esp, 0x10
cmp esi, eax
jne 0x6400c4cd
cmp byte [ebx + 0x45], 0
je 0x6400c52b
test esi, esi
jne 0x6400c490
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.6400c110
jmp 0x6400c490
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x6400c540
push dword [esp + 0x18]
call fcn.6402d4cf
add esp, 4
mov al, bl
jmp 0x6400c546
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.6402dc64
mov esp, ebp
pop ebp
ret
Function at 0x6400d5f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64053eb6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6407b1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0xc]
mov dword [esi], edi
mov dword [esi + 4], 0x30
mov dword [esi + 8], 0x258
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0x63
mov dword [esi + 0x18], 0x63
mov dword [esi + 0x1c], 0x63
mov dword [esi + 0x20], 0xffffff9d
mov dword [esi + 0x24], 0xffffff9d
mov dword [esi + 0x28], 0xffffff9d
mov dword [esi + 0x2c], pe_nt_image_headers32
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0x20
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xffffffff
mov dword [esi + 0x50], 0
push 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
push 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.64005fd0
mov dword [esi + 0x68], eax
mov dword [ebp - 4], 0
push 0
mov byte [esi + 0x70], 0
push 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
call fcn.64005fd0
mov dword [esi + 0x74], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.6400ab60
mov dword [esi + 0x64], eax
cmp byte [edi + 0x15e0], 0
je 0x6400d755
mov eax, dword [edi + 0x15e4]
mov ecx, eax
shl ecx, 8
inc eax
push pe_nt_image_headers32
add ecx, edi
mov dword [edi + 0x15e4], eax
push 0x640727fc
push ecx
call fcn.6402c710
mov eax, dword [edi + 0x15e4]
add esp, 0xc
dec eax
jmp 0x6400d757
xor eax, eax
mov dword [esi + 0x7c], eax
cmp byte [edi + 0x15e0], 0
je 0x6400d793
mov eax, dword [edi + 0x15e4]
mov ecx, eax
shl ecx, 8
inc eax
push pe_nt_image_headers32
add ecx, edi
mov dword [edi + 0x15e4], eax
push str.EnhanceTimer
push ecx
call fcn.6402c710
mov eax, dword [edi + 0x15e4]
add esp, 0xc
dec eax
jmp 0x6400d795
xor eax, eax
push 0
push 0
mov ecx, esi
mov dword [esi + 0x80], eax
call fcn.6400d8c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8