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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44e507
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44e4fd
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44e3dc
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44e3dc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x44e3ef
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x44e4d2
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x44e4c4
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x44e4bb
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x44e446
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x44e48f
mov eax, 1
cmp eax, ecx
ja 0x44e47d
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0045e600
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x44e4b6
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x44e482
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x44e44b
call fcn.0045e5a0
xor eax, eax
mov ecx, eax
call fcn.0045e590
call fcn.0045e600
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x44e4f8
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x44e4c9
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x44e3f4
call fcn.0045e5a0
xor eax, eax
mov ecx, eax
call fcn.0045e590
nop
call fcn.0045d0e0
jmp fcn.0044e380
Function at 0x452490
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452590
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00452d20
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x4d5620]
mov dword [esp], ecx
call fcn.0040bad0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x586950]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00451d10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00451130
add esp, 0x28
ret
call fcn.0045d0e0
jmp fcn.00452490
Function at 0x455b00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x455b9f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045e717
lea ecx, [0x455bb0]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045cfd0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045d0e0
jmp fcn.00455b00
Function at 0x45e3a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x5a2560]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45cb8b
je 0x45cbde
cmp ebx, 0x20
jbe 0x45cbe4
cmp ebx, 0x40
jbe 0x45cc2a
jmp 0x45cccb
test ebx, ebx
je 0x45cbd4
add eax, 0x10
test ax, 0xff0
je 0x45cbc0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x50a3c0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x50a4c0]
jmp 0x45cba8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45cba8
pxor xmm1, xmmword [0x5a2570]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5a2570]
pxor xmm2, xmmword [0x5a2580]
pxor xmm3, xmmword [0x5a2590]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5a2570]
pxor xmm2, xmmword [0x5a2580]
pxor xmm3, xmmword [0x5a2590]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45cd2a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x5a226d], 0
je 0x45e3ba
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45cb50
jmp fcn.004084c0
Function at 0x45e3c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x402d1e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004084c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0045d0e0
jmp 0x402ce0
cmp byte [0x5a226d], 0
je 0x45e3db
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45cb50
jmp 0x402ce0
Function at 0x4adea0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x4adeb6
cmp word [ebx], 0x5a4d
je 0x4adec0
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebx + 0x3c]
add edi, ebx
cmp dword [edi], 0x4550
jne 0x4adeb6
cmp word [edi + 4], 0x14c
jne 0x4adeb6
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov eax, dword [edi + 0x50]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
sub esp, 0x10
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov dword [edx], eax
test eax, eax
je 0x4adeb6
movzx eax, word [edi + 0x14]
cmp word [edi + 6], 0
lea esi, [edi + eax + 0x18]
je 0x4adf57
xor ebp, ebp
lea esi, [esi]
nop
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
add ebp, 1
add esi, 0x28
mov eax, dword [esp + 0x1c]
add eax, dword [esi - 0x1c]
add ecx, ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
movzx eax, word [edi + 6]
cmp ebp, eax
jl 0x4adf20
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004adcd0
test eax, eax
mov eax, dword [esp + 0x54]
je 0x4ae036
mov ecx, dword [eax]
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x4adf93
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0xa0]
call fcn.004adc00
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov eax, dword [edi + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x2c]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
mov dword [edx + 4], eax
mov edx, dword [eax + 0x3c]
add edx, eax
mov dword [esi + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x40
mov edx, dword [edx + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp eax, 1
je 0x4adeb8
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
test eax, eax
je 0x4ae019
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
sub esp, 0xc
mov eax, dword [esp + 0x54]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x4adeb6
mov eax, dword [eax]
test eax, eax
jne 0x4adffd
jmp 0x4ae019
Function at 0x4ae040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x4ae0ba
mov esi, ebx
add esi, dword [ebx + 0x3c]
je 0x4ae0ba
mov esi, dword [esi + 0x78]
test esi, esi
je 0x4ae0ba
lea eax, [ebx + esi]
mov ebp, dword [eax + 0x20]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
add ebp, ebx
test esi, esi
je 0x4ae0ba
xor edi, edi
jmp 0x4ae08a
add edi, 1
add ebp, 4
cmp edi, esi
je 0x4ae0c8
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [ebp]
add eax, ebx
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4ae080
mov edx, dword [esp + 0x1c]
lea eax, [ebx + edi*2]
add eax, dword [edx + 0x24]
movzx eax, word [eax]
lea eax, [ebx + eax*4]
add eax, dword [edx + 0x1c]
add ebx, dword [eax]
mov esi, ebx
add esp, 0x2c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
xor esi, esi
jmp 0x4ae0ba

Function at 0x4ae450
Capabilities:
Create thread

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll__beginthread]
cmp eax, 0xffffffff
jne 0x4ae4b8
call ebx
cmp dword [eax], 0xd
je 0x4ae4c0
call ebx
mov ebx, dword [eax]
mov dword [esp], 2
call dword [0x4cb218]
mov dword [esp + 4], str.runtime:_failed_to_create_new_OS_thread___d__n
mov dword [esp + 8], ebx
mov dword [esp], eax
call fcn.004ae170
call sub.msvcrt.dll_abort
lea esi, [esi]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
add ebp, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
cmp ebp, 0x14
jne 0x4ae467
jmp 0x4ae488
Function at 0x4b39f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004b50f0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004b50f0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4b3a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x5a6a70]
test esi, esi
jle 0x4b3b70
mov eax, dword [0x5a6a74]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x4b3a84
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4b3b07
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4b3a70
mov dword [esp], ebx
call fcn.004b43b0
mov edi, eax
test eax, eax
je 0x4b3b97
mov eax, dword [0x5a6a74]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.004b44f0
mov edx, dword [0x5a6a74]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4b3b77
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4b3b00
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x4b3b10
add dword [0x5a6a70], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x5a6a74]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4b3b00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004b39f0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4b3a8e
mov eax, dword [0x5a6a74]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004b39f0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004b39f0
lea esi, [esi]
nop
Function at 0x4b4030
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x5a6a8c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x5a6a84]
sub esp, 4
test ebx, ebx
je 0x4b4085
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4b407e
test esi, esi
je 0x4b407e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4b4060
mov dword [esp], 0x5a6a8c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4b43b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4b43d5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4b43e0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4b43d5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x4b4428
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x4b441e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x4b442a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4b4410
xor eax, eax
pop ebx
pop esi
ret
Function at 0x10188c6c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101a5eb0]
jne 0x10188c76
repz ret
jmp fcn.10188f1d

Function at 0x10189220
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101a5e90], 0
mov dword [0x101a5e94], 0
mov dword [0x101a5ea0], 0
mov dword [0x101a5e88], 0x162d
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x10189383
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101a5e8c], 0x57
mov edx, dword [0x101a5e90]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x101a5e90], edx
mov dword [0x101a5e88], 0x1af0
mov esi, dword [0x101a5e94]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x101a5e94], edx
mov dword [0x101a5e8c], 0x166
mov ecx, dword [0x101a5e90]
mov bl, byte [edi + ecx]
mov byte [0x101a5e98], bl
mov ecx, dword [0x101a5e88]
add ecx, 0x416
mov dword [0x101a5e88], ecx
mov ecx, dword [0x101a5e94]
mov bl, byte [edi + ecx]
mov ecx, dword [0x101a5e90]
mov byte [edi + ecx], bl
mov bl, byte [0x101a5e98]
mov ecx, dword [0x101a5e94]
mov byte [edi + ecx], bl
mov ecx, dword [0x101a5e88]
add ecx, 0xffffdd0a
mov dword [0x101a5e88], ecx
mov ecx, dword [0x101a5e90]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x101a5e94]
movzx edx, byte [edi + edx]
add edx, ecx
mov dword [0x101a5e8c], 0x109c
and edx, 0xff
mov dword [0x101a5ea0], edx
mov dword [0x101a5e88], 0x1faa
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov bl, byte [ecx + esi]
xor bl, byte [edi + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], bl
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x20], esi
jne 0x10189279
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10189710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
mov ecx, dword [0x101a5e8c]
add ecx, 0xffffef76
mov dword [0x101a5e88], ecx
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x101897c9
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0x64
mov edi, edx
add edi, esi
add edi, 0x60
mov esi, dword [edi]
imul edi, eax, 0x64
mov ebx, edx
add ebx, edi
add ebx, 0x20
mov edi, dword [ebx]
imul ebx, eax, 0x64
add edx, ebx
add edx, 0x5c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x44]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
call fcn.1018a680
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov edx, dword [ebp - 0x48]
add edx, 1
cmp edx, 0x425
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
je 0x1018988a
jmp 0x10189740
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x64
mov edi, edx
add edi, esi
add edi, 0x60
mov esi, dword [edi]
imul edi, eax, 0x64
add edx, edi
add edx, 0x5c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x425
mov ecx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x101897c9
lea eax, [0x1018b208]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x101a5e88], 0xc9e
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
call fcn.10189ee0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.1018a180
mov ecx, eax
mov dword [0x101a5ea8], eax
mov eax, esp
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x10189740
mov dword [0x101a5e88], 0xa6f
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x54]
mov dword [esp + 8], ecx
call fcn.10189f80
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x4a77d
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x12da00
mov ecx, dword [ebp - 0x44]
add ecx, 0x2da33
mov dword [edx + 8], ecx
mov dword [0x101a5e88], 0xbf1
mov dword [edx + 0xc], 0x1f00
mov ecx, dword [0x101a5e88]
add ecx, 0x1c6b
mov dword [0x101a5e8c], ecx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018a030
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101a5e94], 0
mov byte [0x101a5e98], 0
mov dword [0x101a5e88], 0x9f1
mov dword [0x101a5e90], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [0x101a5e90]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101a5e88], 0x14ca
mov eax, dword [0x101a5e90]
add eax, 1
mov dword [0x101a5e90], eax
cmp eax, 0x100
jl 0x1018a070
mov dword [0x101a5e90], 0
mov eax, 0x100
mov dword [0x101a5e9c], 0
mov ecx, dword [0x101a5e88]
add ecx, 0xffffe3ce
mov dword [0x101a5e88], ecx
mov ecx, dword [0x101a5e94]
mov edx, dword [0x101a5e90]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x101a5e9c], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x101a5e94], edx
mov ecx, dword [0x101a5e90]
mov cl, byte [esi + ecx]
mov byte [0x101a5e98], cl
mov dword [0x101a5e88], 0x1fd5
mov cl, byte [esi + edx]
mov edx, dword [0x101a5e90]
mov byte [esi + edx], cl
mov cl, byte [0x101a5e98]
mov edx, dword [0x101a5e94]
mov byte [esi + edx], cl
mov edx, dword [0x101a5e8c]
add edx, 0xfffff45d
mov dword [0x101a5e88], edx
mov edx, dword [0x101a5e90]
add edx, 1
mov dword [0x101a5e90], edx
cmp edx, 0x100
jl 0x1018a0a9
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret