joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4066b0
Capabilities:
Create pipe

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0x10
jb 0x4066bf
mov eax, dword [eax + 4]
jmp 0x4066c2
add eax, 4
mov ecx, dword [esp + 8]
push ecx
push 0x2710
push 0
push 0
push 1
push 6
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
ret

Function at 0x406cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edx
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004068a8
push eax
push esi
push dword [ebp + 8]
call fcn.0040685d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00406898
lodsd eax, dword [esi]
out dx, al
pop ecx
lodsd eax, dword [esi]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00406898
int3

Function at 0x406d80
Capabilities:
Inspect section memory permissions

Disassembly:
lea eax, [ebp - 0x84]
push eax
call fcn.004068a8
push eax
push esi
push dword [ebp + 8]
call fcn.0040685d
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]

Function at 0x406db0
Capabilities:
Inspect section memory permissions

Disassembly:
mov esi, eax
cmp esi, ebx
je 0x407091
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.00406809
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x406e08
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
invalid

Function at 0x406de0
Capabilities:
Inspect section memory permissions

Disassembly:
adc byte [eax], al
add bh, bh
jne 0x406db5
test bh, dl
add al, byte [eax]
add bh, bh
mov ch, 0x4c
je 0x406da3
adc byte [ebp + 0x488bc104], cl
adc al, 0x8b
inc eax
or al, 3
dec ebp
adc byte [ebx], al
invalid
Function at 0x40ba60
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x14
lea eax, [esp + 4]
push eax
mov dword [esp + 0xc], 0x40b6d0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 8], str.FlexNet_Licensing_Service
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x40bad5
push esi
push str.FlexNet_Licensing_Service
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
mov dword [esp + 4], str.StartServiceCtrlDispatcher___failed
test esi, esi
je 0x40bace
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor eax, eax
pop esi
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret

Function at 0x40cd10
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4e74dc
call esi
push 0x4e74c4
call esi
push 0
push 0
push 0
push 0x40cca0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x417490
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d55e4]
jne 0x41749a
repz ret
jmp fcn.0041db6c
Function at 0x42a956
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041c706
and dword [ebp - 4], 0
cmp dword [0x4e9db0], 0
mov ebx, eax
jne 0x42aa07
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42aab8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x497864
push edi
call esi
test eax, eax
je 0x42aab8
push eax
call fcn.0041c694
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4e9db0], eax
call esi
push eax
call fcn.0041c694
mov dword [esp], 0x497840
push edi
mov dword [0x4e9db4], eax
call esi
push eax
call fcn.0041c694
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e9db8], eax
call esi
push eax
call fcn.0041c694
pop ecx
mov dword [0x4e9dc0], eax
test eax, eax
je 0x42aa07
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041c694
pop ecx
mov dword [0x4e9dbc], eax
mov eax, dword [0x4e9dbc]
cmp eax, ebx
je 0x42aa5f
cmp dword [0x4e9dc0], ebx
je 0x42aa5f
push eax
call fcn.0041c70f
push dword [0x4e9dc0]
mov esi, eax
call fcn.0041c70f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42aa5f
test edi, edi
je 0x42aa5f
call esi
test eax, eax
je 0x42aa56
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42aa56
test byte [ebp - 0xc], 1
jne 0x42aa5f
or dword [ebp + 0x10], 0x200000
jmp 0x42aa98
mov eax, dword [0x4e9db4]
cmp eax, ebx
je 0x42aa98
push eax
call fcn.0041c70f
pop ecx
test eax, eax
je 0x42aa98
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42aa98
mov eax, dword [0x4e9db8]
cmp eax, ebx
je 0x42aa98
push eax
call fcn.0041c70f
pop ecx
test eax, eax
je 0x42aa98
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e9db0]
call fcn.0041c70f
pop ecx
test eax, eax
je 0x42aab8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42aaba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47b2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x4d55e4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x64]
push edi
lea ecx, [esp + 0x20]
call fcn.00433260
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0
call fcn.004328b0
push edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x60], 1
call fcn.00433260
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
lea edx, [esp + 0x28]
push edx
lea ecx, [esi + 0x10]
mov byte [esp + 0x6c], 2
mov dword [esp + 0x74], 0x45dbf1e4
call fcn.00432fc0
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push 0xd21b863d
push 0x6d1d1962
push 0xce56d023
lea ecx, [esp + 0x30]
call edx
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret 4
Function at 0x452fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47eb58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d55e4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00451e60
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.004029d0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x453cf0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47ec88
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4d55e4]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d55e4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
push 4
xor ebp, ebp
push str._tmp
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
call fcn.00402ab0
push 0x104
mov dword [esp + 0x80], ebp
call fcn.0040cd8e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
add esp, 4
mov esi, eax
push esi
push 0x104
call ebx
mov edi, eax
cmp edi, ebp
jne 0x453d87
push 3
push 0x499f30
jmp 0x453dc0
cmp edi, 0x104
jb 0x453db0
nop
push esi
call fcn.0040cd99
lea ebp, [edi + 1]
push ebp
call fcn.0040cd8e
add esp, 8
mov esi, eax
push esi
push ebp
call ebx
mov edi, eax
cmp edi, ebp
jae 0x453d90
xor ebp, ebp
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453db5
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.00402ab0
push esi
call fcn.0040cd99
add esp, 4
push 0x471430
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00453550
push 0x471430
mov bl, 1
push str.libFNP_events.log
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], bl
call fcn.00452320
mov esi, 0x10
mov byte [esp + 0x7c], 2
cmp dword [eax + 0x18], esi
jb 0x453e15
mov eax, dword [eax + 4]
jmp 0x453e18
add eax, 4
push eax
lea ecx, [esp + 0x58]
call fcn.00451a80
mov byte [esp + 0x7c], bl
cmp dword [esp + 0x34], esi
jb 0x453e39
mov edx, dword [esp + 0x20]
push edx
call fcn.0040cd99
add esp, 4
mov edi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x58]
call fcn.00451d90
cmp dword [esp + 0x6c], esi
jb 0x453e5a
mov eax, dword [esp + 0x58]
push eax
call fcn.0040cd99
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebp
mov byte [esp + 0x58], 0
cmp dword [esp + 0x50], esi
jb 0x453e7e
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0040cd99
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00417490
add esp, 0x6c
ret
Function at 0x45a750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47f8c6
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x4d55e4]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
xor ebx, ebx
mov dword [esi], vtable.ATL::CSecurityDesc.0
mov dword [esi + 4], ebx
mov dword [esi + 0x14], vtable.ATL::CSecurityDesc.0
mov dword [esi + 0x18], ebx
mov dword [esp + 0x9c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], bl
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], vtable.ATL::CDacl.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0xa0], 2
call fcn.00406de0
add esp, 4
mov edi, dword [esp + 0xa4]
push ebx
push edi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 3
call fcn.00407c00
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 2
call fcn.00406cf0
lea ecx, [esp + 0x34]
push ecx
call fcn.00406db0
add esp, 4
push ebx
push edi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 4
call fcn.00407c00
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 2
call fcn.00406cf0
lea edx, [esp + 0x34]
push edx
call fcn.00406d80
add esp, 4
mov ecx, dword [esp + 0xa8]
push ebx
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 5
call fcn.00407c00
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 2
call fcn.00406cf0
push ebx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00405eb0
lea edi, [esi + 0x14]
cmp edi, esi
je 0x45a8a7
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x45a8a7
push eax
mov ecx, edi
call fcn.00405830
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x10]
mov dword [esi + 8], 0xc
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
call fcn.00407e90
mov eax, esi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x90
ret 8
Function at 0x45bc00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x45bc3e
push edi
call fcn.0045bb30
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
xor ecx, ecx
test esi, esi
jbe 0x45bc3b
mov edx, dword [esp + 0xc]
push ebx
push ebp
movzx ebx, byte [ecx + edx]
movzx ebp, al
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x4e9eb0]
inc ecx
cmp ecx, esi
jb 0x45bc21
pop ebp
pop ebx
mov dword [edi], eax
pop edi
pop esi
ret

Function at 0x463110
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push 0xffffffffffffffff
push 0x480648
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
mov eax, dword [0x4d55e4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x463191
push 0x13
push str.CryptAcquireContext
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], al
call fcn.00402ab0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], 0
call fcn.00462f80
push 0x4d0080
lea ecx, [esp + 0x28]
push ecx
call fcn.00417f33
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x54
ret

Function at 0x4631d0
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0xffffffffffffffff
push 0x4801c6
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4d55e4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
test byte [0x4ea2b8], 1
jne 0x46322a
or dword [0x4ea2b8], 1
mov ecx, 0x4ea2b4
mov dword [esp + 0x54], 0
call fcn.00463110
push 0x481c10
call fcn.004175c6
add esp, 4
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [0x4ea2b4]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x46328a
push 0xe
push 0x49eff4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], al
call fcn.00402ab0
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 1
call fcn.00462f80
push 0x4d0080
lea ecx, [esp + 0x24]
push ecx
call fcn.00417f33
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret 8
Function at 0x465830
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov eax, dword [esp + 8]
mov ecx, dword [ecx + 0x88]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
add ecx, 8
mov edi, 8
mov edi, edi
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x4a0918]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4a0b18]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4a0d18]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x4a0f18]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x4a0a18]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4a0c18]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4a0e18]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x4a1018]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x4a0918]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4a0b18]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4a0d18]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x4a0f18]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x4a0a18]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4a0c18]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x4a0e18]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x4a1018]
xor esi, ebx
sub edi, 1
jne 0x465850
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x467b60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
sub eax, ebp
push edi
mov dword [esp + 0x20], 0xf5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 4
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
jmp 0x467b94
mov edi, dword [esp + 0x10]
mov ebx, 3
sub ebx, edi
add ebx, ebx
add ebx, ebx
xor esi, esi
add ebx, ebx
lea edi, [edi + 0x49fca0]
lea esp, [esp]
movzx eax, byte [edi]
mov edx, dword [esp + 0x1c]
mov ecx, 3
sub ecx, esi
add ecx, ecx
push eax
mov eax, dword [edx + ebp]
add ecx, ecx
add ecx, ecx
shr eax, cl
lea ecx, [esp + 0x24]
push eax
call fcn.0046ea20
movzx edx, al
mov ecx, ebx
shl edx, cl
inc esi
add edi, 4
xor dword [esp + 0x14], edx
cmp esi, 4
jl 0x467bb0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 4
mov dword [esp + 0x10], eax
jl 0x467b90
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
add ebp, 4
sub dword [esp + 0x18], 1
jne 0x467b81
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x468277
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [eax]
push edi
mov edi, dword [esi + 0xa0]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
push 0
lea eax, [edi + 0x10]
push 0
push eax
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x14], 4
mov dword [edi + 0xc], edx
call fcn.00417b00
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004663c0
push eax
push edi
push edi
call fcn.004636a0
add esp, 0x20
mov eax, 0x10
mov edx, 0x49fcb0
jmp 0x4682e0
mov ecx, dword [esi + 0xa0]
mov edi, dword [ecx + eax - 4]
add ecx, eax
rol edi, 8
xor edi, dword [ecx - 0x10]
mov ecx, dword [esi + 0xa0]
xor edi, dword [edx]
add edx, 4
mov dword [eax + ecx], edi
mov ecx, dword [esi + 0xa0]
mov edi, dword [ecx + eax - 0xc]
xor edi, dword [ecx + eax]
add ecx, eax
mov dword [ecx + 4], edi
mov ecx, dword [esi + 0xa0]
mov edi, dword [ecx + eax - 8]
xor edi, dword [ecx + eax + 4]
add ecx, eax
mov dword [ecx + 8], edi
mov ecx, dword [esi + 0xa0]
mov edi, dword [ecx + eax + 8]
xor edi, dword [ecx + eax - 4]
add ecx, eax
add eax, 0x10
cmp edx, 0x49fcd0
mov dword [ecx + 0xc], edi
jl 0x4682e0
mov edx, dword [esi - 4]
mov eax, dword [edx + 0x1c]
lea ecx, [esi - 4]
call eax
test al, al
je 0x468379
xor edi, edi
mov ecx, dword [esi + 0xa0]
lea eax, [edi + ecx]
push eax
call fcn.00467b60
add edi, 0x10
add esp, 4
cmp edi, 0x80
jl 0x468354
pop edi
pop esi
add esp, 8
ret 0xc
mov edi, 0x80
push ebx
xor edx, edx
mov dword [esp + 0xc], edi
push ebp
jmp 0x468390
mov dword [esp + 0x1c], 4
jmp 0x4683a0
mov eax, dword [esi + 0xa0]
lea ecx, [edi + eax]
add eax, edx
cmp eax, ecx
je 0x4683b7
mov ebp, dword [ecx]
mov ebx, dword [eax]
mov dword [eax], ebp
mov dword [ecx], ebx
add edi, 4
add edx, 4
sub dword [esp + 0x1c], 1
jne 0x4683a0
mov edi, dword [esp + 0x10]
sub edi, 0x10
cmp edi, 0x40
mov dword [esp + 0x10], edi
jg 0x468390
mov esi, dword [esi + 0xa0]
lea eax, [esi + 0x80]
push eax
call fcn.00467b60
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret 0xc
Function at 0x46c830
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
mov ecx, eax
or ecx, esi
or ecx, edx
test cl, 3
jne 0x46c862
shr edx, 2
test edx, edx
jbe 0x46c87b
mov ecx, esi
sub ecx, eax
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
sub edx, 1
jne 0x46c853
pop esi
ret
test edx, edx
jbe 0x46c87b
mov ecx, esi
sub ecx, eax
mov esi, edx
lea esp, [esp]
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x46c870
pop esi
ret

Function at 0x471440
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
cmp dword [eax + 0x18], 0x10
jb 0x471452
mov eax, dword [eax + 4]
jmp 0x471455
add eax, 4
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4714f6
push edi
mov edi, dword [0x4ea340]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x20]
mov dword [esi], eax
mov dword [esi + 4], edi
cmp eax, 2
je 0x4714d9
cmp eax, 3
je 0x4714d9
cmp eax, 0x7b
je 0x4714d9
cmp eax, 0x57
je 0x4714d9
cmp eax, 0xa1
je 0x4714d9
cmp eax, 0x35
je 0x4714d9
cmp eax, 0x20
jne 0x4714c8
lea ecx, [esp + 0xc]
call fcn.0044e520
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
pop edi
mov dword [esi + 4], edx
pop esi
mov dword [eax], 9
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword [eax], 0
pop ebx
add esp, 8
ret
xor edi, edi
call fcn.004707a0
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
pop esi
mov dword [eax], 1
pop ebx
add esp, 8
ret
xor esi, esi
call fcn.004707a0
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov dword [ecx], esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 3
test bl, 0x10
jne 0x47151f
mov dword [esp + 0x18], 2
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
pop esi
mov dword [eax], ecx
pop ebx
add esp, 8
ret

Function at 0x471550
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, 0x10
cmp dword [eax + 0x18], edx
jb 0x471563
mov ecx, dword [eax + 4]
jmp 0x471566
lea ecx, [eax + 4]
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], edx
jb 0x471574
mov eax, dword [eax + 4]
jmp 0x471577
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x471595
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [0x4ea340]
mov dword [eax + 4], ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [0x4ea340]
mov dword [eax + 4], ecx
ret
Function at 0x471660
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0xc
push esi
mov dword [esp + 8], 0
call fcn.004707a0
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push esi
push ecx
call fcn.00471440
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, ecx
neg edx
sbb edx, edx
test edx, fcn.004047a0
je 0x4716b0
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
pop esi
add esp, 0xc
ret
cmp dword [esp + 4], 3
jne 0x4716ec
cmp dword [esi + 0x18], 0x10
jb 0x4716c2
mov esi, dword [esi + 4]
jmp 0x4716c5
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x471721
mov esi, dword [0x4ea340]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov eax, ecx
pop esi
add esp, 0xc
ret
cmp dword [esi + 0x18], 0x10
jb 0x4716f7
mov esi, dword [esi + 4]
jmp 0x4716fa
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x471721
mov esi, dword [0x4ea340]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov eax, ecx
pop esi
add esp, 0xc
ret
mov esi, dword [esp + 0x14]
mov dword [esi], 0
call fcn.004707a0
mov dword [esi + 4], eax
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x471960
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x4719d3
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4719d3
mov dl, byte [ecx]
push esi
cmp dl, 0xbc
jne 0x4719a7
cmp byte [ecx + 1], 0xbd
jne 0x4719a7
lea edx, [ecx + 2]
mov esi, edi
sub esi, edx
push ebx
mov bl, byte [edx]
mov byte [esi + edx], bl
inc edx
test bl, bl
jne 0x471987
lea eax, [ecx + 1]
pop ebx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x471995
sub ecx, eax
pop esi
mov byte [ecx + edi - 4], dl
mov eax, edi
pop edi
ret
xor dl, 0x23
xor esi, esi
mov byte [edi], dl
cmp byte [ecx], 0
je 0x4719ca
mov edx, edi
sub edx, ecx
mov al, byte [ecx + 1]
inc ecx
dec al
xor al, byte [edx + ecx - 1]
inc esi
mov byte [edx + ecx], al
cmp byte [ecx], 0
jne 0x4719b7
mov byte [esi + edi], 0
pop esi
mov eax, edi
pop edi
ret
xor eax, eax
pop edi
ret