Function at 0x47eac0
Capabilities:
Create thread
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e0905
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, str.Analysing_disks...
call fcn.00417060
xor esi, esi
mov dword [esp + 0x6c], esi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov edx, dword [0x6eaa30]
push ecx
add edx, 0xc0
push edx
mov dword [esp + 0x74], 0xffffffff
call fcn.004972e0
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
test ecx, 0xfffffffc
jne 0x47eb6d
mov ecx, ebx
call fcn.0042a2a0
push 0x58
call fcn.005939b5
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], 1
cmp eax, esi
je 0x47eb91
push eax
call fcn.0047e210
mov esi, eax
jmp 0x47eb93
xor esi, esi
mov dword [esp + 0x68], 0xffffffff
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edx
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x14], 0
sar eax, 2
test eax, eax
jbe 0x47ec52
xor ecx, ecx
mov word [esp + 0x2c], cx
mov dword [esp + 0x30], ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], cl
cmp dword [esp + 0x14], eax
jb 0x47ebdf
call fcn.0059471a
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
lea edi, [edx*4]
mov ecx, dword [edi + eax]
cmp dword [ecx - 0xc], 0
jl 0x47ec86
mov cx, word [ecx]
mov word [esp + 0x2c], cx
mov ecx, dword [ebx + 0x10]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jb 0x47ec13
call fcn.0059471a
mov eax, dword [ebx + 0xc]
add eax, edi
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x47ec2b
mov byte [esp + 0x36], 1
lea edx, [esp + 0x2c]
push edx
lea edi, [esi + 0x18]
call fcn.0048e1f0
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
inc ecx
sar eax, 2
mov dword [esp + 0x14], ecx
cmp ecx, eax
jb 0x47ebbd
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x14], 0
jbe 0x47ecdd
push 0
push 0
push esi
push 0x47e290
push 0
push 0
call fcn.005957cb
mov edx, dword [esi + 0xc]
add esp, 0x18
mov dword [esp + 0x18], eax
test edx, edx
jne 0x47ec90
xor ecx, ecx
jmp 0x47ec98
push 0x80070057
call fcn.00403d10
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov ebx, dword [esi + 0x10]
mov edi, ebx
sub edi, edx
sar edi, 2
cmp edi, ecx
jae 0x47ecb0
mov dword [ebx], eax
add ebx, 4
mov dword [esi + 0x10], ebx
jmp 0x47ecce
cmp edx, ebx
jbe 0x47ecb9
call fcn.0059471a
mov eax, dword [esi]
push ebx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, esi
call fcn.004b9d60
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x4c]
jb 0x47ec61
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
test edx, edx
ja 0x47ecef
call fcn.0059471a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
push 0xffffffffffffffff
push 1
sub ecx, eax
push eax
sar ecx, 2
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, dword [esi + 0x24]
cmp edi, dword [esi + 0x28]
jbe 0x47ed13
call fcn.0059471a
mov ebx, dword [esi + 0x18]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x24], eax
jbe 0x47ed27
call fcn.0059471a
mov eax, dword [esi + 0x18]
test ebx, ebx
je 0x47ed32
cmp ebx, eax
je 0x47ed37
call fcn.0059471a
cmp edi, dword [esp + 0x18]
je 0x47eee2
test ebx, ebx
jne 0x47eeb3
call fcn.0059471a
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47ed5a
call fcn.0059471a
cmp dword [edi + 4], 0
jne 0x47eec1
lea edx, [esp + 0x14]
push edx
mov ecx, 0x69a2fc
call fcn.0040b8a0
mov dword [esp + 0x68], 2
test ebx, ebx
jne 0x47eeba
call fcn.0059471a
cmp edi, dword [ebx + 0x10]
jb 0x47ed92
call fcn.0059471a
movzx eax, word [edi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jle 0x47ec86
cmp dword [eax - 4], 1
jle 0x47edbf
mov ecx, ebx
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0040db00
mov eax, dword [esp + 0x14]
mov cx, word [esp + 0x18]
mov word [eax], cx
test ebx, ebx
jl 0x47ec86
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax - 8]
jg 0x47ec86
mov dword [eax - 0xc], ebx
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [eax + ebx*2], dx
cmp dword [0x6d138c], 1
jl 0x47ee42
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00499710
mov byte [esp + 0x70], 3
mov eax, dword [eax]
push eax
push str.Excluded_drive__s
push str.FullScanNTFS
push 1
call fcn.00552bc2
add esp, 0x18
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ee42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi + 0x28]
lea eax, [edi + 0xc]
cmp eax, edx
je 0x47ee6a
mov ecx, edi
sub ecx, eax
mov ebx, dword [eax]
mov dword [ecx + eax], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + eax + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + eax + 8], ebx
add eax, 0xc
cmp eax, edx
jne 0x47ee50
add dword [esi + 0x28], 0xfffffff4
mov eax, dword [esi + 0x28]
cmp dword [esi + 0x24], edi
ja 0x47ee7a
cmp edi, eax
jbe 0x47ee7f
call fcn.0059471a
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ed16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x47ed16
mov eax, dword [ebx]
jmp 0x47ed50
mov ebx, dword [ebx]
jmp 0x47ed88
test ebx, ebx
jne 0x47eede
call fcn.0059471a
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47eed6
call fcn.0059471a
add edi, 0xc
jmp 0x47ed16
mov eax, dword [ebx]
jmp 0x47eecc
cmp dword [0x6d138c], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jl 0x47ef10
push str.Disks_init_done
push str.FullScanNTFS
push 1
call fcn.00552bc2
add esp, 0xc
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0xc], eax
jbe 0x47ef21
call fcn.0059471a
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x47ef30
call fcn.0059471a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
push ebx
push edi
push eax
lea ebx, [esp + 0x2c]
call fcn.0048ea40
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x47efaa
xor ebx, ebx
nop
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x47ef7f
call fcn.0059471a
mov edx, dword [esi + 0x24]
mov eax, dword [ebx + edx + 4]
mov eax, dword [eax + 0xc]
add dword [esi + 0x50], eax
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0xc
cmp edi, eax
jb 0x47ef60
cmp dword [0x6d138c], 1
jl 0x47efcb
mov ecx, dword [esi + 0x50]
push ecx
push str.Disks_total_size__i
push str.FullScanNTFS
push 1
call fcn.00552bc2
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x14], 0
jbe 0x47f0c5
mov edi, edi
push 0x28
call fcn.005939b5
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], 6
xor ebx, ebx
cmp edi, ebx
je 0x47f021
lea edx, [esp + 0x13]
lea eax, [edi + 8]
push edx
push eax
mov dword [esp + 0x20], eax
call fcn.0043a000
mov byte [esp + 0x68], 8
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov byte [esp + 0x68], 6
jmp 0x47f023
xor edi, edi
mov dword [esp + 0x68], 0xffffffff
mov dword [edi], esi
mov dword [edi + 4], ebx
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jae 0x47f053
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], ecx
push ebx
push ebx
push edi
push 0x47e4d0
push ebx
push ebx
call fcn.005957cb
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp ecx, ebx
jne 0x47f074
xor edx, edx
jmp 0x47f07c
mov edx, dword [esi + 0x14]
sub edx, ecx
sar edx, 2
mov edi, dword [esi + 0x10]
mov ebx, edi
sub ebx, ecx
sar ebx, 2
cmp ebx, edx
jae 0x47f094
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x47f0b2
cmp ecx, edi
jbe 0x47f09d
call fcn.0059471a
mov eax, dword [esi]
push edi
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
mov eax, esi
call fcn.004b9d60
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x4c]
jb 0x47efe0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
test ecx, ecx
ja 0x47f0d7
call fcn.0059471a
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
push 0xffffffffffffffff
push 1
sub edx, eax
push eax
sar edx, 2
push edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x47f117
mov edi, dword [ebp + 0x10]
call fcn.0047ea30
add eax, dword [esp + 0x24]
adc edx, dword [esp + 0x28]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
cmp dword [0x6d138c], 1
jl 0x47f134
push str.Disks_scan_done
push str.FullScanNTFS
push 1
call fcn.00552bc2
add esp, 0xc
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0x47f1d1
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x47f175
call fcn.0059471a
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x14]
cmp dword [edx + eax + 4], 0
je 0x47f1b1
mov ecx, dword [esi + 0x28]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x47f1a1
call fcn.0059471a
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax + 4]
call fcn.004c17d0
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
add dword [esp + 0x14], 0xc
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
inc ebx
add ecx, edx
cmp ebx, ecx
jb 0x47f156
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret