Function at 0x421d0b
Capabilities:
Get disk information
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x51a448]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
push esi
push edi
push 0x1c0
lea eax, [esp + 0x3c]
mov edi, ecx
push 0
push eax
call fcn.0049ef70
add esp, 0xc
mov dword [esp + 0x2c], 0x5c3a41
mov byte [esp + 0xf], 0
push 0x14000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x34], eax
test eax, eax
je 0x4221c9
mov ecx, 0x400
mov dword [esp + 0x1c4], 1
lea esi, [eax + 0x104]
mov dword [esp + 0x1cc], 0x5066b0
mov edx, esi
mov eax, 0x800
add esi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x50], esi
xorps xmm0, xmm0
add esi, eax
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x54], esi
add esi, eax
mov ebx, esi
add esi, 0x1000
mov dword [esp + 0x18], esi
add esi, ecx
mov dword [esp + 0x1c], esi
add esi, ecx
mov dword [esp + 0x20], esi
add esi, ecx
mov dword [esp + 0x24], esi
add esi, ecx
mov dword [esp + 0x28], esi
add esi, ecx
mov dword [esp + 0x1d8], esi
add esi, eax
xor eax, eax
mov dword [esp + 0x1dc], esi
add esi, ecx
mov byte [esp + 0x78], al
mov dword [esp + 0x1e0], esi
add esi, ecx
mov byte [esp + 0xb8], al
mov byte [esp + 0x138], al
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1d4], eax
cmp byte [0x51e6c9], al
je 0x421e51
lea eax, [edi + 0x238]
push eax
push str.K7ARW_Suspected_Info:__s_n
push edx
call fcn.00402a6e
add esp, 0xc
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x14]
lea ecx, [edi + 0x238]
jmp 0x421e65
cmp al, 0xd
je 0x421e61
cmp al, 0xa
jne 0x421e64
mov byte [ecx], 0x20
inc ecx
mov al, byte [ecx]
test al, al
jne 0x421e59
push str.Generic_Ransomware__Standalone_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
lea eax, [esp + 0x1c8]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x421e9a
lea ecx, [esp + 0x1c8]
call fcn.0048dd30
mov ecx, dword [esp + 0x1c8]
lea edx, [esp + 0x1ec]
call fcn.0048de60
test eax, eax
je 0x421ed6
cmp dword [esp + 0x1ec], 0
je 0x421ed6
mov ecx, dword [esp + 0x1c8]
mov edx, esi
mov dword [esp + 0x1f0], edx
add esi, 0x4b0
call fcn.0048df20
call fcn.0040a6a4
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, dword [esp + 0x20]
push edx
push ecx
mov byte [eax], dl
mov byte [ecx], dl
mov edx, eax
mov ecx, dword [edi + 0xc]
call fcn.0041f348
pop ecx
pop ecx
xor eax, eax
mov word [ebx], ax
push dword [edi + 0x12c]
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, eax
mov dword [esp + 0x30], ecx
push 0x800
test ecx, ecx
je 0x421fb0
push dword [esp + 0x58]
push ecx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
mov ecx, dword [esp + 0x54]
mov edx, ebx
call fcn.0040cabe
push 9
mov eax, ebx
add eax, 2
push str.:WINDOWS
push eax
call fcn.004d8169
add esp, 0xc
test eax, eax
je 0x421f70
push 0xf
mov eax, ebx
add eax, 2
push str.:PROGRAM_FILES
push eax
call fcn.004d8169
add esp, 0xc
test eax, eax
je 0x421f70
mov byte [esp + 0xf], 0x53
jmp 0x421fa4
push dword [edi + 0x130]
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x421f93
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0xf], 0x49
push str.Generic_Ransomware__Injected_
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42200a
lea eax, [edi + 0x134]
push eax
push dword [esp + 0x5c]
call fcn.004c9d56
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, ebx
call fcn.0040cabe
push 9
mov eax, ebx
add eax, 2
push str.:WINDOWS
push eax
call fcn.004d8169
add esp, 0xc
test eax, eax
je 0x422005
push 0xf
mov eax, ebx
add eax, 2
push str.:PROGRAM_FILES
push eax
call fcn.004d8169
add esp, 0xc
mov byte [esp + 0xf], 0x53
test eax, eax
jne 0x42200a
mov byte [esp + 0xf], 0x49
cmp byte [esp + 0xf], 0x49
mov al, byte [ebx]
mov byte [esp + 0x2c], al
jne 0x422041
push dword [edi + 0x12c]
push ebx
push dword [edi + 0x130]
push str.ThreadID__d____s__ProcessID__d_
push dword [esp + 0x60]
call fcn.0040cf04
add esp, 0x14
push dword [esp + 0x50]
push ebx
call fcn.004cb981
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push 0x400
push dword [esp + 0x24]
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x42206f
push 0x400
push ebx
push dword [esp + 0x20]
call fcn.004cb853
add esp, 0xc
mov eax, dword [esp + 0x24]
mov edx, eax
mov ecx, dword [esp + 0x28]
push ecx
mov byte [eax], 0
mov byte [ecx], 0
mov ecx, dword [esp + 0x20]
call fcn.0041f2c0
cmp byte [esp + 0x13], 0x53
mov eax, 0x44524854
pop ecx
mov ecx, 0x454c4946
mov dword [esp + 0x3c], edi
cmove eax, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x2c]
push eax
mov word [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp byte [esp + 0xf], 0x53
mov dword [esp + 0x6c], eax
jne 0x42219b
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1bc]
push eax
lea eax, [esp + 0x1bc]
mov ecx, ebx
push eax
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x88]
push eax
lea edx, [esp + 0x84]
call fcn.0040c63c
mov eax, dword [esp + 0x1ec]
xor ecx, ecx
add esp, 0x14
mov byte [eax], cl
mov eax, dword [esp + 0x1dc]
mov byte [eax], cl
mov eax, dword [esp + 0x1e0]
mov byte [eax], cl
lea ecx, [esp + 0x78]
push dword [esp + 0x1e0]
mov edx, dword [esp + 0x1dc]
push dword [esp + 0x1e0]
call fcn.0041f10d
pop ecx
pop ecx
call fcn.0040cd9c
test eax, eax
je 0x42219b
mov edx, esi
mov dword [esp + 0x1f4], esi
mov ecx, ebx
call fcn.0040cdee
neg eax
sbb eax, eax
and dword [esp + 0x1f4], eax
lea eax, [edi + 0x238]
mov byte [esp + 0x59], 0x73
lea ecx, [esp + 0x38]
mov dword [esp + 0x1d0], eax
call fcn.00424819
push dword [esp + 0x34]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, edi
call fcn.0041e227
mov ecx, dword [esp + 0x1fc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.0049d307
mov esp, ebp
pop ebp
ret