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

Disassembly:
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 + 0x6c]
mov edx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x60]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x41c2a8
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x68]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x41c289
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], 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 0x41c1d1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x60]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x60]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x41c1ab
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x41c2b1
Capabilities:
Encode data using xor

Disassembly:
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 + 0x6c]
push edi
mov edi, dword [esi + 0x60]
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 0x41c3ec
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x68]
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 0x41c3cd
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 0x41c311
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x60]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x60]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x41c2eb
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x41c3f5
Capabilities:
Encode data using xor

Disassembly:
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 + 0x6c]
push edi
mov edi, dword [edx + 0x60]
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 0x41c51c
push ebx
mov edx, dword [edx + 0x68]
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 0x41c4fd
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0x1c
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 + 8]
mov ecx, eax
and ecx, 0xffff00e3
mov ebx, ebp
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00e3
shr edx, 2
lea ecx, [ecx + ebx + 0x42]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xe3
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0x1c
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x42]
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 0x41c44b
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 + 0x60]
mov edx, dword [ecx]
mov edi, dword [edx + 0x60]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x41c42a
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x41c5b1
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
mov ebp, dword [edx + 0x60]
push edi
mov edi, dword [edx + 0x6c]
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 0x41c6e6
push ebx
push esi
mov esi, 0xff1c
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x68]
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 0x41c6c6
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, 0xe3
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 + 0x42]
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 + 0x208]
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 + 0x208]
shr eax, 2
and edx, 0xffff00e3
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 0x41c611
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x60]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x60]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x41c5eb
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x41c800
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
mov ebp, dword [edx + 0x60]
push edi
mov edi, dword [edx + 0x6c]
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 0x41c935
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x68]
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 0x41c915
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 0x41c860
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x60]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x60]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x41c83a
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x41c93d
Capabilities:
Encode data using xor

Disassembly:
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 + 0x6c]
push edi
mov edi, dword [edx + 0x60]
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 0x41ca64
push ebx
mov edx, dword [edx + 0x68]
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 0x41ca45
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 0x41c993
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 + 0x60]
mov edx, dword [ecx]
mov edi, dword [edx + 0x60]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x41c972
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret

Function at 0x42251c
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 0x44f2bc
push 0x80000002
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyA]
test eax, eax
jne 0x422573
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 0x422573
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x422573
xor eax, eax
inc eax
jmp 0x422575
xor eax, eax
leave
ret 0x10
Function at 0x4226df
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x98
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x78], esi
push edi
mov edi, ecx
jne 0x422700
mov eax, 0x8876086c
jmp 0x4227f3
cmp dword [ebp + 0x7c], esi
je 0x422782
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x18], 2
je 0x422762
mov ebx, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push 0xfde9
call ebx
mov dword [ebp + 0x6c], eax
add eax, 3
and eax, 0xfffffffc
call fcn.00432440
mov dword [ebp + 0x7c], esp
push esi
push esi
push dword [ebp + 0x6c]
push dword [ebp + 0x7c]
push 0xffffffffffffffff
push dword [ebp + 0x78]
push esi
push 0xfde9
call ebx
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], esi
cmp dword [ebp + 0x7c], esi
je 0x422782
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
jmp 0x42279b
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x4227e1
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x4227e1
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
je 0x4227e1
cmp eax, esi
je 0x4227ee
push esi
push esi
push esi
push 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
jne 0x4227f1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, 0x88760b59
jmp 0x4227f3
mov dword [edi + 8], esi
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8

Function at 0x424dc0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x424de3
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 0x424e09
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 0x424df0
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 0x424ec0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x424ef2
push esi
call fcn.00436320
mov eax, dword [esi + 0x40]
test eax, eax
je 0x424eeb
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x424f75
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x424f60
lea ebx, [ebx]
mov eax, dword [esi + 8]
test eax, eax
je 0x424f1a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x424f5a
cmp eax, 2
je 0x424f60
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x424f10
cmp eax, 3
je 0x424f3d
cmp eax, 1
jne 0x424f10
mov eax, dword [ecx + 4]
inc eax
mov edx, eax
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x424f10
mov edx, dword [esi + 0x144]
add edx, eax
mov dword [ecx + 8], edx
jmp 0x424f10
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.00424dc0
pop esi
ret 4
cmp ecx, 0xcc
je 0x424f8c
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.00424dc0
pop esi
ret 4
Function at 0x435a96
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x435aa5
xor eax, eax
jmp 0x435b88
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x435b68
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
inc edx
dec edi
jne 0x435ac5
pop edi
test eax, eax
je 0x435b82
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4520c0]
inc edx
dec eax
jne 0x435b6c
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x407e15
Capabilities:
Terminate process

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

Function at 0x417786
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x417795
pop dword [ebp - 0x44]
mov eax, 0x417795
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x6a41667b
add dword [ebp - 0x54], 0xe410ded0
mov dword [ebp - 0x50], 0xcd4cead5
add dword [ebp - 0x50], 0x64e66170
mov dword [ebp - 0x4c], 0xd81f147f
add dword [ebp - 0x4c], 0x742d2faf
mov dword [ebp - 0x48], 0x6540a1e6
sub dword [ebp - 0x48], 0x6540a1e6
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x73df6b23
sub dword [ebp - 0x54], 0xff6d01cd
mov dword [ebp - 0x50], 0xe0c1eef5
sub dword [ebp - 0x50], 0x9f558d80
mov dword [ebp - 0x4c], 0x877a4b6f
add dword [ebp - 0x4c], 0xdbf520fd
mov dword [ebp - 0x48], 0x1bf50316
add dword [ebp - 0x48], 0xe40afcea
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xb17f7922
sub eax, 0xb13d47fe
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x43cfa
push 0
call eax
mov ecx, 0xf60f6fdb
sub ecx, 0xf60f10f8
xor edi, edi
add edi, eax
mov ebx, 0x6a1f5f45
sub ebx, 0x69dc1b45
add ebx, dword [ebp - 0x44]
mov edx, 0xdd4f65e4
sub dword [ebp - 0x30], edx
mov esi, dword [ebx]
xor dword [ebp - 8], 0xaf0d57df
sub esi, edx
sub dword [ebp - 0x24], 0xfa56f336
mov dword [edi], esi
add dword [ebp - 0x1c], 0xa7fdc208
add edi, 0x37381e95
add edi, 0xc8c7e16f
add ebx, 0x4dd6e70a
sub ebx, 0x4dd6e706
loop 0x4178a9
add eax, 0x50762f46
sub eax, 0x5074c0e7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10028ca8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10028cb7
pop dword [ebp - 0x20]
mov eax, 0x58bf6be6
sub eax, 0x48bcdf2f
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xb7de9981
add dword [ebp - 0x30], 0x9673abca
mov dword [ebp - 0x2c], 0x9416811f
add dword [ebp - 0x2c], 0x9e1ccb26
mov dword [ebp - 0x28], 0x774e1c55
add dword [ebp - 0x28], 0xd4fe27d9
mov dword [ebp - 0x24], 0x63f37fd2
sub dword [ebp - 0x24], 0x63f37fd2
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xff258927
sub dword [ebp - 0x30], 0x8ab31fd1
mov dword [ebp - 0x2c], 0x615ddfd7
add dword [ebp - 0x2c], 0xe00e819e
mov dword [ebp - 0x28], 0x339ec6b8
sub dword [ebp - 0x28], 0xd02f5a4c
mov dword [ebp - 0x24], 0x5553bd37
sub dword [ebp - 0x24], 0x5553bd37
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x522dec30
add eax, 0xbdd73414
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x5fb00
push 0
call eax
mov ecx, 0x5925
xor ebx, ebx
add ebx, eax
mov esi, 0x10061000
add esi, dword [ebp - 0x20]
mov edx, 0xef8875b3
add edx, 0x28324901
xor dword [ebp - 0x14], 0x52ad8be5
mov edi, dword [esi]
sub edi, edx
sub dword [ebp - 4], eax
mov dword [ebx], edi
xor dword [ebp - 0xc], 0xe07c052a
add ebx, 0x41fa1e3d
sub ebx, 0x41fa1e39
add esi, 0x796bf03a
sub esi, 0x796bf036
loop 0x10028dca
add eax, 0x5bbcc104
sub eax, 0x5bbb699d
xor ebx, ebx
add ebx, eax
add eax, 0xe45fcd59
add eax, 0x1ba032ac
mov ecx, 0xd100c1c9
add ecx, 0x3eff3e37
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401060
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, eax
mov eax, esi
xor eax, ebx
xor esi, ebx
mov eax, esi
xor esi, ebx
xor ebx, ebx
xor ebx, esi
xor ebx, eax
neg esi
ror edi, 0xeb
sub ebx, 0x95
imul esi
dec edi
dec edx
neg esi
add esi, 0xec
sub esi, 0xb0
bswap edx
or eax, 0xf2
rcl ebx, 0x41
not edi
dec ebx
not ebx
dec esi
add esi, 0x2b
imul edx
inc eax
rcl eax, 0xb2
rcr eax, 0x51
inc eax
and edx, 0xf8
imul edi
mov eax, 0x1e
sub ebx, 0x98
dec edx
rcl edx, 0x56
dec edx
neg ebx
inc edx
or ebx, 0x61
or eax, 0x1c
imul eax
sbb ebx, 0xa2
mov edx, 2
neg edi
not edx
imul edi
and eax, 0x21
rol edx, 0xc2
bswap ebx
rcr edx, 0x80
and edi, 0xed
sub esi, 0xaf
not eax
imul edx
imul esi
not ebx
rol esi, 0x8d
xor ecx, ecx
xor edi, edi
xor eax, esi
mov esi, eax
mov esi, ebx
mov eax, eax
mov ebx, ebx
mov eax, eax
not edx
dec ebx
not eax
inc esi
rcl ebx, 0x40
dec edx
and edx, 0x6f
sub eax, 0x61
dec esi
sub eax, 0xc7
dec eax
inc ebx
bswap ebx
rcl esi, 0x13
rcl eax, 0xf2
dec eax
and esi, 0xe
rcr esi, 0xe1
sbb edx, 0x41
not eax
not eax
dec esi
and edx, 0x8e
bswap eax
and esi, 0x97
dec eax
sub edx, 0xe6
or ebx, 0xc4
imul ebx
and edx, 0x33
rol eax, 0x2d
inc edi
neg ebx
sbb eax, 0x7b
dec edi
mov eax, 0xa
rcl esi, 0xf4
imul esi
mov edi, 0x8e
neg esi
and eax, 8
and edx, 0xd0
ror edi, 0xca
sbb eax, 0x95
bswap esi
ror ebx, 0x60
neg eax
sub edx, 0x2f
imul edi
mov ebx, 0xbd
xor ebx, ebx
xor eax, eax
mov ebx, esi
mov ebx, ebx
mov esi, eax
xor ebx, esi
xor eax, ebx
mov eax, eax
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
not edi
bswap eax
neg edi
neg ebx
not eax
rol edi, 0x8e
rcr ebx, 0x8b
add edi, 0x8c
imul edi
imul esi
ror esi, 0xb9
not eax
not edx
mov edi, 0x46
bswap eax
imul edx
rol esi, 0x7d
neg esi
sbb ebx, 0xb9
rcr ebx, 0xe5
rcr edi, 0x92
sub esi, 0x1b
neg eax
or edx, 0xa7
mov ebx, 0xc2
ror edi, 0xdc
mov edx, 0xbb
neg edi
sub edx, 0xfd
imul eax
neg esi
add eax, 0xac
rcr eax, 0xce
neg ebx
bswap eax
dec edx
rol edx, 0xc0
or esi, 0x2f
sbb esi, 0xf7
and eax, 0x67
rol edx, 0x29
imul ebx
imul ebx
inc eax
add esi, 0xef
inc eax
dec ebx
or edi, 0x53
inc edx
bswap esi
mov edi, dword [ebp + 8]
xor ebx, eax
xor esi, ebx
mov eax, esi
mov esi, eax
mov ebx, ebx
mov ebx, esi
mov ebx, eax
mov ebx, esi
xor ebx, eax
not byte [edi]
mov eax, eax
xor ebx, ebx
xor ebx, eax
mov ebx, eax
mov esi, esi
xor esi, eax
xor esi, eax
mov esi, eax
mov eax, ebx
mov ebx, eax
xor eax, eax
mov esi, eax
add byte [edi], 0xff
sub byte [edi], 0x4a
xor esi, ebx
mov eax, esi
mov ebx, esi
xor eax, eax
xor eax, eax
mov esi, ebx
xor ebx, ebx
xor ebx, esi
mov esi, eax
imul byte [edi]
inc edi
loop 0x401259
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4041f0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40422f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40422f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40422f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40422f
cmp dword [ecx + 0x74], 0xe
jbe 0x40422f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret