joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e0a1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
je 0x44e0ad
xor eax, eax
pop ebp
ret
lea eax, [esi + 0x30]
push eax
call fcn.00452f43
test eax, eax
pop ecx
je 0x44e0c0
push 0xc
pop eax
pop ebp
ret
push edi
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.00452ee8
test eax, eax
pop ecx
jne 0x44e134
lea eax, [esi + 0x18]
push eax
call fcn.00452ee8
test eax, eax
pop ecx
jne 0x44e134
lea eax, [esi + 0x1c]
push eax
call fcn.00452ee8
test eax, eax
pop ecx
jne 0x44e134
push dword [ebp + 0x10]
lea eax, [esi + 0x20]
push dword [ebp + 0x10]
push eax
call fcn.00452ef9
add esp, 0xc
test eax, eax
jne 0x44e134
push dword [ebp + 0x10]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.00452ef9
add esp, 0xc
test eax, eax
jne 0x44e134
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push dword [ebp + 8]
mov dword [esi + 4], edi
push eax
call fcn.00452e4b
add esp, 0xc
test eax, eax
je 0x44e139
push 0xc
pop eax
jmp 0x44e13d
mov dword [esi], edi
xor eax, eax
pop edi
pop ebp
ret

Function at 0x4507a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, 0x100
push edi
mov ebx, eax
or esi, eax
shl dword [ebp + 0x10], 1
mov eax, esi
shr eax, 7
and eax, 1
push eax
mov eax, ebx
and eax, dword [ebp + 0x10]
mov ecx, esi
add eax, ebx
shr ecx, 8
add ecx, eax
mov eax, dword [ebp + 0xc]
lea edi, [eax + ecx*2]
mov eax, dword [ebp + 8]
call fcn.0045071b
add esi, esi
mov eax, esi
xor eax, dword [ebp + 0x10]
pop ecx
not eax
and ebx, eax
cmp esi, 0x10000
jb 0x4507b2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4507f3
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
or ecx, 0x100
push esi
mov esi, dword [esp + 8]
mov edx, ecx
shr edx, 8
movzx edx, word [esi + edx*2]
mov esi, ecx
shr esi, 7
and esi, 1
neg esi
sar esi, 4
and esi, 0x7f
shr edx, 4
xor edx, esi
mov esi, dword [esp + 0xc]
add eax, dword [esi + edx*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x4507fc
pop esi
ret

Function at 0x450831
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x100
push esi
xor eax, eax
or edx, ecx
push edi
shl dword [ebp + 0xc], 1
mov esi, ecx
and esi, dword [ebp + 0xc]
mov edi, edx
add esi, ecx
shr edi, 8
add edi, esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + edi*2]
mov edi, edx
shr edi, 7
and edi, 1
neg edi
shr esi, 4
sar edi, 4
and edi, 0x7f
xor esi, edi
mov edi, dword [ebp + 0x10]
add eax, dword [edi + esi*4]
add edx, edx
mov esi, edx
xor esi, dword [ebp + 0xc]
not esi
and ecx, esi
cmp edx, 0x10000
jb 0x45083f
pop edi
pop esi
pop ebp
ret

Function at 0x450937
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push esi
mov esi, eax
xor eax, eax
inc edx
test esi, esi
je 0x450977
push ebx
push edi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx edi, word [edi + edx*2]
shr dword [esp + 0x14], 1
and ecx, 1
mov ebx, ecx
neg ebx
sar ebx, 4
and ebx, 0x7f
shr edi, 4
xor edi, ebx
mov ebx, dword [esp + 0x18]
add eax, dword [ebx + edi*4]
add edx, edx
or edx, ecx
dec esi
jne 0x450945
pop edi
pop ebx
pop esi
ret
Function at 0x4522bf
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor edx, edx
lea ecx, [esi + 0x19c]
mov dword [esi + 0x3bcd4], edx
mov dword [esi + 0x3bcd0], edx
push ebx
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x2c], 0x20
mov dword [ecx + 0x54], 1
mov dword [ecx + 0x48], 4
mov dword [ecx + 0x58], edx
mov dword [ebp - 4], edx
lea eax, [ecx + 0x70]
push edi
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 8
mov ebx, edi
and ebx, 1
dec ebx
not ebx
and ebx, 0xedb88320
shr edi, 1
xor edi, ebx
dec dword [ebp - 8]
jne 0x45230c
inc dword [ebp - 4]
mov dword [eax], edi
add eax, 4
cmp dword [ebp - 4], 0x100
jb 0x452302
mov dword [esi + 0x118], edx
lea eax, [esi + 0x148]
mov dword [eax], edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], edx
lea eax, [ebp - 0x38]
mov dword [esi + 0x198], ecx
call fcn.00450411
mov ebx, esi
call fcn.00450514
push 2
pop edi
mov byte [esi + 0x306a0], 0
mov byte [esi + 0x306a1], 1
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
xor ebx, ebx
sar ecx, 1
dec ecx
inc ebx
shl ebx, cl
test ebx, ebx
jbe 0x4523c3
push ebx
push dword [ebp - 4]
lea eax, [edi + esi + 0x306a0]
push eax
call fcn.0046eea0
add esp, 0xc
add edi, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x16
jl 0x45239e
push 8
pop edi
mov edx, 0x10000
push 4
mov eax, edi
xor ecx, ecx
pop ebx
imul eax, eax
add ecx, ecx
jmp 0x4523e5
shr eax, 1
inc ecx
cmp eax, edx
jae 0x4523e2
dec ebx
jne 0x4523db
mov eax, 0xa1
sub eax, ecx
mov ecx, edi
shr ecx, 4
add edi, 0x10
cmp edi, 0x800
mov dword [esi + ecx*4 + 0x30ea0], eax
jb 0x4523d4
and dword [esi + 0x325ac], ebx
and dword [esi + 0x3bd14], ebx
pop edi
pop ebx
leave
ret

Function at 0x452e4b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.00473776
mov ecx, dword [ebp + 8]
add esp, 0x18
test eax, eax
mov dword [ecx], eax
je 0x452e74
xor eax, eax
leave
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x452e7f
inc eax
leave
ret
Function at 0x461564
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, eax
xor edi, edi
lea eax, [ebp + 8]
mov dword [ebp - 8], edi
call fcn.0040d2a4
mov esi, dword [ebp + 8]
push esi
push ebx
call fcn.004616df
test eax, eax
jne 0x4616c3
push edi
push esi
call fcn.0046efa1
test eax, eax
pop ecx
pop ecx
jne 0x4616ca
mov eax, dword [0x4cd420]
mov ecx, 0x4cd420
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push esi
push str._s_d__x
lea eax, [ebp - 4]
call fcn.0040cd21
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push dword [ebp - 4]
push esi
call fcn.004731e3
test eax, eax
pop ecx
pop ecx
je 0x461651
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
mov esi, 0x4ce834
call fcn.00426876
mov esi, 0x4b3b2c
push esi
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00407392
add esp, 0xc
push dword [eax]
push ebx
call fcn.004616df
mov edi, eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00405cc6
test edi, edi
je 0x461644
push esi
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00407392
pop ecx
push 5
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
jmp 0x4616ad
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405cc6
jmp 0x4616ca
push 4
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.DLL_MoveFileExW]
call edi
push dword [ebp + 8]
push ebx
call fcn.004616df
test eax, eax
jne 0x4616b8
mov esi, 0x4b3b2c
push esi
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00407392
pop ecx
push dword [eax]
push ebx
call fcn.004616df
mov ebx, eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00405cc6
test ebx, ebx
je 0x461644
push esi
lea eax, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00407392
pop ecx
push 5
push dword [ebp + 8]
push dword [eax]
call edi
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00405cc6
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405cc6
mov dword [ebp - 8], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405cc6
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x461738
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx + 0x14]
sub esp, 0x10
cmp eax, 0xffffffff
je 0x46181c
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
lea ecx, [ebp - 4]
call fcn.0040742f
pop ecx
lea eax, [ebp - 4]
call fcn.00462158
test eax, eax
je 0x461811
mov eax, dword [0x4cd420]
push esi
mov esi, 0x4cd420
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [0x4cd420]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
lea edi, [ebp - 0x10]
mov dword [ebp - 8], eax
call fcn.004621df
lea edi, [ebp - 8]
call fcn.0040d365
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cc6
push dword [ebp - 4]
lea eax, [ebp - 0x10]
call fcn.00462273
pop ecx
lea edi, [ebp - 0xc]
call fcn.0040d365
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cc6
mov eax, edi
push eax
lea eax, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.0040742f
pop ecx
push 0
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cc6
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00405cc6
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00405cc6
pop edi
pop esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405cc6
or dword [ebx + 0x14], 0xffffffff
leave
ret
Function at 0x461c87
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x10], esi
jne 0x461ce6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push esi
push str.CreateFile:_d
call fcn.0041264f
push dword [ebp + 0xc]
push esi
push str.CreateFileByMem_CreateFile_error:_d__path:_ws
mov esi, 0x4ce834
call fcn.00426876
add esp, 0x14
jmp 0x461e4a
mov edi, dword [ebp + 8]
push ebx
push dword [edi + 4]
push ebx
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp esi, ebx
mov dword [ebp - 8], eax
jne 0x461d21
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push str.CreateFileMapping:_d
call fcn.0041264f
pop ecx
pop ecx
push dword [ebp + 0xc]
call esi
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x461d56
push dword [edi + 4]
push ebx
push ebx
push 2
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x461d68
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push str.MapViewOfFile:_d
call fcn.0041264f
pop ecx
pop ecx
push dword [ebp + 0xc]
call esi
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x4ce834
call fcn.00426876
add esp, 0xc
jmp 0x461df4
lea ebx, [edi + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
mov esi, dword [ebx + 4]
je 0x461d87
cmp dword [ebp - 0x18], ebx
je 0x461d8c
call fcn.0046eca2
cmp dword [ebp - 0x14], esi
je 0x461de2
lea esi, [ebp - 0x18]
call fcn.0041f359
mov esi, dword [eax]
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x461da6
xor eax, eax
jmp 0x461dab
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push 0
call fcn.0046c583
push eax
push dword [ebp - 4]
call fcn.0046f3a0
mov eax, dword [esi + 4]
add esp, 0xc
test eax, eax
jne 0x461dca
xor esi, esi
jmp 0x461dcf
mov esi, dword [esi + 8]
sub esi, eax
add dword [ebp - 4], esi
lea edi, [ebp - 0x20]
lea esi, [ebp - 0x18]
call fcn.00468268
mov edi, dword [ebp + 8]
jmp 0x461d79
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov dword [ebp - 4], 1
xor ebx, ebx
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x461e04
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 4], ebx
je 0x461e4a
push dword [ebp + 0xc]
mov eax, edi
call fcn.00461e54
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x461e4a
mov eax, 0xe0000025
call fcn.00412640
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push dword [ebp + 0xc]
mov esi, 0x4ce834
push dword [ebp - 4]
push str.ChecksumFileByMem_return_d__path:_ws
call fcn.00426876
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x461e54
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ebx
mov esi, eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x461eb2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push esi
push str.CreateFile:_d
call fcn.0041264f
push ebx
push esi
push str.ChecksumFileByMem_CreateFile_error:_d__path:_ws
mov esi, 0x4ce834
call fcn.00426876
add esp, 0x14
jmp 0x461ff9
push edi
push dword [esi + 4]
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
jne 0x461ef9
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push str.CreateFileMapping:_d
call fcn.0041264f
pop ecx
pop ecx
push ebx
call esi
push eax
push str.ChecksumFileByMem_CreateFileMapping_error:_d__path:_ws
mov esi, 0x4ce834
call fcn.00426876
add esp, 0xc
jmp 0x461fe4
push dword [esi + 4]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x461f3e
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
push eax
push str.MapViewOfFile:_d
call fcn.0041264f
pop ecx
pop ecx
push ebx
call esi
push eax
push str.ChecksumFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x4ce834
call fcn.00426876
add esp, 0xc
jmp 0x461fd6
lea ebx, [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
mov esi, dword [ebx + 4]
je 0x461f5c
cmp dword [ebp - 0x20], ebx
je 0x461f61
call fcn.0046eca2
cmp dword [ebp - 0x1c], esi
je 0x461fcf
lea esi, [ebp - 0x20]
call fcn.0041f359
mov esi, dword [eax]
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x461f7b
xor eax, eax
jmp 0x461f80
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edi
call fcn.0046c583
push eax
push dword [ebp - 8]
call fcn.00471966
add esp, 0xc
test eax, eax
jne 0x461fb9
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x461fa2
xor esi, esi
jmp 0x461fa7
mov esi, dword [esi + 8]
sub esi, eax
add dword [ebp - 8], esi
lea edi, [ebp - 0x28]
lea esi, [ebp - 0x20]
call fcn.00468268
xor edi, edi
jmp 0x461f4f
push dword [ebp + 8]
mov esi, 0x4ce834
push str.ChecksumFileByMem_memcmp_return_not_same__path:_ws
call fcn.00426876
pop ecx
pop ecx
jmp 0x461fd6
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0xc], edi
je 0x461fe4
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
cmp dword [ebp - 0x10], edi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x461ff4
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x46207d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ebx, ecx
push 0
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 8], eax
push eax
jmp 0x4620b4
mov eax, dword [ebp - 4]
add ebx, eax
sub dword [ebp - 8], eax
je 0x4620c0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4620a1
jmp 0x4620c7
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret

Function at 0x4620ce
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.0040d2a4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x462103
xor esi, esi
inc esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00405cc6
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov esi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4620ee
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x4620ee
lea eax, [ebp - 4]
call fcn.00462003
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x46213a
xor esi, esi
jmp 0x4620f1
push eax
call fcn.004620ce
test eax, eax
pop ecx
je 0x462136
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4620ee
call edi
cmp eax, ebx
jne 0x462136
jmp 0x4620ee

Function at 0x4621df
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
test byte [0x4cec30], 1
jne 0x462218
mov eax, dword [0x4cd420]
or dword [0x4cec30], 1
mov ecx, 0x4cd420
call dword [eax + 0xc]
add eax, 0x10
push 0x4a8dfe
mov dword [0x4cec2c], eax
call fcn.0046f9c9
pop ecx
mov eax, dword [0x4cec2c]
cmp dword [eax - 0xc], 0
jne 0x462262
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x46225d
push esi
lea eax, [ebp - 0x208]
push eax
mov esi, 0x4cec2c
push esi
call fcn.0040d2cf
call fcn.00462040
push str.drivers_
push esi
call fcn.00401d83
pop esi
mov eax, dword [0x4cec2c]
add eax, 0xfffffff0
call fcn.0040d24c
add eax, 0x10
mov dword [edi], eax
mov eax, edi
leave
ret

Function at 0x4631d1
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
jne 0x4631e4
xor al, al
ret
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne al
ret
Function at 0x463526
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 8]
push edi
push eax
call fcn.0041da43
pop ecx
push dword [eax]
lea eax, [ebp - 4]
call fcn.0040d2a4
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00405cc6
push str.operationcaskctrl.dat
lea eax, [ebp - 8]
call fcn.0040d2a4
mov esi, dword [ebp - 8]
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
call fcn.00406c3a
lea eax, [esi - 0x10]
call fcn.00405cc6
mov esi, dword [ebp - 4]
push esi
push 0x20
push 0x4b493c
push str.common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00405cc6
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4636e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4cd420]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ecx, 0x4cd420
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
call dword [section..data]
cmp dword [ebp + 0xc], 0
je 0x463722
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x463726
xor eax, eax
jmp 0x463740
lea edi, [eax + eax]
mov eax, edi
call fcn.0047d9b0
mov esi, esp
push 0xfde9
push edi
push dword [ebp + 0xc]
call fcn.0041d172
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040cdc4
mov edi, dword [ebp - 8]
movzx eax, word [edi - 0xc]
mov dword [ebp - 4], eax
movzx eax, ax
xor ecx, ecx
test eax, eax
jle 0x463766
xor byte [ecx + edi], 0x88
inc ecx
cmp ecx, eax
jl 0x46375d
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 2
add esi, 4
pop ebx
call fcn.004635b2
movzx ebx, word [ebp - 4]
push edi
call fcn.004635b2
lea eax, [edi - 0x10]
call fcn.00405cc6
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x464f95
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push esi
push 0x40
xor esi, esi
lea eax, [ebp - 0x9c]
push esi
push eax
call fcn.0046eea0
add esp, 0xc
push 0x58
lea eax, [ebp - 0x5c]
push esi
push eax
mov byte [ebp - 0x9c], 0x80
call fcn.0046eea0
mov eax, dword [ebp + 0x10]
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.004647af
push dword [ebp + 8]
lea eax, [ebp - 0x9c]
push eax
mov eax, esi
call fcn.00464846
pop esi
leave
ret
Function at 0x46512d
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
push edi
push 0x103
lea eax, [ebp - 0x133]
push 0
push eax
mov byte [ebp - 0x134], 0
call fcn.0046eea0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 8], 0x104
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
push 7
xor eax, eax
mov byte [ebp - 0x28], 0
pop ecx
lea edi, [ebp - 0x27]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x134]
push eax
call fcn.0046f250
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00464f95
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, 0x4cd420
call fcn.004073d2
xor esi, esi
movzx eax, byte [ebp + esi - 0x28]
mov ecx, dword [ebp + 8]
push eax
push str._02x
call fcn.00402f96
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x4651ae
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret

Function at 0x4651d0
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call fcn.0046eea0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 8], esi
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push esi
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
mov esi, dword [ebp + 8]
mov ecx, 0x4cd420
call fcn.004073d2
push dword [ebp - 8]
mov eax, esi
push str._010lu
call fcn.0040cd21
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x46546a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push 0xf003f
push str.HKEY_CLASSES_ROOTCLSID8AB9CCC4_75EC_438b_B6C0_D8D78882A12DImplemented_Categories6BC04964_67B7_4d50_BB9B_3653A5C305B3
lea ebx, [ebp - 0x14]
call fcn.0041d34c
xor esi, esi
push esi
mov eax, ebx
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4654cf
cmp dword [ebp - 0x14], esi
setne al
cmp eax, esi
je 0x4654cf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 1
push esi
push 0x4b9844
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x14], esi
je 0x4654dd
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00405cc6
pop esi
pop ebx
leave
ret