joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cb60
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x3c
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x101e06b0]
push ebx
push ebp
mov ebp, dword [esp + 0x48]
push esi
cmp eax, 0xffffffff
jne 0x1000ccb9
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ccc3
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebx
add eax, 0xffffffb2
push ebx
adc ecx, 0xffffffff
push ecx
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0x27
lea ecx, [esp + 0x21]
push ebx
push ecx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
call fcn.100d4cc0
add esp, 0xc
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x28
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x18], 0x28
jne 0x1000ccc3
lea eax, [ebx + 0x28]
xor ecx, ecx
nop
mov edx, dword [esp + ecx + 0x1c]
cmp edx, dword [ecx + str.6se9RaIxXF9m70zWmx7nL3bVRp691w4SNY8UCir0]
jne 0x1000cc39
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x1000cc20
jmp 0x1000cc57
mov eax, 0x28
xor ecx, ecx
mov edx, dword [esp + ecx + 0x1c]
cmp edx, dword [ecx + str.vElBnRCjG17HPbVSb8mw2WKW8uIBUDp5gbuiZat1]
jne 0x1000ccc3
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x1000cc40
mov eax, 0x28
xor ecx, ecx
mov edi, edi
mov edx, dword [esp + ecx + 0x1c]
cmp edx, dword [ecx + str.6se9RaIxXF9m70zWmx7nL3bVRp691w4SNY8UCir0]
jne 0x1000cc93
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x1000cc60
push edi
mov ecx, ebp
call fcn.1000c350
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100d0738
add esp, 0x3c
ret 4
mov eax, 0x28
xor ecx, ecx
lea ebx, [ebx]
mov edx, dword [esp + ecx + 0x1c]
cmp edx, dword [ecx + str.vElBnRCjG17HPbVSb8mw2WKW8uIBUDp5gbuiZat1]
jne 0x1000ccc3
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x1000cca0
jmp 0x1000cc77
cmp eax, 1
je 0x1000cc77
cmp eax, 2
je 0x1000cc77
mov edx, ebp
mov ecx, edi
call fcn.1000c900
mov ecx, dword [esp + 0x44]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d0738
add esp, 0x3c
ret 4
Function at 0x1000da70
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10132488
push 0x100d6c90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10139d00]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
push edi
push 1
push edi
push str.AlejaCMa.EncryptDecrypt
lea eax, [ebp - 0x1c]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call esi
test eax, eax
jne 0x1000db04
push 8
push 1
push edi
push str.AlejaCMa.EncryptDecrypt
lea ecx, [ebp - 0x1c]
push ecx
call esi
test eax, eax
jne 0x1000db04
push 0xfffffffffffffffe
lea edx, [ebp - 0x10]
push edx
push 0x10139d00
call fcn.100dadb0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x20]
push eax
push edi
push edi
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x1000db28
push 0xfffffffffffffffe
lea ecx, [ebp - 0x10]
push ecx
jmp 0x1000dade
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push edi
push 1
push edi
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
push 0xfffffffffffffffe
test eax, eax
je 0x1000dada
lea eax, [ebp - 0x10]
push eax
push 0x10139d00
call fcn.100dadb0
add esp, 0xc
xor eax, eax
jmp 0x1000daf0
Function at 0x1000db80
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x220
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 5
push ebx
mov dword [0x101e2cc4], ebx
mov dword [0x101e2cc8], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.paradise_key.bin
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x1000dd36
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1000dd2e
push edi
lea esi, [ebp + 0x64]
push esi
call fcn.100cf8cb
push esi
mov edi, eax
push ebx
push edi
call fcn.100d4cc0
lea esi, [ebp + 0x1000]
push esi
call fcn.100cf8cb
push esi
mov ebx, eax
call fcn.100cf8cb
push esi
push 0
push ebx
mov dword [esp + 0x40], eax
call fcn.100d4cc0
mov eax, dword [esp + 0x40]
push esi
push 0
push eax
call fcn.100d4cc0
mov edx, dword [esp + 0x48]
add esp, 0x30
push 0
lea ecx, [esp + 0x24]
push ecx
push ebp
push edi
push edx
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push str.delimiter
push edi
call fcn.100d2870
mov ebp, eax
mov eax, edi
add esp, 8
mov byte [ebp], 0
add ebp, 9
mov dword [esp + 0x10], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000dc83
sub eax, ecx
lea ecx, [esp + 0x10]
push ecx
push ebx
push eax
push edi
call fcn.100034f0
mov edx, dword [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x24], esi
add esp, 0x10
mov dword [0x101e2cc8], edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000dcb0
sub eax, esi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
push ebp
call fcn.100034f0
mov eax, dword [0x101e2cc8]
mov ebp, dword [esp + 0x24]
add eax, ebp
add esp, 0x10
mov dword [0x101e2cc8], eax
add eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x101e2cc4], eax
test eax, eax
je 0x1000dd14
mov edx, dword [esp + 0x10]
push edx
push ebx
push eax
call fcn.100d4950
mov eax, dword [0x101e2cc4]
mov ecx, dword [esp + 0x1c]
push ebp
add eax, ecx
push esi
push eax
call fcn.100d4950
add esp, 0x18
push esi
call fcn.100d072d
push ebx
call fcn.100d072d
push edi
call fcn.100d072d
mov esi, dword [esp + 0x24]
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov ecx, dword [esp + 0x224]
pop esi
pop ebx
xor ecx, esp
mov eax, 0x101e2cc4
call fcn.100d0738
add esp, 0x220
ret
Function at 0x1000dd60
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push esi
mov esi, eax
test esi, esi
je 0x1000dddf
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x1000dddf
push str._V.0.0.0.1yourencrypter_protonmail.ch.dp
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1000dddf
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ddc8
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
jl 0x1000dddf
jg 0x1000ddd8
cmp dword [esp + 8], 0
jbe 0x1000dddf
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x1000ea20
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push esi
mov esi, eax
push str..PewCrypt
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000ea8d
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ea76
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
jl 0x1000ea8d
jg 0x1000ea86
cmp dword [esp + 8], 0
jbe 0x1000ea8d
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x1000ee40
Capabilities:
Decode data using base64 via winapi
Read file on windows

Disassembly:
sub esp, 0x7e8
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x7e4], eax
mov eax, dword [esp + 0x7ec]
push ebx
push ebp
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [esp + 0x30], ecx
mov byte [esp + 0x27], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1000efc4
push 0x3e9
lea edx, [esp + 0x405]
push ebx
push edx
mov byte [esp + 0x40c], bl
call fcn.100d4cc0
add esp, 0xc
push ebx
lea eax, [esp + 0x14]
push eax
push 0x3e8
lea ecx, [esp + 0x40c]
push ecx
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000efb7
cmp dword [esp + 0x10], ebx
jbe 0x1000efb7
cmp byte [esp + 0x400], 0x80
lea eax, [esp + 0x400]
jb 0x1000eeed
inc eax
cmp byte [eax], 0x80
jae 0x1000eee7
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.Your_personal_ID:
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x1000efb5
push str.Your_personal_ID:
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add esi, eax
push 0x10129d68
push esi
call edi
mov esi, eax
cmp esi, ebx
je 0x1000efb5
push 0x10129d68
inc esi
push esi
call edi
test eax, eax
je 0x1000efb5
push 0x10129d68
push esi
call edi
mov byte [eax], bl
mov eax, esi
cmp byte [esi], bl
je 0x1000ef60
mov cl, byte [eax]
cmp cl, 0x26
jne 0x1000ef53
mov byte [eax], 0x2f
jmp 0x1000ef5b
cmp cl, 0x23
jne 0x1000ef5b
mov byte [eax], 0x5c
inc eax
cmp byte [eax], bl
jne 0x1000ef47
push 0x3e7
lea edx, [esp + 0x25]
push ebx
push edx
mov byte [esp + 0x2c], bl
call fcn.100d4cc0
add esp, 0xc
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 1
push ebx
push esi
mov dword [esp + 0x30], 0x3e8
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp dword [esp + 0x14], 0x11
jbe 0x1000efb5
mov eax, dword [esp + 0x1c]
push 0x11
lea edx, [esp + 0x24]
push edx
push eax
call fcn.100d0e10
add esp, 0xc
mov byte [esp + 0x13], 1
pop edi
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0xb]
jmp 0x1000efc6
mov al, bl
mov ecx, dword [esp + 0x7ec]
pop ebp
pop ebx
xor ecx, esp
call fcn.100d0738
add esp, 0x7e8
ret 4
Function at 0x1000efe0
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push ebp
push esi
push edi
mov esi, eax
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
push 0x10129d6c
mov ebp, eax
call edi
cmp ebp, eax
jne 0x1000f07a
push str..Amigo_
call edi
add eax, eax
push eax
push str..Amigo_
push esi
call ebx
push eax
call fcn.100ef6bb
add esp, 0xc
test eax, eax
jne 0x1000f07a
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000f062
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], edi
jl 0x1000f07a
jg 0x1000f070
cmp dword [esp + 0x10], edi
jbe 0x1000f07a
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
Function at 0x1000f980
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
push esi
mov esi, eax
push edi
test esi, esi
je 0x1000f9fc
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push esi
call edi
test eax, eax
je 0x1000f9fc
push str..PUBG
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000f9fc
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000f9e4
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
jl 0x1000f9fc
jg 0x1000f9f4
cmp dword [esp + 8], 0
jbe 0x1000f9fc
mov al, 1
pop edi
pop esi
add esp, 0xc
ret
pop edi
xor al, al
pop esi
add esp, 0xc
ret
Function at 0x10010830
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100108e5
xor eax, eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov byte [esp + 0x29], al
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100108de
cmp dword [esp + 0x14], ebx
jl 0x100108de
jg 0x100108a8
cmp dword [esp + 0x10], 0x15
jbe 0x100108de
push ebx
lea ecx, [esp + 0x10]
push ecx
push 0xd
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100108de
cmp dword [esp + 0xc], 0xd
jne 0x100108de
push 0x10129e10
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100108de
lea edi, [eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d0738
add esp, 0x24
ret 4
Function at 0x10010900
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x10010a72
xor eax, eax
push eax
push eax
push 0xd
push edi
mov byte [esp + 0x2c], 0
mov dword [esp + 0x2d], eax
mov word [esp + 0x31], ax
mov byte [esp + 0x33], al
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x10010a63
push esi
lea edx, [esp + 0x14]
push edx
push 8
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10010a63
cmp dword [esp + 0x10], 8
jne 0x10010a63
lea ecx, [esp + 0x1c]
push ecx
call fcn.10069e5a
mov esi, dword [esp + 0x1c]
cmp esi, 0x3200000
jae 0x10010a63
mov edx, dword [esp + 0x18]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edx
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10010a63
mov eax, 4
cmp esi, 4
ja 0x100109e4
mov eax, esi
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esi, dword [esp + 0x10]
je 0x10010a50
mov edi, edi
push 0
lea eax, [esp + 0x14]
push eax
push 8
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10010a50
cmp dword [esp + 0x10], 8
jne 0x10010a50
lea edx, [esp + 0x1c]
push edx
call fcn.10069e5a
mov eax, 8
cmp esi, 8
ja 0x10010a36
mov eax, esi
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esi, dword [esp + 0x10]
jne 0x10010a00
test esi, esi
jne 0x10010a5c
mov dword [esp + 0x14], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x10010a7d
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.100d0738
mov esp, ebp
pop ebp
ret 4

Function at 0x10010ca0
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push esi
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x10010d1e
push str..GDCB
push eax
call fcn.100d2c8a
add esp, 8
test eax, eax
jne 0x10010d1e
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10010d1e
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
jl 0x10010d1e
jg 0x10010d17
cmp dword [esp + 8], 0x210
jbe 0x10010d1e
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret
Function at 0x10011a30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100f2478
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
xor bl, bl
push eax
mov dword [esp + 0x38], ecx
mov byte [esp + 0x33], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10011b7b
push 0xa00002
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10011b75
push 0
lea edx, [esp + 0x1c]
push edx
push 0xa00000
push ebx
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.100cf8cb
add esp, 4
push 0
push 0
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str..onion_
push edi
call ebp
test eax, eax
je 0x10011b65
push str..onion_
push edi
call ebp
mov esi, eax
push 0x10129eac
add esi, 7
push esi
call ebp
test eax, eax
je 0x10011b65
push 0x10129eac
push esi
call ebp
push esi
lea ecx, [esp + 0x24]
mov byte [eax], 0
call fcn.10002670
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], 0
call fcn.10002a30
lea ecx, [esp + 0x20]
mov byte [esp + 0x17], 1
call fcn.10002cc0
push edi
call fcn.100d072d
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, byte [esp + 0x17]
jmp 0x10011b7d
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100d0738
add esp, 0x38
ret 4
Function at 0x10014930
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x100f24a8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
mov byte [esp + 0x1b], 0
test ebp, ebp
jne 0x10014976
xor al, al
jmp 0x10014a63
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 0x12
test esi, esi
jle 0x1001496f
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ebx, eax
test ebx, ebx
je 0x10014a5f
lea esi, [esi + esi + 2]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10014a5f
push ebp
mov eax, esi
mov edx, edi
call fcn.10003d40
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x10129ee0
mov eax, esi
call fcn.100044f0
add ebx, 2
push ebx
mov eax, esi
call fcn.100044f0
push 0x10129ee4
mov eax, esi
call fcn.100044f0
xor ebx, ebx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
call fcn.10015f40
test al, al
je 0x10014a56
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10014a56
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x20], ebx
jl 0x10014a56
jg 0x10014a51
cmp dword [esp + 0x1c], 0x208
jbe 0x10014a56
mov byte [esp + 0x1b], 1
lea ecx, [esp + 0x28]
call fcn.10002cc0
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100d0738
add esp, 0x44
ret 4
Function at 0x10014a90
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
xor bl, bl
push eax
mov byte [esp + 0x27], bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10014bdd
push 0xa00002
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10014bd1
push ebp
push edi
push 0
lea ecx, [esp + 0x18]
push ecx
push 0xa00000
push ebx
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
mov esi, eax
lea edx, [esi + 1]
push edx
call fcn.100cf8cb
add esp, 4
push 0
push 0
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push 0x10129f00
push edi
call esi
test eax, eax
je 0x10014bb3
push 0x10129f00
push edi
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x10129f00
mov esi, eax
call ebp
add esi, eax
cmp byte [esi], 0x20
jne 0x10014b66
lea ebx, [ebx]
inc esi
cmp byte [esi], 0x20
je 0x10014b60
push str.GANDCRAB_V
call ebp
push eax
push str.GANDCRAB_V
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x10014bb3
push str.GANDCRAB_V
call ebp
add esi, eax
cmp byte [esi], 0x20
mov eax, esi
je 0x10014b96
mov edi, edi
inc eax
cmp byte [eax], 0x20
jne 0x10014b90
push esi
mov byte [eax], 0
call ebp
dec eax
cmp eax, 0xe
ja 0x10014bb3
mov eax, dword [esp + 0x1c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [esp + 0x13], 1
push edi
call fcn.100d072d
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov al, byte [esp + 0x13]
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret 4
mov al, byte [esp + 0xb]
pop esi
pop ebx
add esp, 8
ret 4
pop esi
mov al, bl
pop ebx
add esp, 8
ret 4