Function at 0x415c70
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4097
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5d0
mov eax, dword [0x4cbba0]
push ebx
xor eax, ebp
push esi
mov esi, ecx
mov dword [esp + 0x5d0], eax
mov eax, dword [esi + 0x184]
test eax, eax
push edi
mov dword [esp + 0x14], esi
je 0x4165d9
push 0
push 0
push str.ShareFile
mov ecx, eax
mov eax, dword [ecx]
push 0
lea edx, [esp + 0x48]
push edx
call dword [eax + 0x14]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4165d9
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
cmp ebx, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], ebx
je 0x4165ad
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x90]
push edx
push str.name
call dword [eax + 0xc]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x9c]
push edx
push str.style
call dword [eax + 0xc]
mov edi, 0x4aeb20
lea esi, [esp + 0x90]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415d38
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415d49
mov dword [esp + 0xc], 9
jmp 0x415e7b
mov edi, 0x4aeb58
lea esi, [esp + 0x90]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415d65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415d76
mov dword [esp + 0xc], 1
jmp 0x415e7b
mov edi, 0x4aeb50
lea esi, [esp + 0x90]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415d92
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415da3
mov dword [esp + 0xc], 2
jmp 0x415e7b
mov edi, 0x4aeb48
lea esi, [esp + 0x90]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415dbf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415dd0
mov dword [esp + 0xc], 3
jmp 0x415e7b
mov edi, 0x4aeb40
lea esi, [esp + 0x90]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415dec
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415dfd
mov dword [esp + 0xc], 4
jmp 0x415e7b
mov edi, 0x4aeb38
lea esi, [esp + 0x90]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415e19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415e27
mov dword [esp + 0xc], 5
jmp 0x415e7b
mov edi, 0x4aeb30
lea esi, [esp + 0x90]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415e43
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x415e51
mov dword [esp + 0xc], 6
jmp 0x415e7b
mov edi, 0x4aeb28
lea esi, [esp + 0x90]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415e6d
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 7
mov dword [esp + 0xc], ecx
mov edi, 0x4acbb2
lea esi, [esp + 0x9c]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x415ead
mov edi, 0x4add00
lea esi, [esp + 0x9c]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x416596
lea ecx, [esp + 0x2c]
call fcn.0044c250
xor edi, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push 1
push edi
push edi
push str.file
push edi
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x5fc], edi
call dword [edx + 0x10]
mov eax, dword [esp + 0x30]
mov ebx, dword [eax]
cmp ebx, eax
je 0x41654a
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0xa4]
push eax
push 0x4aeaf8
call dword [edx + 0xc]
mov al, byte [esp + 0xa4]
test al, al
je 0x41653a
push 0x524
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
test esi, esi
je 0x415f67
xor eax, eax
mov ecx, 0x149
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, 1
mov dword [esi + 0x240], eax
mov dword [esi + 0x27c], eax
mov dword [esi + 0x280], ecx
mov dword [esi + 0x270], eax
mov dword [esi + 0x3a0], 0xffffffff
mov dword [esi + 0x3a8], ecx
mov dword [esi + 0x3ac], ecx
jmp 0x415f70
xor esi, esi
mov ecx, 1
xor eax, eax
mov dword [esi + 0x238], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], eax
lea eax, [esp + 0xa4]
mov dword [esi + 0x230], ecx
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x415f90
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esi + 0x298]
push eax
push str.SourceUrl
call dword [edx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esi + 0x420]
push eax
push str.FilmName
call dword [edx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x70]
push eax
push str.fileSize
call dword [edx + 0xc]
mov edi, dword [sym.imp.MSVCR71.dll_atol]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x22c], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.Total
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x520], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.FilmID
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x418], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.CurChap
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x41c], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.filetype
call dword [edx + 0xc]
mov edi, dword [sym.imp.MSVCR71.dll_atoi]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x230], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.CinemaID
call dword [edx + 0xc]
lea eax, [esp + 0x70]
mov ecx, esi
mov edx, eax
sub ecx, edx
add ecx, 0x244
lea ebx, [ebx]
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x4160a0
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
push str.DeleteFlag
call dword [eax + 0xc]
lea eax, [esp + 0x70]
push eax
call edi
mov dword [esi + 0x270], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.NotPause
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x278], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.ZZid
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x39c], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.PrePlayTime
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x3a4], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.AudioTrack
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x3a8], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.LanTrack
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x3ac], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esi + 0x3b0]
push eax
push 0x4ae830
call dword [edx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x70]
push eax
push str.PushFile
call dword [edx + 0xc]
lea ecx, [esp + 0x70]
push ecx
call edi
mov dword [esi + 0x274], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x70]
push eax
push str.Favorite
call dword [edx + 0xc]
lea eax, [esp + 0x70]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4161c5
sub eax, ecx
mov dword [esp + 0x3c], eax
je 0x4161e6
lea ecx, [esp + 0x70]
push ecx
call edi
add esp, 4
mov dword [esi + 0x27c], eax
jmp 0x4161f0
mov dword [esi + 0x27c], 0
mov ecx, dword [ebx + 8]
lea edx, [esp + 0xc8]
push edx
push str.filename
call fcn.00439cf0
lea eax, [esp + 0xc8]
lea edx, [esi + 0x28]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x416213
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x1c8]
push edx
push str.filepath
call fcn.00439cf0
lea eax, [esp + 0x1c8]
lea edi, [esi + 0x128]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x416245
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x28]
push eax
call fcn.0040c590
lea ecx, [esp + 0x18]
mov dword [esi + 0x234], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea edx, [esp + 0x3d0]
push edx
lea eax, [esp + 0x4d4]
push eax
lea ecx, [esp + 0x2d8]
push ecx
lea edx, [esp + 0x4c]
push edx
push edi
mov byte [esp + 0x5f8], 1
call dword [sym.imp.MSVCR71.dll__splitpath]
mov eax, dword [esi + 0x278]
add esp, 0x14
test eax, eax
je 0x4162b2
push edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
jmp 0x4162db
lea eax, [esp + 0x3d0]
push eax
push esi
lea ecx, [esp + 0x2d8]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x28]
push str._s_s_s_s.jfenc
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x18
mov dword [esi + 0x280], 1
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push 0x4ad3b0
push str.FileExist
xor edi, edi
call dword [edx + 8]
lea eax, [esp + 0x4c]
push eax
push edi
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x4163a7
push 3
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, 1
cmp edx, eax
sbb al, al
inc al
lea ecx, [esp + 0x48]
mov byte [esp + 0x13], al
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov al, byte [esp + 0x13]
test al, al
je 0x416414
mov dword [esi + 0x280], edi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
push 0x4add00
push str.FileExist
call dword [eax + 8]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x3a4]
lea eax, [ecx - 1]
test eax, eax
mov dword [esp + 0x1c], 0
jl 0x416505
mov eax, edx
add eax, 0x39c
dec ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
jmp 0x416472
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x70]
push eax
push 0x4aead0
call dword [edx + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
push edx
call fcn.0044b050
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.MSVCR71.dll_atol]
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp eax, ecx
je 0x4163e7
mov edi, 1
mov ecx, dword [esi + 0x22c]
cmp ecx, dword [esp + 0x6c]
je 0x4163f8
mov edi, 1
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.MSVCR71.dll_atol]
add esp, 4
test edi, edi
mov dword [esi + 0x268], eax
je 0x416375
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
push eax
call fcn.00439d60
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x160]
test ecx, ecx
mov eax, dword [esi + 0x230]
je 0x416457
push 0x4ade80
push esi
push eax
call fcn.00403b70
test eax, eax
je 0x416457
mov ecx, dword [edi + 0x160]
test ecx, ecx
je 0x416457
call fcn.00403b90
push esi
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [esp + 0x2c]
add esp, 4
inc eax
mov dword [esp + 0x28], eax
jmp 0x416528
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jl 0x416600
cmp ecx, dword [eax + 8]
jge 0x416600
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x1c]
mov edi, dword [ecx + edx*4]
mov dword [esp + 0x44], edi
mov eax, esi
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x4164bb
test cl, cl
je 0x4164b7
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4164bb
add edi, 2
add eax, 2
test cl, cl
jne 0x416497
xor eax, eax
jmp 0x4164c0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4164e9
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x268]
cmp ecx, dword [esi + 0x268]
jl 0x4164f4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x41646e
jmp 0x416505
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
jmp 0x416528
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push 1
push esi
push edx
call sub.MFC71.DLL_CPtrArray::InsertAt
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx + 0x3a4]
jl 0x416528
mov eax, dword [ecx + 0x3a4]
add ecx, 0x39c
push esi
push eax
call sub.MFC71.DLL_CPtrArray::SetAtGrow
lea ecx, [esp + 0x18]
mov byte [esp + 0x5e4], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ebx, dword [ebx]
mov eax, dword [esp + 0x30]
cmp ebx, eax
jne 0x415ef0
xor edi, edi
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
cmp ecx, eax
mov dword [esp + 0x5e4], 0xffffffff
mov dword [esp + 0x34], edi
je 0x416585
lea esp, [esp]
mov esi, dword [ecx]
push ecx
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [esp + 0x34]
add esp, 4
cmp esi, eax
mov ecx, esi
jne 0x416570
push eax
call sub.MFC71.DLL_operator_delete_1
mov ebx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x38]
mov ebx, dword [ebx]
cmp ebx, dword [edx + 0xc]
mov dword [esp + 0x20], ebx
jne 0x415cf2
mov esi, dword [esp + 0x14]
lea eax, [esi + 0x188]
test eax, eax
je 0x4165d9
cmp byte [eax], 0
je 0x4165d9
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x4165d9
mov ecx, dword [esi + 0x184]
push 0
push eax
call fcn.00439070
mov ecx, esi
call fcn.0040d6e0
mov ecx, dword [esp + 0x5dc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5d4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004a17d1
mov esp, ebp
pop ebp
ret 4
call fcn.004a11bc
int3