joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405fda
Capabilities:
Create directory

Disassembly:
push 0x84
mov eax, 0x49f647
call fcn.004810fe
push dword [ebp + 8]
call fcn.00408b88
xor ebx, ebx
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], esi
inc ebx
mov dword [ebp - 0x10], eax
pop ecx
cmp esi, ebx
je 0x406029
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x406018
mov al, bl
jmp 0x40611e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4060ca
test esi, esi
je 0x4060ca
lea ecx, [ebp - 0x20]
call fcn.00402cda
xor esi, esi
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], esi
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
test al, al
je 0x4060bd
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4060b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40607a
xor bl, bl
jmp 0x4060b1
lea ecx, [ebp - 0x58]
call fcn.00406ae6
lea ecx, [ebp - 0x30]
call fcn.00402cda
push dword [ebp - 0x20]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00406c75
test al, al
jne 0x4060a0
xor bl, bl
jmp 0x4060a8
mov eax, dword [ebp - 0x38]
shr eax, 4
and bl, al
push dword [ebp - 0x30]
call fcn.004810b4
pop ecx
push dword [ebp - 0x20]
call fcn.004810b4
mov al, bl
jmp 0x40611d
push dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
call fcn.004810b4
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4060db
xor al, al
jmp 0x40611e
lea ecx, [ebp - 0x90]
call fcn.00406ae6
lea ecx, [ebp - 0x68]
call fcn.00402cda
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 2
call fcn.00406c75
test al, al
je 0x406112
mov eax, dword [ebp - 0x70]
shr eax, 4
and al, bl
mov byte [ebp - 0x10], al
push dword [ebp - 0x68]
call fcn.004810b4
mov al, byte [ebp - 0x10]
pop ecx
call fcn.004810c7
ret

Function at 0x406124
Capabilities:
Create directory

Disassembly:
push 0xc
mov eax, 0x49f312
call fcn.004810fe
push dword [ebp + 8]
call fcn.00408b88
mov esi, eax
pop ecx
cmp esi, 1
je 0x406160
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x406153
mov al, 1
jmp 0x4061b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4061b3
test esi, esi
je 0x4061b3
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp esi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
test al, al
je 0x4061aa
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004810b4
test esi, esi
pop ecx
setne al
jmp 0x4061b5
push dword [ebp - 0x18]
call fcn.004810b4
pop ecx
xor al, al
call fcn.004810c7
ret
Function at 0x406302
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x49f312
call fcn.004810fe
mov esi, dword [ebp + 8]
push esi
call fcn.00407354
pop ecx
cmp eax, 0xffffffff
je 0x406337
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x406337
and eax, 0xfffffffe
push eax
push esi
call fcn.004069c9
pop ecx
pop ecx
test al, al
je 0x4063a0
push esi
call fcn.00408b88
mov edi, eax
pop ecx
cmp edi, 1
je 0x406354
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x406354
mov al, 1
jmp 0x4063a2
test edi, edi
je 0x4063a0
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp edi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00408735
add esp, 0xc
push dword [ebp - 0x18]
test al, al
je 0x40639a
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004810b4
test esi, esi
pop ecx
setne al
jmp 0x4063a2
call fcn.004810b4
pop ecx
xor al, al
call fcn.004810c7
ret

Function at 0x4063a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.00402e85
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.00480e8b
leave
ret

Function at 0x406599
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.00402e85
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.00480e8b
leave
ret

Function at 0x4066f3
Capabilities:
Delete directory

Disassembly:
push 0xc
mov eax, 0x49f312
call fcn.004810fe
push dword [ebp + 8]
call fcn.00408b88
mov esi, eax
pop ecx
cmp esi, 1
je 0x406720
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x406720
mov al, 1
jmp 0x406770
test esi, esi
je 0x40676e
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp esi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
push dword [ebp - 0x18]
test al, al
je 0x406768
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004810b4
test esi, esi
pop ecx
setne al
jmp 0x406770
call fcn.004810b4
pop ecx
xor al, al
call fcn.004810c7
ret
Function at 0x4069c9
Capabilities:
Set file attributes

Disassembly:
push 0xc
mov eax, 0x49f312
call fcn.004810fe
push dword [ebp + 8]
call fcn.00408b88
mov esi, eax
pop ecx
cmp esi, 1
je 0x4069f9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4069f9
mov al, 1
jmp 0x406a4f
test esi, esi
je 0x406a4d
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp esi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
test al, al
je 0x406a44
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004810b4
test esi, esi
pop ecx
setne al
jmp 0x406a4f
push dword [ebp - 0x18]
call fcn.004810b4
pop ecx
xor al, al
call fcn.004810c7
ret

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

Disassembly:
push 0xc
mov eax, 0x49f312
call fcn.004810fe
push dword [ebp + 8]
call fcn.00408b88
mov esi, eax
pop ecx
cmp esi, 1
je 0x40737e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4073cc
test esi, esi
je 0x4073c9
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp esi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
push dword [ebp - 0x18]
test al, al
je 0x4073c3
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.004810b4
pop ecx
mov eax, esi
jmp 0x4073cc
call fcn.004810b4
pop ecx
or eax, 0xffffffff
call fcn.004810c7
ret

Function at 0x407460
Capabilities:
Get disk information

Disassembly:
push 0x20
mov eax, 0x49f7d7
call fcn.004810fe
mov ecx, dword [ebp + 8]
call fcn.00401d69
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x40748e
xor al, al
jmp 0x407526
push edi
lea ecx, [ebp - 0x1c]
call fcn.00406a79
mov esi, dword [ebp - 0x1c]
push esi
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x40751d
cmp edi, dword [ebp - 0x18]
ja 0x40751d
lea ecx, [ebp - 0x2c]
call fcn.00402cda
mov byte [ebp - 4], 1
mov edx, ebx
mov dword [ebp - 0x18], edx
mov eax, ebx
mov dword [ebp - 0x10], eax
test edi, edi
je 0x40750f
push 2
pop ecx
mov dword [ebp - 0x14], ecx
cmp word [esi + ecx - 2], bx
jne 0x4074fe
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402e85
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401d01
mov ecx, dword [ebp - 0x14]
mov edx, ecx
mov eax, dword [ebp - 0x10]
inc eax
add ecx, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, edi
jb 0x4074d0
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x2c]
cmp edx, edi
sete bl
call fcn.004810b4
pop ecx
push esi
call fcn.004810b4
pop ecx
mov al, bl
call fcn.004810c7
ret
Function at 0x4079ee
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ecx + 4], 0
je 0x407a10
cmp byte [ecx + 5], 0
je 0x407a10
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 4], eax
mov al, 1
jmp 0x407a47
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x407a32
xor al, al
jmp 0x407a46
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x40904f
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
push str.GetDiskFreeSpaceExW
push 0x4a6694
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x4090a9
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp + 8]
call eax
test eax, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
setne byte [ebp - 1]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x4090ca
xor al, al
jmp 0x40910d
mov eax, dword [ebp - 0x10]
mul dword [ebp - 0x14]
cmp byte [ebp - 1], 0
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [esi], eax
mov dword [esi + 4], edx
jne 0x40910a
mov eax, edx
mul dword [ebp - 8]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mul dword [ebp - 8]
add ecx, edx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov eax, dword [esi + 4]
mul dword [ebp - 0xc]
mov ecx, eax
mov eax, dword [esi]
mul dword [ebp - 0xc]
add ecx, edx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov al, 1
pop esi
pop edi
pop ebx
leave
ret
Function at 0x40a09f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.GlobalMemoryStatusEx
push 0x4a6694
mov dword [ebp - 0x64], 0x40
and dword [esi + 4], 0
mov dword [esi], SysReAllocStringLen
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a102
lea ecx, [ebp - 0x64]
push ecx
call eax
test eax, eax
je 0x40a102
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.0040a024
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x40a121
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
cmovb eax, dword [ebp - 0xc]
and dword [esi + 4], 0
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.00480e8b
leave
ret

Function at 0x40b605
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40b613
and dword [esi], 0
mov eax, dword [ebp + 0x10]
xor edx, edx
inc edx
test eax, eax
je 0x40b655
push 0
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x14]
add dword [ecx + 8], eax
adc dword [ecx + 0xc], 0
test esi, esi
je 0x40b655
add dword [esi], eax
test edx, edx
setne al
movzx eax, al
push eax
call fcn.0040aead
pop ecx
pop esi
pop ebp
ret 0x10
Function at 0x40edd2
Capabilities:
Read file via mapping

Disassembly:
push 0x30
mov eax, 0x49fe05
call fcn.004810fe
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.00402c05
push 0x3a
push dword [ebp - 0x24]
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0040329a
mov esi, eax
pop ecx
pop ecx
test esi, esi
js 0x40ef77
lea ecx, [esi + 1]
push ecx
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.0040e155
mov ebx, eax
test ebx, ebx
js 0x40ef77
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + ebx*2]
add ecx, 2
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402ca3
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], al
cmp ebx, dword [ebp - 0x20]
jae 0x40ee48
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x20], ebx
mov word [eax + ebx*2], cx
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.0040f515
pop ecx
pop ecx
test al, al
je 0x40ef68
mov ebx, dword [ebp - 0x14]
lea eax, [ebx - 2]
cmp eax, 0x7ffffffe
ja 0x40ef68
test bl, 1
jne 0x40ef68
cmp esi, dword [ebp - 0x20]
jae 0x40ee90
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov word [eax + esi*2], cx
push dword [ebp - 0x24]
mov byte [ebp - 4], 2
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x40eebd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40eebd
mov edi, str.Can_not_open_mapping
jmp 0x40ef5e
push ebx
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x40eed9
mov edi, str.MapViewOfFile_error
jmp 0x40ef5e
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00402cda
mov byte [ebp - 4], 4
cmp word [esi], di
je 0x40eef8
mov edi, str.Unsupported_Map_data
jmp 0x40ef4e
xor eax, eax
shr ebx, 1
inc eax
cmp ebx, eax
jbe 0x40ef43
movzx eax, word [esi + eax*2]
test ax, ax
jne 0x40ef2f
push dword [ebp + 0x18]
lea eax, [ebp - 0x30]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.0040d6f0
mov eax, dword [ebp - 0x30]
add esp, 0x14
xor ecx, ecx
mov dword [ebp - 0x2c], edi
mov word [eax], cx
jmp 0x40ef38
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c4c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x40ef01
cmp dword [ebp - 0x2c], 0
je 0x40ef4e
mov edi, str.Map_data_error
push dword [ebp - 0x30]
call fcn.004810b4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [ebp - 0x14]
call fcn.0040dc52
jmp 0x40ef6d
mov edi, str.Unsupported_Map_data_size
lea ecx, [ebp - 0x3c]
call fcn.0040d4ed
jmp 0x40ef7c
mov edi, str.Incorrect_Map_command
push dword [ebp - 0x24]
call fcn.004810b4
pop ecx
mov eax, edi
call fcn.004810c7
ret
Function at 0x415446
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x20]
push ebx
push esi
movlpd qword [ebp - 0x4c], xmm0
xor ebx, ebx
mov ecx, dword [ebp - 0x48]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], edx
cmp ecx, ebx
ja 0x415548
jb 0x41548b
cmp eax, 0x40
jae 0x415548
mov byte [ebp + eax - 0x44], bl
add eax, 1
adc ecx, ebx
jne 0x41549b
cmp eax, 0x40
jb 0x415478
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
cmp dword [ebp + 0x14], ebx
jb 0x415544
ja 0x4154b7
cmp dword [ebp + 0x10], ebx
jbe 0x415544
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
test edx, edx
je 0x4154d4
movzx eax, bl
or eax, 0
jne 0x4154d4
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
test eax, eax
jne 0x415535
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp - 0x50]
push edi
call dword [eax + 0x10]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
push edi
call dword [eax + 0x14]
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
mov edx, eax
cmp edx, 0x40
ja 0x415532
xor ecx, ecx
xor eax, eax
test edx, edx
je 0x415510
xor ecx, dword [ebp + eax - 0x44]
add eax, 4
cmp eax, edx
jb 0x415505
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41551b
cmp ecx, dword [eax]
jne 0x415532
add ebx, 1
adc esi, 0
cmp esi, dword [ebp + 0x14]
ja 0x415544
jb 0x41552d
cmp ebx, dword [ebp + 0x10]
jae 0x415544
mov edx, dword [ebp - 0x54]
jmp 0x4154bd
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00480e8b
leave
ret
xor eax, eax
jmp 0x415535
call fcn.004813b9
int3

Function at 0x41554e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
or ecx, 0xffffffff
cmp dword [ebp + 0xc], edx
jbe 0x415579
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3280]
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x41555f
pop esi
not ecx
mov eax, ecx
pop ebp
ret
Function at 0x418976
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
je 0x418a93
mov ecx, dword [ebp + 0x10]
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
add eax, ecx
xor eax, ecx
sub edx, 1
jne 0x41898a
pop ebp
ret
Function at 0x41d53d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edi, ecx
push str.CreateDecoder
mov dword [ebp - 0xc], edi
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + edx*4 - 4]
push dword [ebx]
call esi
push str.CreateEncoder
push dword [ebx]
mov dword [ebx + 0x18], eax
call esi
push str.GetMethodProperty
push dword [ebx]
mov dword [ebx + 0x1c], eax
call esi
xor esi, esi
mov dword [ebx + 0x14], eax
test eax, eax
je 0x41d61f
push str.GetNumberOfMethods
push dword [ebx]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d5af
lea ecx, [ebp - 4]
push ecx
call eax
test eax, eax
jne 0x41d664
mov dword [ebp - 8], esi
cmp dword [ebp - 4], esi
jbe 0x41d61d
mov eax, dword [edi + 0x10]
dec eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 3
push esi
push dword [ebx + 0x14]
call fcn.0041cf9f
add esp, 0x14
test eax, eax
jne 0x41d664
lea eax, [ebp - 0x2f]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
push esi
push dword [ebx + 0x14]
call fcn.0041cf9f
add esp, 0x14
test eax, eax
jne 0x41d664
sub esp, 0x2c
lea esi, [ebp - 0x38]
push 0xb
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
lea ecx, [edi + 0x34]
call fcn.0041c94f
mov esi, dword [ebp - 8]
inc esi
mov dword [ebp - 8], esi
cmp esi, dword [ebp - 4]
jb 0x41d5b7
xor esi, esi
push str.GetHashers
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d662
add ebx, 0x24
push ebx
call eax
test eax, eax
jne 0x41d664
mov ecx, dword [ebx]
test ecx, ecx
je 0x41d662
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x41d662
lea ecx, [edi + 0x40]
mov eax, dword [edi + 0x10]
dec eax
push esi
push eax
call fcn.0040a3db
inc esi
lea ecx, [edi + 0x40]
cmp esi, ebx
jb 0x41d64f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42ae16
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x4a1f2c
call fcn.004810fe
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
cmp byte [edi + 0x10], 0
mov esi, dword [edi]
je 0x42ae74
push ebx
xor esi, esi
lea ecx, [ebp - 0x18]
push 3
inc esi
call fcn.00402b40
mov eax, dword [ebp - 0x18]
cmp word [eax + 2], 0x3a
jne 0x42ae6d
cmp word [eax + 4], 0x5c
jne 0x42ae6d
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x42ae68
cmp eax, 2
jne 0x42ae6a
mov esi, dword [edi]
mov eax, dword [ebp - 0x18]
push eax
call fcn.004810b4
pop ecx
mov ecx, ebx
call fcn.00403957
mov ecx, dword [ebx]
inc eax
mov dword [ebp + 0x10], eax
lea ecx, [ecx + eax*2]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00402e85
sub esi, 1
je 0x42aef6
sub esi, 1
je 0x42aecb
lea ecx, [ebp - 0x24]
call fcn.00402cda
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
call fcn.00406599
pop ecx
test al, al
je 0x42af0b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.00402c05
push dword [ebp - 0x24]
call fcn.004810b4
pop ecx
jmp 0x42af02
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402c05
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call fcn.00408ef8
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00402c05
push dword [ebp - 0x18]
jmp 0x42aec3
mov ecx, dword [ebp + 8]
push ebx
push dword [ebp + 0x10]
call fcn.00402b40
mov eax, dword [ebp + 8]
call fcn.004810c7
ret
push 0x4c3ee8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x22995
push eax
call fcn.0048428f
int3