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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6175a5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
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.00418b00
xor esi, esi
mov dword [esp + 0x6c], esi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov edx, dword [0x72a300]
push ecx
add edx, 0xc0
push edx
mov dword [esp + 0x74], 0xffffffff
call fcn.004bc340
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 0x49e9dd
mov ecx, ebx
call fcn.00434ab0
push 0x58
call fcn.005c39f5
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], 1
cmp eax, esi
je 0x49ea01
push eax
call fcn.0049e080
mov esi, eax
jmp 0x49ea03
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 0x49eac2
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 0x49ea4f
call fcn.005c475a
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 0x49eaf6
mov cx, word [ecx]
mov word [esp + 0x2c], cx
mov ecx, dword [ebx + 0x10]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jb 0x49ea83
call fcn.005c475a
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 0x49ea9b
mov byte [esp + 0x36], 1
lea edx, [esp + 0x2c]
push edx
lea edi, [esi + 0x18]
call fcn.004afb20
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 0x49ea2d
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x14], 0
jbe 0x49eb4d
push 0
push 0
push esi
push 0x49e100
push 0
push 0
call fcn.005c4af6
mov edx, dword [esi + 0xc]
add esp, 0x18
mov dword [esp + 0x18], eax
test edx, edx
jne 0x49eb00
xor ecx, ecx
jmp 0x49eb08
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 0x49eb20
mov dword [ebx], eax
add ebx, 4
mov dword [esi + 0x10], ebx
jmp 0x49eb3e
cmp edx, ebx
jbe 0x49eb29
call fcn.005c475a
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.00445f80
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x4c]
jb 0x49ead1
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
test edx, edx
ja 0x49eb5f
call fcn.005c475a
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 0x49eb83
call fcn.005c475a
mov ebx, dword [esi + 0x18]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x24], eax
jbe 0x49eb97
call fcn.005c475a
mov eax, dword [esi + 0x18]
test ebx, ebx
je 0x49eba2
cmp ebx, eax
je 0x49eba7
call fcn.005c475a
cmp edi, dword [esp + 0x18]
je 0x49ed52
test ebx, ebx
jne 0x49ed23
call fcn.005c475a
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x49ebca
call fcn.005c475a
cmp dword [edi + 4], 0
jne 0x49ed31
lea edx, [esp + 0x14]
push edx
mov ecx, 0x6d0810
call fcn.0040b990
mov dword [esp + 0x68], 2
test ebx, ebx
jne 0x49ed2a
call fcn.005c475a
cmp edi, dword [ebx + 0x10]
jb 0x49ec02
call fcn.005c475a
movzx eax, word [edi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jle 0x49eaf6
cmp dword [eax - 4], 1
jle 0x49ec2f
mov ecx, ebx
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0040de10
mov eax, dword [esp + 0x14]
mov cx, word [esp + 0x18]
mov word [eax], cx
test ebx, ebx
jl 0x49eaf6
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax - 8]
jg 0x49eaf6
mov dword [eax - 0xc], ebx
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [eax + ebx*2], dx
cmp dword [0x71038c], 1
jl 0x49ecb2
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004c1430
mov byte [esp + 0x70], 3
mov eax, dword [eax]
push eax
push str.Excluded_drive__s
push str.FullScanNTFS
push 1
call fcn.00579a92
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 0x49ecb2
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 0x49ecda
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 0x49ecc0
add dword [esi + 0x28], 0xfffffff4
mov eax, dword [esi + 0x28]
cmp dword [esi + 0x24], edi
ja 0x49ecea
cmp edi, eax
jbe 0x49ecef
call fcn.005c475a
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 0x49eb86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x49eb86
mov eax, dword [ebx]
jmp 0x49ebc0
mov ebx, dword [ebx]
jmp 0x49ebf8
test ebx, ebx
jne 0x49ed4e
call fcn.005c475a
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x49ed46
call fcn.005c475a
add edi, 0xc
jmp 0x49eb86
mov eax, dword [ebx]
jmp 0x49ed3c
cmp dword [0x71038c], 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 0x49ed80
push str.Disks_init_done
push str.FullScanNTFS
push 1
call fcn.00579a92
add esp, 0xc
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0xc], eax
jbe 0x49ed91
call fcn.005c475a
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x49eda0
call fcn.005c475a
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
push ebx
push edi
push eax
lea ebx, [esp + 0x2c]
call fcn.004e0980
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 0x49ee1a
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 0x49edef
call fcn.005c475a
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 0x49edd0
cmp dword [0x71038c], 1
jl 0x49ee3b
mov ecx, dword [esi + 0x50]
push ecx
push str.Disks_total_size__i
push str.FullScanNTFS
push 1
call fcn.00579a92
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x14], 0
jbe 0x49ef35
mov edi, edi
push 0x28
call fcn.005c39f5
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], 6
xor ebx, ebx
cmp edi, ebx
je 0x49ee91
lea edx, [esp + 0x13]
lea eax, [edi + 8]
push edx
push eax
mov dword [esp + 0x20], eax
call fcn.004785e0
mov byte [esp + 0x68], 8
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov byte [esp + 0x68], 6
jmp 0x49ee93
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 0x49eec3
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], ecx
push ebx
push ebx
push edi
push 0x49e340
push ebx
push ebx
call fcn.005c4af6
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov dword [esp + 0x1c], eax
cmp ecx, ebx
jne 0x49eee4
xor edx, edx
jmp 0x49eeec
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 0x49ef04
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x49ef22
cmp ecx, edi
jbe 0x49ef0d
call fcn.005c475a
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.00445f80
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x4c]
jb 0x49ee50
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
test ecx, ecx
ja 0x49ef47
call fcn.005c475a
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 0x49ef87
mov edi, dword [ebp + 0x10]
call fcn.0049e8a0
add eax, dword [esp + 0x24]
adc edx, dword [esp + 0x28]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
cmp dword [0x71038c], 1
jl 0x49efa4
push str.Disks_scan_done
push str.FullScanNTFS
push 1
call fcn.00579a92
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 0x49f041
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 0x49efe5
call fcn.005c475a
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x14]
cmp dword [edx + eax + 4], 0
je 0x49f021
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 0x49f011
call fcn.005c475a
mov edx, dword [esi + 0x24]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax + 4]
call fcn.004e6680
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 0x49efc6
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret