Function at 0x430da0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a12f4
mov eax, dword fs:[0]
push eax
sub esp, 0x930
mov eax, dword [0x4d0554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x8d8], ebx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x8d0]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x900], eax
mov dword [ebp - 0x8f4], esi
mov dword [ebp - 0x8e0], 0
mov dword [ebp - 0x8f0], 0
call dword [sym.imp.FUSVCCLT.dll_public:_void___thiscall_CFCIFFAXRecvFileListInfo::constructor_void_]
mov dword [ebp - 4], 0
mov dword [esi], 0
push str._RFT__ImportFaxStep2B...
push dword [ebx + 0x614]
call fcn.00437650
xorps xmm0, xmm0
mov dword [ebp - 0x924], 0
add esp, 8
mov dword [ebp - 0x920], 0
mov dword [ebp - 0x91c], 0xffffffff
movups xmmword [ebp - 0x918], xmm0
lea eax, [ebp - 0x924]
mov byte [ebp - 4], 1
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.0041eb80
mov esi, dword [ebp - 0x914]
test eax, eax
je 0x430efd
push eax
push str._RFT__GetRecvFaxSettings_Error_Ret:_d
push dword [ebx + 0x614]
call fcn.00437650
add esp, 0xc
mov ebx, 0x6c
mov eax, dword [ebp - 0x918]
test eax, eax
je 0x430e9e
push eax
call fcn.00439c20
add esp, 4
test esi, esi
je 0x430eab
push esi
call fcn.00439c20
add esp, 4
mov eax, dword [ebp - 0x910]
test eax, eax
je 0x430ebe
push eax
call fcn.00439c20
add esp, 4
mov eax, dword [ebp - 0x90c]
test eax, eax
je 0x430ed1
push eax
call fcn.00439c20
add esp, 4
lea ecx, [ebp - 0x8d0]
call dword [sym.imp.FUSVCCLT.dll_public:_void___thiscall_CFCIFFAXRecvFileListInfo::destructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468009
mov esp, ebp
pop ebp
ret 8
push esi
push str._RFT__GetSaveFolder_Ret:_s
push dword [ebx + 0x614]
call fcn.00437650
add esp, 0xc
test esi, esi
je 0x430e86
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x430e86
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x430f50
push str._RFT__PathIsDirectory_Error
push dword [ebx + 0x614]
call fcn.00437650
add esp, 8
mov ebx, 0x35
jmp 0x430e8b
lea esi, [ebx + 0x2f4]
mov dword [ebp - 0x8fc], esi
nop dword [eax]
lea ecx, [ebp - 0x358]
call dword [sym.imp.FUSVCCLT.dll_public:_void___thiscall_CFCIFFAXRecvFileListInfo::constructor_void_]
mov byte [ebp - 4], 2
xor edi, edi
lea eax, [ebp - 0x358]
push eax
push esi
call dword [sym.imp.FUSVCCLT.dll_enum__FCIF_RET___cdecl_FCIFService::GetFAXRecvFileList_class_CFCIFTransportInfo___class_CFCIFFAXRecvFileListInfo__]
mov esi, eax
push esi
push str._RFT__FCIFService::GetFAXRecvFileList_Ret:_d
push dword [ebx + 0x614]
mov dword [ebp - 0x8dc], esi
call fcn.00437650
add esp, 0x14
test esi, esi
je 0x430fd9
push esi
call fcn.00436a80
test eax, eax
je 0x4313ae
push 0xbb8
push dword [ebx + 0x3c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4313a7
inc edi
cmp edi, 5
jg 0x4313a0
lea esi, [ebx + 0x2f4]
jmp 0x430f72
lea ecx, [ebp - 0x358]
xor ebx, ebx
call dword [sym.imp.FUSVCCLT.dll_public:_int___thiscall_CFCIFFAXRecvFileListInfo::GetFileNumber_void_]
mov ecx, dword [ebp - 0x8d8]
mov edi, eax
push edi
push str._RFT__GetFileNumber_Ret:_d
mov dword [ebp - 0x8f8], edi
push dword [ecx + 0x614]
call fcn.00437650
add esp, 0xc
test edi, edi
je 0x4313dc
xor eax, eax
mov dword [ebp - 0x8ec], eax
test edi, edi
jle 0x43137f
push eax
lea ecx, [ebp - 0x358]
call dword [sym.imp.FUSVCCLT.dll_public:_char____thiscall_CFCIFFAXRecvFileListInfo::GetFileName_int_]
push 0
push 0
push 0xffffffffffffffff
mov ebx, eax
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jne 0x43104e
xor esi, esi
jmp 0x43106d
mov ecx, edi
call fcn.0041d500
mov esi, eax
test esi, esi
je 0x43106d
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
lea ecx, [ebp - 0x8d4]
call fcn.0041ca60
push dword [ebp - 0x8ec]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 3
call dword [sym.imp.FUSVCCLT.dll_public:_char____thiscall_CFCIFFAXRecvFileListInfo::GetFileSize_int_]
push eax
call fcn.0046f549
add esp, 4
mov edi, eax
call fcn.0043a11f
test eax, eax
je 0x4315a1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x8e4], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x8e4]
push dword [ebp - 0x8d4]
mov ebx, dword [ebp - 0x914]
push ebx
push 0x4b4784
push eax
call fcn.00420820
mov esi, dword [ebp - 0x8e4]
lea eax, [ebp - 0x588]
add esp, 0x10
xorps xmm0, xmm0
movlpd qword [ebp - 0x588], xmm0
movlpd qword [ebp - 0x580], xmm0
movlpd qword [ebp - 0x578], xmm0
push 0
push eax
push esi
call fcn.00452e95
cmp eax, 1
jne 0x4311ac
mov eax, edi
cdq
cmp eax, dword [ebp - 0x570]
jne 0x431192
cmp edx, dword [ebp - 0x56c]
jne 0x431192
mov ecx, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8dc]
push eax
push dword [ebp - 0x8d4]
call fcn.00432cc0
mov ebx, eax
test ebx, ebx
jne 0x431435
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431168
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x8d4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431366
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x431366
lea eax, [ebp - 0x8e4]
push eax
call fcn.00433350
mov esi, dword [ebp - 0x8e4]
test eax, eax
je 0x4314ad
lea eax, [ebp - 0x934]
push eax
lea eax, [ebp - 0x93c]
push eax
lea eax, [ebp - 0x92c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4311d7
xorps xmm0, xmm0
movlpd qword [ebp - 0x934], xmm0
mov eax, edi
cdq
cmp edx, dword [ebp - 0x928]
ja 0x43157e
jb 0x4311f4
cmp eax, dword [ebp - 0x92c]
ja 0x43157e
mov ecx, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8dc]
push eax
push esi
push edi
push dword [ebp - 0x8d4]
call fcn.00432350
mov ebx, eax
test ebx, ebx
jne 0x43156d
mov eax, dword [ebp - 0x8f4]
mov dword [eax], 1
mov eax, dword [ebp - 0x8d4]
cmp dword [eax - 0xc], 0xe
jg 0x431247
add eax, 0xfffffff0
push eax
call fcn.0041ce80
add esp, 4
add eax, 0x10
mov dword [ebp - 0x8e8], eax
jmp 0x431277
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x431257
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x431263
call fcn.0043a11f
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push 0xe
push dword [ebp - 0x8d4]
lea ecx, [ebp - 0x8e8]
call fcn.0041c940
mov edi, dword [ebp - 0x8e0]
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x8e8]
mov byte [ebp - 4], 5
or edi, 1
push eax
mov dword [ebp - 0x8e0], edi
call fcn.004328c0
test eax, eax
je 0x4312de
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4312d8
lea eax, [ebp - 0x908]
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x8e0]
mov ecx, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8dc]
push eax
push dword [ebp - 0x8d4]
call fcn.00432cc0
mov ebx, eax
test ebx, ebx
jne 0x431520
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov edx, dword [ebp - 0x8e8]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431324
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43133f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x8d4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431366
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x8e0], edi
mov eax, dword [ebp - 0x8ec]
inc eax
mov dword [ebp - 0x8ec], eax
cmp eax, dword [ebp - 0x8f8]
jl 0x431021
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 1
call dword [sym.imp.FUSVCCLT.dll_public:_void___thiscall_CFCIFFAXRecvFileListInfo::destructor_void_]
mov ebx, dword [ebp - 0x8d8]
mov esi, dword [ebp - 0x8fc]
jmp 0x430f60
mov eax, 0x52
jmp 0x4313c0
mov eax, 0x6b
jmp 0x4313c0
mov eax, 0x53
cmp esi, 0x198
jne 0x4313c0
mov eax, 0x51
push eax
mov ebx, eax
mov eax, dword [ebp - 0x8d8]
push str._RFT__GetRecvFaxList_Error_Ret:_d
push dword [eax + 0x614]
call fcn.00437650
add esp, 0xc
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 1
call dword [sym.imp.FUSVCCLT.dll_public:_void___thiscall_CFCIFFAXRecvFileListInfo::destructor_void_]
test ebx, ebx
je 0x431422
mov ecx, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f0]
push eax
lea eax, [ebp - 0x8dc]
push eax
push ebx
call fcn.00432770
mov esi, dword [ebp - 0x8dc]
test eax, eax
je 0x431422
xor ebx, ebx
cmp dword [ebp - 0x8f0], ebx
setne bl
add ebx, 0x65
mov eax, dword [ebp - 0x900]
mov dword [eax], esi
mov esi, dword [ebp - 0x914]
jmp 0x430e8b
push ebx
push dword [ebp - 0x8d4]
push str._RFT__FinishImportFax__s__Error_Ret:_d
mov eax, dword [ebp - 0x8d8]
push dword [eax + 0x614]
call fcn.00437650
add esp, 0x10
or edi, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431473
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x8d4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x431492
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 1
call dword [sym.imp.FUSVCCLT.dll_public:_void___thiscall_CFCIFFAXRecvFileListInfo::destructor_void_]
mov esi, dword [ebp - 0x8dc]
jmp 0x4313ec
mov eax, dword [ebp - 0x8d8]
push 0
push esi
push str._RFT__CreateReceivedFaxFilePath__s__Error_Ret:_d
push dword [eax + 0x614]
call fcn.00437650
mov ebx, 0x35
or edi, 0xffffffff
mov byte [ebp - 4], 3
mov eax, edi
add esi, 0xfffffff0
add esp, 0x10
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4314ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x8d4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43150b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 1
call dword [sym.imp.FUSVCCLT.dll_public:_void___thiscall_CFCIFFAXRecvFileListInfo::destructor_void_]
jmp 0x4313f0
mov eax, dword [ebp - 0x8d8]
push ebx
push dword [ebp - 0x8d4]
push str._RFT__FinishImportFax__s__Error_Ret:_d
push dword [eax + 0x614]
call fcn.00437650
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x8e8]
add esp, 0x10
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431458
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x431458
push ebx
push dword [ebp - 0x8d4]
push str._RFT__GetRecvFaxFile__s__Error_Ret:_d
jmp 0x431441
mov eax, dword [ebp - 0x8d8]
push 0
push ebx
push str._RFT__IsEnoughDiskFreeSpace__s__Error_Ret:_d
push dword [eax + 0x614]
call fcn.00437650
mov ebx, 0x36
jmp 0x4314cb
push 0x80004005
call fcn.0041d300
int3