Function at 0x59df40
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5e095d
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x724], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d4f4]
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 0x59e051
push 1
push 2
lea ecx, [esp + 0x54]
call fcn.0040a750
lea eax, [esp + 0x4c]
push 0x60db38
push eax
mov dword [esp + 0x74c], 0
call fcn.00409270
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.00408c00
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x744], 1
jb 0x59dfe3
mov eax, dword [eax + 4]
jmp 0x59dfe6
add eax, 4
push eax
push str.CHardDiskInfo::GetHealthInfo
push 0x41b
push str..commonGetHardInfo.cpp
push 0xf0000000
call fcn.00408f70
mov ecx, eax
call fcn.00512650
cmp dword [esp + 0x2c], ebp
jb 0x59e01a
mov edx, dword [esp + 0x18]
push edx
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x744], 0xffffffff
call fcn.00409510
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x9c], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
jmp 0x59e507
push 0x210
lea ecx, [esp + 0x12c]
push 0
push ecx
call fcn.005c0cf0
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.0059c850
test eax, eax
je 0x59e507
lea edx, [esp + 0xe8]
push 1
push edx
call fcn.00508a90
push 0x60114c
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x40]
mov ebx, 2
push ecx
mov dword [esp + 0x758], ebx
call fcn.004041b0
push str.buffer.dat
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x764], 3
call fcn.004041b0
add esp, 0x20
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x750], 4
call fcn.00407630
mov ebp, 0x10
cmp dword [esp + 0x2c], ebp
jb 0x59e10f
mov eax, dword [esp + 0x18]
push eax
call fcn.005a1b1d
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 0x59e13a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005a1b1d
add esp, 4
push edi
push 0x63a990
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], edi
mov byte [esp + 0xd8], 0
call fcn.00408ea0
push 0x1ff
lea edx, [esp + 0x33d]
push edi
push edx
mov byte [esp + 0x750], 5
mov byte [esp + 0x344], 0
call fcn.005c0cf0
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.005bd49b
lea edx, [esp + 0x348]
push edx
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004041b0
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x750], bl
call fcn.00407630
cmp dword [esp + 0x48], ebp
mov byte [esp + 0x744], 5
jb 0x59e1fe
mov edx, dword [esp + 0x34]
push edx
call fcn.005a1b1d
add esp, 4
add edi, 1
cmp edi, 0x200
jl 0x59e190
cmp dword [esp + 0x100], ebp
mov eax, dword [esp + 0xec]
jae 0x59e220
lea eax, [esp + 0xec]
push 0x60dae4
push eax
call fcn.005bd438
mov edi, eax
add esp, 8
test edi, edi
je 0x59e280
mov ebx, dword [esp + 0xe4]
cmp ebx, ebp
mov eax, dword [esp + 0xd0]
jae 0x59e24d
lea eax, [esp + 0xd0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x59e250
mov ecx, dword [esp + 0xd0]
sub eax, edx
cmp ebx, ebp
jae 0x59e26d
lea ecx, [esp + 0xd0]
push edi
push 1
push eax
push ecx
call fcn.005bd6b0
push edi
call fcn.005bd8f3
add esp, 0x14
cmp dword [esp + 0xe4], ebp
jb 0x59e299
mov eax, dword [esp + 0xd0]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
jb 0x59e2d0
mov ecx, dword [esp + 0xec]
push ecx
call fcn.005a1b1d
add esp, 4
mov eax, 1
jmp 0x59e2e0
mov bl, byte [esp + eax + 0x139]
cmp bl, 1
jne 0x59e312
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 0x59e33d
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 0x59e368
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 0x59e393
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 0x59e3be
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 0x59e3e9
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 0x59e414
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 0x59e442
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 0x59e470
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 0x59e49e
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 0x59e4c9
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 0x59e4de
add eax, 0xc
cmp eax, 0x200
jl 0x59e2e0
jmp 0x59e507
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.005bd2d7
add esp, 0x734
ret 0xc