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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x49f2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x438], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
push 7
mov dword [ebp - 0x44c], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x434], ebx
rep stosd dword es:[edi], eax
mov dword [0x49e488], ebx
mov dword [0x49e48c], ebx
mov dword [0x49e490], ebx
mov dword [0x4d659c], ebx
call fcn.0043dd77
mov eax, dword [0x4cd2ac]
xor esi, esi
inc esi
mov dword [0x4ce4ec], esi
cmp eax, esi
jl 0x42e4a8
mov dword [0x4ce4ec], eax
cmp eax, ebx
jne 0x42e4c8
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.___total_physical_size__lu_MB_GetSystemInfo]
mov eax, dword [ebp - 0x460]
cmp eax, esi
jbe 0x42e4c8
mov dword [0x4ce4ec], eax
mov eax, dword [0x4ce4ec]
cmp eax, 8
jle 0x42e4da
push 8
pop eax
mov dword [0x4ce4ec], eax
add dword [0x4cd288], eax
push 0x30
call fcn.004520a2
pop ecx
cmp eax, ebx
je 0x42e500
push str.snapshotreaderQ
push dword [0x4cd288]
mov ecx, eax
call fcn.004287d3
jmp 0x42e502
xor eax, eax
push 0x30
mov dword [0x4ce4d8], eax
call fcn.004520a2
pop ecx
cmp eax, ebx
je 0x42e527
push str.snapshotwriterQ
push dword [0x4cd288]
mov ecx, eax
call fcn.004287d3
jmp 0x42e529
xor eax, eax
push 0x30
mov dword [0x4ce0dc], eax
call fcn.004520a2
pop ecx
cmp eax, ebx
je 0x42e54e
push str.snapshotfreeMemQ
push dword [0x4cd288]
mov ecx, eax
call fcn.004287d3
jmp 0x42e550
xor eax, eax
mov esi, dword [0x4cd288]
mov dword [0x4ce4d4], eax
mov eax, esi
shl eax, 2
push eax
call fcn.00452122
xor edi, edi
pop ecx
mov dword [ebp - 0x448], eax
cmp esi, ebx
jle 0x42e5a2
lea eax, [ebp - 0x444]
push eax
call fcn.0043de8f
mov ecx, dword [ebp - 0x448]
push dword [ebp - 0x444]
mov dword [ecx + edi*4], eax
mov ecx, dword [0x4ce4d4]
call fcn.0042888a
inc edi
cmp edi, dword [0x4cd288]
jl 0x42e573
xor esi, esi
cmp dword [0x4ce4ec], ebx
jle 0x42e5c6
mov ecx, dword [0x4ce4d4]
push 0xffffffffffffffff
call fcn.004288ce
mov dword [ebp + esi*4 - 0x24], eax
inc esi
cmp esi, dword [0x4ce4ec]
jl 0x42e5ac
call dword [sym.imp.___total_physical_size__lu_MB_GetTickCount]
push dword [ebp - 0x440]
mov ebx, dword [ebp - 0x43c]
push dword [ebp - 0x438]
mov dword [ebx + 0x3c8], eax
push ebx
call fcn.0042c9b3
test eax, eax
jne 0x42e5fd
mov dword [0x4d659c], 1
jmp 0x42eaf8
cmp byte [0x4cd33c], 0
mov ecx, 0xf8
mov esi, ebx
mov edi, 0x4ce0e0
rep movsd dword es:[edi], dword [esi]
je 0x42e62a
push 0x4cd33c
call fcn.0041fe68
cmp eax, 5
jne 0x42e62a
mov byte [0x4cd33c], 0
xor esi, esi
cmp dword [0x4cd314], esi
je 0x42e63e
push ebx
call fcn.00418984
test eax, eax
js 0x42e5ee
mov ecx, dword [0x4cdfa8]
call fcn.00446358
xor edi, edi
inc edi
push ebx
cmp eax, edi
jne 0x42e65f
call fcn.0041b136
push ebx
push esi
push 0x41ace4
jmp 0x42e665
push esi
push 0x42dfcf
call fcn.0045552f
add esp, 0xc
push ebx
push esi
push 0x42dc70
mov dword [0x4ce4d0], eax
call fcn.0045552f
mov esi, dword [sym.imp.___total_physical_size__lu_MB_SetThreadPriority]
add esp, 0xc
push 2
push dword [0x4ce4d0]
mov dword [0x4ce0d8], eax
call esi
push 2
push dword [0x4ce0d8]
call esi
call dword [sym.imp.___total_physical_size__lu_MB_GetCurrentThread]
mov dword [ebp - 0x470], eax
cmp edi, dword [0x4ce4ec]
jge 0x42e6f3
push dword [ebp + edi*4 - 0x24]
push 0
push fcn.0042d7b3
call fcn.0045552f
add esp, 0xc
mov dword [ebp + edi*4 - 0x470], eax
cmp eax, 0xffffffff
jne 0x42e6e8
push edi
push str.Thread_start__d_failed_n
call fcn.00450f5c
dec dword [0x4ce4ec]
pop ecx
pop ecx
jmp 0x42e6ed
push 0xfffffffffffffffe
push eax
call esi
inc edi
cmp edi, 8
jl 0x42e6ac
push 0xfffffffffffffffe
push dword [ebp - 0x470]
call esi
push dword [ebp - 0x24]
call fcn.0042d7b3
pop ecx
push 0
push dword [ebp - 0x470]
call esi
cmp dword [0x49e488], 0
jne 0x42e72a
push 0x1388
push dword [0x4ce4d0]
call dword [sym.imp.___total_physical_size__lu_MB_WaitForSingleObject]
mov ebx, dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
xor edi, edi
xor esi, esi
jmp 0x42e747
inc esi
cmp esi, 0x78
jg 0x42e751
push 0x1f4
call dword [sym.imp.___total_physical_size__lu_MB_Sleep]
cmp dword [0x4ce4ec], edi
jne 0x42e736
jmp 0x42e77b
push dword [0x4ce4ec]
push str._d_thread_s__seems_to_be_dead._nOperation_aborted
call ebx
push eax
push 0xa8c
push str.NTCPVOL2FILE
call fcn.0044dc85
add esp, 0x14
mov dword [0x4d659c], 1
mov ecx, dword [0x4ce0dc]
push edi
call fcn.0042888a
jmp 0x42e7d2
mov esi, dword [0x4bcb78]
mov edi, dword [0x4bcb7c]
push 0x7530
push dword [0x4ce0d8]
call dword [sym.imp.___total_physical_size__lu_MB_WaitForSingleObject]
test eax, eax
je 0x42e801
cmp esi, dword [0x4bcb78]
jne 0x42e7c2
cmp edi, dword [0x4bcb7c]
jne 0x42e7c2
inc dword [ebp - 0x434]
jmp 0x42e7c9
and dword [ebp - 0x434], 0
cmp dword [ebp - 0x434], 4
je 0x42e7dd
cmp dword [0x4ce0d8], 0xffffffff
jne 0x42e789
jmp 0x42e801
push str.The_writer_thread_seems_to_be_dead._nNo_data_was_written_within_the_last_2_minutes_nOperation_aborted
call ebx
push eax
push 0xaa7
push str.NTCPVOL2FILE
call fcn.0044dc85
add esp, 0x10
mov dword [0x4d659c], 1
mov ecx, dword [0x4cdfa8]
call fcn.00446358
cmp eax, 1
jne 0x42e81c
call fcn.0041acdd
mov esi, eax
xor edi, edi
jmp 0x42e844
xor edi, edi
push edi
lea eax, [ebp - 0x450]
push eax
push 0x8018
mov esi, 0x4a4220
push esi
push edi
push edi
push 0x86290013
push dword [0x48243c]
call dword [sym.imp.___total_physical_size__lu_MB_DeviceIoControl]
push dword [ebp - 0x43c]
call fcn.00428352
cmp dword [esi + 0x14], edi
ja 0x42e85d
cmp dword [esi + 0x10], edi
jbe 0x42ead3
and dword [ebp - 0x438], 0
and dword [ebp - 0x440], 0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x44c]
call fcn.00451211
mov edi, dword [ebp - 0x43c]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x438]
push eax
add edi, 0xc
push str.HD_d:_d
push edi
call fcn.00451ad6
add esp, 0x24
cmp eax, 2
jne 0x42e90d
push dword [ebp - 0x440]
lea eax, [ebp - 0x230]
push dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
push str._s_sBadSectors_HD_d__d.txt
lea eax, [ebp - 0x130]
push 0x104
push eax
call fcn.00450d91
push dword [ebp - 0x440]
lea eax, [ebp - 0x18]
push dword [ebp - 0x438]
push str.HD_d__d
push 0x14
push eax
call fcn.00450d91
add esp, 0x30
jmp 0x42e969
mov al, byte [edi]
test al, al
jne 0x42e915
add al, 0x3f
movsx eax, al
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x434]
push eax
push str._s_sBadSectors__c.txt
lea eax, [ebp - 0x130]
push 0x104
push eax
call fcn.00450d91
mov al, byte [edi]
add esp, 0x18
test al, al
je 0x42e952
movsx eax, al
push eax
call fcn.00453103
pop ecx
jmp 0x42e955
push 0x3f
pop eax
push eax
push 0x46a8cc
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.00450d91
add esp, 0x10
lea eax, [ebp - 0x130]
push 0x46ec98
push eax
call fcn.00450b1b
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x42e9af
lea eax, [ebp - 0x130]
push eax
push str.cant_write_outputfile__s_n
call dword [sym.imp.___total_physical_size__lu_MB_GetLastError]
push eax
push 0xae7
push str.NTCPVOL2FILE
call fcn.0044dc85
add esp, 0x14
call fcn.004552b3
lea ebx, [eax + 0x20]
cmp dword [ebp - 0x438], 0
jne 0x42e9f7
cmp dword [ebp - 0x440], 0
jne 0x42e9f7
call fcn.0040da3f
movzx eax, word [eax]
lea ecx, [ebp - 0x130]
push ecx
push 0x469ec0
push eax
call fcn.0040da3f
movzx eax, word [eax + 6]
push eax
call fcn.0040da3f
movzx eax, word [eax + 2]
push eax
call fcn.0040de87
push eax
push str.___Bad_Sector_Information_for:__s_from__02d__02d__02d_n___To_retrieve_the_associated_filenames_start_n____s___locatesector____s__n
jmp 0x42ea2b
call fcn.0040da3f
movzx eax, word [eax]
lea ecx, [ebp - 0x130]
push ecx
push 0x469ec0
push eax
call fcn.0040da3f
movzx eax, word [eax + 6]
push eax
call fcn.0040da3f
movzx eax, word [eax + 2]
push eax
call fcn.0040de87
push eax
push str.___Bad_Sector_Information_for:__s_from__02d__02d__02d_n___To_retrieve_the_associated_filenames_mount_the_image_as_virtual_disk__Z:__and_start_n____s___locatesector____s__Z:_n
push ebx
call fcn.00455151
add esp, 0x20
and dword [ebp - 0x444], 0
lea edi, [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test ecx, ecx
ja 0x42ea51
jb 0x42ea58
cmp eax, 0x1000
jb 0x42ea58
mov eax, 0x1000
xor ecx, ecx
xor edx, edx
cmp edx, ecx
ja 0x42ea8a
jb 0x42ea68
cmp dword [ebp - 0x444], eax
jae 0x42ea8a
push dword [edi + 4]
lea eax, [ebp - 0x18]
push dword [edi]
push eax
push str._s__I64u_Sector_bad_n
push ebx
call fcn.00455151
add esp, 0x14
inc dword [ebp - 0x444]
add edi, 8
jmp 0x42ea3e
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test ecx, ecx
jne 0x42ea9b
cmp eax, 0x1000
jbe 0x42eaab
push ecx
push eax
push str.___total_number_of_bad_sectors___I64u_n
push ebx
call fcn.00455151
add esp, 0x10
push ebx
call fcn.00450317
lea eax, [ebp - 0x130]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push str._I64d_unreadable_Sectors_found__Please_visit__s
call fcn.0041c7ee
and dword [esi + 0x10], 0
add esp, 0x14
and dword [esi + 0x14], 0
cmp dword [0x4d659c], 0
jne 0x42eae7
push dword [ebp - 0x43c]
call fcn.0042b855
push dword [ebp - 0x43c]
call fcn.0042b53c
mov ebx, dword [ebp - 0x43c]
call fcn.00417370
mov eax, dword [ebx + 0x248]
test eax, eax
je 0x42eb15
push 0x8000
push 0
push eax
call dword [sym.imp.___total_physical_size__lu_MB_VirtualFree]
mov eax, dword [ebx + 0x194]
cmp eax, 0xffffffff
je 0x42eb2e
push eax
call dword [sym.imp.___total_physical_size__lu_MB_CloseHandle]
or dword [ebx + 0x194], 0xffffffff
xor esi, esi
cmp dword [0x4cd288], esi
jle 0x42eb50
mov eax, dword [ebp - 0x448]
push dword [eax + esi*4]
call fcn.0045038b
inc esi
pop ecx
cmp esi, dword [0x4cd288]
jl 0x42eb38
push dword [ebp - 0x448]
call fcn.0045038b
pop ecx
mov ecx, dword [0x4ce4d8]
mov esi, ecx
test ecx, ecx
je 0x42eb74
call fcn.0042886a
push esi
call fcn.00452048
pop ecx
mov ecx, dword [0x4ce0dc]
mov esi, ecx
test ecx, ecx
je 0x42eb8c
call fcn.0042886a
push esi
call fcn.00452048
pop ecx
mov ecx, dword [0x4ce4d4]
mov esi, ecx
test ecx, ecx
je 0x42eba4
call fcn.0042886a
push esi
call fcn.00452048
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450b32
leave
ret 0x10