Function at 0x590af0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d3acd
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0x65b4e4]
xor eax, esp
mov dword [esp + 0x724], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65b4e4]
xor eax, esp
push eax
lea eax, [esp + 0x73c]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [esp + 0x74c]
cmp edi, 0xffffffff
mov esi, dword [esp + 0x754]
jne 0x590c01
push 1
push 2
lea ecx, [esp + 0x54]
call fcn.0040b160
lea eax, [esp + 0x4c]
push 0x5ff850
push eax
mov dword [esp + 0x74c], 0
call fcn.00409c80
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.00409610
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x744], 1
jb 0x590b93
mov eax, dword [eax + 4]
jmp 0x590b96
add eax, 4
push eax
push str.CHardDiskInfo::GetHealthInfo
push 0x41b
push str..commonGetHardInfo.cpp
push 0xf0000000
call fcn.00409980
mov ecx, eax
call fcn.004fa910
cmp dword [esp + 0x2c], ebp
jb 0x590bca
mov edx, dword [esp + 0x18]
push edx
call fcn.00594e98
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x744], 0xffffffff
call fcn.00409f20
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x9c], vtable.std::ios_base.0
call fcn.005cccbe
add esp, 4
jmp 0x5910b7
push 0x210
lea ecx, [esp + 0x12c]
push 0
push ecx
call fcn.005b4520
mov edx, dword [esp + 0x75c]
add esp, 0xc
push edx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x10c]
push ecx
push edi
mov ecx, ebp
call fcn.0058f400
test eax, eax
je 0x5910b7
lea edx, [esp + 0xe8]
push 1
push edx
call fcn.005000f0
push 0x5f3230
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x40]
mov ebx, 2
push ecx
mov dword [esp + 0x758], ebx
call fcn.00404a40
push str.buffer.dat
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x764], 3
call fcn.00404a40
add esp, 0x20
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x750], 4
call fcn.004080b0
mov ebp, 0x10
cmp dword [esp + 0x2c], ebp
jb 0x590cbf
mov eax, dword [esp + 0x18]
push eax
call fcn.00594e98
add esp, 4
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
mov byte [esp + 0x744], bl
jb 0x590cea
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00594e98
add esp, 4
push edi
push 0x62a4a0
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], edi
mov byte [esp + 0xd8], 0
call fcn.004098b0
push 0x1ff
lea edx, [esp + 0x33d]
push edi
push edx
mov byte [esp + 0x750], 5
mov byte [esp + 0x344], 0
call fcn.005b4520
add esp, 0xc
mov bl, 6
mov edi, edi
mov al, byte [esp + edi + 0x138]
movzx eax, al
push eax
push edi
lea ecx, [esp + 0x340]
push str._d:_d_r_n
push ecx
call fcn.005b0b2c
lea edx, [esp + 0x348]
push edx
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00404a40
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x750], bl
call fcn.004080b0
cmp dword [esp + 0x48], ebp
mov byte [esp + 0x744], 5
jb 0x590dae
mov edx, dword [esp + 0x34]
push edx
call fcn.00594e98
add esp, 4
add edi, 1
cmp edi, 0x200
jl 0x590d40
cmp dword [esp + 0x100], ebp
mov eax, dword [esp + 0xec]
jae 0x590dd0
lea eax, [esp + 0xec]
push 0x5ff7fc
push eax
call fcn.005b0ac9
mov edi, eax
add esp, 8
test edi, edi
je 0x590e30
mov ebx, dword [esp + 0xe4]
cmp ebx, ebp
mov eax, dword [esp + 0xd0]
jae 0x590dfd
lea eax, [esp + 0xd0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x590e00
mov ecx, dword [esp + 0xd0]
sub eax, edx
cmp ebx, ebp
jae 0x590e1d
lea ecx, [esp + 0xd0]
push edi
push 1
push eax
push ecx
call fcn.005b0d41
push edi
call fcn.005b0f84
add esp, 0x14
cmp dword [esp + 0xe4], ebp
jb 0x590e49
mov eax, dword [esp + 0xd0]
push eax
call fcn.00594e98
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
jb 0x590e80
mov ecx, dword [esp + 0xec]
push ecx
call fcn.00594e98
add esp, 4
mov eax, 1
jmp 0x590e90
mov bl, byte [esp + eax + 0x139]
cmp bl, 1
jne 0x590ec2
movzx edx, byte [esp + eax + 0x13d]
movzx ecx, byte [esp + eax + 0x13f]
mov dword [esi + 0xa4], edx
movzx edx, byte [esp + eax + 0x13e]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x64], ecx
cmp bl, 3
jne 0x590eed
movzx ecx, byte [esp + eax + 0x13d]
movzx edx, byte [esp + eax + 0x13e]
mov dword [esi + 0xa0], ecx
movzx ecx, byte [esp + eax + 0x13f]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x68], ecx
cmp bl, 5
jne 0x590f18
movzx edx, byte [esp + eax + 0x13d]
movzx ecx, byte [esp + eax + 0x13f]
mov dword [esi + 0xa8], edx
movzx edx, byte [esp + eax + 0x13e]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x6c], ecx
cmp bl, 9
jne 0x590f43
movzx ecx, byte [esp + eax + 0x13d]
movzx edx, byte [esp + eax + 0x13e]
mov dword [esi + 0xac], ecx
movzx ecx, byte [esp + eax + 0x13f]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x70], ecx
cmp bl, 0xa
jne 0x590f6e
movzx edx, byte [esp + eax + 0x13d]
movzx ecx, byte [esp + eax + 0x13f]
mov dword [esi + 0xb0], edx
movzx edx, byte [esp + eax + 0x13e]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x74], ecx
cmp bl, 0xc
jne 0x590f99
movzx ecx, byte [esp + eax + 0x13d]
movzx edx, byte [esp + eax + 0x13e]
mov dword [esi + 0xb4], ecx
movzx ecx, byte [esp + eax + 0x13f]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x78], ecx
cmp bl, 0xc4
jne 0x590fc4
movzx edx, byte [esp + eax + 0x13d]
movzx ecx, byte [esp + eax + 0x13f]
mov dword [esi + 0xb8], edx
movzx edx, byte [esp + eax + 0x13e]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x7c], ecx
cmp bl, 0xc5
jne 0x590ff2
movzx ecx, byte [esp + eax + 0x13d]
movzx edx, byte [esp + eax + 0x13e]
mov dword [esi + 0xbc], ecx
movzx ecx, byte [esp + eax + 0x13f]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x80], ecx
cmp bl, 0xc6
jne 0x591020
movzx edx, byte [esp + eax + 0x13d]
movzx ecx, byte [esp + eax + 0x13f]
mov dword [esi + 0xc0], edx
movzx edx, byte [esp + eax + 0x13e]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x84], ecx
cmp bl, 0xc7
jne 0x59104e
movzx ecx, byte [esp + eax + 0x13d]
movzx edx, byte [esp + eax + 0x13e]
mov dword [esi + 0xc4], ecx
movzx ecx, byte [esp + eax + 0x13f]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x88], ecx
cmp bl, 0xc2
jne 0x591079
movzx edx, byte [esp + eax + 0x13d]
movzx ecx, byte [esp + eax + 0x13f]
mov dword [esi + 0x9c], edx
movzx edx, byte [esp + eax + 0x13e]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x60], ecx
cmp bl, 0xc8
je 0x59108e
add eax, 0xc
cmp eax, 0x200
jl 0x590e90
jmp 0x5910b7
movzx ecx, byte [esp + eax + 0x13d]
mov dword [esi + 0xc8], ecx
movzx ecx, byte [esp + eax + 0x13f]
movzx eax, byte [esp + eax + 0x13e]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x8c], ecx
xor eax, eax
mov ecx, dword [esp + 0x73c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x724]
xor ecx, esp
call fcn.005b0968
add esp, 0x734
ret 0xc