Function at 0x4186a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
push ebx
push esi
push edi
push 0
push 0x80000080
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0x46f3dc
push esi
call fcn.0042f130
mov edx, dword [ebp + 0x10]
add esp, 8
cmp dword [edx + 0x88], 0x10
lea eax, [edx + 0x74]
jb 0x4186e8
mov eax, dword [eax]
cmp dword [edx + 0x70], 0x10
lea ecx, [edx + 0x5c]
jb 0x4186f3
mov ecx, dword [ecx]
add edx, 0x44
cmp dword [edx + 0x14], 0x10
jb 0x4186fe
mov edx, dword [edx]
push eax
push ecx
push edx
push str._s_by__s__version:__s__r_n_r_n
push esi
call fcn.0042f130
mov edi, dword [ebp + 0x20]
xor eax, eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x28], 0
lea ebx, [edi + 0x70]
mov dword [ebp - 0x24], 7
push ebx
push dword [ebp + 0xc]
call fcn.00429bb0
lea edx, [edi + 0x20]
add esp, 0x20
lea ecx, [edx + 0x50]
mov dword [ebp - 0x84], edx
mov eax, edx
cmp edx, ecx
je 0x418760
nop dword [eax + eax]
cmp dword [eax], 0
jne 0x418845
add eax, 4
cmp eax, ecx
jne 0x418750
push ebx
call fcn.00429e70
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
mov ebx, eax
mov dword [ebp - 0xc], 0
mov eax, dword [edi + 0x12c]
cmovae ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push 0xfde9
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xf
push eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], ecx
call fcn.00412b90
cmp dword [ebp - 8], 0x10
lea edi, [ebp - 0x1c]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x60], 0
cmovae edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], 8
push 0xfde9
cmovae eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 0xf
push eax
mov byte [ebp - 0x70], 0
call fcn.00412b90
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov eax, dword [ebp + 0x20]
cmovae ecx, dword [ebp - 0x70]
add eax, 0x33d
push ebx
push dword [ebp - 0x20]
push edi
push eax
push ecx
push str._s__s_in_module__s_at__04x:_08x._r_n_r_n
push esi
call fcn.0042f130
mov edx, dword [ebp - 0x5c]
add esp, 0x40
cmp edx, 0x10
jb 0x418933
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418929
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb4
jmp 0x418929
push ebx
call fcn.00429e70
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x12c]
cmovae ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push 0xfde9
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x3c], ecx
call fcn.00412b90
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
mov ebx, dword [edi + 0x20]
cmovae eax, dword [ebp - 0x1c]
push ebx
mov dword [ebp - 4], eax
call fcn.00429cb0
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
mov edi, eax
mov dword [ebp - 0x60], 0
cmovae ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x70]
push 0xfde9
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x5c], 0xf
push eax
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x3c], ecx
call fcn.00412b90
push dword [ebp - 0x40]
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x70]
push dword [ebp - 4]
push ebx
push edi
push eax
push str._s_caused__s__0x_08x__r_n__in_module__s_at__04x:_08x._r_n_r_n
push esi
call fcn.0042f130
mov edx, dword [ebp - 0x5c]
add esp, 0x48
cmp edx, 0x10
jb 0x418933
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418929
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb4
push edx
push ecx
call fcn.00433c65
add esp, 8
mov edx, dword [ebp - 8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x418979
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41896f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb4
push edx
push ecx
call fcn.00433c65
add esp, 8
push dword [ebp + 0xc]
push esi
call fcn.004293b0
mov ebx, dword [ebp + 8]
add esp, 8
mov ecx, ebx
mov dword [ebp - 0x80], 0
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0xc], 0
lea edx, [ecx + 2]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4189c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00423110
push 0x5c
push ebx
call fcn.00438cfb
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x418a27
add ecx, 2
cmp ecx, ebx
je 0x418a27
sub ecx, ebx
mov dword [ebp - 0x48], 0
xor eax, eax
sar ecx, 1
cmp dword [ebp - 0xc], ecx
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x1c]
cmovb ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], 8
push ecx
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0x44], 7
call fcn.00423110
jmp 0x418a3b
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x1c]
call fcn.0040ecb0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x418ae7
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x78]
push 0
push ecx
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x418ae4
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x44], 8
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x7c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push 0xfde9
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00412b90
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push edi
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x40]
push eax
push str.Disk_space_data_for__s:__llu_bytes_free_of__llu_total._r_n_r_n
push esi
call fcn.0042f130
add esp, 0x2c
lea ecx, [ebp - 0x1c]
call fcn.0040e040
jmp 0x418b68
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0xfde9
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00412b90
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push str.Disk_space_data_for__s_is_unavailable._r_n_r_n
push esi
call fcn.0042f130
mov edx, dword [ebp - 8]
add esp, 0x1c
cmp edx, 0x10
jb 0x418b68
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418b5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb4
push edx
push ecx
call fcn.00433c65
add esp, 8
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp + 0x20]
cmp dword [eax], 0xc0000005
jne 0x418bbf
cmp dword [ebx + 0x30], 2
jb 0x418bbf
push dword [ebx + 0x38]
cmp dword [ebx + 0x34], 0
mov ecx, str.Write_to
mov eax, str.Read_from
cmovne eax, ecx
push eax
push str._s_location__08p_caused_an_access_violation._r_n
lea eax, [ebp - 0x474]
push 0x3e8
push eax
call fcn.0041abf0
lea eax, [ebp - 0x474]
push eax
push 0x46efa8
push esi
call fcn.0042f130
add esp, 0x20
lea edi, [ebx + 0x70]
push edi
push esi
call fcn.004290f0
push 0x46c460
push esi
call fcn.0042f130
push edi
push dword [ebp + 0xc]
push esi
call fcn.00428bf0
push 0x46c460
push esi
call fcn.0042f130
mov eax, dword [ebp + 0x10]
add eax, 0xbc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041b6b0
add esp, 0x2c
cmp dword [eax + 0x14], 8
jb 0x418c06
mov eax, dword [eax]
mov ecx, dword [ebp + 0x18]
cmp ecx, 6
ja case.default.0x418c0e
jmp dword [ecx*4 + 0x418ebc]
push eax
push str.Mono_DLL_loaded_successfully_at__S._r_n
jmp 0x418c53
push str.No_mono_DLL_path_set._This_app_is_either_running_IL2CPP__or_the_crash_occurred_before_mono_was_initialized._r_n
push esi
call fcn.0042f130
add esp, 8
jmp case.0x418c0e.6
push eax
push str._WARNING__r_nManaged_call_stack_frames_will_be_incorrect_or_missing._r_nThe_Mono_DLL_at__S_does_not_provide_out_of_process_stack_information_support._r_nUpgrade_to_a_newer_version_of_the_Mono_Scripting_Runtime_for_more_detailed_debug_information._r_n
jmp 0x418c53
push eax
push str._WARNING__r_nManaged_call_stack_frames_will_be_incorrect_or_missing_because_the_Mono_DLL_at__S_could_not_be_found._r_n
jmp 0x418c53
push eax
push str._WARNING__r_nMono_DLL_loaded_successfully_at__S_but_failed_to_read_Mono_Function_Access_Tables._Stack_frames_may_be_missing_or_corrupt._r_n
jmp 0x418c53
push eax
push str._WARNING__r_nMono_DLL_loaded_successfully_at__S_but_failed_to_read_Mono_stack_frame_memory._Stack_frames_may_be_missing_or_corrupt._r_n
jmp 0x418c53
push eax
push str._WARNING__r_nManaged_call_stack_frames_will_be_incorrect_or_missing_because_the_Mono_DLL_at__S_could_not_be_loaded__unknown_error_._r_n
push esi
call fcn.0042f130
add esp, 0xc
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x418c96
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418c8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb4
push edx
push ecx
call fcn.00433c65
add esp, 8
mov edi, dword [ebp + 0x1c]
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0x46ef6c
mov dword [ebp - 0x88], esi
mov dword [edi + 0x24], eax
push dword [ebx + 0xc]
push 0
push 0x4a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp + 0x20], eax
test eax, eax
je 0x418d06
push dword [ebx + 0xc]
push str._r_n_r_nStack_Trace_of_Crashed_Thread__d:_r_n
push esi
call fcn.0042f130
push 0x400
lea eax, [ebx + 0x70]
push eax
push dword [ebp + 0x20]
push edi
call fcn.0041ab70
add esp, 0x1c
test al, al
jne 0x418cfb
push str.Exception_encountered_during_stack_walk._r_n
push esi
call fcn.0042f130
add esp, 8
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x418d12
mov eax, dword [edi]
mov ecx, edi
push str._Unable_to_access_crash_thread_information__r_n
call dword [eax + 0x14]
push str._r_nStacks_for_Running_Threads:_r_n_r_n
push esi
call fcn.0042f130
mov eax, dword [ebp + 0x14]
add esp, 8
mov edi, dword [eax]
mov eax, dword [eax + 8]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x418d8f
nop
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetThreadId]
cmp eax, dword [ebx + 0xc]
je 0x418d7d
push eax
push str.Call_Stack_for_Thread__d:_r_n
push esi
call fcn.0042f130
push 0x400
push 0
push dword [edi]
push dword [ebp + 0x1c]
call fcn.0041ab70
add esp, 0x1c
test al, al
jne 0x418d6f
push str.Exception_encountered_during_stack_walk._r_n
push esi
call fcn.0042f130
add esp, 8
push str._r_n_r_n
push esi
call fcn.0042f130
add esp, 8
mov eax, dword [ebp + 0x14]
add edi, 4
mov ecx, dword [eax + 8]
mov eax, dword [eax]
lea eax, [eax + ecx*4]
cmp edi, eax
jne 0x418d30
push str._r_n_r_n
push esi
call fcn.0042f130
mov eax, dword [ebx + 0x14]
add esp, 8
test eax, eax
je 0x418db9
push eax
push dword [ebx + 0x134]
push dword [ebp + 0xc]
push esi
call fcn.00429190
add esp, 0x10
jmp 0x418dc7
push str.No_call_stack_available._r_n
push esi
call fcn.0042f130
add esp, 8
push dword [ebp + 0xc]
push esi
call fcn.00429040
push dword [ebp + 0x10]
push esi
call fcn.004183e0
push 0x46f5f4
push str._r_n__end_of__S___r_n
push esi
call fcn.0042f130
push esi
call fcn.0042f0e0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x20
cmp esi, 0xffffffff
je 0x418e07
test esi, esi
je 0x418e07
push esi
call ebx
or esi, 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x418e41
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418e37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb4
push edx
push ecx
call fcn.00433c65
add esp, 8
mov edx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x418e8b
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418e81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb4
push edx
push ecx
call fcn.00433c65
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
cmp esi, 0xffffffff
je 0x418eab
test esi, esi
je 0x418eab
push esi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043fb4a
nop dword [eax]
adc eax, 0x1d00418c
mov word [ecx], es
sub eax, 0x3500418c
mov word [ecx], es
cmp eax, 0x4500418c
mov word [ecx], es
pop esp
mov word [ecx], es
int3