joyce8/EMBER2024-capa huggingface dataset:
Function at 0x556ce0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
mov eax, dword [edi]
movzx ecx, byte [ebx + 1]
add word [eax + 2], 4
add ecx, 4
movzx eax, byte [ebx - 5]
mov dword [esp + 8], ecx
mov byte [ebx + 1], cl
cmp ecx, eax
jbe 0x556d33
cmp dword [esp + 8], 0x7c
lea ecx, [ebx - 6]
mov eax, dword [ecx]
mov edx, dword [ebx]
push esi
mov si, word [ebx + 4]
mov dword [ebx], eax
mov ax, word [ecx + 4]
mov dword [ecx], edx
mov word [ecx + 4], si
mov word [ebx + 4], ax
mov dword [edi + 8], ecx
pop esi
jbe 0x556d33
mov ecx, edi
call fcn.005568d0
mov eax, dword [edi + 8]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [edi + 0xc], 0
jne 0x556d57
cmp ecx, dword [edi + 0x40]
jbe 0x556d57
mov dword [edi], ecx
mov dword [edi + 4], ecx
pop edi
pop ebx
pop ecx
ret
mov ecx, edi
pop edi
pop ebx
add esp, 4
jmp fcn.00556e20

Function at 0x556d70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [ebp]
movzx ebx, byte [edi + 1]
movzx edx, word [esi + 2]
lea ecx, [ebx + ebx]
cmp edx, ecx
sbb eax, eax
add ebx, 4
neg eax
add dword [ebp + 0x20], eax
mov dword [ebp + 0x14], eax
lea eax, [edx + 4]
mov word [esi + 2], ax
mov byte [edi + 1], bl
cmp ebx, 0x7c
jbe 0x556dac
mov ecx, ebp
call fcn.005568d0
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
cmp dword [ebp + 0xc], 0
jne 0x556dd2
cmp ecx, dword [ebp + 0x40]
jbe 0x556dd2
pop edi
pop esi
mov dword [ebp], ecx
mov dword [ebp + 4], ecx
pop ebp
pop ebx
ret
pop edi
pop esi
mov ecx, ebp
pop ebp
pop ebx
jmp fcn.00556e20

Function at 0x556de0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
mov eax, dword [edi + 0x24]
movzx edx, byte [esi + 1]
mov dword [edi + 0x20], eax
add edx, 4
mov eax, dword [edi]
add word [eax + 2], 4
mov byte [esi + 1], dl
cmp edx, 0x7c
jbe 0x556e08
call fcn.005568d0
mov ecx, edi
pop edi
pop esi
jmp fcn.00556e20
Function at 0x558ea0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x98
push 0
mov dword [esp + 0x18], edi
lea eax, [edi + 0x100]
push eax
call sub.msvcrt.dll_memset
push 0x98
lea eax, [edi + 0x198]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x30]
add esp, 0x18
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x10100ff
mov dword [ecx + 8], 0
nop
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x558f50
xor ebp, ebp
lea edx, [edi + 0x1048]
mov dword [esp + 0x14], ebp
xor ebx, ebx
mov dword [esp + 0x18], edx
nop dword [eax]
lea ecx, [edi + 0x330]
add ecx, ebx
movzx eax, byte [ecx]
cmp eax, ebp
jne 0x558f9c
nop
movzx eax, byte [ecx + 1]
lea ecx, [ecx + 1]
inc ebx
cmp eax, ebp
je 0x558f90
lea ebp, [ebx + 1]
mov esi, edx
xor edi, edi
movzx eax, word [edi + 0x58d130]
xor edx, edx
div ebp
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop word [eax + eax]
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x558fc0
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x558fa3
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc ebp
mov edi, dword [esp + 0x10]
sub edx, 0xffffff80
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
cmp ebp, 0x19
jb 0x558f80
mov eax, dword [esp + 0x10]
xor edx, edx
lea edi, [edx + 3]
lea ebx, [eax + 0x448]
lea ebp, [edx + 0x18]
nop word [eax + eax]
lea ecx, [eax + 0x333]
movzx eax, byte [ecx + edx]
add ecx, edx
cmp eax, edi
jne 0x55902c
movzx eax, byte [ecx + 1]
lea ecx, [ecx + 1]
inc edx
cmp eax, edi
je 0x559020
mov eax, edx
mov ecx, ebx
shl eax, 4
mov esi, 0x20
add eax, 0x28
movzx eax, ax
nop
mov word [ecx], ax
lea ecx, [ecx + 4]
mov word [ecx - 2], 0x703
sub esi, 1
jne 0x559040
mov eax, dword [esp + 0x10]
inc edi
sub ebx, 0xffffff80
sub ebp, 1
jne 0x559010
pop edi
pop esi
pop ebp
pop ebx
mov dword [eax + 0x444], 0x40070000
add esp, 0xc
ret

Function at 0x55ace0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0
push dword [esp + 0x14]
push edx
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x55ad09
xor eax, eax
pop ecx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
pop ecx
ret 4
Function at 0x55ad20
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
mov esi, ecx
push eax
push 4
push dword [esp + 0x18]
push edx
push 0
push 0
call sub.msvcrt.dll__beginthreadex
mov edi, eax
add esp, 0x18
mov dword [esi], edi
test edi, edi
je 0x55ad64
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x55ad64
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
pop edi
cmovne ecx, eax
mov eax, ecx
pop esi
pop ecx
ret 8
Function at 0x55b5d0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x55b5f8
sub edx, 3
je 0x55b5e9
sub edx, 6
jne 0x55b5ff
add ecx, 0x10
jmp fcn.00565b40
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 0xc], 0xffffffff
ret
mov dword [ecx + 4], 0xffffffff
ret
Function at 0x5651c0
Capabilities:
Hash data using sha1

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov edi, dword [esi + 8]
and edi, 0x3f
mov byte [edi + esi + 0x40], 0x80
inc edi
cmp edi, 0x38
jbe 0x56520d
cmp edi, 0x40
je 0x5651f9
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edi
add ecx, edi
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi]
lea ebp, [esi + 0x40]
lea ebx, [esi + 0x20]
mov edx, ebp
push 1
mov ecx, ebx
call eax
xor edi, edi
jmp 0x565213
lea ebp, [esi + 0x40]
lea ebx, [esi + 0x20]
mov eax, 0x38
sub eax, edi
push eax
lea eax, [esi + 0x40]
add eax, edi
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, ebp
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebx
push 1
call eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
bswap eax
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 0x24]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x28]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x2c]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x30]
bswap eax
mov dword [ecx + 0x10], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x24], 0xefcdab89
mov dword [esi + 0x28], 0x98badcfe
mov dword [esi + 0x2c], 0x10325476
mov dword [esi + 0x30], 0xc3d2e1f0
pop esi
pop ebp
mov dword [ebx], 0x67452301
pop ebx
pop ecx
ret

Function at 0x565320
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [0x5b2108]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret

Function at 0x565360
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x67452301
mov dword [ecx + 0x24], 0xefcdab89
mov dword [ecx + 0x28], 0x98badcfe
mov dword [ecx + 0x2c], 0x10325476
mov dword [ecx + 0x30], 0xc3d2e1f0
ret
Function at 0x565a50
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x565a9a
cmp edx, 0x40
je 0x565a86
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi]
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x20]
mov edx, ebx
push 1
mov ecx, ebp
call eax
xor edx, edx
jmp 0x565aa0
lea ebx, [esi + 0x40]
lea ebp, [esi + 0x20]
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, ebx
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebp
push 1
call eax
mov edx, ebp
mov ebx, 4
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x565ae0
pop edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
mov dword [ebp], 0x6a09e667
pop ebp
pop ebx
ret

Function at 0x565b40
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x5b210c]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x565b90
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x566950
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [0x5c015c], 6
jl 0x56696a
vmovd xmm0, ecx
vpinsrd xmm0, xmm0, edx, 1
vcvtqq2pd xmm0, xmm0
ret
movd xmm0, ecx
orps xmm0, xmmword [0x58db30]
subsd xmm0, qword [0x58db30]
test edx, edx
je 0x566991
cvtsi2sd xmm1, edx
mulsd xmm1, qword [0x58db50]
addsd xmm0, xmm1
ret

Function at 0x567500
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x56753f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x56753f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x56753f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x56753f
cmp dword [ecx + 0x74], 0xe
jbe 0x56753f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x567a30
Capabilities:
Get process heap force flags

Disassembly:
call fcn.00567960
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x567a5a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x567a66
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x567a70
Capabilities:
Get process heap force flags

Disassembly:
call fcn.00567960
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x567a9a
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x567f30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00447840
mov esi, dword [ebp + 8]
test al, al
je 0x567f4e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.00567f60
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x568090
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5680ec
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5680ec
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5680ec
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5680ec
cmp dword [ecx + 0x74], 0xe
jbe 0x5680ec
cmp dword [ecx + 0xe8], 0
je 0x5680ec
push dword [ebp + 8]
call fcn.00567f60
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x5c04b8
call fcn.00567d40
add esp, 8
cmp dword [ebp - 8], 0
jne 0x568121
push dword [ebp + 8]
call fcn.00567f30
mov esp, ebp
pop ebp
ret

Function at 0x568160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5681bc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5681bc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5681bc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5681bc
cmp dword [ecx + 0x74], 0xe
jbe 0x5681bc
cmp dword [ecx + 0xe8], 0
je 0x5681bc
push dword [ebp + 8]
call fcn.00567f60
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x5c04b8
call fcn.00567d40
add esp, 8
cmp dword [ebp - 8], 0
jne 0x5681f1
push dword [ebp + 8]
call fcn.00567f30
mov esp, ebp
pop ebp
ret
Function at 0x5688d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x5688fa
mov eax, 2
pop ebp
ret
push esi
call fcn.00567960
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x56891a
jmp dword [eax*4 + 0x568950]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.00568cc0
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x568cf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x5b2140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x568d17
mov ecx, 5
int 0x29
push 2
call fcn.005675a4
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x568e22
test esi, esi
jne 0x568e22
push 2
call fcn.005675a4
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00567235
mov esp, ebp
pop ebp
ret

Function at 0x568fd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x568ffd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x568ffd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5695a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp edi, 0x1f
jb 0x569740
test edx, 3
je 0x5695d2
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x5695b7
xor eax, dword [edx]
lea edi, [edx + edi - 0x1b]
sub edx, edi
lea ebx, [ebx]
mov ecx, dword [edi + edx + 0xc]
mov ebx, dword [edi + edx + 8]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x400]
xor ecx, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 4]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x1400]
xor ecx, dword [ebp + ebx*4 + 0x1000]
movzx esi, al
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebp + esi*4 + 0x2c00]
xor ecx, dword [ebp + ebx*4 + 0x2000]
ror eax, 0x10
movzx esi, al
shr eax, 0x18
xor ecx, dword [ebp + esi*4 + 0x2400]
xor ecx, dword [ebp + eax*4 + 0x2800]
mov eax, dword [edi + edx + 0x18]
mov ebx, dword [edi + edx + 0x14]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x400]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 0x10]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x1400]
xor eax, dword [ebp + ebx*4 + 0x1000]
movzx esi, cl
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebp + esi*4 + 0x2c00]
xor eax, dword [ebp + ebx*4 + 0x2000]
ror ecx, 0x10
movzx esi, cl
shr ecx, 0x18
xor eax, dword [ebp + esi*4 + 0x2400]
xor eax, dword [ebp + ecx*4 + 0x2800]
add edx, 0x18
jae 0x5695e0
add edi, 0x18
sub edx, 0x18
movzx ebx, al
movzx ecx, ah
shr eax, 0x10
movzx esi, al
shr eax, 8
mov eax, dword [ebp + eax*4]
xor eax, dword [ebp + ebx*4 + 0xc00]
xor eax, dword [ebp + ecx*4 + 0x800]
xor eax, dword [ebp + esi*4 + 0x400]
add edx, 4
jb 0x569739
xor eax, dword [edi + edx]
jmp 0x569707
add edx, edi
add edi, 3
sub edi, edx
test edi, edi
je 0x569757
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jne 0x569744
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x1001091f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1001092e
pop dword [ebp - 0x14]
mov eax, 0xc043a20a
add eax, 0x4fbd6724
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xafbf9214
sub dword [ebp - 0x24], 0x616d4cc9
mov dword [ebp - 0x20], 0x257eb0fd
add dword [ebp - 0x20], 0xcb49b48
mov dword [ebp - 0x1c], 0xd3892e97
sub dword [ebp - 0x1c], 0x873cea69
mov dword [ebp - 0x18], 0xdfca36cb
add dword [ebp - 0x18], 0x2035c935
lea eax, [ebp - 0x24]
push eax
mov eax, 0x26d2dcea
sub eax, 0x16d0ec46
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xb0a5a396
sub dword [ebp - 0x24], 0x3c333a40
mov dword [ebp - 0x20], 0x3913efea
sub dword [ebp - 0x20], 0xf7a78e75
mov dword [ebp - 0x1c], 0xbd4c878b
sub dword [ebp - 0x1c], 0x59dd1b1f
mov dword [ebp - 0x18], 0xecfb247
add dword [ebp - 0x18], 0xf1304db9
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x280df872
add eax, 0xe7f3f82a
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3dd2f
push 0
call eax
mov ecx, 0x5300
mov edx, eax
mov esi, 0x33f5fee8
sub esi, 0x23f364e8
add esi, dword [ebp - 0x14]
mov ebx, 0x5ec2563d
add ebx, 0x93d37d49
mov dword [ebp - 4], 0x78eb7f6c
mov edi, dword [esi]
add dword [ebp - 8], 0x26d2b429
xor edi, ebx
xor dword [ebp - 4], ecx
mov dword [edx], edi
sub dword [ebp - 8], 0x7b9c6fa2
add edx, 0xd3feac8a
sub edx, 0xd3feac86
add esi, 0xbc12279a
add esi, 0x43edd86a
loop 0x10010a4a
add eax, 0xa39a187f
sub eax, 0xa398d9ac
xor ebx, ebx
add ebx, eax
add eax, 0xfe2d900b
sub eax, 0xfe2d9006
mov ecx, 0x79631b90
sub ecx, 0x69631b90
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc