Function at 0x410c10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x498ab7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5d0
mov eax, dword [0x4bc410]
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 0x411469
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 0x411469
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
cmp ebx, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], ebx
je 0x41143d
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
push 0x4a2278
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, 0x4a2288
lea esi, [esp + 0x70]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x410cd2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410ce3
mov dword [esp + 0xc], 9
jmp 0x410dfd
mov edi, 0x4a22c0
lea esi, [esp + 0x70]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x410cfc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410d0d
mov dword [esp + 0xc], 1
jmp 0x410dfd
mov edi, 0x4a22b8
lea esi, [esp + 0x70]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x410d26
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410d37
mov dword [esp + 0xc], 2
jmp 0x410dfd
mov edi, 0x4a22b0
lea esi, [esp + 0x70]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x410d50
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410d61
mov dword [esp + 0xc], 3
jmp 0x410dfd
mov edi, 0x4a22a8
lea esi, [esp + 0x70]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x410d7a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410d88
mov dword [esp + 0xc], 4
jmp 0x410dfd
mov edi, 0x4a22a0
lea esi, [esp + 0x70]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x410da1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410daf
mov dword [esp + 0xc], 5
jmp 0x410dfd
mov edi, 0x4a2298
lea esi, [esp + 0x70]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x410dc8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410dd6
mov dword [esp + 0xc], 6
jmp 0x410dfd
mov edi, 0x4a2290
lea esi, [esp + 0x70]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x410def
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 7
mov dword [esp + 0xc], ecx
mov edi, 0x4a095c
lea esi, [esp + 0x9c]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x410e2f
mov edi, 0x4a1648
lea esi, [esp + 0x9c]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x411426
lea ecx, [esp + 0x2c]
call fcn.004249b0
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 0x4a2270
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 0x4113da
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0xa4]
push eax
push 0x4a2260
call dword [edx + 0xc]
mov al, byte [esp + 0xa4]
test al, al
je 0x4113ca
push 0x408
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
test esi, esi
je 0x410edc
xor eax, eax
mov ecx, 0x102
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi + 0x240], eax
mov dword [esi + 0x27c], eax
mov dword [esi + 0x280], 1
mov dword [esi + 0x270], eax
mov dword [esi + 0x3a0], 0xffffffff
jmp 0x410ee0
xor esi, esi
xor eax, eax
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
mov dword [esi + 0x238], 1
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410f04
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, [esp + 0x7c]
push eax
push str.fileSize
call dword [edx + 0xc]
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.MSVCR71.dll_atol]
mov dword [esi + 0x22c], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x7c]
push eax
push str.filetype
call dword [edx + 0xc]
mov edi, dword [sym.imp.MSVCR71.dll_atoi]
lea ecx, [esp + 0x7c]
push ecx
call edi
mov dword [esi + 0x230], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x7c]
push eax
push str.CinemaID
call dword [edx + 0xc]
lea eax, [esp + 0x7c]
mov edx, eax
mov ecx, esi
sub ecx, edx
lea edx, [ecx + 0x244]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410f92
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [esp + 0x7c]
push edx
push str.DeleteFlag
call dword [eax + 0xc]
lea eax, [esp + 0x7c]
push eax
call edi
mov dword [esi + 0x270], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x7c]
push eax
push str.NotPause
call dword [edx + 0xc]
lea ecx, [esp + 0x7c]
push ecx
call edi
mov dword [esi + 0x278], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x7c]
push eax
push str.ZZid
call dword [edx + 0xc]
lea ecx, [esp + 0x7c]
push ecx
call edi
mov dword [esi + 0x39c], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esi + 0x3a4]
push eax
push 0x4a20c4
call dword [edx + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x7c]
push eax
push str.PushFile
call dword [edx + 0xc]
lea ecx, [esp + 0x7c]
push ecx
call edi
mov dword [esi + 0x274], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
add esp, 4
lea eax, [esp + 0x7c]
push eax
push str.Favorite
call dword [edx + 0xc]
lea eax, [esp + 0x7c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411051
sub eax, ecx
mov dword [esp + 0x3c], eax
je 0x411072
lea ecx, [esp + 0x7c]
push ecx
call edi
add esp, 4
mov dword [esi + 0x27c], eax
jmp 0x41107c
mov dword [esi + 0x27c], 0
mov ecx, dword [ebx + 8]
lea edx, [esp + 0xc8]
push edx
push str.filename
call fcn.00430fb0
lea eax, [esp + 0xc8]
lea edx, [esi + 0x28]
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4110a0
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x1c8]
push edx
push str.filepath
call fcn.00430fb0
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 0x4110d2
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x28]
push eax
call fcn.0040a7d0
lea ecx, [esp + 0x18]
mov dword [esi + 0x234], eax
call dword [0x49f754]
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 0x41113f
push edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
jmp 0x411168
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 0x4a112c
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 0x411234
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 0x4112a4
mov dword [esi + 0x280], edi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
push 0x4a1648
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 0x411395
mov eax, edx
add eax, 0x39c
dec ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
jmp 0x411302
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x7c]
push eax
push 0x4a2238
call dword [edx + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
push edx
call fcn.0043ee20
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.MSVCR71.dll_atol]
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp eax, ecx
je 0x411277
mov edi, 1
mov ecx, dword [esi + 0x22c]
cmp ecx, dword [esp + 0x6c]
je 0x411288
mov edi, 1
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.MSVCR71.dll_atol]
add esp, 4
test edi, edi
mov dword [esi + 0x268], eax
je 0x411202
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 8]
push eax
call fcn.00431070
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x160]
test ecx, ecx
mov eax, dword [esi + 0x230]
je 0x4112e7
push 0x4a1b50
push esi
push eax
call fcn.00403b00
test eax, eax
je 0x4112e7
mov ecx, dword [edi + 0x160]
test ecx, ecx
je 0x4112e7
call fcn.00403b20
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 0x4113b8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jl 0x411490
cmp ecx, dword [eax + 8]
jge 0x411490
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 0x41134b
test cl, cl
je 0x411347
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x41134b
add edi, 2
add eax, 2
test cl, cl
jne 0x411327
xor eax, eax
jmp 0x411350
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411379
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x268]
cmp ecx, dword [esi + 0x268]
jl 0x411384
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x4112fe
jmp 0x411395
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
jmp 0x4113b8
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 0x4113b8
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 0x410e72
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 0x411415
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 0x411400
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 0x410c92
mov esi, dword [esp + 0x14]
lea eax, [esi + 0x188]
test eax, eax
je 0x411469
cmp byte [eax], 0
je 0x411469
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x411469
mov ecx, dword [esi + 0x184]
push 0
push eax
call fcn.00430300
mov ecx, esi
call fcn.0040b530
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.00496ace
mov esp, ebp
pop ebp
ret 4
call fcn.0049641a
int3