joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x419173
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x419182
pop dword [ebp - 8]
mov eax, 0xd76d1da6
add eax, 0x28d473dc
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xe30d89c6
sub dword [ebp - 0x18], 0x94bb447b
mov dword [ebp - 0x14], 0xcdb372ee
add dword [ebp - 0x14], 0x647fd957
mov dword [ebp - 0x10], 0x6386a8e5
add dword [ebp - 0x10], 0xe8c59b49
mov dword [ebp - 0xc], 0xd7c38366
add dword [ebp - 0xc], 0x283c7c9a
lea eax, [ebp - 0x18]
push eax
mov eax, 0xbf65ccf0
add eax, 0x40dc6384
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xf4f81b7
sub dword [ebp - 0x18], 0x9add1861
mov dword [ebp - 0x14], 0xe3282241
add dword [ebp - 0x14], 0x5e443f34
mov dword [ebp - 0x10], 0x5a30ad2c
add dword [ebp - 0x10], 0x93ebf40
mov dword [ebp - 0xc], 0x143e910
add dword [ebp - 0xc], 0xfebc16f0
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x5b03462b
sub eax, 0x5ac11507
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x440ec
push 0
call eax
mov ecx, 0x7d48b944
sub ecx, 0x7d4857e1
xor ebx, ebx
add ebx, eax
mov edi, 0xe6c397dd
sub edi, 0xe68053dd
add edi, dword [ebp - 8]
mov edx, 0xec36c31f
add edx, 0xf40c4a87
add dword [ebp - 4], 0xcfc9199d
mov esi, dword [edi]
add dword [ebp - 4], 0x570aa8a3
xor esi, edx
sub dword [ebp - 4], eax
mov dword [ebx], esi
mov dword [ebp - 4], 0xd6a62f7f
add ebx, 4
add edi, 0x420ed697
add edi, 0xbdf1296d
loop 0x4192a6
add eax, 0x51f0d8d8
add eax, 0xae109f87
xor ebx, ebx
add ebx, eax
add eax, 0x87a26985
sub eax, 0x87a26980
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4d1abe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, 0x5a4d
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
cmp word [esi], ax
jne 0x4d1c21
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx], 0x4550
jne 0x4d1c21
mov eax, dword [edi + 0x688]
test eax, eax
je 0x4d1c21
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
je 0x4d1c21
mov eax, 0x1c0
cmp word [ebp - 4], ax
je 0x4d1b26
mov eax, 0xaa64
cmp word [ebp - 4], ax
jne 0x4d1c21
cmp dword [ebx + 8], 0x27debf2c
jne 0x4d1b51
push 0x4b2e8f83
push 0x4b2e8de3
push 0x4b280000
mov edx, esi
mov ecx, edi
call fcn.004d1a38
add esp, 0xc
xor eax, eax
jmp 0x4d1c26
cmp dword [ebx + 8], 0x88330560
jne 0x4d1b66
push 0x4b3fabde
push 0x4b3fa92b
jmp 0x4d1b39
cmp dword [ebx + 8], 0xe892dd44
jne 0x4d1b7b
push 0x4b406b8e
push 0x4b4068db
jmp 0x4d1b39
and dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push 0
push 1
push ecx
push 0x2bcd03a7
push esi
mov ecx, edi
call fcn.004d2131
test eax, eax
js 0x4d1c26
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d1c21
lea eax, [ebx - 0x140]
mov dword [ebp - 0x1c], 0x3f3f3fe8
push 8
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x18], 0x843f
push ecx
mov edx, 0x140
mov byte [ebp - 0x16], 0xc0
mov ecx, eax
mov dword [ebp - 0x24], 0x1b8
mov word [ebp - 0x20], 0x8400
mov byte [ebp - 0x1e], 0xc0
mov dword [ebp - 0x10], eax
call fcn.004d26c9
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4d1bf1
mov ecx, dword [ebp - 0x10]
mov edx, 0x140
jmp 0x4d1c0e
push 7
lea eax, [ebp - 0x1c]
mov edx, 0x200
push eax
mov ecx, ebx
call fcn.004d26c9
test eax, eax
jne 0x4d1c2b
mov edx, 0x200
mov ecx, ebx
push 8
lea eax, [ebp - 0x24]
push eax
call fcn.004d26c9
test eax, eax
jne 0x4d1b4a
mov eax, 0xe0010001
pop edi
pop esi
pop ebx
leave
ret
push eax
push dword [ebp - 0x14]
push esi
jmp 0x4d1b3e

Function at 0x4d2551
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4d256f
mov eax, dword [ecx + 0x3c]
cmp eax, 0x400
jg 0x4d256f
add eax, ecx
cmp dword [eax], 0x4550
je 0x4d2571
xor eax, eax
ret
Function at 0x4d5924
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 0x4d5937
mov esi, 1
mov edx, 0x4dcf04
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, 0x4dcf2c
jl 0x4d5974
mov eax, 1
mov byte [0x4dad04], 0x63
mov byte [0x4dbe67], 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 + 0x4dad04], bl
mov byte [ebx + 0x4dbe04], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x4d59b4
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x4dad04]
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 + 0x4dae04], ecx
rol ecx, 8
mov dword [esi*4 + 0x4db204], ecx
rol ecx, 8
mov dword [esi*4 + 0x4db604], ecx
rol ecx, 8
mov dword [esi*4 + 0x4dba04], ecx
movzx ecx, byte [esi + 0x4dbe04]
test ecx, ecx
je 0x4d5ae3
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 0x4d5aec
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 + 0x4dbf04], eax
rol eax, 8
mov dword [esi*4 + 0x4dc304], eax
rol eax, 8
mov dword [esi*4 + 0x4dc704], eax
rol eax, 8
mov dword [esi*4 + 0x4dcb04], eax
inc esi
cmp esi, 0x100
jl 0x4d5a29
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d5b44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x4d5b5a
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4d5cae
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x4d5bf6
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.004d6e74
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x4d5bc7
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x4d5bc7
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 0x4d5bb4
mov eax, dword [ebp + 0x14]
jmp 0x4d5bd7
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 0x4d5b8a
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 0x4d5c22
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x4d5c30
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x4d5c61
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x4d5c61
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 0x4d5c44
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x4d5c6e
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 0x4d5c7e
call fcn.004d7404
jmp 0x4d5c83
call fcn.004d6e74
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 0x4d5c14
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4d5cf4
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.004d5ef4
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x4d5ee8
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 0x4d5ecf
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x4dad04]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x4dcb04]
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dc704]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dc304]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dbf04]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x4dad04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x4dc704]
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dc304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dcb04]
movzx eax, bl
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dbf04]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x4dad04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x4dc704]
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dc304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dcb04]
movzx eax, bl
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dbf04]
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 + 0x4dad04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x4dc704]
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dc304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dcb04]
movzx eax, bl
movzx eax, byte [eax + 0x4dad04]
xor edx, dword [eax*4 + 0x4dbf04]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x4d5d74
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 0x4d7d14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], 0x1d1a
mov edx, 0x1d7e
mov word [ebp - 0x30], dx
mov eax, 0x1d78
mov word [ebp - 0x2e], ax
mov ecx, 0x1d76
mov eax, 0x1d7d
mov word [ebp - 0x2c], ax
mov eax, 0x1d72
mov word [ebp - 0x2a], ax
mov eax, 0x1d7f
mov word [ebp - 0x28], ax
mov eax, 0x1d6a
mov word [ebp - 0x26], cx
mov word [ebp - 0x24], ax
mov eax, 0x1d34
mov word [ebp - 0x22], ax
xor eax, eax
mov word [ebp - 0x20], dx
xor edx, edx
mov word [ebp - 0x1e], cx
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], ax
mov ax, word [ebp - 0x30]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x30]
movzx ecx, ax
movzx eax, word [ebp - 0x34]
xor ecx, eax
mov word [ebp + edx*2 - 0x30], cx
inc edx
cmp edx, 0xb
jb 0x4d7d84
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 + 0x698]
call eax
mov esi, eax
test esi, esi
jne 0x4d7dcb
call dword [0x4fbfb4]
pop edi
or eax, 0xe0ff0000
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0x65
mov eax, dword [ebp - 0x18]
xor eax, 0x4d
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
inc al
xor eax, 0x69
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
add al, 2
xor eax, 0x6e
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
add al, 3
xor eax, 0x69
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
add al, 4
xor eax, 0x44
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x18]
add al, 5
xor eax, 0x75
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x18]
add al, 6
xor eax, 0x6d
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x18]
add al, 7
xor eax, 0x70
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x18]
add al, 8
xor eax, 0x57
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
add al, 9
xor eax, 0x72
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x18]
add al, 0xa
xor eax, 0x69
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x18]
add al, 0xb
xor eax, 0x74
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x18]
add al, 0xc
xor eax, 0x65
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x18]
add al, 0xd
xor eax, 0x44
mov byte [ebp - 7], al
mov eax, dword [ebp - 0x18]
add al, 0xe
xor eax, 0x75
mov byte [ebp - 6], al
mov eax, dword [ebp - 0x18]
add al, 0xf
xor eax, 0x6d
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x18]
add al, 0x10
mov byte [ebp - 3], 0
xor eax, 0x70
xor edx, edx
mov byte [ebp - 4], al
mov al, byte [ebp - 0x14]
mov al, byte [ebp + edx - 0x14]
mov ecx, dword [ebp - 0x18]
add cl, dl
movsx eax, al
xor ecx, eax
mov byte [ebp + edx - 0x14], cl
inc edx
cmp edx, 0x11
jb 0x4d7e94
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
mov eax, dword [edi + 0x6a0]
push esi
call eax
mov ecx, eax
test ecx, ecx
je 0x4d7dba
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 0x4d9804
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x780], 0xffffffff
je 0x4d9900
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push eax
mov eax, dword [esi + 0x6c0]
call eax
mov dword [ebp - 0x14], 0x56
xor edx, edx
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x26
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x66
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x68
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x3e
mov byte [ebp - 5], 0x25
mov byte [ebp - 4], 0x5b
mov byte [ebp - 3], 0x5c
mov al, byte [ebp - 0x10]
mov byte [ebp - 2], 0
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x10]
movsx ecx, byte [ebp - 0x14]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x10], al
inc edx
cmp edx, 0xe
jb 0x4d9884
lea eax, [ebp - 0x414]
mov byte [ebp - 2], 0
push eax
mov eax, dword [esi + 0x740]
call eax
push eax
push dword [esi + 0x700]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x214]
push eax
mov eax, dword [esi + 0x6c8]
call eax
add esp, 0x14
lea eax, [ebp - 0x214]
cmp byte [ebp - 0x214], 0
je 0x4d98e0
inc eax
cmp byte [eax], 0
jne 0x4d98da
push 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x214]
sub eax, ecx
push eax
mov eax, ecx
push eax
push dword [esi + 0x780]
mov eax, dword [esi + 0x6bc]
call eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d9914
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4dcf64]
sub esp, 0x18
cmp eax, 0x1ff
jae 0x4d9938
inc eax
mov dword [0x4dcf64], eax
mov byte [eax + 0x4dcf68], 0x11
mov eax, dword [0x4dcf64]
cmp dword [0x4dcf4c], 0
jne 0x4d99f9
push 1
push 0x4dcf44
call fcn.004d8614
add esp, 8
test eax, eax
js 0x4d99f4
cmp dword [0x4dd6c4], 0xffffffff
je 0x4d99f4
mov dword [ebp - 0x18], 5
xor edx, edx
mov byte [ebp - 0x14], 0x55
mov byte [ebp - 0x13], 0x57
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x46
mov byte [ebp - 0x10], 0x40
mov byte [ebp - 0xf], 0x56
mov byte [ebp - 0xe], 0x56
mov byte [ebp - 0xd], 0x25
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 0xb], 0x4a
mov byte [ebp - 0xa], 0x48
mov byte [ebp - 9], 0x55
mov byte [ebp - 8], 0x49
mov byte [ebp - 7], 0x40
mov byte [ebp - 6], 0x51
mov byte [ebp - 5], 0x40
mov byte [ebp - 4], 0x25
mov byte [ebp - 3], 0x20
mov byte [ebp - 2], 0x61
mov al, byte [ebp - 0x14]
mov byte [ebp - 1], 0
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, 0x13
jb 0x4d99c5
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov byte [ebp - 1], 0
push eax
push 0x4dcf44
call fcn.004d9804
add esp, 0xc
mov eax, dword [0x4dcf64]
mov ecx, dword [0x4dd640]
test ecx, ecx
je 0x4d9a1e
push ecx
call dword [0x4dd5ec]
dec dword [0x4dcf64]
mov dword [0x4dd640], 0
mov esp, ebp
pop ebp
ret
dec eax
mov dword [0x4dcf64], eax
mov esp, ebp
pop ebp
ret
Function at 0x4da094
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
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 0x4da261
push ebx
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x4da260
nop dword [eax]
mov dword [ebp - 0x10], 0xabc9
mov eax, dword [ebp - 0x10]
xor eax, 0x25
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x10]
inc eax
xor eax, 0x30
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x10]
add eax, 2
xor eax, 0x32
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x10]
add eax, 3
xor eax, 0x58
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 0x4da106
xor eax, eax
mov word [ebp - 4], ax
movsx eax, byte [esi + ebx + 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esi + 0x768]
call eax
add esp, 0xc
cmp word [edi], 0
jne 0x4da198
mov dword [ebp - 0x1c], 0xb277
mov eax, 0xb252
mov word [ebp - 0x18], ax
mov eax, 0xb21b
mov word [ebp - 0x16], ax
mov eax, 0xb204
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
xor edx, edx
mov ax, word [ebp - 0x18]
nop
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 0x4da174
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
jmp 0x4da1e1
mov eax, 0x30
mov word [ebp - 0x26], ax
mov eax, 0x77
mov word [ebp - 0x24], ax
mov eax, 0x7e
mov word [ebp - 0x22], ax
mov eax, 0x38
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x1e], ax
xor ecx, ecx
mov ax, word [ebp - 0x26]
mov ax, word [ebp + ecx*2 - 0x26]
movzx eax, ax
add eax, 0xfffffff5
mov word [ebp + ecx*2 - 0x26], ax
inc ecx
cmp ecx, 4
jb 0x4da1c8
lea eax, [ebp - 0x26]
push edi
push eax
lea eax, [ebp - 0x448]
push eax
mov eax, dword [esi + 0x768]
call eax
mov eax, 0x26
mov ecx, 0x6d
mov word [ebp - 0x34], ax
mov edx, 0x74
mov word [ebp - 0x32], cx
add esp, 0xc
mov word [ebp - 0x30], dx
mov word [ebp - 0x2e], ax
xor eax, eax
mov word [ebp - 0x2c], cx
xor ecx, ecx
mov word [ebp - 0x2a], dx
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x34]
mov ax, word [ebp + ecx*2 - 0x34]
movzx eax, ax
dec eax
mov word [ebp + ecx*2 - 0x34], ax
inc ecx
cmp ecx, 6
jb 0x4da228
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0x768]
push edi
call eax
add esp, 0x10
sub ebx, 1
jne 0x4da0c4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40497e
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4049aa
add dword [esp], 5
retf

Function at 0x40ae56
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x40ae9d
cmp ebx, 0x20
je 0x40ae9d
cmp ebx, 0xffffffe0
je 0x40ae9d
jne 0x40aea6
add eax, 1
cmp esi, eax
je 0x40aeb3
jne 0x40ae82
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x40aeb7
jne 0x40ae7e
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x40aecb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x40af10
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x40af16
add eax, 4
pop esi
dec esi
push esi
jne 0x40aef8
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8

Function at 0x41496b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x4149b0
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x4149b6
add eax, 4
pop esi
dec esi
push esi
jne 0x414998
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8