joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421310
Capabilities:
Unmount volume via ioctl

Disassembly:
sub esp, 0x108
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, dword [esp + 0x118]
lea edx, [esp + 0xc]
push edi
mov dword [esi], 0xffffffff
mov eax, ebx
sub edx, ebx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x421343
mov eax, 0x2e
mov word [esp + 0x14], ax
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421363
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0xe], 0x5c
jne 0x421397
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421381
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0xe], cx
call fcn.005273e9
cmp dword [0x5b28f4], 0
jne 0x4213b0
push 1
push ebx
call fcn.00413f90
add esp, 8
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4214cc
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0
push 0x90018
push ecx
call edi
test eax, eax
jne 0x421496
cmp dword [esp + 0x120], eax
je 0x421459
push eax
lea edx, [esp + 0x10]
push edx
push eax
push eax
push eax
push eax
mov eax, dword [esi]
push 0x90020
push eax
call edi
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0x90018
push edx
call edi
test eax, eax
je 0x421459
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0
push 0x9001c
push ecx
call edi
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
cmp dword [0x5b28f4], 0
jne 0x42147c
push 0
push ebx
call fcn.00413f90
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00524d83
add esp, 0x108
ret
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push 0
push 0x90020
push ecx
call edi
test eax, eax
jne 0x4214cc
push eax
lea edx, [esp + 0x10]
push edx
push eax
push eax
push eax
push eax
mov eax, dword [esi]
push 0x9001c
push eax
call edi
mov ecx, dword [esi]
push ecx
jmp 0x42145c
cmp dword [0x5b28f4], 0
jne 0x4214e0
push 0
push ebx
call fcn.00413f90
add esp, 8
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00524d83
add esp, 0x108
ret
Function at 0x422cc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push ebx
push ebp
push esi
push edi
push eax
mov eax, dword [esp + 0x124]
push eax
lea ecx, [esp + 0x1c]
push str._d:_s
xor ebx, ebx
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
add esp, 0x10
lea ecx, [ecx]
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push str..pipe_bcveservpipe
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x422d5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x422dd2
push 0
push str..pipe_bcveservpipe
call ebp
test eax, eax
jne 0x422d53
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 5
jl 0x422d10
jmp 0x422dd2
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422d62
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
sub eax, edx
push 0
sar eax, 1
lea edx, [esp + 0x14]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call ebx
test eax, eax
jne 0x422d95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call edi
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422da5
sub eax, edx
push 0
sar eax, 1
lea edx, [esp + 0x14]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00524d83
add esp, 0x108
ret
Function at 0x424220
Capabilities:
Set registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [str.SoftwareJeticoBestCrypt_Volume_Encryption_]
push ebx
mov ebx, dword [esp + 0x220]
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x22c]
push eax
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.005267e8
push esi
lea edx, [esp + 0x24]
push 0x104
push edx
call fcn.00527a99
add esp, 0x18
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x20]
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4242c2
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push 0xf003f
push 0
push 0x58cf10
push 0
lea ecx, [esp + 0x30]
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4242fb
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4242c7
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push edx
push edi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x424315
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00524d83
add esp, 0x214
ret
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00524d83
add esp, 0x214
ret

Function at 0x4246d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
cmp dword [0x5b2904], 0
jne 0x4246ea
cmp dword [0x5b2908], 0
mov eax, 0x20019
je 0x4246ef
mov eax, 0x20119
lea ecx, [esp]
push ecx
push eax
push 0
push str.SOFTWAREJeticoBestCrypt_Volume_Encryption
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424741
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.HideDriveLetters
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x424747
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 8], eax
setne al
add esp, 0x10
ret
Function at 0x425190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
cmp dword [0x5b2904], 0
jne 0x4251aa
cmp dword [0x5b2908], 0
mov eax, 0x20019
je 0x4251af
mov eax, 0x20119
lea ecx, [esp]
push ecx
push eax
push 0
push str.SOFTWAREJeticoBestCrypt_Volume_Encryption
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425201
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.SuppressFormatMessage
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x425207
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 8], eax
setne al
add esp, 0x10
ret

Function at 0x425360
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
cmp dword [0x5b2904], 0
jne 0x42537a
cmp dword [0x5b2908], 0
mov eax, 0x20019
je 0x42537f
mov eax, 0x20119
lea ecx, [esp]
push ecx
push eax
push 0
push str.SOFTWAREJeticoBestCrypt_Volume_Encryption
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4253d1
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.AutoAskPassword
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4253d7
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 8], eax
setne al
add esp, 0x10
ret
Function at 0x425820
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x464
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x460], eax
mov eax, dword [esp + 0x468]
lea edx, [esp + 0x258]
mov dword [esp + 4], eax
mov dword [esp], 1
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x425850
lea eax, [esp + 0x258]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425870
sub eax, edx
sar eax, 1
push esi
mov esi, eax
cmp word [esp + esi*2 + 0x25a], 0x5c
push edi
je 0x4258b4
lea edi, [esp + 0x260]
add edi, 0xfffffffe
jmp 0x4258a0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4258a0
mov eax, dword [0x554368]
mov dword [edi], eax
inc esi
lea edi, [esp + 0x260]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4258c0
mov ecx, dword [0x554364]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x264]
push eax
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x425907
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.00524d83
add esp, 0x464
ret
lea ecx, [esi + esi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, ecx
lea edx, [esp + 0x40]
sub esi, edx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + esi + 0x268]
jmp 0x425930
lea eax, [esp + 0x44]
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x425934
test byte [esp + 0x18], 0x10
je 0x4259d1
mov ecx, 0x554360
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42597d
test dx, dx
je 0x425979
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42597d
add eax, 4
add ecx, 4
test dx, dx
jne 0x425957
xor eax, eax
jmp 0x425982
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4259df
mov ecx, 0x554358
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4259b6
test dx, dx
je 0x4259b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4259b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x425990
xor eax, eax
jmp 0x4259bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4259df
lea eax, [esp + 0x268]
push eax
call fcn.00425820
add esp, 4
jmp 0x4259db
lea ecx, [esp + 0x268]
push ecx
call ebp
mov dword [esp + 0x10], eax
lea edx, [esp + 0x18]
push edx
push edi
call ebx
test eax, eax
jne 0x425930
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x470]
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.00524d83
add esp, 0x464
ret

Function at 0x425fc0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push 0x425eb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x425fe2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ecx
ret
Function at 0x4272d0
Capabilities:
Create directory

Disassembly:
sub esp, 0x668
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x664], eax
push ebx
mov ebx, dword [esp + 0x674]
push esi
push edi
mov edi, dword [esp + 0x678]
push 0
push ebx
mov esi, 1
call fcn.005260d0
add esp, 8
test eax, eax
je 0x42732e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42732e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x664]
xor ecx, esp
call fcn.00524d83
add esp, 0x668
ret
push ebp
push 0x554364
push 0x104
push edi
call fcn.00527a99
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov eax, edi
mov dword [esp + 0x10], ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427360
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
cmp ebp, 0xffffffff
je 0x427553
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x427390
push edi
lea edx, [esp + 0x470]
push 0x104
push edx
call fcn.005267e8
push ebx
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.005267e8
add esp, 0x18
test byte [esp + 0x14], 0x10
je 0x4274e9
mov ecx, 0x554360
lea eax, [esp + 0x40]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4273f6
test dx, dx
je 0x4273f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4273f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4273d0
xor eax, eax
jmp 0x4273fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427530
mov ecx, 0x554358
lea eax, [esp + 0x40]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427436
test dx, dx
je 0x427432
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427436
add eax, 4
add ecx, 4
test dx, dx
jne 0x427410
xor eax, eax
jmp 0x42743b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427530
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x470]
push 0x104
push edx
call fcn.00527a99
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x274]
push 0x104
push ecx
call fcn.00527a99
lea edx, [esp + 0x27c]
push 0
push edx
call fcn.005260d0
add esp, 0x20
test eax, eax
je 0x4274a1
push 0
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
je 0x427530
push 0x554368
lea ecx, [esp + 0x470]
push 0x104
push ecx
call fcn.00527a99
push 0x554368
lea edx, [esp + 0x274]
push 0x104
push edx
call fcn.00527a99
lea eax, [esp + 0x27c]
push eax
lea ecx, [esp + 0x488]
push ecx
call fcn.004272d0
add esp, 0x20
jmp 0x42752e
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x470]
push 0x104
push eax
call fcn.00527a99
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push 0x104
push edx
call fcn.00527a99
add esp, 0x18
push 0
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x474]
push ecx
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427390
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x674]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00524d83
add esp, 0x668
ret
Function at 0x428150
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5492e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b0c20]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x14], edi
cmp dword [ebp + 0x3b48], edi
jne 0x42819c
mov eax, dword [esp + 0x30]
push eax
push ebp
call fcn.004215d0
add esp, 8
jmp 0x428398
mov eax, dword [0x5cca40]
test eax, eax
je 0x4281ac
mov edi, dword [eax + 0x20]
mov dword [esp + 0x14], edi
cmp dword [0x5b28e0], 0
je 0x428398
cmp dword [ebp + 0x3b44], 0
jne 0x4282db
cmp dword [esp + 0x30], 0
jne 0x4281db
cmp dword [0x5b2bac], 0
jne 0x4281fc
jmp 0x428398
cmp dword [0x5b2bac], 0
jne 0x4281fc
push 0
push 0x5b2bb0
push edi
call fcn.00433cd0
add esp, 0xc
test eax, eax
je 0x428398
push 0
push 0x5b2bb0
lea ebx, [ebp + 0x3b50]
call fcn.005260d0
add esp, 8
test eax, eax
jne 0x428301
push 0x554630
push 0x5b2bb0
call fcn.00527bdc
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
test esi, esi
je 0x428301
push 0
push 0x200
push esi
call fcn.00528134
push esi
push 1
push 0x400
push ebx
call fcn.00527fdb
add esp, 0x1c
cmp eax, 1
je 0x42826a
push esi
call fcn.005276ba
add esp, 4
jmp 0x428398
lea eax, [ebp + 0x2af2]
lea edx, [ebx + 0x2b0]
mov ecx, 8
sub edx, eax
lea ecx, [ecx]
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x4282f4
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x428280
mov eax, 1
mov dword [ebp + 0x3b44], eax
mov dword [ebp + 0x3b48], eax
mov dword [0x5b2bac], eax
lea esi, [ebx + 0x250]
lea edi, [ebp + 0x8a8]
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x1b0]
lea edi, [ebp + 0x968]
mov ecx, 0x28
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005276ba
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push esi
call fcn.005276ba
mov edi, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00404b40
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.00404b40
movzx edx, word [ebp]
push 0x5b2bb0
push edx
lea eax, [esp + 0x34]
push 0xa6
push eax
mov byte [esp + 0x34], 1
call fcn.00405140
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
add esp, 0x10
push 0
push esi
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428374
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428398
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4283b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x549310
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b0c20]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x14], edi
cmp dword [esi + 0x3b44], edi
je 0x428458
cmp dword [esi + 0x3b40], edi
je 0x428458
cmp dword [0x5b2bac], edi
je 0x428458
push edi
push 0x5b2bb0
call fcn.005260d0
add esp, 8
test eax, eax
jne 0x428590
push 0x55592c
push 0x5b2bb0
call fcn.00527bdc
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x428590
push edi
push 0x200
push ebp
call fcn.00528134
mov ebx, dword [esp + 0x38]
push ebp
push 1
push 0x400
push ebx
call fcn.00527fdb
add esp, 0x1c
cmp eax, 1
je 0x42846e
push ebp
call fcn.005276ba
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea eax, [esi + 0x2af2]
lea edx, [ebx + 0x2b0]
mov ecx, 8
sub edx, eax
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x4284f3
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x428481
mov eax, dword [esp + 0x28]
add esi, 0x8a8
lea edi, [ebx + 0x250]
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x968]
push 1
lea edi, [ebx + 0x1b0]
mov ecx, 0x28
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x3b50]
push 0xfffffc00
mov ecx, 0x6c
mov edi, ebx
push ebp
rep movsd dword es:[edi], dword [esi]
call fcn.00528134
push ebp
push 1
push 0x400
push ebx
call fcn.00527898
add esp, 0x1c
cmp eax, 1
jne 0x4284f3
mov dword [esp + 0x14], eax
push ebp
call fcn.005276ba
mov edi, dword [esp + 0x18]
add esp, 4
test edi, edi
je 0x428590
cmp dword [esp + 0x30], 0
je 0x428590
lea ecx, [esp + 0x14]
call fcn.00404b40
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0
call fcn.00404b40
mov eax, dword [0x5cca40]
xor esi, esi
mov byte [esp + 0x20], 1
test eax, eax
je 0x428540
mov esi, dword [eax + 0x20]
push 0x5b2bb0
lea eax, [esp + 0x18]
push 0xac
push eax
call fcn.00405140
add esp, 0xc
push 0xef1c
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x5b2810
call fcn.004050c0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x28]
call fcn.00404b70
lea ecx, [esp + 0x14]
call fcn.00404b70
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x429310
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5493eb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x5b0c20]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x438]
push 0x458
call fcn.00401bb0
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x429514
push 0x208
lea eax, [esp + 0x18]
push edi
push eax
call fcn.00526520
push 0x208
lea ecx, [esp + 0x22c]
push edi
push ecx
call fcn.00526520
add esp, 0x18
xor eax, eax
jmp 0x4293a0
movzx ecx, word [eax + str.rescue.rsc]
mov word [esp + eax + 0x21c], cx
add eax, 2
cmp cx, di
jne 0x4293a0
lea edx, [esp + 0x21c]
lea eax, [esp + 0x14]
mov dword [esi], 0x58
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], 0x104
mov dword [esi + 0xc], str.BestCrypt_Rescue_files__.rsc_
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], 0x800
mov dword [esi + 0x3c], 0x5559b4
call fcn.0050d475
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x429410
push 0x80004005
call fcn.00401c60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xef5b
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x5b2810
mov dword [esp + 0x438], edi
call fcn.004050c0
mov edx, dword [esp + 0x10]
push esi
mov dword [esi + 0x30], edx
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
cmp eax, 1
jne 0x4294e0
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.00441830
lea eax, [esp + 0x1c]
add esp, 8
add eax, 0xfffffffe
jmp 0x429470
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x429470
mov ecx, dword [str._rescue.rsc]
mov edx, dword [0x550b64]
mov dword [eax], ecx
mov ecx, dword [0x550b68]
mov dword [eax + 4], edx
mov edx, dword [0x550b6c]
mov dword [eax + 8], ecx
mov ecx, dword [0x550b70]
mov dword [eax + 0xc], edx
mov edx, dword [0x550b74]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
push edi
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4294e0
push 0x40
push ebx
push 0xef1c
push 0xef5c
mov ecx, 0x5b2810
call fcn.00405df0
push esi
call fcn.00401bc0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x430], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429514
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00524d83
add esp, 0x424
ret