Function at 0x5daf47
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x67f7f9
call fcn.006313fc
sub esp, 0x488
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x58]
call fcn.005dad33
mov ebp, dword [esp + 0x4b4]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov esi, ebx
mov dword [esp + 0x4a0], ebx
mov eax, dword [ebp + 0x90]
dec eax
je 0x5db39b
dec eax
je 0x5db2e3
dec eax
je 0x5db1e5
dec eax
jne 0x5db6de
lea ecx, [esp + 0xbc]
call fcn.0066611a
push 8
lea eax, [ebp + 0x4c]
mov byte [esp + 0x4a4], 7
pop ebx
cmp dword [eax + 0x14], ebx
jb 0x5dafbd
mov eax, dword [eax]
push str.VOLUME
push eax
call fcn.0063299b
pop ecx
pop ecx
test eax, eax
jne 0x5db0be
lea edi, [ebp + 0x64]
cmp dword [edi + 0x14], ebx
jb 0x5dafdc
mov edi, dword [edi]
push str.____USBSTOR
push edi
call fcn.00636830
pop ecx
pop ecx
cmp eax, edi
jne 0x5db0e0
lea eax, [edi + 8]
push eax
lea ecx, [esp + 0x154]
call fcn.004249e7
push eax
push 0x693a2c
lea eax, [esp + 0x30]
mov byte [esp + 0x4a8], bl
push eax
call fcn.0043dbe9
xor edi, edi
mov byte [esp + 0x4a0], 0xa
push edi
push 1
lea ecx, [esp + 0x158]
call fcn.0042341c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x16c]
call fcn.00665f4b
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x4a4], 0xb
call fcn.005daee4
lea ecx, [esp + 0x168]
mov byte [esp + 0x4a0], 0xa
call fcn.00666193
mov eax, dword [esp + 0xd8]
cmp dword [esp + 0xec], ebx
jae 0x5db082
lea eax, [esp + 0xd8]
push edi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x7982c0]
test eax, eax
jne 0x5db0b4
push dword [esp + 0x4b8]
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x20]
push dword [esp + 0x4b8]
call fcn.005daf47
mov esi, eax
push edi
lea ecx, [esp + 0x2c]
jmp 0x5db193
mov eax, dword [0x7982b0]
test eax, eax
je 0x5db0e0
xor ecx, ecx
push ecx
push dword [esp + 0x4b4]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
call eax
test eax, eax
je 0x5db0fa
xor eax, eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x4a0], al
call fcn.00666193
jmp 0x5db6de
xor eax, eax
push eax
push 0x208
lea eax, [esp + 0x298]
push eax
push dword [esp + 0x1c]
call dword [0x7982b8]
test eax, eax
jne 0x5db0e0
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x44]
call fcn.004249e7
lea eax, [esp + 0x40]
mov byte [esp + 0x4a0], 0xc
push eax
lea ecx, [esp + 0x200]
call fcn.00665f4b
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x4a4], 0xd
call fcn.005daee4
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x4a0], 0xc
call fcn.00666193
push dword [esp + 0x4b8]
lea eax, [esp + 0xc0]
push eax
push dword [esp + 0x18]
push dword [esp + 0x4b8]
call fcn.005daf47
mov esi, eax
lea ecx, [esp + 0x40]
xor eax, eax
push eax
push 1
mov byte [esp + 0x4a8], 7
call fcn.0042341c
test esi, esi
je 0x5db0e0
lea edi, [ebp + 0x1c]
cmp dword [edi + 0x14], ebx
jb 0x5db1b4
mov edi, dword [edi]
push edi
call fcn.004236bc
pop ecx
push eax
push edi
lea ecx, [esi + 0x78]
call fcn.00434a57
cmp byte [esp + 0x4ac], 0
mov ecx, esi
je 0x5db1db
call fcn.00665c65
jmp 0x5db0e0
call fcn.00665ebf
jmp 0x5db0e0
mov eax, dword [0x7982b0]
test eax, eax
je 0x5db6de
push ebx
push dword [esp + 0x4b4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
call eax
test eax, eax
jne 0x5db6de
push ebx
push 0x208
lea eax, [esp + 0x298]
push eax
push dword [esp + 0x1c]
call dword [0x7982b8]
test eax, eax
jne 0x5db6de
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x44]
call fcn.004249e7
lea eax, [esp + 0x40]
mov byte [esp + 0x4a0], 5
push eax
lea ecx, [esp + 0xc0]
call fcn.00665f4b
mov edi, dword [esp + 0x4b8]
lea eax, [esp + 0xbc]
push edi
push eax
push dword [esp + 0x18]
mov byte [esp + 0x4ac], 6
push dword [esp + 0x4b8]
call fcn.005daf47
mov esi, eax
test esi, esi
je 0x5db2d6
add ebp, 0x1c
push 8
pop ebx
cmp dword [ebp + 0x14], ebx
jb 0x5db293
mov ebp, dword [ebp]
push ebp
call fcn.004236bc
pop ecx
push eax
push ebp
lea ecx, [esi + 0x60]
call fcn.00434a57
cmp dword [edi + 0x14], ebx
jb 0x5db2ad
mov ecx, dword [edi]
jmp 0x5db2af
mov ecx, edi
lea edx, [ecx + 2]
xor ebp, ebp
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x5db2b4
sub ecx, edx
sar ecx, 1
je 0x5db2d4
cmp dword [edi + 0x14], ebx
jb 0x5db2cc
mov edi, dword [edi]
push edi
mov ecx, esi
call fcn.005dc15c
xor ebx, ebx
mov byte [esp + 0x4a0], 5
jmp 0x5db37e
mov eax, dword [0x7982b0]
test eax, eax
je 0x5db6de
push ebx
push dword [esp + 0x4b4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
call eax
push ebx
push 0x208
lea eax, [esp + 0x298]
push eax
push dword [esp + 0x1c]
call dword [0x7982b8]
test eax, eax
jne 0x5db6de
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x44]
call fcn.004249e7
lea eax, [esp + 0x40]
mov byte [esp + 0x4a0], 3
push eax
lea ecx, [esp + 0xc0]
call fcn.00665f4b
push dword [esp + 0x4b8]
lea eax, [esp + 0xc0]
mov byte [esp + 0x4a4], 4
push eax
push dword [esp + 0x18]
push dword [esp + 0x4b8]
call fcn.005daf47
mov esi, eax
mov byte [esp + 0x4a0], 3
lea ecx, [esp + 0xbc]
call fcn.00666193
push ebx
push 1
lea ecx, [esp + 0x48]
call fcn.0042341c
jmp 0x5db6de
push 8
lea edi, [ebp + 0x1c]
pop ebx
mov dword [esp + 0x24], edi
cmp dword [edi + 0x14], ebx
jb 0x5db3ae
mov eax, dword [edi]
jmp 0x5db3b0
mov eax, edi
push eax
call fcn.005c23b3
mov ecx, eax
call fcn.005c2297
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x5db4d0
push 0x118
call fcn.00630af1
mov esi, eax
pop ecx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x4a0], 1
test esi, esi
je 0x5db428
cmp dword [edi + 0x14], ebx
jb 0x5db3f5
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x5db3f9
mov dword [esp + 0x10], edi
push 0x6e016c
mov ecx, ebp
call fcn.006665ee
push eax
push 0x6e0174
mov ecx, ebp
call fcn.006665ee
push eax
push dword [esp + 0x18]
mov ecx, esi
call fcn.005dac43
mov esi, eax
xor eax, eax
mov dword [esp + 0x10], esi
jmp 0x5db430
xor eax, eax
mov esi, eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x4a0], al
mov eax, dword [esp + 0x4ac]
movzx eax, al
mov dword [esi + 0x114], eax
cmp dword [edi + 0x14], ebx
jb 0x5db454
mov eax, dword [edi]
mov dword [esp + 0x18], eax
jmp 0x5db45a
mov eax, edi
mov dword [esp + 0x18], edi
push eax
call fcn.004236bc
pop ecx
push eax
push dword [esp + 0x1c]
lea ecx, [esi + 0x48]
call fcn.00434a57
mov edx, dword [esp + 0x4b8]
cmp dword [edx + 0x14], ebx
jb 0x5db47e
mov ecx, dword [edx]
jmp 0x5db480
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x20]
jne 0x5db487
sub ecx, dword [esp + 0x18]
sar ecx, 1
je 0x5db4ab
cmp dword [edx + 0x14], ebx
jb 0x5db4a3
mov edx, dword [edx]
push edx
mov ecx, esi
call fcn.005dc15c
push 1
mov ecx, esi
call fcn.00665b4c
push 6
push esi
call fcn.005c23b3
mov ecx, eax
call fcn.005c26eb
push esi
call fcn.005c23b3
mov ecx, eax
call fcn.005c2258
mov ecx, dword [esp + 0x4ac]
movzx eax, cl
mov dword [esi + 0x114], eax
test cl, cl
je 0x5db6ad
lea eax, [esp + 0x58]
mov ecx, ebp
push eax
push 0x6e016c
call fcn.006665ee
push eax
push 0x6e0174
mov ecx, ebp
call fcn.006665ee
push eax
call fcn.0057268e
test eax, eax
je 0x5db696
cmp dword [esp + 0xb8], 2
jne 0x5db53e
push 2
call fcn.005c23b3
mov ecx, eax
call fcn.005c233e
test eax, eax
jne 0x5db53e
push eax
push eax
push 2
push str.iPhone_iPod
call fcn.0060a7b2
cmp dword [esp + 0xb8], 6
jne 0x5db568
push 6
call fcn.005c23b3
mov ecx, eax
call fcn.005c233e
test eax, eax
jne 0x5db568
push eax
push eax
push 6
push str.Apple_TV_iPad
call fcn.0060a7b2
cmp dword [esp + 0xb8], 3
jne 0x5db696
call fcn.005c23b3
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.005c238c
xor edx, edx
mov dword [esp + 0x18], eax
mov byte [esp + 0x17], dl
test eax, eax
jle 0x5db608
mov edi, edx
mov esi, eax
mov ecx, dword [esp + 0x1c]
push edi
call fcn.005c2390
cmp dword [eax + 0x54], 3
jne 0x5db5ef
add eax, 0x34
lea ecx, [esp + 0x28]
push eax
call fcn.00422efb
cmp dword [ebp + 0x14], ebx
jb 0x5db5bf
mov ecx, dword [ebp]
jmp 0x5db5c1
mov ecx, ebp
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebx
jae 0x5db5cf
lea eax, [esp + 0x28]
push ecx
push eax
call fcn.0063299b
pop ecx
pop ecx
test eax, eax
jne 0x5db5e1
mov byte [esp + 0x17], 1
xor eax, eax
lea ecx, [esp + 0x28]
push eax
push 1
call fcn.0042341c
inc edi
cmp edi, esi
jl 0x5db598
mov cl, byte [esp + 0x17]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
test cl, cl
jne 0x5db696
mov ecx, dword [esp + 0x88]
cmp dword [esp + 0x9c], ebx
jae 0x5db61f
lea ecx, [esp + 0x88]
mov eax, dword [esp + 0xa0]
cmp dword [esp + 0xb4], ebx
jae 0x5db636
lea eax, [esp + 0xa0]
push eax
push ecx
lea eax, [esp + 0x30]
push 0x68aa50
push eax
call fcn.0047224d
add esp, 0x10
mov byte [esp + 0x4a0], 2
cmp dword [edi + 0x14], ebx
jb 0x5db659
mov edi, dword [edi]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebx
jae 0x5db667
lea eax, [esp + 0x28]
push 1
push edi
push 3
push eax
call fcn.0060a7b2
push 9
push esi
call fcn.005c23b3
mov ecx, eax
call fcn.005c26eb
xor eax, eax
lea ecx, [esp + 0x28]
push eax
push 1
mov byte [esp + 0x4a8], al
call fcn.0042341c
xor eax, eax
cmp dword [esi + 0x110], eax
jne 0x5db6de
push 1
mov ecx, esi
call fcn.00665b4c
push 6
jmp 0x5db6d1
cmp dword [esi + 0x110], 2
jne 0x5db6bd
mov ecx, esi
call fcn.00665ebf
cmp dword [esi + 0x110], 1
jne 0x5db6de
xor eax, eax
mov ecx, esi
push eax
call fcn.00665b4c
push ebx
push esi
call fcn.005c23b3
mov ecx, eax
call fcn.005c26eb
lea ecx, [esp + 0x58]
call fcn.005dad66
mov ecx, dword [esp + 0x498]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10