Function at 0x418550
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.0042efe0
mov edx, dword [ebp + 0x10]
add esp, 8
cmp dword [edx + 0x88], 0x10
lea eax, [edx + 0x74]
jb 0x418598
mov eax, dword [eax]
cmp dword [edx + 0x70], 0x10
lea ecx, [edx + 0x5c]
jb 0x4185a3
mov ecx, dword [ecx]
add edx, 0x44
cmp dword [edx + 0x14], 0x10
jb 0x4185ae
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.0042efe0
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.00429a60
lea edx, [edi + 0x20]
add esp, 0x20
lea ecx, [edx + 0x50]
mov dword [ebp - 0x84], edx
mov eax, edx
cmp edx, ecx
je 0x418610
nop dword [eax + eax]
cmp dword [eax], 0
jne 0x4186f5
add eax, 4
cmp eax, ecx
jne 0x418600
push ebx
call fcn.00429d20
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.00412ae0
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.00412ae0
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.0042efe0
mov edx, dword [ebp - 0x5c]
add esp, 0x40
cmp edx, 0x10
jb 0x4187e3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4187d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d64
jmp 0x4187d9
push ebx
call fcn.00429d20
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.00412ae0
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.00429b60
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.00412ae0
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.0042efe0
mov edx, dword [ebp - 0x5c]
add esp, 0x48
cmp edx, 0x10
jb 0x4187e3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4187d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d64
push edx
push ecx
call fcn.00433b05
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 0x418829
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41881f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d64
push edx
push ecx
call fcn.00433b05
add esp, 8
push dword [ebp + 0xc]
push esi
call fcn.00429260
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 0x418870
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00422fd0
push 0x5c
push ebx
call fcn.00438b9b
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4188d7
add ecx, 2
cmp ecx, ebx
je 0x4188d7
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.00422fd0
jmp 0x4188eb
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x1c]
call fcn.0040ec00
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x418997
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 0x418994
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.00412ae0
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.0042efe0
add esp, 0x2c
lea ecx, [ebp - 0x1c]
call fcn.0040df90
jmp 0x418a18
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.00412ae0
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.0042efe0
mov edx, dword [ebp - 8]
add esp, 0x1c
cmp edx, 0x10
jb 0x418a18
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418a0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d64
push edx
push ecx
call fcn.00433b05
add esp, 8
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp + 0x20]
cmp dword [eax], 0xc0000005
jne 0x418a6f
cmp dword [ebx + 0x30], 2
jb 0x418a6f
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.0041aab0
lea eax, [ebp - 0x474]
push eax
push 0x46efa8
push esi
call fcn.0042efe0
add esp, 0x20
lea edi, [ebx + 0x70]
push edi
push esi
call fcn.00428fa0
push 0x46c460
push esi
call fcn.0042efe0
push edi
push dword [ebp + 0xc]
push esi
call fcn.00428aa0
push 0x46c460
push esi
call fcn.0042efe0
mov eax, dword [ebp + 0x10]
add eax, 0xbc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041b570
add esp, 0x2c
cmp dword [eax + 0x14], 8
jb 0x418ab6
mov eax, dword [eax]
mov ecx, dword [ebp + 0x18]
cmp ecx, 6
ja case.default.0x418abe
jmp dword [ecx*4 + 0x418d6c]
push eax
push str.Mono_DLL_loaded_successfully_at__S._r_n
jmp 0x418b03
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.0042efe0
add esp, 8
jmp case.0x418abe.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 0x418b03
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 0x418b03
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 0x418b03
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 0x418b03
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.0042efe0
add esp, 0xc
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x418b46
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d64
push edx
push ecx
call fcn.00433b05
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 0x418bb6
push dword [ebx + 0xc]
push str._r_n_r_nStack_Trace_of_Crashed_Thread__d:_r_n
push esi
call fcn.0042efe0
push 0x400
lea eax, [ebx + 0x70]
push eax
push dword [ebp + 0x20]
push edi
call fcn.0041aa30
add esp, 0x1c
test al, al
jne 0x418bab
push str.Exception_encountered_during_stack_walk._r_n
push esi
call fcn.0042efe0
add esp, 8
push dword [ebp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x418bc2
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.0042efe0
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 0x418c3f
nop
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetThreadId]
cmp eax, dword [ebx + 0xc]
je 0x418c2d
push eax
push str.Call_Stack_for_Thread__d:_r_n
push esi
call fcn.0042efe0
push 0x400
push 0
push dword [edi]
push dword [ebp + 0x1c]
call fcn.0041aa30
add esp, 0x1c
test al, al
jne 0x418c1f
push str.Exception_encountered_during_stack_walk._r_n
push esi
call fcn.0042efe0
add esp, 8
push str._r_n_r_n
push esi
call fcn.0042efe0
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 0x418be0
push str._r_n_r_n
push esi
call fcn.0042efe0
mov eax, dword [ebx + 0x14]
add esp, 8
test eax, eax
je 0x418c69
push eax
push dword [ebx + 0x134]
push dword [ebp + 0xc]
push esi
call fcn.00429040
add esp, 0x10
jmp 0x418c77
push str.No_call_stack_available._r_n
push esi
call fcn.0042efe0
add esp, 8
push dword [ebp + 0xc]
push esi
call fcn.00428ef0
push dword [ebp + 0x10]
push esi
call fcn.00418290
push 0x46f5f4
push str._r_n__end_of__S___r_n
push esi
call fcn.0042efe0
push esi
call fcn.0042ef90
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x20
cmp esi, 0xffffffff
je 0x418cb7
test esi, esi
je 0x418cb7
push esi
call ebx
or esi, 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x418cf1
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418ce7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d64
push edx
push ecx
call fcn.00433b05
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 0x418d3b
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418d31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418d64
push edx
push ecx
call fcn.00433b05
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 0x418d5b
test esi, esi
je 0x418d5b
push esi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043f9ea
nop dword [eax]
lds ecx, [edx - 0x7532ffbf]
inc ecx
add ch, bl
mov al, byte [ecx]
in eax, 0x8a
inc ecx
add ch, ch
mov al, byte [ecx]
cmc
mov al, byte [ecx]
or al, 0x8b
inc ecx
add ah, cl
int3