joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f3ac
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x158
push 8
push dword [0x4a0808]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x4a1614]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x4a1618], esi
and dword [esi + 0x88], 0
or dword [esi + 0x8c], 0xffffffff
or dword [esi + 0x90], 0xffffffff
push esi
mov dword [esi + 0x84], 0xffffff
mov dword [esi + 0x6c], 2
mov dword [esi + 0x70], 0x3f
call fcn.00445431
mov dword [esi + 0x58], 0x43f32b
mov dword [esi + 0x5c], 0x43f36a
mov dword [esi + 0x10], fcn.0043e4c9
mov dword [esi + 0x30], 0x43e64e
mov dword [esi + 0x64], 0x43e757
mov dword [esi + 0x60], 0x43e7a4
mov dword [esi + 0x34], 0x43eeca
mov dword [esi + 0x24], 0x43ed69
mov dword [esi + 0x28], 0x43ed92
mov dword [esi + 0x2c], 0x43edbd
mov dword [esi + 0x44], 0x43f1bb
mov eax, esi
pop esi
ret 4

Function at 0x440894
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [esi + 0xb4]
mov dword [ebp - 4], ecx
je 0x440909
imul ecx, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x14]
add eax, dword [ebp + 8]
push ebx
lea edx, [eax + edx*4]
push edi
mov eax, dword [esi + 0xac]
imul eax, dword [ebp + 0x10]
add eax, dword [esi + 0xa8]
mov edi, edx
add eax, ecx
cmp dword [ebp + 0x18], 0
jle 0x4408f8
mov ebx, dword [ebp + 0x18]
mov dword [ebp + 0x14], ebx
mov bl, byte [edi + 2]
xor byte [eax + 2], bl
mov bl, byte [edi + 1]
xor byte [eax + 1], bl
mov bl, byte [edi]
xor byte [eax], bl
add eax, dword [ebp - 4]
add edi, 4
dec dword [ebp + 0x14]
jne 0x4408dd
dec dword [ebp + 0x1c]
add edx, dword [ebp + 0xc]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x1c], 0
jne 0x4408bd
pop edi
pop ebx
leave
ret 0x18

Function at 0x4416ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 0
mov edx, dword [esi + 0xb4]
je 0x44174e
push ebx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x14]
mov ecx, edx
imul ecx, dword [ebp + 0x10]
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x18]
add edi, dword [ebp + 8]
add eax, edi
mov edi, eax
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xac]
imul eax, dword [ebp + 0x10]
add eax, dword [esi + 0xa8]
add eax, ecx
cmp dword [ebp + 0x1c], 0
jle 0x441737
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0x14], ebx
mov bl, byte [edi + 2]
xor byte [eax + 2], bl
mov bl, byte [edi + 1]
xor byte [eax + 1], bl
mov bl, byte [edi]
xor byte [eax], bl
add edi, 3
add eax, edx
dec dword [ebp + 0x14]
jne 0x44171d
mov edi, dword [ebp + 0x18]
add edi, dword [ebp + 0xc]
dec dword [ebp + 0x20]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x20], 0
mov dword [ebp + 0x18], edi
jne 0x4416ff
pop edi
pop ebx
pop ebp
ret 0x1c
Function at 0x4417a8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
imul eax, eax, 3
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 4], eax
je 0x441842
mov eax, dword [ebp + 0x14]
imul ecx, ecx, 3
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x18]
add eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, edx
imul esi, esi, 3
add ecx, eax
push edi
mov edi, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xac]
imul ecx, dword [ebp + 0x14]
add ecx, dword [eax + 0xa8]
mov edx, dword [ebp - 4]
add ecx, esi
test edx, edx
jle 0x44182a
mov eax, 0xff
sub eax, dword [ebp + 0x20]
mov dword [ebp + 0x18], edx
mov dword [ebp - 8], eax
movzx eax, byte [ecx]
movzx edx, byte [edi]
imul eax, dword [ebp - 8]
imul edx, dword [ebp + 0x20]
add eax, edx
cdq
mov ebx, 0xff
idiv ebx
inc edi
mov byte [ecx], al
inc ecx
dec dword [ebp + 0x18]
jne 0x441809
mov edi, dword [ebp + 0xc]
add edi, dword [ebp + 0x10]
dec dword [ebp + 0x1c]
inc dword [ebp + 0x14]
cmp dword [ebp + 0x1c], 0
mov dword [ebp + 0xc], edi
jne 0x4417df
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Create process on windows
Create thread
Get common file path
Resume thread
Suspend thread

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x40e000
push 0x40d048
push edi
call fcn.00402c10
mov esi, 0x12c
push esi
call fcn.00402d7b
push esi
mov dword [0x40e00c], eax
call fcn.00402d7b
push esi
mov dword [0x40e004], eax
call fcn.00402d7b
push esi
mov dword [0x40e008], eax
call fcn.00402d7b
push dword [0x40e004]
mov dword [0x40e010], eax
push dword [0x40e00c]
call fcn.00401c03
push dword [0x40e00c]
call fcn.00402d00
mov ecx, eax
mov eax, dword [0x40e00c]
add esp, 0x24
xor ebx, ebx
cmp byte [ecx + eax - 1], 0x22
jne 0x401085
push eax
call fcn.00402d00
pop ecx
mov ecx, dword [0x40e00c]
mov byte [eax + ecx - 1], bl
push dword [0x40e004]
call fcn.00402d00
pop ecx
mov ecx, eax
mov eax, dword [0x40e004]
cmp byte [ecx + eax - 1], 0x22
jne 0x4010b0
push eax
call fcn.00402d00
pop ecx
mov ecx, dword [0x40e004]
mov byte [eax + ecx - 1], bl
push esi
push dword [0x40e008]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push dword [0x40e010]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x3e8
call fcn.00402d7b
push dword [0x40e00c]
mov esi, eax
push esi
call fcn.00402c10
add esp, 0xc
push edi
push esi
call fcn.00402d00
pop ecx
lea eax, [eax + esi - 3]
push eax
call fcn.00402c10
push esi
call fcn.00402d00
add eax, dword [0x40e004]
push eax
push esi
call fcn.00402c20
push dword [0x40e00c]
call fcn.00401701
add esp, 0x18
push 1
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
push str.gogo
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push eax
call esi
test eax, eax
jne 0x4011a5
call fcn.00401508
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push 0x4014ba
push 0x1000
push ebx
call edi
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push 0x4016d6
push 0x400
push ebx
call edi
mov edi, eax
push ebx
push edi
call esi
test eax, eax
je 0x4011a5
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x384
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
push edi
call esi
test eax, eax
jne 0x401183
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x401a15
Capabilities:
Move file

Disassembly:
mov eax, 0x409fe8
call fcn.004032bc
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push dword [ebp + 8]
push esi
call fcn.0040197e
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push ebx
push esi
call fcn.0040197e
add esp, 0x10
cmp eax, 0x989680
mov dword [ebp - 0x14], eax
jg 0x401bdd
push ebx
call fcn.00402d00
inc eax
push eax
call fcn.00402d7b
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x18], edi
call fcn.00402c10
add esp, 0x10
push 0x40e000
push edi
call fcn.00402d00
pop ecx
lea eax, [eax + edi - 3]
push eax
call fcn.00402c10
pop ecx
pop ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x401bdd
push 0x40
call fcn.00402d7b
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
mov dword [ebp - 4], esi
mov ebx, 0xa0
je 0x401ac0
push 1
mov ecx, eax
push dword [0x40b150]
push ebx
push dword [ebp + 8]
call fcn.00401ee6
mov edi, eax
jmp 0x401ac2
xor edi, edi
or dword [ebp - 4], 0xffffffff
push 0x3c
call fcn.00402d7b
pop ecx
mov dword [ebp + 8], eax
push 1
cmp eax, esi
pop ecx
mov dword [ebp - 4], ecx
je 0x401af3
push ecx
mov ecx, eax
push dword [0x40b150]
push 0x80
push dword [ebp + 0xc]
call fcn.00401dc2
mov esi, eax
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
inc eax
push eax
call fcn.00402d7b
pop ecx
mov dword [ebp + 8], eax
push dword [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00402051
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp + 8]
call fcn.0040200e
push dword [ebp + 8]
call fcn.00402d89
pop ecx
mov ecx, edi
call fcn.00401e8c
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.00402d7b
pop ecx
mov dword [ebp + 8], eax
push dword [0x40b150]
mov ecx, edi
push ebx
push dword [ebp - 0x18]
call fcn.00401fb0
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.00402051
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp + 8]
call fcn.0040200e
mov ecx, edi
call fcn.00401e8c
push dword [ebp + 8]
call fcn.00402d89
pop ecx
lea eax, [ebp - 0x10]
push 4
push eax
mov ecx, esi
call fcn.0040200e
lea eax, [ebp - 0x14]
push 4
push eax
mov ecx, esi
call fcn.0040200e
push 9
push str.shomosant
mov ecx, esi
call fcn.0040200e
mov ecx, esi
call fcn.00401e8c
test edi, edi
je 0x401bb8
mov eax, dword [edi]
push 1
mov eax, dword [eax + 4]
lea ecx, [eax + edi]
mov eax, dword [eax + edi]
call dword [eax]
test esi, esi
je 0x401bcb
mov eax, dword [esi]
push 1
mov eax, dword [eax + 4]
lea ecx, [eax + esi]
mov eax, dword [eax + esi]
call dword [eax]
push dword [ebp - 0x18]
call fcn.00401bec
push dword [ebp - 0x18]
call fcn.00402d89
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x401bec
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x20
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret
Function at 0x401c03
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, 0x1f4
push edi
call fcn.00402d7b
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push esi
call fcn.00402c10
cmp byte [esi], 0x22
pop ecx
pop ecx
jne 0x401c49
push esi
call fcn.00402d00
dec eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.00401cee
push eax
push esi
call fcn.00402c10
add esp, 0x14
xor eax, eax
cmp byte [eax + esi], 0x22
jne 0x401c55
and byte [eax + esi], 0
inc eax
cmp eax, edi
jl 0x401c4b
push esi
xor edi, edi
call fcn.00402d00
dec eax
pop ecx
dec eax
test eax, eax
jle 0x401c9a
mov al, byte [edi + esi]
cmp al, 0x65
je 0x401c74
cmp al, 0x45
jne 0x401c8c
mov al, byte [edi + esi + 1]
cmp al, 0x78
je 0x401c80
cmp al, 0x58
jne 0x401c8c
mov al, byte [edi + esi + 2]
cmp al, 0x65
je 0x401c9a
cmp al, 0x45
je 0x401c9a
push esi
inc edi
call fcn.00402d00
dec eax
pop ecx
dec eax
cmp edi, eax
jl 0x401c69
push esi
call fcn.00402d00
dec eax
pop ecx
dec eax
cmp edi, eax
jl 0x401cbe
push esi
push dword [ebp + 8]
call fcn.00402c10
push esi
push dword [ebp + 0xc]
call fcn.00402c10
add esp, 0x10
jmp 0x401ce3
lea eax, [ebp - 4]
add edi, 3
push eax
push esi
mov dword [ebp - 4], edi
call fcn.00401d4b
push eax
push dword [ebp + 8]
call fcn.00402c10
push esi
push dword [ebp + 0xc]
call fcn.00402c10
add esp, 0x18
push esi
call fcn.00402d89
pop ecx
pop edi
pop esi
leave
ret

Function at 0x405e05
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40d6d8
cmp edx, dword [eax]
je 0x405e27
add eax, 8
inc ecx
cmp eax, 0x40d768
jl 0x405e18
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40d6d8]
jne 0x405f55
mov eax, dword [0x40e040]
cmp eax, 1
je 0x405f2f
test eax, eax
jne 0x405e58
cmp dword [0x40d378], 1
je 0x405f2f
cmp edx, 0xfc
je 0x405f55
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405e8f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402c10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402d00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405ed2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402d00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b5b4
push edi
call fcn.00408340
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402c10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402c20
lea eax, [ebp - 0xa0]
push 0x40b594
push eax
call fcn.00402c20
push dword [esi + 0x40d6dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402c20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004082ae
add esp, 0x2c
pop edi
jmp 0x405f55
lea eax, [ebp + 8]
lea esi, [esi + 0x40d6dc]
push 0
push eax
push dword [esi]
call fcn.00402d00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40cc2c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4347f7
call fcn.004336f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004028a5
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.004028a5
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028a5
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004028a5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004028a5
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004028a5
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.004028a5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40d395
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43491f
call fcn.004336f0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402978
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402978
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00402978
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.00402978
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00402978
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00402978
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.00402978
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x412c62
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x412c8f
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x444740]
xor eax, edi
inc esi
cmp esi, edx
jb 0x412c6e
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x415ab6
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
mov eax, ecx
jbe 0x415bcd
mov ecx, edx
mov edx, dword [esp + 4]
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
dec ecx
jne 0x415ac6
ret 4
Function at 0x4166b2
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov dword [ebp - 8], ecx
push esi
xor ebx, ebx
xor eax, eax
push edi
mov dword [ebp - 4], edx
xor ecx, ecx
mov byte [ebp + eax - 0x50], bl
add eax, 1
adc ecx, ebx
jne 0x4166d7
cmp eax, 0x40
jb 0x4166c7
xor edi, edi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc], ebx
jb 0x416768
ja 0x4166ec
cmp dword [ebp + 8], ebx
jbe 0x416768
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41670e
mov eax, edi
xor ecx, ecx
and eax, 0xff
or eax, ecx
jne 0x41670e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
cmp eax, ebx
jne 0x41676a
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
cmp eax, 0x40
ja 0x416771
xor ecx, ecx
xor edx, edx
cmp eax, ebx
jbe 0x416748
xor ecx, dword [ebp + edx - 0x50]
add edx, 4
cmp edx, eax
jb 0x41673d
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x416753
cmp ecx, dword [eax]
jne 0x416771
add edi, 1
adc dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x4166ef
ja 0x416768
cmp edi, dword [ebp + 8]
jb 0x4166ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
push 1
pop eax
jmp 0x41676a

Function at 0x416ffb
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x435422
call fcn.004336f0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.004170a1
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040d4aa
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x417007
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x435422
call fcn.004336f0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.004170a1
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.0040d4aa
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41954f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43578a
call fcn.004336f0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.004028a5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004195a9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41955a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43578a
call fcn.004336f0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.004028a5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004195a9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4195fb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4357d5
call fcn.004336f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.00421f9d
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00419651
push dword [esi + 0x24]
call fcn.00401a79
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00430d45
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00419b8e
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41b99e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x435b0a
call fcn.004336f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.00430d45
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.0041c726
push dword [esi + 0xc]
call fcn.00401a79
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x41c940
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x435d12
call fcn.004336f0
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0xc]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.00402978
and dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.0041ca15
mov eax, dword [esi + 0x24]
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x24], eax
mov al, byte [esi + 0x28]
mov byte [ebx + 0x28], al
mov al, byte [esi + 0x29]
mov byte [ebx + 0x29], al
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0041cace
mov eax, dword [esi + 0x3c]
add esi, 0x44
mov dword [ebx + 0x3c], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x44]
mov dword [ebx + 0x40], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4