Function at 0x46eb68
Capabilities:
Create thread
Get disk information
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cf21b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push str.Analysing_disks...
push eax
call fcn.00410e94
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov eax, dword [ebp + 8]
push dword [eax]
mov eax, dword [0x6ddaa8]
add eax, 0xc0
push eax
or dword [esp + 0x7c], 0xffffffff
call fcn.00485a72
push 8
pop ecx
xor eax, eax
mov dword [esp + 0x40], ebx
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
test eax, 0xfffffffc
jne 0x46ebf7
push esi
call fcn.004217e1
pop ecx
push 0x58
call fcn.005812e3
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], 1
cmp eax, ebx
je 0x46ec1d
push eax
call fcn.0046e2db
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x46ec21
mov dword [esp + 0x18], ebx
or dword [esp + 0x70], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor edi, edi
sar eax, 2
mov dword [esp + 0x14], edi
test eax, eax
jbe 0x46ed1e
xor eax, eax
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x14]
mov word [esp + 0x2c], ax
mov byte [esp + 0x34], al
mov byte [esp + 0x35], al
mov byte [esp + 0x36], al
call fcn.0041e10a
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x46ee93
mov ax, word [eax]
mov word [esp + 0x2c], ax
call fcn.0041e10a
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x46ec94
mov byte [esp + 0x36], 1
lea edi, [ebx + 0x18]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x46eca4
and dword [esp + 0x1c], ecx
jmp 0x46ecb3
mov eax, dword [edi + 0x14]
sub eax, ecx
push 0xc
cdq
pop ecx
idiv ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0xc
cdq
pop ecx
idiv ecx
cmp eax, dword [esp + 0x1c]
jae 0x46ecd9
lea eax, [esp + 0x2c]
push eax
push 1
push dword [edi + 0x10]
call fcn.0042d8b3
mov dword [edi + 0x10], eax
jmp 0x46ed05
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x24]
call fcn.0048069e
push dword [esp + 0x28]
lea eax, [esp + 0x30]
push dword [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
mov eax, edi
call fcn.0047dccf
mov esi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc dword [esp + 0x14]
sar eax, 2
xor edi, edi
cmp dword [esp + 0x14], eax
jb 0x46ec49
xor esi, esi
cmp dword [esp + 0x54], edi
jbe 0x46ed4f
push edi
push edi
push ebx
push 0x46e357
push edi
push edi
call fcn.00583186
mov dword [esp + 0x34], eax
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
mov eax, ebx
call fcn.0042bf41
inc esi
cmp esi, dword [esp + 0x54]
jb 0x46ed26
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
test eax, eax
ja 0x46ed61
call fcn.0058204a
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
push 0xffffffffffffffff
push 1
sub ecx, eax
push eax
sar ecx, 2
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
add ebx, 0x18
mov edi, ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebx + 0xc]
lea esi, [esp + 0x24]
call fcn.0048069e
mov edi, dword [esp + 0x1c]
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x2c]
call fcn.0048069e
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x46edab
cmp ebx, dword [esp + 0x2c]
je 0x46edb0
call fcn.0058204a
mov edi, dword [esp + 0x28]
cmp edi, dword [esp + 0x30]
je 0x46eec2
lea esi, [esp + 0x24]
call fcn.00450a94
cmp dword [eax + 4], 0
jne 0x46ee9d
push 0x688cf4
lea eax, [esp + 0x18]
push eax
call fcn.004085b5
mov dword [esp + 0x70], 2
call fcn.00450a94
movzx eax, word [eax]
push eax
xor ebx, ebx
lea eax, [esp + 0x18]
call fcn.0042b982
cmp dword [0x6c438c], 1
jl 0x46ee3c
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
call fcn.00488a10
mov byte [esp + 0x78], 3
push dword [eax]
push str.Excluded_drive__s
push str.FullScanNTFS
push 1
call fcn.00540a02
add esp, 0x18
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x20]
call fcn.004084b5
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x10]
lea eax, [edi + 0xc]
cmp eax, ebx
je 0x46ee5d
mov edx, edi
sub edx, eax
lea edi, [eax + edx]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xc
movsd dword es:[edi], dword [esi]
cmp eax, ebx
jne 0x46ee4e
mov ebx, dword [esp + 0x28]
add dword [ecx + 0x10], 0xfffffff4
mov edi, ecx
lea esi, [esp + 0x38]
call fcn.0048069e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
or dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004085f6
jmp 0x46ed8d
push 0x80070057
call fcn.00402d13
test ebx, ebx
jne 0x46eebe
call fcn.0058204a
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46eeb2
call fcn.0058204a
add edi, 0xc
mov dword [esp + 0x28], edi
jmp 0x46ed8d
mov eax, dword [ebx]
jmp 0x46eea8
cmp dword [0x6c438c], 1
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x28], eax
jl 0x46eef0
push str.Disks_init_done
push str.FullScanNTFS
push 1
call fcn.00540a02
add esp, 0xc
mov edi, dword [esp + 0x18]
mov eax, edi
call fcn.0047c1ec
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0xc
cdq
pop ecx
idiv ecx
and dword [esp + 0x18], 0
test eax, eax
jbe 0x46ef3c
push dword [esp + 0x18]
call fcn.00408931
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
add dword [edi + 0x50], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0xc
cdq
pop ecx
idiv ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], eax
jb 0x46ef14
cmp dword [0x6c438c], 1
jl 0x46ef5c
push dword [edi + 0x50]
push str.Disks_total_size__i
push str.FullScanNTFS
push 1
call fcn.00540a02
add esp, 0x10
and dword [esp + 0x1c], 0
cmp dword [esp + 0x54], 0
jbe 0x46effe
push 0x28
call fcn.005812e3
mov ebx, eax
pop ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], 4
test ebx, ebx
je 0x46efa4
lea eax, [ebx + 8]
push eax
call fcn.0042c006
mov byte [esp + 0x70], 5
and dword [ebx], 0
and dword [ebx + 4], 0
mov byte [esp + 0x70], 4
mov ecx, ebx
jmp 0x46efa6
xor ecx, ecx
or dword [esp + 0x70], 0xffffffff
and dword [ecx + 4], 0
mov dword [ecx], edi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0xc
cdq
pop ebx
idiv ebx
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jae 0x46efc8
mov dword [ecx + 4], ebx
xor eax, eax
push eax
push eax
push ecx
push 0x46e548
push eax
push eax
call fcn.00583186
mov dword [esp + 0x38], eax
add esp, 0x18
lea eax, [esp + 0x20]
push eax
mov eax, edi
call fcn.0042bf41
inc ebx
mov dword [esp + 0x1c], ebx
cmp ebx, dword [esp + 0x54]
jb 0x46ef6c
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 2
test eax, eax
ja 0x46f010
call fcn.0058204a
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
push 0xffffffffffffffff
push 1
sub ecx, eax
push eax
sar ecx, 2
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [ebx + 4]
call fcn.00466d9a
pop ecx
test al, al
jne 0x46f04a
mov eax, dword [ebp + 0x10]
call fcn.0046eaf4
add eax, dword [esp + 0x24]
adc edx, dword [esp + 0x28]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
cmp dword [0x6c438c], 1
jl 0x46f067
push str.Disks_scan_done
push str.FullScanNTFS
push 1
call fcn.00540a02
add esp, 0xc
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0xc
cdq
pop ecx
idiv ecx
xor ebx, ebx
test eax, eax
jbe 0x46f0a4
push ebx
call fcn.00408931
cmp dword [eax + 4], 0
je 0x46f093
push ebx
call fcn.00408931
mov edi, dword [eax + 4]
call fcn.004ba870
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0xc
cdq
pop ecx
idiv ecx
inc ebx
cmp ebx, eax
jb 0x46f079
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret